id stringlengths 4 63 | text stringlengths 153 8.81M |
|---|---|
stm32h7_spi_prepare_fthlv(9) | NAME stm32h7_spi_prepare_fthlv - Determine FIFO threshold level
SYNOPSIS u32 stm32h7_spi_prepare_fthlv (struct stm32_spi *spi , u32 xfer_len );
ARGUMENTS spi pointer to the spi controller data structure
xfer_len length of the message to be transferred
SEE ALSO Kernel file ./drivers/spi/spi-st... |
stm32h7_spi_read_rxfifo(9) | NAME stm32h7_spi_read_rxfifo - Read bytes in Receive Data Register
SYNOPSIS void stm32h7_spi_read_rxfifo (struct stm32_spi *spi );
ARGUMENTS spi pointer to the spi controller data structure
DESCRIPTION Write in rx_buf depends on remaining bytes to avoid to write beyond rx_buf end.
SEE ALSO Kernel file ... |
stm32h7_spi_set_bpw(9) | NAME stm32h7_spi_set_bpw - configure bits per word
SYNOPSIS void stm32h7_spi_set_bpw (struct stm32_spi *spi );
ARGUMENTS spi pointer to the spi controller data structure
SEE ALSO Kernel file ./drivers/spi/spi-stm32.c struct stm32_spi_reg(9), struct stm32_spi_regspec(9), struct stm32_spi_cfg(... |
stm32h7_spi_set_mode(9) | NAME stm32h7_spi_set_mode - configure communication mode
SYNOPSIS int stm32h7_spi_set_mode (struct stm32_spi *spi , unsigned int comm_type );
ARGUMENTS spi pointer to the spi controller data structure
comm_type type of communication to configure
SEE ALSO Kernel file ./drivers/spi/spi-stm32.c ... |
stm32h7_spi_transfer_one_dma_start(9) | NAME stm32h7_spi_transfer_one_dma_start - Set SPI driver registers to start transfer using DMA
SYNOPSIS void stm32h7_spi_transfer_one_dma_start (struct stm32_spi *spi );
ARGUMENTS spi pointer to the spi controller data structure
SEE ALSO Kernel file ./drivers/spi/spi-stm32.c struct stm32_spi_reg(9),... |
stm32h7_spi_transfer_one_irq(9) | NAME stm32h7_spi_transfer_one_irq - transfer a single spi_transfer using interrupts
SYNOPSIS int stm32h7_spi_transfer_one_irq (struct stm32_spi *spi );
ARGUMENTS spi pointer to the spi controller data structure
DESCRIPTION It must returns 0 if the transfer is finished or 1 if the transfer is still in progres... |
stm32h7_spi_transfer_one_poll(9) | NAME stm32h7_spi_transfer_one_poll - transfer a single spi_transfer by direct register access without interrupt usage
SYNOPSIS int stm32h7_spi_transfer_one_poll (struct stm32_spi *spi );
ARGUMENTS spi pointer to the spi controller data structure
DESCRIPTION It must returns 0 if the transfer is finished or 1 ... |
stm32h7_spi_write_txfifo(9) | NAME stm32h7_spi_write_txfifo - Write bytes in Transmit Data Register
SYNOPSIS void stm32h7_spi_write_txfifo (struct stm32_spi *spi );
ARGUMENTS spi pointer to the spi controller data structure
DESCRIPTION Read from tx_buf depends on remaining bytes to avoid to read beyond tx_buf end.
SEE ALSO Kernel fil... |
stm32mp25_spi_get_bpw_mask(9) | NAME stm32mp25_spi_get_bpw_mask - Return bits per word mask
SYNOPSIS int stm32mp25_spi_get_bpw_mask (struct stm32_spi *spi );
ARGUMENTS spi pointer to the spi controller data structure
SEE ALSO Kernel file ./drivers/spi/spi-stm32.c struct stm32_spi_reg(9), struct stm32_spi_regspec(9), struct ... |
stm_data_write(9) | NAME stm_data_write - send the given payload as data packets
SYNOPSIS ssize_t notrace stm_data_write (struct stm_data *data , unsigned int m , unsigned int c , bool ts_first , const void *buf , size_t count );
ARGUMENTS data stm driver's data
m STP master
c STP channel
... |
stm_find_device(9) | NAME stm_find_device - find stm device by name
SYNOPSIS struct stm_device * stm_find_device (const char *buf );
ARGUMENTS buf character buffer containing the name
DESCRIPTION This is called when either policy gets assigned to an stm device or an stm_source device gets linked to an stm device. This grabs dev... |
stm_ftrace_write(9) | NAME stm_ftrace_write - write data to STM via 'stm_ftrace' source
SYNOPSIS void notrace stm_ftrace_write (struct trace_export *export , const void *buf , unsigned int len );
ARGUMENTS export -- undescribed --
buf buffer containing the data packet
len length of the data packet
SEE... |
stm_put_device(9) | NAME stm_put_device - drop references on the stm device
SYNOPSIS void stm_put_device (struct stm_device *stm );
ARGUMENTS stm stm device, previously acquired by stm_find_device
DESCRIPTION This drops the module reference and device reference taken by stm_find_device or stm_char_open.
SEE ALSO Kernel file ./... |
stm_source_link_add(9) | NAME stm_source_link_add - connect an stm_source device to an stm device
SYNOPSIS int stm_source_link_add (struct stm_source_device *src , struct stm_device *stm );
ARGUMENTS src stm_source device
stm stm device
DESCRIPTION This function establishes a link from stm_source to an stm device so ... |
stm_source_link_drop(9) | NAME stm_source_link_drop - detach stm_source from its stm device
SYNOPSIS void stm_source_link_drop (struct stm_source_device *src );
ARGUMENTS src stm_source device
DESCRIPTION Unlinking means disconnecting from source's STM device; after this writes will be unsuccessful until it is linked to a new STM dev... |
stm_source_register_device(9) | NAME stm_source_register_device - register an stm_source device
SYNOPSIS int stm_source_register_device (struct device *parent , struct stm_source_data *data );
ARGUMENTS parent parent device
data device description structure
DESCRIPTION This will create a device of stm_source class that can writ... |
stm_source_unregister_device(9) | NAME stm_source_unregister_device - unregister an stm_source device
SYNOPSIS void stm_source_unregister_device (struct stm_source_data *data );
ARGUMENTS data device description that was used to register the device
DESCRIPTION This will remove a previously created stm_source device from the system.
SEE ALSO ... |
stmmac_adjust_freq(9) | NAME stmmac_adjust_freq -
SYNOPSIS int stmmac_adjust_freq (struct ptp_clock_info *ptp , long scaled_ppm );
ARGUMENTS ptp pointer to ptp_clock_info structure
scaled_ppm desired period change in scaled parts per million
DESCRIPTION this function will adjust the frequency of hardware clock. Scaled par... |
stmmac_adjust_time(9) | NAME stmmac_adjust_time -
SYNOPSIS int stmmac_adjust_time (struct ptp_clock_info *ptp , s64 delta );
ARGUMENTS ptp pointer to ptp_clock_info structure
delta desired change in nanoseconds
DESCRIPTION this function will shift/adjust the hardware clock time.
SEE ALSO Kernel file ./drivers/net/eth... |
stmmac_axi_blen_to_mask(9) | NAME stmmac_axi_blen_to_mask - convert a burst length array to reg value
SYNOPSIS void stmmac_axi_blen_to_mask (u32 *regval , const u32 *blen , size_t len );
ARGUMENTS regval pointer to a u32 for the resulting register value
blen pointer to an array of u32 containing the burst length values in byt... |
stmmac_axi_setup(9) | NAME stmmac_axi_setup - parse DT parameters for programming the AXI register
SYNOPSIS struct stmmac_axi * stmmac_axi_setup (struct platform_device *pdev );
ARGUMENTS pdev platform device
DESCRIPTION if required, from device-tree the AXI internal register can be tuned by using platform parameters.
SEE ALSO Ke... |
stmmac_change_mtu(9) | NAME stmmac_change_mtu - entry point to change MTU size for the device.
SYNOPSIS int stmmac_change_mtu (struct net_device *dev , int new_mtu );
ARGUMENTS dev device pointer.
new_mtu the new MTU size for the device.
DESCRIPTION the Maximum Transfer Unit (MTU) is used by the network layer to drive ... |
stmmac_check_ether_addr(9) | NAME stmmac_check_ether_addr - check if the MAC addr is valid
SYNOPSIS void stmmac_check_ether_addr (struct stmmac_priv *priv );
ARGUMENTS priv driver private structure
DESCRIPTION it is to verify if the MAC address is valid, in case of failures it generates a random MAC address
SEE ALSO Kernel file ./drive... |
stmmac_check_pcs_mode(9) | NAME stmmac_check_pcs_mode - verify if RGMII/SGMII is supported
SYNOPSIS void stmmac_check_pcs_mode (struct stmmac_priv *priv );
ARGUMENTS priv driver private structure
DESCRIPTION this is to verify if the HW supports the PCS. Physical Coding Sublayer (PCS) interface that can be used when the MAC is configur... |
stmmac_clear_descriptors(9) | NAME stmmac_clear_descriptors - clear descriptors
SYNOPSIS void stmmac_clear_descriptors (struct stmmac_priv *priv , struct stmmac_dma_conf *dma_conf );
ARGUMENTS priv driver private structure
dma_conf structure to take the dma data
DESCRIPTION this function is called to clear the TX and RX descrip... |
stmmac_clear_rx_descriptors(9) | NAME stmmac_clear_rx_descriptors - clear RX descriptors
SYNOPSIS void stmmac_clear_rx_descriptors (struct stmmac_priv *priv , struct stmmac_dma_conf *dma_conf , u32 queue );
ARGUMENTS priv driver private structure
dma_conf structure to take the dma data
queue RX queue index
DESCRIPTIO... |
stmmac_clear_tx_descriptors(9) | NAME stmmac_clear_tx_descriptors - clear tx descriptors
SYNOPSIS void stmmac_clear_tx_descriptors (struct stmmac_priv *priv , struct stmmac_dma_conf *dma_conf , u32 queue );
ARGUMENTS priv driver private structure
dma_conf structure to take the dma data
queue TX queue index.
DESCRIPTI... |
stmmac_clk_csr_set(9) | NAME stmmac_clk_csr_set - dynamically set the MDC clock
SYNOPSIS u32 stmmac_clk_csr_set (struct stmmac_priv *priv );
ARGUMENTS priv driver private structure
DESCRIPTION this is to dynamically set the MDC clock according to the csr clock input.
RETURN MII register CR field value
NOTE If a specific clk_csr va... |
stmmac_configure_cbs(9) | NAME stmmac_configure_cbs - Configure CBS in TX queue
SYNOPSIS void stmmac_configure_cbs (struct stmmac_priv *priv );
ARGUMENTS priv driver private structure
DESCRIPTION It is used for configuring CBS in AVB TX queues
SEE ALSO Kernel file ./drivers/net/ethernet/stmicro/stmmac/stmmac_main.c stmmac_set_clk_tx... |
stmmac_disable_all_queues(9) | NAME stmmac_disable_all_queues - Disable all queues
SYNOPSIS void stmmac_disable_all_queues (struct stmmac_priv *priv );
ARGUMENTS priv driver private structure
SEE ALSO Kernel file ./drivers/net/ethernet/stmicro/stmmac/stmmac_main.c stmmac_set_clk_tx_rate(9), stmmac_axi_blen_to_mask(9), stmmac_verify_args(9)... |
stmmac_dma_interrupt(9) | NAME stmmac_dma_interrupt - DMA ISR
SYNOPSIS void stmmac_dma_interrupt (struct stmmac_priv *priv );
ARGUMENTS priv driver private structure
DESCRIPTION this is the DMA ISR. It is called by the main ISR. It calls the dwmac dma routine and schedule poll method in case of some work can be done.
SEE ALSO Kernel... |
stmmac_dma_operation_mode(9) | NAME stmmac_dma_operation_mode - HW DMA operation mode
SYNOPSIS void stmmac_dma_operation_mode (struct stmmac_priv *priv );
ARGUMENTS priv driver private structure
DESCRIPTION it is used for configuring the DMA operation mode register in order to program the tx/rx DMA thresholds or Store-And-Forward mode.
SE... |
stmmac_dvr_probe(9) | NAME stmmac_dvr_probe -
SYNOPSIS int stmmac_dvr_probe (struct device *dev , struct plat_stmmacenet_data *plat_dat , struct stmmac_resources *res );
ARGUMENTS dev device pointer
plat_dat platform data pointer
res stmmac resource pointer
DESCRIPTION this is the main probe function us... |
stmmac_dvr_remove(9) | NAME stmmac_dvr_remove -
SYNOPSIS void stmmac_dvr_remove (struct device *dev );
ARGUMENTS dev device pointer
DESCRIPTION this function resets the TX/RX processes, disables the MAC RX/TX changes the link status, releases the DMA descriptor rings.
SEE ALSO Kernel file ./drivers/net/ethernet/stmicro/stmmac/st... |
stmmac_eee_ctrl_timer(9) | NAME stmmac_eee_ctrl_timer - EEE TX SW timer.
SYNOPSIS void stmmac_eee_ctrl_timer (struct timer_list *t );
ARGUMENTS t timer_list struct containing private info
DESCRIPTION if there is no data transfer and if we are not in LPI state, then MAC Transmitter can be moved to LPI state.
SEE ALSO Kernel file ./... |
stmmac_enable_all_queues(9) | NAME stmmac_enable_all_queues - Enable all queues
SYNOPSIS void stmmac_enable_all_queues (struct stmmac_priv *priv );
ARGUMENTS priv driver private structure
SEE ALSO Kernel file ./drivers/net/ethernet/stmicro/stmmac/stmmac_main.c stmmac_set_clk_tx_rate(9), stmmac_axi_blen_to_mask(9), stmmac_v... |
stmmac_free_rx_buffer(9) | NAME stmmac_free_rx_buffer - free RX dma buffers
SYNOPSIS void stmmac_free_rx_buffer (struct stmmac_priv *priv , struct stmmac_rx_queue *rx_q , int i );
ARGUMENTS priv private structure
rx_q RX queue
i buffer index.
SEE ALSO Kernel file ./drivers/net/ethernet/stmicro/stmmac/s... |
stmmac_free_tx_buffer(9) | NAME stmmac_free_tx_buffer - free RX dma buffers
SYNOPSIS void stmmac_free_tx_buffer (struct stmmac_priv *priv , struct stmmac_dma_conf *dma_conf , u32 queue , int i );
ARGUMENTS priv private structure
dma_conf structure to take the dma data
queue RX queue index
i buf... |
stmmac_free_tx_skbufs(9) | NAME stmmac_free_tx_skbufs - free TX skb buffers
SYNOPSIS void stmmac_free_tx_skbufs (struct stmmac_priv *priv );
ARGUMENTS priv private structure
SEE ALSO Kernel file ./drivers/net/ethernet/stmicro/stmmac/stmmac_main.c stmmac_set_clk_tx_rate(9), stmmac_axi_blen_to_mask(9), stmmac_verify_args(9), stmmac_disa... |
stmmac_get_hw_features(9) | NAME stmmac_get_hw_features - get MAC capabilities from the HW cap. register.
SYNOPSIS int stmmac_get_hw_features (struct stmmac_priv *priv );
ARGUMENTS priv driver private structure
DESCRIPTION new GMAC chip generations have a new register to indicate the presence of the optional feature/functions. This c... |
stmmac_get_syncdevicetime(9) | NAME stmmac_get_syncdevicetime -
SYNOPSIS int stmmac_get_syncdevicetime (ktime_t *device , struct system_counterval_t *system , void *ctx );
ARGUMENTS device current device time
system system counter value read synchronously with device time
ctx context provided by timekeeping code
... |
stmmac_get_time(9) | NAME stmmac_get_time -
SYNOPSIS int stmmac_get_time (struct ptp_clock_info *ptp , struct timespec64 *ts );
ARGUMENTS ptp pointer to ptp_clock_info structure
ts pointer to hold time/result
DESCRIPTION this function will read the current time from the hardware clock and store it in ts.
SEE AL... |
stmmac_has_ip_ethertype(9) | NAME stmmac_has_ip_ethertype - Check if packet has IP ethertype
SYNOPSIS bool stmmac_has_ip_ethertype (struct sk_buff *skb );
ARGUMENTS skb socket buffer to check
DESCRIPTION Check if a packet has an ethertype that will trigger the IP header checks and IP/TCP checksum engine of the stmmac core.
RETURN true ... |
stmmac_hw_init(9) | NAME stmmac_hw_init - Init the MAC device
SYNOPSIS int stmmac_hw_init (struct stmmac_priv *priv );
ARGUMENTS priv driver private structure
DESCRIPTION this function is to configure the MAC device according to some platform parameters or the HW capability register. It prepares the driver to use either ring ... |
stmmac_hw_setup(9) | NAME stmmac_hw_setup - setup mac in a usable state.
SYNOPSIS int stmmac_hw_setup (struct net_device *dev );
ARGUMENTS dev pointer to the device structure.
DESCRIPTION this is the main function to setup the HW in a usable state because the dma engine is reset, the core registers are configured (e.g. AXI, Ch... |
stmmac_hwtstamp_get(9) | NAME stmmac_hwtstamp_get - read hardware timestamping.
SYNOPSIS int stmmac_hwtstamp_get (struct net_device *dev , struct kernel_hwtstamp_config *config );
ARGUMENTS dev device pointer.
config the timestamping configuration.
DESCRIPTION This function obtain the current hardware timestamping setti... |
stmmac_hwtstamp_set(9) | NAME stmmac_hwtstamp_set - control hardware timestamping.
SYNOPSIS int stmmac_hwtstamp_set (struct net_device *dev , struct kernel_hwtstamp_config *config , struct netlink_ext_ack *extack );
ARGUMENTS dev device pointer.
config the timestamping configuration.
extack netlink extended ... |
stmmac_init_coalesce(9) | NAME stmmac_init_coalesce - init mitigation options.
SYNOPSIS void stmmac_init_coalesce (struct stmmac_priv *priv );
ARGUMENTS priv driver private structure
DESCRIPTION This inits the coalesce parameters: i.e. timer rate, timer handler and default threshold used for enabling the interrupt on completion bit.
... |
stmmac_init_dma_engine(9) | NAME stmmac_init_dma_engine - DMA init.
SYNOPSIS int stmmac_init_dma_engine (struct stmmac_priv *priv );
ARGUMENTS priv driver private structure
DESCRIPTION It inits the DMA invoking the specific MAC/GMAC callback. Some DMA parameters can be passed from the platform; in case of these are not passed a default... |
stmmac_init_phy(9) | NAME stmmac_init_phy - PHY initialization
SYNOPSIS int stmmac_init_phy (struct net_device *dev );
ARGUMENTS dev net device structure
DESCRIPTION it initializes the driver's PHY state, and attaches the PHY to the mac driver. Return value: 0 on success
SEE ALSO Kernel file ./drivers/net/ethernet/stmicro/stm... |
stmmac_init_rx_buffers(9) | NAME stmmac_init_rx_buffers - init the RX descriptor buffer.
SYNOPSIS int stmmac_init_rx_buffers (struct stmmac_priv *priv , struct stmmac_dma_conf *dma_conf , struct dma_desc *p , int i , gfp_t flags , u32 queue );
ARGUMENTS priv driver private structure
dma_conf structure to take the dma data
... |
stmmac_init_timestamping(9) | NAME stmmac_init_timestamping - initialise timestamping
SYNOPSIS int stmmac_init_timestamping (struct stmmac_priv *priv );
ARGUMENTS priv driver private structure
DESCRIPTION this is to verify if the HW supports the PTPv1 or PTPv2. This is done by looking at the HW cap. register. This function also register... |
stmmac_init_tstamp_counter(9) | NAME stmmac_init_tstamp_counter - init hardware timestamping counter
SYNOPSIS int stmmac_init_tstamp_counter (struct stmmac_priv *priv , u32 systime_flags );
ARGUMENTS priv driver private structure
systime_flags
timestamping flags
DESCRIPTION Initialize hardware counter for pack... |
stmmac_interrupt(9) | NAME stmmac_interrupt - main ISR
SYNOPSIS irqreturn_t stmmac_interrupt (int irq , void *dev_id );
ARGUMENTS irq interrupt number.
dev_id to pass the net device pointer.
DESCRIPTION this is the main driver interrupt service routine. It can call: o DMA service routine (to manage incoming frame r... |
stmmac_ioctl(9) | NAME stmmac_ioctl - Entry point for the Ioctl
SYNOPSIS int stmmac_ioctl (struct net_device *dev , struct ifreq *rq , int cmd );
ARGUMENTS dev Device pointer.
rq An IOCTL specific structure, that can contain a pointer to a proprietary structure used to pass information to the driver.
c... |
stmmac_mac_config_rx_queues_prio(9) | NAME stmmac_mac_config_rx_queues_prio - Configure RX Queue priority
SYNOPSIS void stmmac_mac_config_rx_queues_prio (struct stmmac_priv *priv );
ARGUMENTS priv driver private structure
DESCRIPTION It is used for configuring the RX Queue Priority
SEE ALSO Kernel file ./drivers/net/ethernet/stmicro/stmmac/stmm... |
stmmac_mac_config_rx_queues_routing(9) | NAME stmmac_mac_config_rx_queues_routing - Configure RX Queue Routing
SYNOPSIS void stmmac_mac_config_rx_queues_routing (struct stmmac_priv *priv );
ARGUMENTS priv driver private structure
DESCRIPTION It is used for configuring the RX queue routing
SEE ALSO Kernel file ./drivers/net/ethernet/stmicro/stmmac/... |
stmmac_mac_config_tx_queues_prio(9) | NAME stmmac_mac_config_tx_queues_prio - Configure TX Queue priority
SYNOPSIS void stmmac_mac_config_tx_queues_prio (struct stmmac_priv *priv );
ARGUMENTS priv driver private structure
DESCRIPTION It is used for configuring the TX Queue Priority
SEE ALSO Kernel file ./drivers/net/ethernet/stmicro/stmmac/stmm... |
stmmac_mac_enable_rx_queues(9) | NAME stmmac_mac_enable_rx_queues - Enable MAC rx queues
SYNOPSIS void stmmac_mac_enable_rx_queues (struct stmmac_priv *priv );
ARGUMENTS priv driver private structure
DESCRIPTION It is used for enabling the rx queues in the MAC
SEE ALSO Kernel file ./drivers/net/ethernet/stmicro/stmmac/stmmac_main.c stmmac_... |
stmmac_mac_flow_ctrl(9) | NAME stmmac_mac_flow_ctrl - Configure flow control in all queues
SYNOPSIS void stmmac_mac_flow_ctrl (struct stmmac_priv *priv , u32 duplex , unsigned int flow_ctrl );
ARGUMENTS priv driver private structure
duplex duplex passed to the next function
flow_ctrl desired flow control modes
D... |
stmmac_mdio_format_addr(9) | NAME stmmac_mdio_format_addr - format the address register
SYNOPSIS u32 stmmac_mdio_format_addr (struct stmmac_priv *priv , unsigned int pa , unsigned int gr );
ARGUMENTS priv struct stmmac_priv pointer
pa 5-bit MDIO package address
gr 5-bit MDIO register address (C22) or MDIO... |
stmmac_mdio_read_c22(9) | NAME stmmac_mdio_read_c22 -
SYNOPSIS int stmmac_mdio_read_c22 (struct mii_bus *bus , int phyaddr , int phyreg );
ARGUMENTS bus points to the mii_bus structure
phyaddr MII addr
phyreg MII reg
DESCRIPTION it reads data from the MII register from within the phy device. For the 7111 GM... |
stmmac_mdio_read_c45(9) | NAME stmmac_mdio_read_c45 -
SYNOPSIS int stmmac_mdio_read_c45 (struct mii_bus *bus , int phyaddr , int devad , int phyreg );
ARGUMENTS bus points to the mii_bus structure
phyaddr MII addr
devad device address to read
phyreg MII reg
DESCRIPTION it reads data from the MI... |
stmmac_mdio_register(9) | NAME stmmac_mdio_register -
SYNOPSIS int stmmac_mdio_register (struct net_device *ndev );
ARGUMENTS ndev net device structure
DESCRIPTION it registers the MII bus
SEE ALSO Kernel file ./drivers/net/ethernet/stmicro/stmmac/stmmac_mdio.c stmmac_mdio_format_addr(9), stmmac_mdio_read_c22(9), stmmac_mdio_read_c4... |
stmmac_mdio_reset(9) | NAME stmmac_mdio_reset -
SYNOPSIS int stmmac_mdio_reset (struct mii_bus *bus );
ARGUMENTS bus points to the mii_bus structure
DESCRIPTION reset the MII bus
SEE ALSO Kernel file ./drivers/net/ethernet/stmicro/stmmac/stmmac_mdio.c stmmac_mdio_format_addr(9), stmmac_mdio_read_c22(9), stmmac_mdio_read_c45(9), s... |
stmmac_mdio_setup(9) | NAME stmmac_mdio_setup - Populate platform related MDIO structures.
SYNOPSIS int stmmac_mdio_setup (struct plat_stmmacenet_data *plat , struct device_node *np , struct device *dev );
ARGUMENTS plat driver data platform structure
np devicetree node
dev device pointer
DESCRIPTIO... |
stmmac_mdio_unregister(9) | NAME stmmac_mdio_unregister -
SYNOPSIS int stmmac_mdio_unregister (struct net_device *ndev );
ARGUMENTS ndev net device structure
DESCRIPTION it unregisters the MII bus
SEE ALSO Kernel file ./drivers/net/ethernet/stmicro/stmmac/stmmac_mdio.c stmmac_mdio_format_addr(9), stmmac_mdio_read_c22(9), stmmac_mdio_r... |
stmmac_mdio_write_c22(9) | NAME stmmac_mdio_write_c22 -
SYNOPSIS int stmmac_mdio_write_c22 (struct mii_bus *bus , int phyaddr , int phyreg , u16 phydata );
ARGUMENTS bus points to the mii_bus structure
phyaddr MII addr
phyreg MII reg
phydata phy data
DESCRIPTION it writes the data into the MII regi... |
stmmac_mdio_write_c45(9) | NAME stmmac_mdio_write_c45 -
SYNOPSIS int stmmac_mdio_write_c45 (struct mii_bus *bus , int phyaddr , int devad , int phyreg , u16 phydata );
ARGUMENTS bus points to the mii_bus structure
phyaddr MII addr
devad device address to read
phyreg MII reg
phydata phy... |
stmmac_mmc_setup(9) | NAME stmmac_mmc_setup - setup the Mac Management Counters (MMC)
SYNOPSIS void stmmac_mmc_setup (struct stmmac_priv *priv );
ARGUMENTS priv driver private structure
DESCRIPTION this masks the MMC irq, in fact, the counters are managed in SW.
SEE ALSO Kernel file ./drivers/net/ethernet/stmicro/stmmac/stmmac_m... |
stmmac_mtl_configuration(9) | NAME stmmac_mtl_configuration - Configure MTL
SYNOPSIS void stmmac_mtl_configuration (struct stmmac_priv *priv );
ARGUMENTS priv driver private structure
DESCRIPTION It is used for configuring MTL
SEE ALSO Kernel file ./drivers/net/ethernet/stmicro/stmmac/stmmac_main.c stmmac_set_clk_tx_rate(9), stmmac_axi_... |
stmmac_mtl_setup(9) | NAME stmmac_mtl_setup - parse DT parameters for multiple queues configuration
SYNOPSIS int stmmac_mtl_setup (struct platform_device *pdev , struct plat_stmmacenet_data *plat );
ARGUMENTS pdev platform device
plat enet data
SEE ALSO Kernel file ./drivers/net/ethernet/stmicro/stmmac/stmmac_pl... |
stmmac_of_get_mac_mode(9) | NAME stmmac_of_get_mac_mode - retrieves the interface of the MAC
SYNOPSIS int stmmac_of_get_mac_mode (struct device_node *np );
ARGUMENTS np - device-tree node
DESCRIPTION Similar to `of_get_phy_mode`, this function will retrieve (from the device-tree) the interface mode on the MAC side. This assumes that t... |
stmmac_of_get_mdio(9) | NAME stmmac_of_get_mdio - Gets the MDIO bus from the devicetree.
SYNOPSIS struct device_node * stmmac_of_get_mdio (struct device_node *np );
ARGUMENTS np devicetree node
DESCRIPTION The MDIO bus will be searched for in the following ways: 1. The compatible is "snps,dwc-qos-ethernet-4.10" && a "mdio" named c... |
stmmac_pci_probe(9) | NAME stmmac_pci_probe -
SYNOPSIS int stmmac_pci_probe (struct pci_dev *pdev , const struct pci_device_id *id );
ARGUMENTS pdev pci device pointer
id pointer to table of device id/id's.
DESCRIPTION This probing function gets called for all PCI devices which match the ID table and are not "o... |
stmmac_pci_remove(9) | NAME stmmac_pci_remove -
SYNOPSIS void stmmac_pci_remove (struct pci_dev *pdev );
ARGUMENTS pdev platform device pointer
DESCRIPTION this function calls the main to free the net resources.
SEE ALSO Kernel file ./drivers/net/ethernet/stmicro/stmmac/stmmac_pci.c stmmac_pci_probe(9)
April 2026 ... |
stmmac_pltfr_exit(9) | NAME stmmac_pltfr_exit -
SYNOPSIS void stmmac_pltfr_exit (struct device *dev , struct plat_stmmacenet_data *plat );
ARGUMENTS dev pointer to the device structure
plat driver data platform structure
DESCRIPTION Call the platform's exit callback (if any).
SEE ALSO Kernel file ./drivers/net/... |
stmmac_pltfr_init(9) | NAME stmmac_pltfr_init -
SYNOPSIS int stmmac_pltfr_init (struct device *dev , struct plat_stmmacenet_data *plat );
ARGUMENTS dev pointer to the device structure
plat driver data platform structure
DESCRIPTION Call the platform's init callback (if any) and propagate the return value.
SEE ALSO ... |
stmmac_pltfr_probe(9) | NAME stmmac_pltfr_probe -
SYNOPSIS int stmmac_pltfr_probe (struct platform_device *pdev , struct plat_stmmacenet_data *plat , struct stmmac_resources *res );
ARGUMENTS pdev platform device pointer
plat driver data platform structure
res stmmac resources structure
DESCRIPTION Thi... |
stmmac_pltfr_remove(9) | NAME stmmac_pltfr_remove -
SYNOPSIS void stmmac_pltfr_remove (struct platform_device *pdev );
ARGUMENTS pdev pointer to the platform device
DESCRIPTION This undoes the effects of stmmac_pltfr_probe by removing the driver and calling the platform's exit callback.
SEE ALSO Kernel file ./drivers/net/etherne... |
stmmac_probe_config_dt(9) | NAME stmmac_probe_config_dt - parse device-tree driver parameters
SYNOPSIS struct plat_stmmacenet_data * stmmac_probe_config_dt (struct platform_device *pdev , u8 *mac );
ARGUMENTS pdev platform_device structure
mac MAC address to use
DESCRIPTION this function is to read the driver parameters ... |
stmmac_ptp_register(9) | NAME stmmac_ptp_register -
SYNOPSIS void stmmac_ptp_register (struct stmmac_priv *priv );
ARGUMENTS priv driver private structure
DESCRIPTION this function will register the ptp clock driver to kernel. It also does some house keeping work.
SEE ALSO Kernel file ./drivers/net/ethernet/stmicro/stmmac/stmmac_ptp... |
stmmac_ptp_unregister(9) | NAME stmmac_ptp_unregister -
SYNOPSIS void stmmac_ptp_unregister (struct stmmac_priv *priv );
ARGUMENTS priv driver private structure
DESCRIPTION this function will remove/unregister the ptp clock driver from the kernel.
SEE ALSO Kernel file ./drivers/net/ethernet/stmicro/stmmac/stmmac_ptp.c stmmac_adjust_fr... |
stmmac_release(9) | NAME stmmac_release - close entry point of the driver
SYNOPSIS int stmmac_release (struct net_device *dev );
ARGUMENTS dev device pointer.
DESCRIPTION This is the stop entry point of the driver.
SEE ALSO Kernel file ./drivers/net/ethernet/stmicro/stmmac/stmmac_main.c stmmac_set_clk_tx_rate(9), stmmac_axi_b... |
stmmac_reset_queues_param(9) | NAME stmmac_reset_queues_param - reset queue parameters
SYNOPSIS void stmmac_reset_queues_param (struct stmmac_priv *priv );
ARGUMENTS priv device pointer
SEE ALSO Kernel file ./drivers/net/ethernet/stmicro/stmmac/stmmac_main.c stmmac_set_clk_tx_rate(9), stmmac_axi_blen_to_mask(9), stmmac_verify_args(9), stm... |
stmmac_resume(9) | NAME stmmac_resume - resume callback
SYNOPSIS int stmmac_resume (struct device *dev );
ARGUMENTS dev device pointer
DESCRIPTION when resume this function is invoked to setup the DMA and CORE in a usable state.
SEE ALSO Kernel file ./drivers/net/ethernet/stmicro/stmmac/stmmac_main.c stmmac_set_clk_tx_rate(9... |
stmmac_rx(9) | NAME stmmac_rx - manage the receive process
SYNOPSIS int stmmac_rx (struct stmmac_priv *priv , int limit , u32 queue );
ARGUMENTS priv driver private structure
limit napi bugget
queue RX queue index.
DESCRIPTION this the function called by the napi poll method. It gets all the fra... |
stmmac_rx_dirty(9) | NAME stmmac_rx_dirty - Get RX queue dirty
SYNOPSIS u32 stmmac_rx_dirty (struct stmmac_priv *priv , u32 queue );
ARGUMENTS priv driver private structure
queue RX queue index
SEE ALSO Kernel file ./drivers/net/ethernet/stmicro/stmmac/stmmac_main.c stmmac_set_clk_tx_rate(9), stmmac_axi_blen... |
stmmac_rx_queue_dma_chan_map(9) | NAME stmmac_rx_queue_dma_chan_map - Map RX queue to RX dma channel
SYNOPSIS void stmmac_rx_queue_dma_chan_map (struct stmmac_priv *priv );
ARGUMENTS priv driver private structure
DESCRIPTION It is used for mapping RX queues to RX dma channels
SEE ALSO Kernel file ./drivers/net/ethernet/stmicro/stmmac/stmmac... |
stmmac_rx_refill(9) | NAME stmmac_rx_refill - refill used skb preallocated buffers
SYNOPSIS void stmmac_rx_refill (struct stmmac_priv *priv , u32 queue );
ARGUMENTS priv driver private structure
queue RX queue index
DESCRIPTION this is to reallocate the skb for the reception process that is based on zero-copy.
SEE A... |
stmmac_set_clk_tx_rate(9) | NAME stmmac_set_clk_tx_rate - set the clock rate for the MAC transmit clock
SYNOPSIS int stmmac_set_clk_tx_rate (void *bsp_priv , struct clk *clk_tx_i , phy_interface_t interface , int speed );
ARGUMENTS bsp_priv BSP private data structure (unused)
clk_tx_i the transmit clock
interface the sel... |
stmmac_set_dma_operation_mode(9) | NAME stmmac_set_dma_operation_mode - Set DMA operation mode by channel
SYNOPSIS void stmmac_set_dma_operation_mode (struct stmmac_priv *priv , u32 txmode , u32 rxmode , u32 chan );
ARGUMENTS priv driver private structure
txmode TX operating mode
rxmode RX operating mode
chan ... |
stmmac_set_rx_mode(9) | NAME stmmac_set_rx_mode - entry point for multicast addressing
SYNOPSIS void stmmac_set_rx_mode (struct net_device *dev );
ARGUMENTS dev pointer to the device structure
DESCRIPTION This function is a driver entry point which gets called by the kernel whenever multicast addresses must be enabled/disabled. R... |
stmmac_set_time(9) | NAME stmmac_set_time -
SYNOPSIS int stmmac_set_time (struct ptp_clock_info *ptp , const struct timespec64 *ts );
ARGUMENTS ptp pointer to ptp_clock_info structure
ts time value to set
DESCRIPTION this function will set the current time on the hardware clock.
SEE ALSO Kernel file ./drivers/n... |
stmmac_set_tx_queue_weight(9) | NAME stmmac_set_tx_queue_weight - Set TX queue weight
SYNOPSIS void stmmac_set_tx_queue_weight (struct stmmac_priv *priv );
ARGUMENTS priv driver private structure
DESCRIPTION It is used for setting TX queues weight
SEE ALSO Kernel file ./drivers/net/ethernet/stmicro/stmmac/stmmac_main.c stmmac_set_clk_tx_r... |
stmmac_setup_dma_desc(9) | NAME stmmac_setup_dma_desc - Generate a dma_conf and allocate DMA queue
SYNOPSIS struct stmmac_dma_conf * stmmac_setup_dma_desc (struct stmmac_priv *priv , unsigned int mtu );
ARGUMENTS priv driver private structure
mtu MTU to setup the dma queue and buf with
DESCRIPTION Allocate and generate ... |
stmmac_start_all_dma(9) | NAME stmmac_start_all_dma - start all RX and TX DMA channels
SYNOPSIS void stmmac_start_all_dma (struct stmmac_priv *priv );
ARGUMENTS priv driver private structure
DESCRIPTION This starts all the RX and TX DMA channels
SEE ALSO Kernel file ./drivers/net/ethernet/stmicro/stmmac/stmmac_main.c stmmac_set_clk_... |
stmmac_start_rx_dma(9) | NAME stmmac_start_rx_dma - start RX DMA channel
SYNOPSIS void stmmac_start_rx_dma (struct stmmac_priv *priv , u32 chan );
ARGUMENTS priv driver private structure
chan RX channel index
DESCRIPTION This starts a RX DMA channel
SEE ALSO Kernel file ./drivers/net/ethernet/stmicro/stmmac/stmmac_ma... |
stmmac_start_tx_dma(9) | NAME stmmac_start_tx_dma - start TX DMA channel
SYNOPSIS void stmmac_start_tx_dma (struct stmmac_priv *priv , u32 chan );
ARGUMENTS priv driver private structure
chan TX channel index
DESCRIPTION This starts a TX DMA channel
SEE ALSO Kernel file ./drivers/net/ethernet/stmicro/stmmac/stmmac_ma... |
stmmac_stop_all_dma(9) | NAME stmmac_stop_all_dma - stop all RX and TX DMA channels
SYNOPSIS void stmmac_stop_all_dma (struct stmmac_priv *priv );
ARGUMENTS priv driver private structure
DESCRIPTION This stops the RX and TX DMA channels
SEE ALSO Kernel file ./drivers/net/ethernet/stmicro/stmmac/stmmac_main.c stmmac_set_clk_tx_rate(... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.