id
stringlengths
4
63
text
stringlengths
153
8.81M
authunix_create_default(3)
NAME rpc - library routines for remote procedure calls LIBRARY Standard C library (libc, -lc) SYNOPSIS AND DESCRIPTION These routines allow C programs to make procedure calls on other machines across the network. First, the client calls a procedure to send a data packet to the server. Upon receipt of the packet, t...
auto_house_keeping(9)
NAME auto_house_keeping - Automatically move rtla out of measurement threads SYNOPSIS int auto_house_keeping (cpu_set_t *monitored_cpus ); ARGUMENTS monitored_cpus -- undescribed -- DESCRIPTION Try to move rtla away from the tracer, if possible. Returns 1 on success, 0 otherwise. SEE ALSO Kernel file ./tools/traci...
autoinst(1)
NAME autoinst - wrapper around the LCDF TypeTools, for installing and using OpenType fonts in LaTeX. SYNOPSIS autoinst -help autoinst [options] font(s) DESCRIPTION Eddie Kohler's LCDF TypeTools are superb tools for installing OpenType fonts in LaTeX, but they can be hard to use: they need many, often long, co...
autoresize(9)
NAME autoresize - re-size the volume which has the "auto-resize" flag set. SYNOPSIS int autoresize (struct ubi_device *ubi , int vol_id ); ARGUMENTS ubi UBI device description object vol_id ID of the volume to re-size DESCRIPTION This function re-sizes the volume marked by the UBI_VTBL_AUTORESI...
auxiliary_device_create(9)
NAME auxiliary_device_create - create a device on the auxiliary bus SYNOPSIS struct auxiliary_device * auxiliary_device_create (struct device *dev , const char *modname , const char *devname , void *platform_data , int id ); ARGUMENTS dev parent device modname module name used to create the auxili...
auxiliary_device_destroy(9)
NAME auxiliary_device_destroy - remove an auxiliary device SYNOPSIS void auxiliary_device_destroy (void *auxdev ); ARGUMENTS auxdev pointer to the auxdev to be removed DESCRIPTION Helper to remove an auxiliary device created with auxiliary_device_create SEE ALSO Kernel file ./drivers/base/auxiliary.c Kernel...
auxiliary_device_init(9)
NAME auxiliary_device_init - check auxiliary_device and initialize SYNOPSIS int auxiliary_device_init (struct auxiliary_device *auxdev ); ARGUMENTS auxdev auxiliary device struct DESCRIPTION This is the second step in the three-step process to register an auxiliary_device. When this function returns an error...
auxiliary_device_sysfs_irq_add(9)
NAME auxiliary_device_sysfs_irq_add - add a sysfs entry for the given IRQ SYNOPSIS int auxiliary_device_sysfs_irq_add (struct auxiliary_device *auxdev , int irq ); ARGUMENTS auxdev auxiliary bus device to add the sysfs entry. irq The associated interrupt number. DESCRIPTION This function shoul...
auxiliary_device_sysfs_irq_remove(9)
NAME auxiliary_device_sysfs_irq_remove - remove a sysfs entry for the given IRQ SYNOPSIS void auxiliary_device_sysfs_irq_remove (struct auxiliary_device *auxdev , int irq ); ARGUMENTS auxdev auxiliary bus device to add the sysfs entry. irq the IRQ to remove. DESCRIPTION This function should be c...
auxiliary_driver_unregister(9)
NAME auxiliary_driver_unregister - unregister a driver SYNOPSIS void auxiliary_driver_unregister (struct auxiliary_driver *auxdrv ); ARGUMENTS auxdrv auxiliary_driver structure SEE ALSO Kernel file ./drivers/base/auxiliary.c Kernel API(9), Kernel API(9), Kernel API(9), auxiliary_device_init(9), __auxiliary_...
avail_orphs(9)
NAME avail_orphs - calculate available space. SYNOPSIS int avail_orphs (struct ubifs_info *c ); ARGUMENTS c UBIFS file-system description object DESCRIPTION This function returns the number of orphans that can be written in the available space. SEE ALSO Kernel file ./fs/ubifs/orphan.c ubifs_add_orphan(...
available_clocksource_show(9)
NAME available_clocksource_show - sysfs interface for listing clocksource SYNOPSIS ssize_t available_clocksource_show (struct device *dev , struct device_attribute *attr , char *buf ); ARGUMENTS dev unused attr unused buf char buffer to be filled with clocksource list DESCRIPTI...
available_idle_cpu(9)
NAME available_idle_cpu - is a given CPU idle for enqueuing work. SYNOPSIS bool available_idle_cpu (int cpu ); ARGUMENTS cpu the CPU in question. RETURN 1 if the CPU is currently idle. 0 otherwise. SEE ALSO Kernel file ./kernel/sched/sched.h highest_flag_domain(9), arch_scale_freq_capacity(9), cpufreq_updat...
avc_add_callback(9)
NAME avc_add_callback - Register a callback for security events. SYNOPSIS int avc_add_callback (int (*callback)(u32 event) , u32 events ); ARGUMENTS callback callback function events security events DESCRIPTION Register a callback function for events in the set events. Returns 0 on success or -ENOME...
avc_audit(9)
NAME avc_audit - Audit the granting or denial of permissions. SYNOPSIS int avc_audit (u32 ssid , u32 tsid , u16 tclass , u32 requested , struct av_decision *avd , int result , struct common_audit_data *a ); ARGUMENTS ssid source security identifier tsid target security identifier tclass ...
avc_audit_post_callback(9)
NAME avc_audit_post_callback - SELinux specific information will be called by generic audit code SYNOPSIS void avc_audit_post_callback (struct audit_buffer *ab , void *a ); ARGUMENTS ab the audit buffer a audit_data SEE ALSO Kernel file ./security/selinux/avc.c avc_init(9), avc_lookup(...
avc_audit_pre_callback(9)
NAME avc_audit_pre_callback - SELinux specific information will be called by generic audit code SYNOPSIS void avc_audit_pre_callback (struct audit_buffer *ab , void *a ); ARGUMENTS ab the audit buffer a audit_data SEE ALSO Kernel file ./security/selinux/avc.c avc_init(9), avc_lookup(9),...
avc_compute_av(9)
NAME avc_compute_av - Add an entry to the AVC based on the security policy SYNOPSIS void avc_compute_av (u32 ssid , u32 tsid , u16 tclass , struct av_decision *avd , struct avc_xperms_node *xp_node ); ARGUMENTS ssid subject tsid object/target tclass object class avd ...
avc_flush(9)
NAME avc_flush - Flush the cache SYNOPSIS void avc_flush (void ); ARGUMENTS void no arguments SEE ALSO Kernel file ./security/selinux/avc.c avc_init(9), avc_lookup(9), avc_insert(9), avc_audit_pre_callback(9), avc_audit_post_callback(9), avc_add_callback(9), avc_update_node(9), avc_ss_reset(9), avc_...
avc_has_perm(9)
NAME avc_has_perm - Check permissions and perform any appropriate auditing. SYNOPSIS int avc_has_perm (u32 ssid , u32 tsid , u16 tclass , u32 requested , struct common_audit_data *auditdata ); ARGUMENTS ssid source security identifier tsid target security identifier tclass target se...
avc_has_perm_noaudit(9)
NAME avc_has_perm_noaudit - Check permissions but perform no auditing. SYNOPSIS int avc_has_perm_noaudit (u32 ssid , u32 tsid , u16 tclass , u32 requested , unsigned int flags , struct av_decision *avd ); ARGUMENTS ssid source security identifier tsid target security identifier tclass ...
avc_init(9)
NAME avc_init - Initialize the AVC. SYNOPSIS void avc_init (void ); ARGUMENTS void no arguments DESCRIPTION Initialize the access vector cache. SEE ALSO Kernel file ./security/selinux/avc.c avc_lookup(9), avc_insert(9), avc_audit_pre_callback(9), avc_audit_post_callback(9), avc_add_callback(9), avc_u...
avc_insert(9)
NAME avc_insert - Insert an AVC entry. SYNOPSIS void avc_insert (u32 ssid , u32 tsid , u16 tclass , struct av_decision *avd , struct avc_xperms_node *xp_node ); ARGUMENTS ssid source security identifier tsid target security identifier tclass target security class avd ...
avc_lookup(9)
NAME avc_lookup - Look up an AVC entry. SYNOPSIS struct avc_node * avc_lookup (u32 ssid , u32 tsid , u16 tclass ); ARGUMENTS ssid source security identifier tsid target security identifier tclass target security class DESCRIPTION Look up an AVC entry that is valid for the (ssid, ts...
avc_perm_nonode(9)
NAME avc_perm_nonode - Add an entry to the AVC SYNOPSIS int avc_perm_nonode (u32 ssid , u32 tsid , u16 tclass , u32 requested , unsigned int flags , struct av_decision *avd ); ARGUMENTS ssid subject tsid object/target tclass object class requested requested permissions ...
avc_ss_reset(9)
NAME avc_ss_reset - Flush the cache and revalidate migrated permissions. SYNOPSIS int avc_ss_reset (u32 seqno ); ARGUMENTS seqno policy sequence number SEE ALSO Kernel file ./security/selinux/avc.c avc_init(9), avc_lookup(9), avc_insert(9), avc_audit_pre_callback(9), avc_audit_post_callback(9), avc_a...
avc_update_node(9)
NAME avc_update_node - Update an AVC entry SYNOPSIS int avc_update_node (u32 event , u32 perms , u8 driver , u8 base_perm , u8 xperm , u32 ssid , u32 tsid , u16 tclass , u32 seqno , struct extended_perms_decision *xpd , u32 flags ); ARGUMENTS event Updating event perms Permission mask bits ...
avg_array(9)
NAME avg_array - Return average of values within an array. SYNOPSIS avg_array (array , len ); ARGUMENTS array Array of values. len Number of elements. DESCRIPTION This algorithm computes average of an array without running into overflow. RETURN average of values. SEE ALSO Kernel file ./driver...
avivo_get_fb_ref_div(9)
NAME avivo_get_fb_ref_div - feedback and ref divider calculation SYNOPSIS void avivo_get_fb_ref_div (unsigned nom , unsigned den , unsigned post_div , unsigned fb_div_max , unsigned ref_div_max , unsigned *fb_div , unsigned *ref_div ); ARGUMENTS nom nominator den denominator post_div ...
avivo_reduce_ratio(9)
NAME avivo_reduce_ratio - fractional number reduction SYNOPSIS void avivo_reduce_ratio (unsigned *nom , unsigned *den , unsigned nom_min , unsigned den_min ); ARGUMENTS nom nominator den denominator nom_min minimum value for nominator den_min minimum value for denominat...
avivo_wait_for_vblank(9)
NAME avivo_wait_for_vblank - vblank wait asic callback. SYNOPSIS void avivo_wait_for_vblank (struct radeon_device *rdev , int crtc ); ARGUMENTS rdev radeon_device pointer crtc crtc to wait for vblank on DESCRIPTION Wait for vblank on the requested crtc (r5xx-r7xx). SEE ALSO Kernel file ./drive...
awcc_op_get_resource_id(9)
NAME awcc_op_get_resource_id - Get the resource ID at a given index SYNOPSIS int awcc_op_get_resource_id (struct wmi_device *wdev , u8 index , u8 *out ); ARGUMENTS wdev AWCC WMI device index Index out Value returned by the WMI call DESCRIPTION Get the resource ID at a given...
awk(1)
NAME gawk - pattern scanning and processing language SYNOPSIS gawk [ POSIX or GNU style options ] -f program-file [ -- ] file ... gawk [ POSIX or GNU style options ] [ -- ] program-text file ... README FIRST This manual page is provided as a courtesy. Please note that the One Source Of Truth for gawk is the Texin...
awk(1p)
PROLOG This manual page is part of the POSIX Programmer's Manual. The Linux implementation of this interface may differ (consult the corresponding Linux manual page for details of Linux behavior), or the interface may not be implemented on Linux. NAME awk — pattern scanning and processing language SYNOPSIS a...
ax_close(9)
NAME ax_close - shut down network device SYNOPSIS int ax_close (struct net_device *dev ); ARGUMENTS dev network device to close DESCRIPTION Opposite of ax_open. Only used when "ifconfig <devname> down" is done. SEE ALSO Kernel file ./drivers/net/ethernet/8390/axnet_cs.c ax_open(9), axnet_tx_timeout(9),...
ax_interrupt(9)
NAME ax_interrupt - handle the interrupts from an 8390 SYNOPSIS irqreturn_t ax_interrupt (int irq , void *dev_id ); ARGUMENTS irq interrupt number dev_id a pointer to the net_device DESCRIPTION Handle the ether interface interrupts. We pull packets from the 8390 via the card specific functions...
ax_open(9)
NAME ax_open - Open/initialize the board. SYNOPSIS int ax_open (struct net_device *dev ); ARGUMENTS dev network device to initialize DESCRIPTION This routine goes all-out, setting everything up anew at each open, even though many of these registers should only need to be set once at boot. SEE ALSO Kernel f...
ax_prepare_transfer_hardware(9)
NAME ax_prepare_transfer_hardware - Prepares hardware for transfer. SYNOPSIS int ax_prepare_transfer_hardware (struct spi_controller *ctlr ); ARGUMENTS ctlr Pointer to the spi_controller structure which provides information about the controller. DESCRIPTION This function enables SPI host controller. RETURN 0...
ax_spi_chipselect(9)
NAME ax_spi_chipselect - Select or deselect the chip select line SYNOPSIS void ax_spi_chipselect (struct spi_device *spi , bool is_high ); ARGUMENTS spi Pointer to the spi_device structure is_high Select(0) or deselect (1) the chip select line SEE ALSO Kernel file ./drivers/spi/spi-axiado.c ax...
ax_spi_config_clock_freq(9)
NAME ax_spi_config_clock_freq - Sets clock frequency SYNOPSIS void ax_spi_config_clock_freq (struct spi_device *spi , struct spi_transfer *transfer ); ARGUMENTS spi Pointer to the spi_device structure transfer Pointer to the spi_transfer structure which provides information about next transfer setu...
ax_spi_config_clock_mode(9)
NAME ax_spi_config_clock_mode - Sets clock polarity and phase SYNOPSIS void ax_spi_config_clock_mode (struct spi_device *spi ); ARGUMENTS spi Pointer to the spi_device structure DESCRIPTION Sets the requested clock polarity and phase. SEE ALSO Kernel file ./drivers/spi/spi-axiado.c ax_spi_read(9), ax_s...
ax_spi_detect_fifo_depth(9)
NAME ax_spi_detect_fifo_depth - Detect the FIFO depth of the hardware SYNOPSIS void ax_spi_detect_fifo_depth (struct ax_spi *xspi ); ARGUMENTS xspi Pointer to the ax_spi structure DESCRIPTION The depth of the TX FIFO is a synthesis configuration parameter of the SPI IP. The FIFO threshold register is sized so...
ax_spi_fill_tx_fifo(9)
NAME ax_spi_fill_tx_fifo - Fills the TX FIFO with as many bytes as possible SYNOPSIS void ax_spi_fill_tx_fifo (struct ax_spi *xspi ); ARGUMENTS xspi Pointer to the ax_spi structure SEE ALSO Kernel file ./drivers/spi/spi-axiado.c ax_spi_read(9), ax_spi_write(9), ax_spi_write_b(9), ax_spi_init_hw(9), ax_s...
ax_spi_get_rx_byte(9)
NAME ax_spi_get_rx_byte - Gets a byte from the RX FIFO buffer SYNOPSIS u8 ax_spi_get_rx_byte (struct ax_spi *xspi ); ARGUMENTS xspi Controller private data (struct ax_spi *) DESCRIPTION This function handles the logic of extracting bytes from the 32-bit RX FIFO. It reads a new 32-bit word from AX_SPI_RXFIFO ...
ax_spi_init_hw(9)
NAME ax_spi_init_hw - Initialize the hardware and configure the SPI controller SYNOPSIS void ax_spi_init_hw (struct ax_spi *xspi ); ARGUMENTS xspi Pointer to the ax_spi structure DESCRIPTION * On reset the SPI controller is configured to be in host mode. In host mode baud rate divisor is set to 4, thres...
ax_spi_irq(9)
NAME ax_spi_irq - Interrupt service routine of the SPI controller SYNOPSIS irqreturn_t ax_spi_irq (int irq , void *dev_id ); ARGUMENTS irq IRQ number dev_id Pointer to the xspi structure DESCRIPTION This function handles RX FIFO almost full and Host Transfer Completed interrupts only. On RX ...
ax_spi_probe(9)
NAME ax_spi_probe - Probe method for the SPI driver SYNOPSIS int ax_spi_probe (struct platform_device *pdev ); ARGUMENTS pdev Pointer to the platform_device structure DESCRIPTION This function initializes the driver data structures and the hardware. RETURN 0 on success and error value on error SEE ALSO Kern...
ax_spi_read(9)
NAME ax_spi_read - Register Read - 32 bit per word SYNOPSIS u32 ax_spi_read (struct ax_spi *xspi , u32 offset ); ARGUMENTS xspi Pointer to the ax_spi structure offset Register offset address RETURN Returns the value of that register SEE ALSO Kernel file ./drivers/spi/spi-axiado.c ax_spi...
ax_spi_remove(9)
NAME ax_spi_remove - Remove method for the SPI driver SYNOPSIS void ax_spi_remove (struct platform_device *pdev ); ARGUMENTS pdev Pointer to the platform_device structure DESCRIPTION This function is called if a device is physically removed from the system or if the driver module is being unloaded. It frees a...
ax_spi_resume(9)
NAME ax_spi_resume - Resume method for the SPI driver SYNOPSIS int __maybe_unused ax_spi_resume (struct device *dev ); ARGUMENTS dev Address of the platform_device structure DESCRIPTION This function changes the driver state to "ready" RETURN 0 on success and error value on error SEE ALSO Kernel file ./d...
ax_spi_runtime_resume(9)
NAME ax_spi_runtime_resume - Runtime resume method for the SPI driver SYNOPSIS int __maybe_unused ax_spi_runtime_resume (struct device *dev ); ARGUMENTS dev Address of the platform_device structure DESCRIPTION This function enables the clocks RETURN 0 on success and error value on error SEE ALSO Kernel fi...
ax_spi_runtime_suspend(9)
NAME ax_spi_runtime_suspend - Runtime suspend method for the SPI driver SYNOPSIS int __maybe_unused ax_spi_runtime_suspend (struct device *dev ); ARGUMENTS dev Address of the platform_device structure DESCRIPTION This function disables the clocks RETURN Always 0 SEE ALSO Kernel file ./drivers/spi/spi-axi...
ax_spi_setup_transfer(9)
NAME ax_spi_setup_transfer - Configure SPI controller for specified transfer SYNOPSIS void ax_spi_setup_transfer (struct spi_device *spi , struct spi_transfer *transfer ); ARGUMENTS spi Pointer to the spi_device structure transfer Pointer to the spi_transfer structure which provides information abo...
ax_spi_suspend(9)
NAME ax_spi_suspend - Suspend method for the SPI driver SYNOPSIS int __maybe_unused ax_spi_suspend (struct device *dev ); ARGUMENTS dev Address of the platform_device structure DESCRIPTION This function disables the SPI controller and changes the driver state to "suspend" RETURN 0 on success and error value...
ax_spi_write(9)
NAME ax_spi_write - Register write - 32 bit per word SYNOPSIS void ax_spi_write (struct ax_spi *xspi , u32 offset , u32 val ); ARGUMENTS xspi Pointer to the ax_spi structure offset Register offset address val Value to write into that register SEE ALSO Kernel file ./drivers/s...
ax_spi_write_b(9)
NAME ax_spi_write_b - Register Read - 8 bit per word SYNOPSIS void ax_spi_write_b (struct ax_spi *xspi , u32 offset , u8 val ); ARGUMENTS xspi Pointer to the ax_spi structure offset Register offset address val Value to write into that register SEE ALSO Kernel file ./drivers/spi/s...
ax_transfer_one(9)
NAME ax_transfer_one - Initiates the SPI transfer SYNOPSIS int ax_transfer_one (struct spi_controller *ctlr , struct spi_device *spi , struct spi_transfer *transfer ); ARGUMENTS ctlr Pointer to spi_controller structure spi Pointer to the spi_device structure transfer Pointer to the s...
ax_unprepare_transfer_hardware(9)
NAME ax_unprepare_transfer_hardware - Relaxes hardware after transfer SYNOPSIS int ax_unprepare_transfer_hardware (struct spi_controller *ctlr ); ARGUMENTS ctlr Pointer to the spi_controller structure which provides information about the controller. DESCRIPTION This function disables the SPI host controller w...
axienet_calc_cr(9)
NAME axienet_calc_cr - Calculate control register value SYNOPSIS u32 axienet_calc_cr (struct axienet_local *lp , u32 count , u32 usec ); ARGUMENTS lp Device private data count Number of completions before an interrupt usec Microseconds after the last completion before an interrup...
axienet_change_mtu(9)
NAME axienet_change_mtu - Driver change mtu routine. SYNOPSIS int axienet_change_mtu (struct net_device *ndev , int new_mtu ); ARGUMENTS ndev Pointer to net_device structure new_mtu New mtu value to be applied RETURN Always returns 0 (success). DESCRIPTION This is the change mtu driver routine. I...
axienet_check_tx_bd_space(9)
NAME axienet_check_tx_bd_space - Checks if a BD/group of BDs are currently busy SYNOPSIS int axienet_check_tx_bd_space (struct axienet_local *lp , int num_frag ); ARGUMENTS lp Pointer to the axienet_local structure num_frag The number of BDs to check for RETURN 0, on success NETDEV_TX_BUSY, if an...
axienet_coalesce_params(9)
NAME axienet_coalesce_params - Extract coalesce parameters from the CR SYNOPSIS void axienet_coalesce_params (struct axienet_local *lp , u32 cr , u32 *count , u32 *usec ); ARGUMENTS lp Device private data cr The control register to parse count Number of packets before an interr...
axienet_device_reset(9)
NAME axienet_device_reset - Reset and initialize the Axi Ethernet hardware. SYNOPSIS int axienet_device_reset (struct net_device *ndev ); ARGUMENTS ndev Pointer to the net_device structure DESCRIPTION This function is called to reset and initialize the Axi Ethernet core. This is typically called during in...
axienet_dim_coalesce_count_rx(9)
NAME axienet_dim_coalesce_count_rx - RX coalesce count for DIM SYNOPSIS u32 axienet_dim_coalesce_count_rx (struct axienet_local *lp ); ARGUMENTS lp Device private data RETURN RX coalescing frame count value for DIM. SEE ALSO Kernel file ./drivers/net/ethernet/xilinx/xilinx_axienet_main.c axienet_dma_...
axienet_dma_bd_init(9)
NAME axienet_dma_bd_init - Setup buffer descriptor rings for Axi DMA SYNOPSIS int axienet_dma_bd_init (struct net_device *ndev ); ARGUMENTS ndev Pointer to the net_device structure RETURN 0, on success -ENOMEM, on failure DESCRIPTION This function is called to initialize the Rx and Tx DMA descriptor rings. T...
axienet_dma_bd_release(9)
NAME axienet_dma_bd_release - Release buffer descriptor rings SYNOPSIS void axienet_dma_bd_release (struct net_device *ndev ); ARGUMENTS ndev Pointer to the net_device structure DESCRIPTION This function is used to release the descriptors allocated in axienet_dma_bd_init. axienet_dma_bd_release is called when...
axienet_dma_err_handler(9)
NAME axienet_dma_err_handler - Work queue task for Axi DMA Error SYNOPSIS void axienet_dma_err_handler (struct work_struct *work ); ARGUMENTS work pointer to work_struct DESCRIPTION Resets the Axi DMA and Axi Ethernet devices, and reconfigures the Tx/Rx BDs. SEE ALSO Kernel file ./drivers/net/ethernet/xi...
axienet_dma_in32(9)
NAME axienet_dma_in32 - Memory mapped Axi DMA register read SYNOPSIS u32 axienet_dma_in32 (struct axienet_local *lp , off_t reg ); ARGUMENTS lp Pointer to axienet local structure reg Address offset from the base address of the Axi DMA core RETURN The contents of the Axi DMA register DESCRIP...
axienet_dma_out32(9)
NAME axienet_dma_out32 - Memory mapped Axi DMA register write. SYNOPSIS void axienet_dma_out32 (struct axienet_local *lp , off_t reg , u32 value ); ARGUMENTS lp Pointer to axienet local structure reg Address offset from the base address of the Axi DMA core value Value to be writ...
axienet_dma_out64(9)
NAME axienet_dma_out64 - Memory mapped Axi DMA register write. SYNOPSIS void axienet_dma_out64 (struct axienet_local *lp , off_t reg , u64 value ); ARGUMENTS lp Pointer to axienet local structure reg Address offset from the base address of the Axi DMA core value Value to be writ...
axienet_dma_rx_cb(9)
NAME axienet_dma_rx_cb - DMA engine callback for RX channel. SYNOPSIS void axienet_dma_rx_cb (void *data , const struct dmaengine_result *result ); ARGUMENTS data Pointer to the skbuf_dma_descriptor structure. result error reporting through dmaengine_result. This function is called by dmaengine d...
axienet_dma_start(9)
NAME axienet_dma_start - Set up DMA registers and start DMA operation SYNOPSIS void axienet_dma_start (struct axienet_local *lp ); ARGUMENTS lp Pointer to the axienet_local structure SEE ALSO Kernel file ./drivers/net/ethernet/xilinx/xilinx_axienet_main.c axienet_dma_in32(9), axienet_dma_bd_release(9), ...
axienet_dma_stop(9)
NAME axienet_dma_stop - Stop DMA operation SYNOPSIS void axienet_dma_stop (struct axienet_local *lp ); ARGUMENTS lp Pointer to the axienet_local structure SEE ALSO Kernel file ./drivers/net/ethernet/xilinx/xilinx_axienet_main.c axienet_dma_in32(9), axienet_dma_bd_release(9), axienet_calc_cr(9), axi...
axienet_dma_tx_cb(9)
NAME axienet_dma_tx_cb - DMA engine callback for TX channel. SYNOPSIS void axienet_dma_tx_cb (void *data , const struct dmaengine_result *result ); ARGUMENTS data Pointer to the axienet_local structure. result error reporting through dmaengine_result. This function is called by dmaengine driver f...
axienet_eth_irq(9)
NAME axienet_eth_irq - Ethernet core Isr. SYNOPSIS irqreturn_t axienet_eth_irq (int irq , void *_ndev ); ARGUMENTS irq irq number _ndev net_device pointer RETURN IRQ_HANDLED if device generated a core interrupt, IRQ_NONE otherwise. DESCRIPTION Handle miscellaneous conditions indicated by Ether...
axienet_ethtools_get_coalesce(9)
NAME axienet_ethtools_get_coalesce - Get DMA interrupt coalescing count. SYNOPSIS int axienet_ethtools_get_coalesce (struct net_device *ndev , struct ethtool_coalesce *ecoalesce , struct kernel_ethtool_coalesce *kernel_coal , struct netlink_ext_ack *extack ); ARGUMENTS ndev Pointer to net_device structure ...
axienet_ethtools_get_drvinfo(9)
NAME axienet_ethtools_get_drvinfo - Get various Axi Ethernet driver information. SYNOPSIS void axienet_ethtools_get_drvinfo (struct net_device *ndev , struct ethtool_drvinfo *ed ); ARGUMENTS ndev Pointer to net_device structure ed Pointer to ethtool_drvinfo structure DESCRIPTION This implemen...
axienet_ethtools_get_pauseparam(9)
NAME axienet_ethtools_get_pauseparam - Get the pause parameter setting for Tx and Rx paths. SYNOPSIS void axienet_ethtools_get_pauseparam (struct net_device *ndev , struct ethtool_pauseparam *epauseparm ); ARGUMENTS ndev Pointer to net_device structure epauseparm Pointer to ethtool_pauseparam structur...
axienet_ethtools_get_regs(9)
NAME axienet_ethtools_get_regs - Dump the contents of all registers present in AxiEthernet core. SYNOPSIS void axienet_ethtools_get_regs (struct net_device *ndev , struct ethtool_regs *regs , void *ret ); ARGUMENTS ndev Pointer to net_device structure regs Pointer to ethtool_regs structure ...
axienet_ethtools_get_regs_len(9)
NAME axienet_ethtools_get_regs_len - Get the total regs length present in the AxiEthernet core. SYNOPSIS int axienet_ethtools_get_regs_len (struct net_device *ndev ); ARGUMENTS ndev Pointer to net_device structure DESCRIPTION This implements ethtool command for getting the total register length information. ...
axienet_ethtools_set_coalesce(9)
NAME axienet_ethtools_set_coalesce - Set DMA interrupt coalescing count. SYNOPSIS int axienet_ethtools_set_coalesce (struct net_device *ndev , struct ethtool_coalesce *ecoalesce , struct kernel_ethtool_coalesce *kernel_coal , struct netlink_ext_ack *extack ); ARGUMENTS ndev Pointer to net_device structure ...
axienet_ethtools_set_pauseparam(9)
NAME axienet_ethtools_set_pauseparam - Set device pause parameter(flow control) settings. SYNOPSIS int axienet_ethtools_set_pauseparam (struct net_device *ndev , struct ethtool_pauseparam *epauseparm ); ARGUMENTS ndev Pointer to net_device structure epauseparm Pointer to ethtool_pauseparam structure ...
axienet_free_tx_chain(9)
NAME axienet_free_tx_chain - Clean up a series of linked TX descriptors. SYNOPSIS int axienet_free_tx_chain (struct axienet_local *lp , u32 first_bd , int nr_bds , bool force , u32 *sizep , int budget ); ARGUMENTS lp Pointer to the axienet_local structure first_bd Index of first descriptor to clea...
axienet_init_dmaengine(9)
NAME axienet_init_dmaengine - init the dmaengine code. SYNOPSIS int axienet_init_dmaengine (struct net_device *ndev ); ARGUMENTS ndev Pointer to net_device structure RETURN 0, on success. non-zero error value on failure DESCRIPTION This is the dmaengine initialization code. SEE ALSO Kernel file ./drive...
axienet_init_legacy_dma(9)
NAME axienet_init_legacy_dma - init the dma legacy code. SYNOPSIS int axienet_init_legacy_dma (struct net_device *ndev ); ARGUMENTS ndev Pointer to net_device structure RETURN 0, on success. non-zero error value on failure DESCRIPTION This is the dma initialization code. It also allocates interrupt service...
axienet_ior(9)
NAME axienet_ior - Memory mapped Axi Ethernet register read SYNOPSIS u32 axienet_ior (struct axienet_local *lp , off_t offset ); ARGUMENTS lp Pointer to axienet local structure offset Address offset from the base address of Axi Ethernet core RETURN The contents of the Axi Ethernet register DES...
axienet_iow(9)
NAME axienet_iow - Memory mapped Axi Ethernet register write SYNOPSIS void axienet_iow (struct axienet_local *lp , off_t offset , u32 value ); ARGUMENTS lp Pointer to axienet local structure offset Address offset from the base address of Axi Ethernet core value Value to be written ...
axienet_mdio_enable(9)
NAME axienet_mdio_enable - MDIO hardware setup function SYNOPSIS int axienet_mdio_enable (struct axienet_local *lp , struct device_node *np ); ARGUMENTS lp Pointer to axienet local data structure. np Pointer to mdio device tree node. RETURN 0 on success, -ETIMEDOUT on a timeout, -EOVERFLOW ...
axienet_mdio_mdc_disable(9)
NAME axienet_mdio_mdc_disable - MDIO MDC disable function SYNOPSIS void axienet_mdio_mdc_disable (struct axienet_local *lp ); ARGUMENTS lp Pointer to axienet local data structure. DESCRIPTION Disable the MDIO MDC. Called after a read/write operation SEE ALSO Kernel file ./drivers/net/ethernet/xilinx/xilinx...
axienet_mdio_mdc_enable(9)
NAME axienet_mdio_mdc_enable - MDIO MDC enable function SYNOPSIS void axienet_mdio_mdc_enable (struct axienet_local *lp ); ARGUMENTS lp Pointer to axienet local data structure. DESCRIPTION Enable the MDIO MDC. Called prior to a read/write operation SEE ALSO Kernel file ./drivers/net/ethernet/xilinx/xilin...
axienet_mdio_read(9)
NAME axienet_mdio_read - MDIO interface read function SYNOPSIS int axienet_mdio_read (struct mii_bus *bus , int phy_id , int reg ); ARGUMENTS bus Pointer to mii bus structure phy_id Address of the PHY device reg PHY register to read RETURN The register contents on success, -ETIME...
axienet_mdio_setup(9)
NAME axienet_mdio_setup - MDIO setup function SYNOPSIS int axienet_mdio_setup (struct axienet_local *lp ); ARGUMENTS lp Pointer to axienet local data structure. RETURN 0 on success, -ETIMEDOUT on a timeout, -EOVERFLOW on a clock divisor overflow, -ENOMEM when mdiobus_alloc (to allocate memory for mii bus st...
axienet_mdio_teardown(9)
NAME axienet_mdio_teardown - MDIO remove function SYNOPSIS void axienet_mdio_teardown (struct axienet_local *lp ); ARGUMENTS lp Pointer to axienet local data structure. DESCRIPTION Unregisters the MDIO and frees any associate memory for mii bus. SEE ALSO Kernel file ./drivers/net/ethernet/xilinx/xilinx_a...
axienet_mdio_wait_until_ready(9)
NAME axienet_mdio_wait_until_ready - MDIO wait function SYNOPSIS int axienet_mdio_wait_until_ready (struct axienet_local *lp ); ARGUMENTS lp Pointer to axienet local data structure. RETURN 0 on success, Negative value on errors DESCRIPTION Wait till MDIO interface is ready to accept a new transaction. SEE...
axienet_mdio_write(9)
NAME axienet_mdio_write - MDIO interface write function SYNOPSIS int axienet_mdio_write (struct mii_bus *bus , int phy_id , int reg , u16 val ); ARGUMENTS bus Pointer to mii bus structure phy_id Address of the PHY device reg PHY register to write to val Value to be...
axienet_open(9)
NAME axienet_open - Driver open routine. SYNOPSIS int axienet_open (struct net_device *ndev ); ARGUMENTS ndev Pointer to net_device structure RETURN 0, on success. non-zero error value on failure DESCRIPTION This is the driver open routine. It calls phylink_start to start the PHY device. It also alloc...
axienet_poll_controller(9)
NAME axienet_poll_controller - Axi Ethernet poll mechanism. SYNOPSIS void axienet_poll_controller (struct net_device *ndev ); ARGUMENTS ndev Pointer to net_device structure DESCRIPTION This implements Rx/Tx ISR poll mechanisms. The interrupts are disabled prior to polling the ISRs and are enabled back after t...
axienet_probe(9)
NAME axienet_probe - Axi Ethernet probe function. SYNOPSIS int axienet_probe (struct platform_device *pdev ); ARGUMENTS pdev Pointer to platform device structure. RETURN 0, on success Non-zero error value on failure. DESCRIPTION This is the probe routine for Axi Ethernet driver. This is called before any ot...
axienet_rx_dim_work(9)
NAME axienet_rx_dim_work - Adjust RX DIM settings SYNOPSIS void axienet_rx_dim_work (struct work_struct *work ); ARGUMENTS work The work struct SEE ALSO Kernel file ./drivers/net/ethernet/xilinx/xilinx_axienet_main.c axienet_dma_in32(9), axienet_dma_bd_release(9), axienet_calc_cr(9), axienet_coalesce...
axienet_rx_irq(9)
NAME axienet_rx_irq - Rx Isr. SYNOPSIS irqreturn_t axienet_rx_irq (int irq , void *_ndev ); ARGUMENTS irq irq number _ndev net_device pointer RETURN IRQ_HANDLED if device generated a RX interrupt, IRQ_NONE otherwise. DESCRIPTION This is the Axi DMA Rx Isr. It invokes NAPI polling to complete t...