id stringlengths 4 63 | text stringlengths 153 8.81M |
|---|---|
swap_update_readahead(9) | NAME swap_update_readahead - Update the readahead statistics of VMA or globally.
SYNOPSIS void swap_update_readahead (struct folio *folio , struct vm_area_struct *vma , unsigned long addr );
ARGUMENTS folio the swap cache folio that just got hit.
vma the VMA that should be updated, could be NULL... |
swap_uv_columns(9) | NAME swap_uv_columns - Swap u and v column of a given matrix
SYNOPSIS void swap_uv_columns (struct conversion_matrix *matrix );
ARGUMENTS matrix Matrix in which column are swapped
SEE ALSO Kernel file ./drivers/gpu/drm/vkms/vkms_formats.c packed_pixels_offset(9), packed_pixels_addr(9), get_block_step_byt... |
swap_vma_readahead(9) | NAME swap_vma_readahead - swap in pages in hope we need them soon
SYNOPSIS struct folio * swap_vma_readahead (swp_entry_t targ_entry , gfp_t gfp_mask , struct mempolicy *mpol , pgoff_t targ_ilx , struct vm_fault *vmf );
ARGUMENTS targ_entry swap entry of the targeted memory
gfp_mask memory allocation flag... |
swap_words_32(9) | NAME swap_words_32 - swap two elements in 32-bit chunks
SYNOPSIS void swap_words_32 (void *a , void *b , size_t n );
ARGUMENTS a pointer to the first element to swap
b pointer to the second element to swap
n element size (must be a multiple of 4)
DESCRIPTION Exchange th... |
swap_words_64(9) | NAME swap_words_64 - swap two elements in 64-bit chunks
SYNOPSIS void swap_words_64 (void *a , void *b , size_t n );
ARGUMENTS a pointer to the first element to swap
b pointer to the second element to swap
n element size (must be a multiple of 8)
DESCRIPTION Exchange th... |
swapcontext(3) | NAME makecontext, swapcontext - manipulate user context
LIBRARY Standard C library (libc, -lc)
SYNOPSIS #include <ucontext.h>
void makecontext(ucontext_t *ucp, typeof(void (int arg0, ...)) *func,
int argc, ...);
int swapcontext(ucontext_t *restrict oucp,
... |
swapin.bt(8) | NAME swapin.bt - Count swapins by process. Uses bpftrace/eBPF.
SYNOPSIS swapin
DESCRIPTION This tool counts swapins by process, to show which process is affected by swapping (if swap devices are in use). This can explain a significant source of application latency, if it has began swapping due to memory pres‐ sure ... |
swapin_folio(9) | NAME swapin_folio - swap-in one or multiple entries skipping readahead.
SYNOPSIS struct folio * swapin_folio (swp_entry_t entry , struct folio *folio );
ARGUMENTS entry starting swap entry to swap in
folio a new allocated and charged folio
DESCRIPTION Reads entry into folio, folio will be added t... |
swapin_readahead(9) | NAME swapin_readahead - swap in pages in hope we need them soon
SYNOPSIS struct folio * swapin_readahead (swp_entry_t entry , gfp_t gfp_mask , struct vm_fault *vmf );
ARGUMENTS entry swap entry of this memory
gfp_mask memory allocation flags
vmf fault information
DESCRIPTION Returns ... |
swaplabel(8) | NAME swaplabel - print or change the label or UUID of a swap area
SYNOPSIS swaplabel [-L label] [-U UUID] device
DESCRIPTION swaplabel will display or change the label or UUID of a swap partition located on device (or regular file).
If the optional arguments -L and -U are not given, swaplabel will simply disp... |
swapoff(2) | NAME swapon, swapoff - start/stop swapping to file/device
LIBRARY Standard C library (libc, -lc)
SYNOPSIS #include <sys/swap.h>
int swapon(const char *path, int swapflags);
int swapoff(const char *path);
DESCRIPTION swapon() sets the swap area to the file or block device specified by path. swapoff() ... |
swapoff(8) | NAME swapon, swapoff - enable/disable devices and files for paging and swapping
SYNOPSIS swapon [options] [specialfile...]
swapoff [-va] [specialfile...]
DESCRIPTION swapon is used to specify devices on which paging and swapping are to take place.
The device or file used is given by the specialfile pa... |
swapon(2) | NAME swapon, swapoff - start/stop swapping to file/device
LIBRARY Standard C library (libc, -lc)
SYNOPSIS #include <sys/swap.h>
int swapon(const char *path, int swapflags);
int swapoff(const char *path);
DESCRIPTION swapon() sets the swap area to the file or block device specified by path. swapoff() ... |
swapon(8) | NAME swapon, swapoff - enable/disable devices and files for paging and swapping
SYNOPSIS swapon [options] [specialfile...]
swapoff [-va] [specialfile...]
DESCRIPTION swapon is used to specify devices on which paging and swapping are to take place.
The device or file used is given by the specialfile pa... |
sweep_bh_for_rgrps(9) | NAME sweep_bh_for_rgrps - find an rgrp in a meta buffer and free blocks therein
SYNOPSIS int sweep_bh_for_rgrps (struct gfs2_inode *ip , struct gfs2_holder *rd_gh , struct buffer_head *bh , __be64 *start , __be64 *end , bool meta , u32 *btotal );
ARGUMENTS ip inode
rd_gh holder of resource grou... |
swiotlb_adjust_nareas(9) | NAME swiotlb_adjust_nareas - adjust the number of areas and slots
SYNOPSIS void swiotlb_adjust_nareas (unsigned int nareas );
ARGUMENTS nareas Desired number of areas. Zero is treated as 1.
DESCRIPTION Adjust the default number of areas in a memory pool. The default size of the memory pool may also change to m... |
swiotlb_align_offset(9) | NAME swiotlb_align_offset - Get required offset into an IO TLB allocation.
SYNOPSIS unsigned int swiotlb_align_offset (struct device *dev , unsigned int align_mask , u64 addr );
ARGUMENTS dev Owning device.
align_mask Allocation alignment mask.
addr DMA address.
DESCRIPTION Return th... |
swiotlb_alloc_pool(9) | NAME swiotlb_alloc_pool - allocate a new IO TLB memory pool
SYNOPSIS struct io_tlb_pool * swiotlb_alloc_pool (struct device *dev , unsigned long minslabs , unsigned long nslabs , unsigned int nareas , u64 phys_limit , gfp_t gfp );
ARGUMENTS dev Device for which a memory pool is allocated.
minslabs ... |
swiotlb_alloc_tlb(9) | NAME swiotlb_alloc_tlb - allocate a dynamic IO TLB buffer
SYNOPSIS struct page * swiotlb_alloc_tlb (struct device *dev , size_t bytes , u64 phys_limit , gfp_t gfp );
ARGUMENTS dev Device for which a memory pool is allocated.
bytes Size of the buffer.
phys_limit Maximum allowed physical ... |
swiotlb_del_pool(9) | NAME swiotlb_del_pool - remove an IO TLB pool from a device
SYNOPSIS void swiotlb_del_pool (struct device *dev , struct io_tlb_pool *pool );
ARGUMENTS dev Owning device.
pool Memory pool to be removed.
SEE ALSO Kernel file ./kernel/dma/swiotlb.c struct io_tlb_slot(9), struct io_tlb_area(... |
swiotlb_del_transient(9) | NAME swiotlb_del_transient - delete a transient memory pool
SYNOPSIS bool swiotlb_del_transient (struct device *dev , phys_addr_t tlb_addr , struct io_tlb_pool *pool );
ARGUMENTS dev Device which mapped the buffer.
tlb_addr Physical address within a bounce buffer.
pool Pointer to the... |
swiotlb_dev_init(9) | NAME swiotlb_dev_init - initialize swiotlb fields in &struct device
SYNOPSIS void swiotlb_dev_init (struct device *dev );
ARGUMENTS dev Device to be initialized.
SEE ALSO Kernel file ./kernel/dma/swiotlb.c struct io_tlb_slot(9), struct io_tlb_area(9), swiotlb_adjust_nareas(9), limit_nareas(9), add_mem_... |
swiotlb_dyn_alloc(9) | NAME swiotlb_dyn_alloc - dynamic memory pool allocation worker
SYNOPSIS void swiotlb_dyn_alloc (struct work_struct *work );
ARGUMENTS work Pointer to dyn_alloc in struct io_tlb_mem.
SEE ALSO Kernel file ./kernel/dma/swiotlb.c struct io_tlb_slot(9), struct io_tlb_area(9), swiotlb_adjust_nareas(9), limit_... |
swiotlb_dyn_free(9) | NAME swiotlb_dyn_free - RCU callback to free a memory pool
SYNOPSIS void swiotlb_dyn_free (struct rcu_head *rcu );
ARGUMENTS rcu RCU head in the corresponding struct io_tlb_pool.
SEE ALSO Kernel file ./kernel/dma/swiotlb.c struct io_tlb_slot(9), struct io_tlb_area(9), swiotlb_adjust_nareas(9), limit_na... |
swiotlb_find_pool(9) | NAME swiotlb_find_pool - find swiotlb pool to which a physical address belongs
SYNOPSIS struct io_tlb_pool * swiotlb_find_pool (struct device *dev , phys_addr_t paddr );
ARGUMENTS dev Device which has mapped the buffer.
paddr Physical address within the DMA buffer.
DESCRIPTION Find the swiotlb ... |
swiotlb_find_slots(9) | NAME swiotlb_find_slots - search for slots in the whole swiotlb
SYNOPSIS int swiotlb_find_slots (struct device *dev , phys_addr_t orig_addr , size_t alloc_size , unsigned int alloc_align_mask , struct io_tlb_pool **retpool );
ARGUMENTS dev Device which maps the buffer.
orig_addr Original (non-bounce... |
swiotlb_free_tlb(9) | NAME swiotlb_free_tlb - free a dynamically allocated IO TLB buffer
SYNOPSIS void swiotlb_free_tlb (void *vaddr , size_t bytes );
ARGUMENTS vaddr Virtual address of the buffer.
bytes Size of the buffer.
SEE ALSO Kernel file ./kernel/dma/swiotlb.c struct io_tlb_slot(9), struct io_tlb_area(9), swiot... |
swiotlb_search_area(9) | NAME swiotlb_search_area - search one memory area in all pools
SYNOPSIS int swiotlb_search_area (struct device *dev , int start_cpu , int cpu_offset , phys_addr_t orig_addr , size_t alloc_size , unsigned int alloc_align_mask , struct io_tlb_pool **retpool );
ARGUMENTS dev Device which maps the buffer.
... |
swiotlb_search_pool_area(9) | NAME swiotlb_search_pool_area - search one memory area in one pool
SYNOPSIS int swiotlb_search_pool_area (struct device *dev , struct io_tlb_pool *pool , int area_index , phys_addr_t orig_addr , size_t alloc_size , unsigned int alloc_align_mask );
ARGUMENTS dev Device which maps the buffer.
pool ... |
swiotlb_tbl_map_single(9) | NAME swiotlb_tbl_map_single - bounce buffer map a single contiguous physical area
SYNOPSIS phys_addr_t swiotlb_tbl_map_single (struct device *dev , phys_addr_t orig_addr , size_t mapping_size , unsigned int alloc_align_mask , enum dma_data_direction dir , unsigned long attrs );
ARGUMENTS dev Device which maps... |
switch_gc_head(9) | NAME switch_gc_head - switch the garbage collection journal head.
SYNOPSIS int switch_gc_head (struct ubifs_info *c );
ARGUMENTS c UBIFS file-system description object
DESCRIPTION This function switch the GC head to the next LEB which is reserved in c->gc_lnum. Returns 0 in case of success, -EAGAIN if comm... |
switch_gdt_and_percpu_base(9) | NAME switch_gdt_and_percpu_base - Switch to direct GDT and runtime per CPU base
SYNOPSIS void switch_gdt_and_percpu_base (int cpu );
ARGUMENTS cpu The CPU number for which this is invoked
DESCRIPTION Invoked during early boot to switch from early GDT and early per CPU to the direct GDT and the runtime per CP... |
switch_leds(9) | NAME switch_leds - switch the leds, go from one site to the other.
SYNOPSIS void switch_leds (struct controller *ctrl , const int num_of_slots , u32 *work_LED , const int direction );
ARGUMENTS ctrl controller to use
num_of_slots
number of slots to use
work_LED LED control... |
switch_root(8) | NAME switch_root - switch to another filesystem as the root of the mount tree
SYNOPSIS switch_root [-hV]
switch_root newroot init [arg...]
DESCRIPTION switch_root moves already mounted /proc, /dev, /sys and /run to newroot and makes newroot the new root filesystem and starts init process.
WARNING: swi... |
switchdev_deferred_process(9) | NAME switchdev_deferred_process - Process ops in deferred queue
SYNOPSIS void switchdev_deferred_process (void );
ARGUMENTS void no arguments
DESCRIPTION Called to flush the ops currently queued in deferred ops queue. rtnl_lock must be held.
SEE ALSO Kernel file ./net/switchdev/switchdev.c switchdev_port_... |
switchdev_port_attr_set(9) | NAME switchdev_port_attr_set - Set port attribute
SYNOPSIS int switchdev_port_attr_set (struct net_device *dev , const struct switchdev_attr *attr , struct netlink_ext_ack *extack );
ARGUMENTS dev port device
attr attribute to set
extack netlink extended ack, for error message prop... |
switchdev_port_obj_act_is_deferred(9) | NAME switchdev_port_obj_act_is_deferred - Is object action pending?
SYNOPSIS bool switchdev_port_obj_act_is_deferred (struct net_device *dev , enum switchdev_notifier_type nt , const struct switchdev_obj *obj );
ARGUMENTS dev port device
nt type of action; add or delete
obj ob... |
switchdev_port_obj_add(9) | NAME switchdev_port_obj_add - Add port object
SYNOPSIS int switchdev_port_obj_add (struct net_device *dev , const struct switchdev_obj *obj , struct netlink_ext_ack *extack );
ARGUMENTS dev port device
obj object to add
extack netlink extended ack
DESCRIPTION rtnl_lock must be he... |
switchdev_port_obj_del(9) | NAME switchdev_port_obj_del - Delete port object
SYNOPSIS int switchdev_port_obj_del (struct net_device *dev , const struct switchdev_obj *obj );
ARGUMENTS dev port device
obj object to delete
DESCRIPTION rtnl_lock must be held and must not be in atomic section, in case SWITCHDEV_F_DEFER flag... |
swnode_gpio_count(9) | NAME swnode_gpio_count - count the GPIOs associated with a device / function
SYNOPSIS int swnode_gpio_count (const struct fwnode_handle *fwnode , const char *con_id );
ARGUMENTS fwnode firmware node of the GPIO consumer, can be NULL for system-global GPIOs
con_id function within the GPIO consumer
R... |
swphy_read_reg(9) | NAME swphy_read_reg - return a MII register from the fixed phy state
SYNOPSIS int swphy_read_reg (int reg , const struct fixed_phy_status *state );
ARGUMENTS reg MII register
state fixed phy status
DESCRIPTION Return the MII reg register generated from the fixed phy state state.
SEE ALSO Kerne... |
swphy_validate_state(9) | NAME swphy_validate_state - validate the software phy status
SYNOPSIS int swphy_validate_state (const struct fixed_phy_status *state );
ARGUMENTS state software phy status
DESCRIPTION This checks that we can represent the state stored in state can be represented in the emulated MII registers. Returns 0 if it ... |
swprintf(3) | NAME wprintf, fwprintf, swprintf, vwprintf, vfwprintf, vswprintf - formatted wide-character output conversion
LIBRARY Standard C library (libc, -lc)
SYNOPSIS #include <stdio.h> #include <wchar.h>
int wprintf(const wchar_t *restrict format, ...);
int fwprintf(FILE *restrict stream,
c... |
swprintf(3p) | 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 swprintf — print formatted wide-character output
SYNOPSIS #inc... |
swq_has_sleeper(9) | NAME swq_has_sleeper - check if there are any waiting processes
SYNOPSIS bool swq_has_sleeper (struct swait_queue_head *wq );
ARGUMENTS wq the waitqueue to test for waiters
DESCRIPTION Returns true if wq has waiting processes Please refer to the comment for swait_active.
SEE ALSO Kernel file ./include/linu... |
swscanf(3p) | 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 swscanf — convert formatted wide-character input
SYNOPSIS #inc... |
swsusp_alloc(9) | NAME swsusp_alloc - Allocate memory for hibernation image.
SYNOPSIS int swsusp_alloc (struct memory_bitmap *copy_bm , unsigned int nr_pages , unsigned int nr_highmem );
ARGUMENTS copy_bm -- undescribed --
nr_pages -- undescribed --
nr_highmem -- undescribed --
DESCRIPTION We first try to all... |
swsusp_check(9) | NAME swsusp_check - Open the resume device and check for the swsusp signature.
SYNOPSIS int swsusp_check (bool exclusive );
ARGUMENTS exclusive Open the resume device exclusively.
RETURN 0 if a valid image is found, negative error code otherwise.
SEE ALSO Kernel file ./kernel/power/swap.c swsusp_write(9), swsusp_... |
swsusp_close(9) | NAME swsusp_close - close resume device.
SYNOPSIS void swsusp_close (void );
ARGUMENTS void no arguments
SEE ALSO Kernel file ./kernel/power/swap.c swsusp_write(9), swsusp_read(9), swsusp_check(9), swsusp_unmark(9)
April 2026 ... |
swsusp_free(9) | NAME swsusp_free - Free pages allocated for hibernation image.
SYNOPSIS void swsusp_free (void );
ARGUMENTS void no arguments
DESCRIPTION Image pages are allocated before snapshot creation, so they need to be released after resume.
SEE ALSO Kernel file ./kernel/power/snapshot.c get_image_page(9), free_im... |
swsusp_read(9) | NAME swsusp_read - read the hibernation image.
SYNOPSIS int swsusp_read (unsigned int *flags_p );
ARGUMENTS flags_p flags passed by the "frozen" kernel in the image header should be written into this memory location
RETURN 0 on success, negative error code on failure.
SEE ALSO Kernel file ./kernel/power/swap.c ... |
swsusp_show_speed(9) | NAME swsusp_show_speed - Print time elapsed between two events during hibernation.
SYNOPSIS void swsusp_show_speed (ktime_t start , ktime_t stop , unsigned nr_pages , char *msg );
ARGUMENTS start Starting event.
stop Final event.
nr_pages Number of memory pages processed between start ... |
swsusp_unmark(9) | NAME swsusp_unmark - Unmark swsusp signature in the resume device
SYNOPSIS int swsusp_unmark (void );
ARGUMENTS void no arguments
RETURN 0 on success, negative error code on failure.
SEE ALSO Kernel file ./kernel/power/swap.c swsusp_write(9), swsusp_read(9), swsusp_check(9), swsusp_close(9)
April 2026 ... |
swsusp_write(9) | NAME swsusp_write - Write entire image and metadata.
SYNOPSIS int swsusp_write (unsigned int flags );
ARGUMENTS flags flags to pass to the "boot" kernel in the image header
DESCRIPTION It is important _NOT_ to umount filesystems at this point. We want them synced (in case something goes wrong) but we DO not w... |
sx_common_probe(9) | NAME sx_common_probe - Common setup for Semtech SAR sensor
SYNOPSIS int sx_common_probe (struct i2c_client *client , const struct sx_common_chip_info *chip_info , const struct regmap_config *regmap_config );
ARGUMENTS client I2C client object
chip_info Semtech sensor chip information.
regmap_co... |
sx_common_read_event_config(9) | NAME sx_common_read_event_config - Configure event setting.
SYNOPSIS int sx_common_read_event_config (struct iio_dev *indio_dev , const struct iio_chan_spec *chan , enum iio_event_type type , enum iio_event_direction dir );
ARGUMENTS indio_dev iio device object
chan Channel to read
type ... |
sx_common_read_proximity(9) | NAME sx_common_read_proximity - Read raw proximity value.
SYNOPSIS int sx_common_read_proximity (struct sx_common_data *data , const struct iio_chan_spec *chan , int *val );
ARGUMENTS data Internal data
chan Channel to read
val pointer to return read value.
DESCRIPTION Request a... |
sx_common_write_event_config(9) | NAME sx_common_write_event_config - Configure event setting.
SYNOPSIS int sx_common_write_event_config (struct iio_dev *indio_dev , const struct iio_chan_spec *chan , enum iio_event_type type , enum iio_event_direction dir , bool state );
ARGUMENTS indio_dev iio device object
chan Channel to enable
... |
sxgbe_adjust_link(9) | NAME sxgbe_adjust_link -
SYNOPSIS void sxgbe_adjust_link (struct net_device *dev );
ARGUMENTS dev net device structure
DESCRIPTION it adjusts the link parameters.
SEE ALSO Kernel file ./drivers/net/ethernet/samsung/sxgbe/sxgbe_main.c sxgbe_verify_args(9), sxgbe_eee_ctrl_timer(9), sxgbe_eee_i... |
sxgbe_check_ether_addr(9) | NAME sxgbe_check_ether_addr - check if the MAC addr is valid
SYNOPSIS void sxgbe_check_ether_addr (struct sxgbe_priv_data *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 ./dr... |
sxgbe_clear_descriptors(9) | NAME sxgbe_clear_descriptors - clear descriptors
SYNOPSIS void sxgbe_clear_descriptors (struct sxgbe_priv_data *priv );
ARGUMENTS priv driver private structure
DESCRIPTION this function is called to clear the tx and rx descriptors in case of both basic and extended descriptors are used.
SEE ALSO Kernel file... |
sxgbe_clk_csr_set(9) | NAME sxgbe_clk_csr_set - dynamically set the MDC clock
SYNOPSIS void sxgbe_clk_csr_set (struct sxgbe_priv_data *priv );
ARGUMENTS priv driver private structure
DESCRIPTION this is to dynamically set the MDC clock according to the csr clock input.
SEE ALSO Kernel file ./drivers/net/ethernet/samsung/sxg... |
sxgbe_common_interrupt(9) | NAME sxgbe_common_interrupt - main ISR
SYNOPSIS irqreturn_t sxgbe_common_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 calls the DMA ISR and also the core ISR to manag... |
sxgbe_disable_mtl_engine(9) | NAME sxgbe_disable_mtl_engine - MTL disable.
SYNOPSIS void sxgbe_disable_mtl_engine (struct sxgbe_priv_data *priv );
ARGUMENTS priv driver private structure
DESCRIPTION It disables the MTL queues by invoking the specific SXGBE callback.
SEE ALSO Kernel file ./drivers/net/ethernet/samsung/sxgbe/sxgbe_main.c... |
sxgbe_drv_probe(9) | NAME sxgbe_drv_probe -
SYNOPSIS struct sxgbe_priv_data * sxgbe_drv_probe (struct device *device , struct sxgbe_plat_data *plat_dat , void __iomem *addr );
ARGUMENTS device device pointer
plat_dat platform data pointer
addr iobase memory address
DESCRIPTION this is the main probe functi... |
sxgbe_drv_remove(9) | NAME sxgbe_drv_remove -
SYNOPSIS void sxgbe_drv_remove (struct net_device *ndev );
ARGUMENTS ndev net 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/samsung/s... |
sxgbe_eee_ctrl_timer(9) | NAME sxgbe_eee_ctrl_timer -
SYNOPSIS void sxgbe_eee_ctrl_timer (struct timer_list *t );
ARGUMENTS t timer list containing a data
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 ./drivers/net/ethernet/samsung/sx... |
sxgbe_eee_init(9) | NAME sxgbe_eee_init -
SYNOPSIS bool sxgbe_eee_init (struct sxgbe_priv_data * const priv );
ARGUMENTS priv private device pointer
DESCRIPTION If the EEE support has been enabled while configuring the driver, if the GMAC actually supports the EEE (from the HW cap reg) and the phy can also manage EEE, so enabl... |
sxgbe_free_rx_buffers(9) | NAME sxgbe_free_rx_buffers - free what sxgbe_init_rx_buffers() allocated
SYNOPSIS void sxgbe_free_rx_buffers (struct net_device *dev , struct sxgbe_rx_norm_desc *p , int i , unsigned int dma_buf_sz , struct sxgbe_rx_queue *rx_ring );
ARGUMENTS dev net device structure
p dec pointer
i... |
sxgbe_get_hw_features(9) | NAME sxgbe_get_hw_features - get XMAC capabilities from the HW cap. register.
SYNOPSIS int sxgbe_get_hw_features (struct sxgbe_priv_data * const priv );
ARGUMENTS priv driver private structure
DESCRIPTION new GMAC chip generations have a new register to indicate the presence of the optional feature/function... |
sxgbe_hw_init(9) | NAME sxgbe_hw_init - Init the GMAC device
SYNOPSIS int sxgbe_hw_init (struct sxgbe_priv_data * const priv );
ARGUMENTS priv driver private structure
DESCRIPTION this function checks the HW capability (if supported) and sets the driver's features.
SEE ALSO Kernel file ./drivers/net/ethernet/samsung/sxgbe/sx... |
sxgbe_init_dma_engine(9) | NAME sxgbe_init_dma_engine - DMA init.
SYNOPSIS int sxgbe_init_dma_engine (struct sxgbe_priv_data *priv );
ARGUMENTS priv driver private structure
DESCRIPTION It inits the DMA invoking the specific SXGBE callback. Some DMA parameters can be passed from the platform; in case of these are not passed a default ... |
sxgbe_init_mtl_engine(9) | NAME sxgbe_init_mtl_engine - MTL init.
SYNOPSIS void sxgbe_init_mtl_engine (struct sxgbe_priv_data *priv );
ARGUMENTS priv driver private structure
DESCRIPTION It inits the MTL invoking the specific SXGBE callback.
SEE ALSO Kernel file ./drivers/net/ethernet/samsung/sxgbe/sxgbe_main.c sxgbe_verify_args(9)... |
sxgbe_init_phy(9) | NAME sxgbe_init_phy - PHY initialization
SYNOPSIS int sxgbe_init_phy (struct net_device *ndev );
ARGUMENTS ndev 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/samsung... |
sxgbe_mdio_read_c22(9) | NAME sxgbe_mdio_read_c22 -
SYNOPSIS int sxgbe_mdio_read_c22 (struct mii_bus *bus , int phyaddr , int phyreg );
ARGUMENTS bus points to the mii_bus structure
phyaddr address of phy port
phyreg address of register with in phy register
DESCRIPTION this function used for C22 MDIO Read
S... |
sxgbe_mdio_read_c45(9) | NAME sxgbe_mdio_read_c45 -
SYNOPSIS int sxgbe_mdio_read_c45 (struct mii_bus *bus , int phyaddr , int devad , int phyreg );
ARGUMENTS bus points to the mii_bus structure
phyaddr address of phy port
devad device (MMD) address
phyreg address of register with in phy register... |
sxgbe_mdio_write_c22(9) | NAME sxgbe_mdio_write_c22 -
SYNOPSIS int sxgbe_mdio_write_c22 (struct mii_bus *bus , int phyaddr , int phyreg , u16 phydata );
ARGUMENTS bus points to the mii_bus structure
phyaddr address of phy port
phyreg address of phy registers
phydata data to be written into phy regi... |
sxgbe_mdio_write_c45(9) | NAME sxgbe_mdio_write_c45 -
SYNOPSIS int sxgbe_mdio_write_c45 (struct mii_bus *bus , int phyaddr , int devad , int phyreg , u16 phydata );
ARGUMENTS bus points to the mii_bus structure
phyaddr address of phy port
devad device (MMD) address
phyreg address of phy registers... |
sxgbe_mtl_operation_mode(9) | NAME sxgbe_mtl_operation_mode - HW MTL operation mode
SYNOPSIS void sxgbe_mtl_operation_mode (struct sxgbe_priv_data *priv );
ARGUMENTS priv driver private structure
DESCRIPTION it sets the MTL operation mode: tx/rx MTL thresholds or Store-And-Forward capability.
SEE ALSO Kernel file ./drivers/net/ethernet... |
sxgbe_open(9) | NAME sxgbe_open - open entry point of the driver
SYNOPSIS int sxgbe_open (struct net_device *dev );
ARGUMENTS dev pointer to the device structure.
DESCRIPTION This function is the open entry point of the driver. Return value: 0 on success and an appropriate (-)ve integer as defined in errno.h file on failur... |
sxgbe_platform_probe(9) | NAME sxgbe_platform_probe -
SYNOPSIS int sxgbe_platform_probe (struct platform_device *pdev );
ARGUMENTS pdev platform device pointer
DESCRIPTION platform_device probe function. It allocates the necessary resources and invokes the main to init the net device, register the mdio bus etc.
SEE ALSO Kernel file .... |
sxgbe_platform_remove(9) | NAME sxgbe_platform_remove -
SYNOPSIS void sxgbe_platform_remove (struct platform_device *pdev );
ARGUMENTS pdev platform device pointer
DESCRIPTION this function calls the main to free the net resources and calls the platforms hook and release the resources (e.g. mem).
SEE ALSO Kernel file ./drivers/net/eth... |
sxgbe_poll(9) | NAME sxgbe_poll - sxgbe poll method (NAPI)
SYNOPSIS int sxgbe_poll (struct napi_struct *napi , int budget );
ARGUMENTS napi pointer to the napi structure.
budget maximum number of packets that the current CPU can receive from all interfaces.
DESCRIPTION To look at the incoming frames and clear th... |
sxgbe_poll_controller(9) | NAME sxgbe_poll_controller - entry point for polling receive by device
SYNOPSIS void sxgbe_poll_controller (struct net_device *dev );
ARGUMENTS dev pointer to the device structure
DESCRIPTION This function is used by NETCONSOLE and other diagnostic tools to allow network I/O with interrupts disabled. Return... |
sxgbe_release(9) | NAME sxgbe_release - close entry point of the driver
SYNOPSIS int sxgbe_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/samsung/sxgbe/sxgbe_main.c sxgbe_verify_args(9), sxgbe_eee_ctrl_time... |
sxgbe_reset_all_tx_queues(9) | NAME sxgbe_reset_all_tx_queues - irq tx error mng function
SYNOPSIS void sxgbe_reset_all_tx_queues (struct sxgbe_priv_data *priv );
ARGUMENTS priv driver private structure
DESCRIPTION it cleans all the descriptors and restarts the transmission on all queues in case of errors.
SEE ALSO Kernel file ./drivers... |
sxgbe_restart_tx_queue(9) | NAME sxgbe_restart_tx_queue - irq tx error mng function
SYNOPSIS void sxgbe_restart_tx_queue (struct sxgbe_priv_data *priv , int queue_num );
ARGUMENTS priv driver private structure
queue_num queue number
DESCRIPTION it cleans the descriptors and restarts the transmission in case of errors.
SEE ALS... |
sxgbe_rx(9) | NAME sxgbe_rx - receive the frames from the remote host
SYNOPSIS int sxgbe_rx (struct sxgbe_priv_data *priv , int limit );
ARGUMENTS priv driver private structure
limit napi bugget.
DESCRIPTION this the function called by the napi poll method. It gets all the frames inside the ring.
SEE ALSO K... |
sxgbe_rx_interrupt(9) | NAME sxgbe_rx_interrupt - RX DMA ISR
SYNOPSIS irqreturn_t sxgbe_rx_interrupt (int irq , void *dev_id );
ARGUMENTS irq interrupt number.
dev_id to pass the net device pointer.
DESCRIPTION this is the rx dma interrupt service routine.
SEE ALSO Kernel file ./drivers/net/ethernet/samsung/sxgbe/sx... |
sxgbe_rx_refill(9) | NAME sxgbe_rx_refill - refill used skb preallocated buffers
SYNOPSIS void sxgbe_rx_refill (struct sxgbe_priv_data *priv );
ARGUMENTS priv driver private structure
DESCRIPTION this is to reallocate the skb for the reception process that is based on zero-copy.
SEE ALSO Kernel file ./drivers/net/ethernet/sams... |
sxgbe_set_rx_mode(9) | NAME sxgbe_set_rx_mode - entry point for setting different receive mode of a device. unicast, multicast addressing
SYNOPSIS void sxgbe_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 wheneve... |
sxgbe_tx_all_clean(9) | NAME sxgbe_tx_all_clean -
SYNOPSIS void sxgbe_tx_all_clean (struct sxgbe_priv_data * const priv );
ARGUMENTS priv driver private structure
DESCRIPTION it reclaims resources after transmission completes.
SEE ALSO Kernel file ./drivers/net/ethernet/samsung/sxgbe/sxgbe_main.c sxgbe_verify_args(9), sxgbe_eee_... |
sxgbe_tx_init_coalesce(9) | NAME sxgbe_tx_init_coalesce - init tx mitigation options.
SYNOPSIS void sxgbe_tx_init_coalesce (struct sxgbe_priv_data *priv );
ARGUMENTS priv driver private structure
DESCRIPTION This inits the transmit coalesce parameters: i.e. timer rate, timer handler and default threshold used for enabling the interrupt ... |
sxgbe_tx_interrupt(9) | NAME sxgbe_tx_interrupt - TX DMA ISR
SYNOPSIS irqreturn_t sxgbe_tx_interrupt (int irq , void *dev_id );
ARGUMENTS irq interrupt number.
dev_id to pass the net device pointer.
DESCRIPTION this is the tx dma interrupt service routine.
SEE ALSO Kernel file ./drivers/net/ethernet/samsung/sxgbe/sx... |
sxgbe_tx_queue_clean(9) | NAME sxgbe_tx_queue_clean -
SYNOPSIS void sxgbe_tx_queue_clean (struct sxgbe_tx_queue *tqueue );
ARGUMENTS tqueue queue pointer
DESCRIPTION it reclaims resources after transmission completes.
SEE ALSO Kernel file ./drivers/net/ethernet/samsung/sxgbe/sxgbe_main.c sxgbe_verify_args(9), sxgbe_eee_ctrl_timer(9)... |
sxgbe_tx_timeout(9) | NAME sxgbe_tx_timeout -
SYNOPSIS void sxgbe_tx_timeout (struct net_device *dev , unsigned int txqueue );
ARGUMENTS dev Pointer to net device structure
txqueue index of the hanging queue
DESCRIPTION this function is called when a packet transmission fails to complete within a reasonable time.... |
sxgbe_tx_timer(9) | NAME sxgbe_tx_timer - mitigation sw timer for tx.
SYNOPSIS void sxgbe_tx_timer (struct timer_list *t );
ARGUMENTS t timer pointer
DESCRIPTION This is the timer handler to directly invoke the sxgbe_tx_clean.
SEE ALSO Kernel file ./drivers/net/ethernet/samsung/sxgbe/sxgbe_main.c sxgbe_verify_args(9), sxg... |
sxgbe_verify_args(9) | NAME sxgbe_verify_args - verify the driver parameters.
SYNOPSIS void sxgbe_verify_args (void );
ARGUMENTS void no arguments
DESCRIPTION it verifies if some wrong parameter is passed to the driver. Note that wrong parameters are replaced with the default values.
SEE ALSO Kernel file ./drivers/net/ethe... |
sxgbe_xmit(9) | NAME sxgbe_xmit - Tx entry point of the driver
SYNOPSIS netdev_tx_t sxgbe_xmit (struct sk_buff *skb , struct net_device *dev );
ARGUMENTS skb the socket buffer
dev device pointer
DESCRIPTION this is the tx entry point of the driver. It programs the chain or the ring and supports oversized fr... |
sxps2_close(9) | NAME sxps2_close - frees the interrupt.
SYNOPSIS void sxps2_close (struct serio *pserio );
ARGUMENTS pserio pointer to the serio structure of the PS/2 device
DESCRIPTION This function frees the irq and disables interrupts for the PS/2 device.
SEE ALSO Kernel file ./drivers/input/serio/xilinx_ps2.c xps2_recv(9)... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.