id
stringlengths
4
63
text
stringlengths
153
8.81M
hppb_probe(9)
NAME hppb_probe - Determine if the hppb driver should claim this device. SYNOPSIS int hppb_probe (struct parisc_device *dev ); ARGUMENTS dev The device which has been found DESCRIPTION Determine if hppb driver should claim this chip (return 0) or not (return 1). If so, initialize the chip and tell other part...
hpsa(4)
NAME hpsa - HP Smart Array SCSI driver SYNOPSIS modprobe hpsa [ hpsa_allow_any=1 ] DESCRIPTION hpsa is a SCSI driver for HP Smart Array RAID controllers. Options hpsa_allow_any=1: This option allows the driver to attempt to operate on any HP Smart Array hardware RAID controller, even if it is not explici...
hpt366_filter(9)
NAME hpt366_filter - mode selection filter SYNOPSIS unsigned int hpt366_filter (struct ata_device *adev , unsigned int mask ); ARGUMENTS adev ATA device mask Current mask to manipulate and pass back DESCRIPTION Block UDMA on devices that cause trouble with this controller. SEE ALSO Kernel file...
hpt366_prereset(9)
NAME hpt366_prereset - reset the hpt36x bus SYNOPSIS int hpt366_prereset (struct ata_link *link , unsigned long deadline ); ARGUMENTS link ATA link to reset deadline deadline jiffies for the operation DESCRIPTION Perform the initial reset handling for the 36x series controllers. Reset the hardware...
hpt366_set_dmamode(9)
NAME hpt366_set_dmamode - DMA timing setup SYNOPSIS void hpt366_set_dmamode (struct ata_port *ap , struct ata_device *adev ); ARGUMENTS ap ATA interface adev Device being configured DESCRIPTION Set up the channel for MWDMA or UDMA modes. Much the same as with PIO, load the mode number and the...
hpt366_set_piomode(9)
NAME hpt366_set_piomode - PIO setup SYNOPSIS void hpt366_set_piomode (struct ata_port *ap , struct ata_device *adev ); ARGUMENTS ap ATA interface adev device on the interface DESCRIPTION Perform PIO mode setup. SEE ALSO Kernel file ./drivers/ata/pata_hpt366.c hpt36x_find_mode(9), hpt366_filt...
hpt36x_find_mode(9)
NAME hpt36x_find_mode - find the hpt36x timing SYNOPSIS u32 hpt36x_find_mode (struct ata_port *ap , int speed ); ARGUMENTS ap ATA port speed transfer mode DESCRIPTION Return the 32bit register programming information for this channel that matches the speed provided. SEE ALSO Kernel file ./dri...
hpt36x_init_chipset(9)
NAME hpt36x_init_chipset - common chip setup SYNOPSIS void hpt36x_init_chipset (struct pci_dev *dev ); ARGUMENTS dev PCI device DESCRIPTION Perform the chip setup work that must be done at both init and resume time SEE ALSO Kernel file ./drivers/ata/pata_hpt366.c hpt36x_find_mode(9), hpt366_filter(9), hpt36...
hpt36x_init_one(9)
NAME hpt36x_init_one - Initialise an HPT366/368 SYNOPSIS int hpt36x_init_one (struct pci_dev *dev , const struct pci_device_id *id ); ARGUMENTS dev PCI device id Entry in match table DESCRIPTION Initialise an HPT36x device. There are some interesting complications here. Firstly the chip ma...
hpt370_bmdma_stop(9)
NAME hpt370_bmdma_stop - DMA engine stop SYNOPSIS void hpt370_bmdma_stop (struct ata_queued_cmd *qc ); ARGUMENTS qc ATA command DESCRIPTION Work around the HPT370 DMA engine. SEE ALSO Kernel file ./drivers/ata/pata_hpt37x.c hpt37x_find_mode(9), hpt370_filter(9), hpt370a_filter(9), hpt372_filter(9), ...
hpt370_filter(9)
NAME hpt370_filter - mode selection filter SYNOPSIS unsigned int hpt370_filter (struct ata_device *adev , unsigned int mask ); ARGUMENTS adev ATA device mask mode mask DESCRIPTION Block UDMA on devices that cause trouble with this controller. SEE ALSO Kernel file ./drivers/ata/pata_hpt37x.c ...
hpt370a_filter(9)
NAME hpt370a_filter - mode selection filter SYNOPSIS unsigned int hpt370a_filter (struct ata_device *adev , unsigned int mask ); ARGUMENTS adev ATA device mask mode mask DESCRIPTION Block UDMA on devices that cause trouble with this controller. SEE ALSO Kernel file ./drivers/ata/pata_hpt37x....
hpt372_filter(9)
NAME hpt372_filter - mode selection filter SYNOPSIS unsigned int hpt372_filter (struct ata_device *adev , unsigned int mask ); ARGUMENTS adev ATA device mask mode mask DESCRIPTION The Marvell bridge chips used on the HighPoint SATA cards do not seem to support the UltraDMA modes 1, 2, and 3 as ...
hpt372n_filter(9)
NAME hpt372n_filter - mode selection filter SYNOPSIS unsigned int hpt372n_filter (struct ata_device *adev , unsigned int mask ); ARGUMENTS adev ATA device mask mode mask DESCRIPTION The Marvell bridge chips used on the HighPoint SATA cards do not seem to support the UltraDMA modes 1, 2, and 3 a...
hpt374_fn1_cable_detect(9)
NAME hpt374_fn1_cable_detect - Detect the cable type SYNOPSIS int hpt374_fn1_cable_detect (struct ata_port *ap ); ARGUMENTS ap ATA port to detect on DESCRIPTION Return the cable type attached to this port SEE ALSO Kernel file ./drivers/ata/pata_hpt37x.c hpt37x_find_mode(9), hpt370_filter(9), hpt3...
hpt37x_bmdma_stop(9)
NAME hpt37x_bmdma_stop - DMA engine stop SYNOPSIS void hpt37x_bmdma_stop (struct ata_queued_cmd *qc ); ARGUMENTS qc ATA command DESCRIPTION Clean up after the HPT372 and later DMA engine SEE ALSO Kernel file ./drivers/ata/pata_hpt37x.c hpt37x_find_mode(9), hpt370_filter(9), hpt370a_filter(9), hpt372_...
hpt37x_cable_detect(9)
NAME hpt37x_cable_detect - Detect the cable type SYNOPSIS int hpt37x_cable_detect (struct ata_port *ap ); ARGUMENTS ap ATA port to detect on DESCRIPTION Return the cable type attached to this port SEE ALSO Kernel file ./drivers/ata/pata_hpt37x.c hpt37x_find_mode(9), hpt370_filter(9), hpt370a_filter(9...
hpt37x_calibrate_dpll(9)
NAME hpt37x_calibrate_dpll - Calibrate the DPLL loop SYNOPSIS int hpt37x_calibrate_dpll (struct pci_dev *dev ); ARGUMENTS dev PCI device DESCRIPTION Perform a calibration cycle on the HPT37x DPLL. Returns 1 if this succeeds SEE ALSO Kernel file ./drivers/ata/pata_hpt37x.c hpt37x_find_mode(9), hpt370_fil...
hpt37x_clock_slot(9)
NAME hpt37x_clock_slot - Turn timing to PC clock entry SYNOPSIS int hpt37x_clock_slot (unsigned int freq ); ARGUMENTS freq Reported frequency in MHz DESCRIPTION Turn the timing data into a clock slot (0 for 33, 1 for 40, 2 for 50 and 3 for 66Mhz) SEE ALSO Kernel file ./drivers/ata/pata_hpt37x.c hpt37x_fin...
hpt37x_find_mode(9)
NAME hpt37x_find_mode - reset the hpt37x bus SYNOPSIS u32 hpt37x_find_mode (struct ata_port *ap , int speed ); ARGUMENTS ap ATA port speed transfer mode DESCRIPTION Return the 32bit register programming information for this channel that matches the speed provided. SEE ALSO Kernel file ./dri...
hpt37x_init_one(9)
NAME hpt37x_init_one - Initialise an HPT37X/302 SYNOPSIS int hpt37x_init_one (struct pci_dev *dev , const struct pci_device_id *id ); ARGUMENTS dev PCI device id Entry in match table DESCRIPTION Initialise an HPT37x device. There are some interesting complications here. Firstly the chip ma...
hpt37x_pre_reset(9)
NAME hpt37x_pre_reset - reset the hpt37x bus SYNOPSIS int hpt37x_pre_reset (struct ata_link *link , unsigned long deadline ); ARGUMENTS link ATA link to reset deadline deadline jiffies for the operation DESCRIPTION Perform the initial reset handling for the HPT37x. SEE ALSO Kernel file ./drivers...
hpt37x_set_dmamode(9)
NAME hpt37x_set_dmamode - DMA timing setup SYNOPSIS void hpt37x_set_dmamode (struct ata_port *ap , struct ata_device *adev ); ARGUMENTS ap ATA interface adev Device being configured DESCRIPTION Set up the channel for MWDMA or UDMA modes. SEE ALSO Kernel file ./drivers/ata/pata_hpt37x.c hp...
hpt37x_set_piomode(9)
NAME hpt37x_set_piomode - PIO setup SYNOPSIS void hpt37x_set_piomode (struct ata_port *ap , struct ata_device *adev ); ARGUMENTS ap ATA interface adev device on the interface DESCRIPTION Perform PIO mode setup. SEE ALSO Kernel file ./drivers/ata/pata_hpt37x.c hpt37x_find_mode(9), hpt370_...
hpt3x2n_bmdma_stop(9)
NAME hpt3x2n_bmdma_stop - DMA engine stop SYNOPSIS void hpt3x2n_bmdma_stop (struct ata_queued_cmd *qc ); ARGUMENTS qc ATA command DESCRIPTION Clean up after the HPT3x2n and later DMA engine SEE ALSO Kernel file ./drivers/ata/pata_hpt3x2n.c hpt3x2n_find_mode(9), hpt372n_filter(9), hpt3x2n_cable_detect(...
hpt3x2n_cable_detect(9)
NAME hpt3x2n_cable_detect - Detect the cable type SYNOPSIS int hpt3x2n_cable_detect (struct ata_port *ap ); ARGUMENTS ap ATA port to detect on DESCRIPTION Return the cable type attached to this port SEE ALSO Kernel file ./drivers/ata/pata_hpt3x2n.c hpt3x2n_find_mode(9), hpt372n_filter(9), hpt3x2n_pr...
hpt3x2n_find_mode(9)
NAME hpt3x2n_find_mode - reset the hpt3x2n bus SYNOPSIS u32 hpt3x2n_find_mode (struct ata_port *ap , int speed ); ARGUMENTS ap ATA port speed transfer mode DESCRIPTION Return the 32bit register programming information for this channel that matches the speed provided. For the moment the clocks ...
hpt3x2n_init_one(9)
NAME hpt3x2n_init_one - Initialise an HPT37X/302 SYNOPSIS int hpt3x2n_init_one (struct pci_dev *dev , const struct pci_device_id *id ); ARGUMENTS dev PCI device id Entry in match table DESCRIPTION Initialise an HPT3x2n device. There are some interesting complications here. Firstly the chip ...
hpt3x2n_pre_reset(9)
NAME hpt3x2n_pre_reset - reset the hpt3x2n bus SYNOPSIS int hpt3x2n_pre_reset (struct ata_link *link , unsigned long deadline ); ARGUMENTS link ATA link to reset deadline deadline jiffies for the operation DESCRIPTION Perform the initial reset handling for the 3x2n series controllers. Reset the ha...
hpt3x2n_set_clock(9)
NAME hpt3x2n_set_clock - clock control SYNOPSIS void hpt3x2n_set_clock (struct ata_port *ap , int source ); ARGUMENTS ap ATA port source 0x21 or 0x23 for PLL or PCI sourced clock DESCRIPTION Switch the ATA bus clock between the PLL and PCI clock sources while correctly isolating the bus and re...
hpt3x2n_set_dmamode(9)
NAME hpt3x2n_set_dmamode - DMA timing setup SYNOPSIS void hpt3x2n_set_dmamode (struct ata_port *ap , struct ata_device *adev ); ARGUMENTS ap ATA interface adev Device being configured DESCRIPTION Set up the channel for MWDMA or UDMA modes. SEE ALSO Kernel file ./drivers/ata/pata_hpt3x2n.c...
hpt3x2n_set_piomode(9)
NAME hpt3x2n_set_piomode - PIO setup SYNOPSIS void hpt3x2n_set_piomode (struct ata_port *ap , struct ata_device *adev ); ARGUMENTS ap ATA interface adev device on the interface DESCRIPTION Perform PIO mode setup. SEE ALSO Kernel file ./drivers/ata/pata_hpt3x2n.c hpt3x2n_find_mode(9), hp...
hpt3x3_atapi_dma(9)
NAME hpt3x3_atapi_dma - ATAPI DMA check SYNOPSIS int hpt3x3_atapi_dma (struct ata_queued_cmd *qc ); ARGUMENTS qc Queued command DESCRIPTION Just say no - we don't do ATAPI DMA SEE ALSO Kernel file ./drivers/ata/pata_hpt3x3.c hpt3x3_set_piomode(9), hpt3x3_set_dmamode(9), hpt3x3_freeze(9), hpt3x3_bmdma_setup...
hpt3x3_bmdma_setup(9)
NAME hpt3x3_bmdma_setup - DMA workaround SYNOPSIS void hpt3x3_bmdma_setup (struct ata_queued_cmd *qc ); ARGUMENTS qc Queued command DESCRIPTION When issuing BMDMA we must clean up the error/active bits in software on this device SEE ALSO Kernel file ./drivers/ata/pata_hpt3x3.c hpt3x3_set_piomode(9), hpt3x3...
hpt3x3_freeze(9)
NAME hpt3x3_freeze - DMA workaround SYNOPSIS void hpt3x3_freeze (struct ata_port *ap ); ARGUMENTS ap port to freeze DESCRIPTION When freezing an HPT3x3 we must stop any pending DMA before writing to the control register or the chip will hang SEE ALSO Kernel file ./drivers/ata/pata_hpt3x3.c hpt3x3_set_piomo...
hpt3x3_init_chipset(9)
NAME hpt3x3_init_chipset - chip setup SYNOPSIS void hpt3x3_init_chipset (struct pci_dev *dev ); ARGUMENTS dev PCI device DESCRIPTION Perform the setup required at boot and on resume. SEE ALSO Kernel file ./drivers/ata/pata_hpt3x3.c hpt3x3_set_piomode(9), hpt3x3_set_dmamode(9), hpt3x3_freeze(9), hpt3x3_bmdma...
hpt3x3_init_one(9)
NAME hpt3x3_init_one - Initialise an HPT343/363 SYNOPSIS int hpt3x3_init_one (struct pci_dev *pdev , const struct pci_device_id *id ); ARGUMENTS pdev PCI device id Entry in match table DESCRIPTION Perform basic initialisation. We set the device up so we access all ports via BAR4. This is nece...
hpt3x3_set_dmamode(9)
NAME hpt3x3_set_dmamode - DMA timing setup SYNOPSIS void hpt3x3_set_dmamode (struct ata_port *ap , struct ata_device *adev ); ARGUMENTS ap ATA interface adev Device being configured DESCRIPTION Set up the channel for MWDMA or UDMA modes. Much the same as with PIO, load the mode number and the...
hpt3x3_set_piomode(9)
NAME hpt3x3_set_piomode - PIO setup SYNOPSIS void hpt3x3_set_piomode (struct ata_port *ap , struct ata_device *adev ); ARGUMENTS ap ATA interface adev device on the interface DESCRIPTION Set our PIO requirements. This is fairly simple on the HPT3x3 as all we have to do is clear the MWDMA and ...
hpt3xn_calibrate_dpll(9)
NAME hpt3xn_calibrate_dpll - Calibrate the DPLL loop SYNOPSIS int hpt3xn_calibrate_dpll (struct pci_dev *dev ); ARGUMENTS dev PCI device DESCRIPTION Perform a calibration cycle on the HPT3xN DPLL. Returns 1 if this succeeds SEE ALSO Kernel file ./drivers/ata/pata_hpt3x2n.c hpt3x2n_find_mode(9), hpt372n_filt...
hrtimer_cancel(9)
NAME hrtimer_cancel - cancel a timer and wait for the handler to finish. SYNOPSIS int hrtimer_cancel (struct hrtimer *timer ); ARGUMENTS timer the timer to be cancelled RETURN 0 when the timer was not active 1 when the timer was active SEE ALSO Kernel file ./kernel/time/hrtimer.c hrtimer_forward(9), hrtim...
hrtimer_forward(9)
NAME hrtimer_forward - forward the timer expiry SYNOPSIS u64 hrtimer_forward (struct hrtimer *timer , ktime_t now , ktime_t interval ); ARGUMENTS timer hrtimer to forward now forward past this time interval the interval to forward DESCRIPTION Forward the timer expiry so it will expir...
hrtimer_forward_now(9)
NAME hrtimer_forward_now - forward the timer expiry so it expires after now SYNOPSIS u64 hrtimer_forward_now (struct hrtimer *timer , ktime_t interval ); ARGUMENTS timer hrtimer to forward interval the interval to forward DESCRIPTION It is a variant of hrtimer_forward. The timer will expire after th...
hrtimer_get_next_event(9)
NAME hrtimer_get_next_event - get the time until next expiry event SYNOPSIS u64 hrtimer_get_next_event (void ); ARGUMENTS void no arguments DESCRIPTION Returns the next expiry time or KTIME_MAX if no timer is pending. SEE ALSO Kernel file ./kernel/time/hrtimer.c hrtimer_forward(9), hrtimer_start_rang...
hrtimer_get_remaining(9)
NAME hrtimer_get_remaining - get remaining time for the timer SYNOPSIS ktime_t hrtimer_get_remaining (const struct hrtimer *timer ); ARGUMENTS timer the timer to read SEE ALSO Kernel file ./include/linux/hrtimer.h struct hrtimer_sleeper(9), hrtimer_start(9), hrtimer_is_queued(9), hrtimer_update_function(9), hr...
hrtimer_is_queued(9)
NAME hrtimer_is_queued - check, whether the timer is on one of the queues SYNOPSIS bool hrtimer_is_queued (struct hrtimer *timer ); ARGUMENTS timer Timer to check RETURN True if the timer is queued, false otherwise DESCRIPTION The function can be used lockless, but it gives only a current snapshot. SEE ALSO ...
hrtimer_next_event_without(9)
NAME hrtimer_next_event_without - time until next expiry event w/o one timer SYNOPSIS u64 hrtimer_next_event_without (const struct hrtimer *exclude ); ARGUMENTS exclude timer to exclude DESCRIPTION Returns the next expiry time over all timers except for the exclude one or KTIME_MAX if none of them is pending. S...
hrtimer_setup(9)
NAME hrtimer_setup - initialize a timer to the given clock SYNOPSIS void hrtimer_setup (struct hrtimer *timer , enum hrtimer_restart (*function)(struct hrtimer *) , clockid_t clock_id , enum hrtimer_mode mode ); ARGUMENTS timer the timer to be initialized function the callback function clock_...
hrtimer_setup_on_stack(9)
NAME hrtimer_setup_on_stack - initialize a timer on stack memory SYNOPSIS void hrtimer_setup_on_stack (struct hrtimer *timer , enum hrtimer_restart (*function)(struct hrtimer *) , clockid_t clock_id , enum hrtimer_mode mode ); ARGUMENTS timer The timer to be initialized function the callback function...
hrtimer_setup_sleeper_on_stack(9)
NAME hrtimer_setup_sleeper_on_stack - initialize a sleeper in stack memory SYNOPSIS void hrtimer_setup_sleeper_on_stack (struct hrtimer_sleeper *sl , clockid_t clock_id , enum hrtimer_mode mode ); ARGUMENTS sl sleeper to be initialized clock_id the clock to be used mode timer mode a...
hrtimer_sleeper_start_expires(9)
NAME hrtimer_sleeper_start_expires - Start a hrtimer sleeper timer SYNOPSIS void hrtimer_sleeper_start_expires (struct hrtimer_sleeper *sl , enum hrtimer_mode mode ); ARGUMENTS sl sleeper to be started mode timer mode abs/rel DESCRIPTION Wrapper around hrtimer_start_expires for hrtimer_sleepe...
hrtimer_start(9)
NAME hrtimer_start - (re)start an hrtimer SYNOPSIS void hrtimer_start (struct hrtimer *timer , ktime_t tim , const enum hrtimer_mode mode ); ARGUMENTS timer the timer to be added tim expiry time mode timer mode: absolute (HRTIMER_MODE_ABS) or relative (HRTIMER_MODE_REL), and pinne...
hrtimer_start_range_ns(9)
NAME hrtimer_start_range_ns - (re)start an hrtimer SYNOPSIS void hrtimer_start_range_ns (struct hrtimer *timer , ktime_t tim , u64 delta_ns , const enum hrtimer_mode mode ); ARGUMENTS timer the timer to be added tim expiry time delta_ns "slack" range for the timer mode ...
hrtimer_try_to_cancel(9)
NAME hrtimer_try_to_cancel - try to deactivate a timer SYNOPSIS int hrtimer_try_to_cancel (struct hrtimer *timer ); ARGUMENTS timer hrtimer to stop DESCRIPTION * 0 when the timer was not active * 1 when the timer was active * -1 when the timer is currently executing the callback function and cannot be stoppe...
hrtimer_update_function(9)
NAME hrtimer_update_function - Update the timer's callback function SYNOPSIS void hrtimer_update_function (struct hrtimer *timer , enum hrtimer_restart (*function)(struct hrtimer *) ); ARGUMENTS timer Timer to update function New callback function DESCRIPTION Only safe to call if the timer is not en...
hsc_measurement_is_valid(9)
NAME hsc_measurement_is_valid - validate last conversion via status bits SYNOPSIS bool hsc_measurement_is_valid (struct hsc_data *data ); ARGUMENTS data structure containing instantiated sensor data RETURN true only if both status bits are zero DESCRIPTION the two MSB from the first transfered byte contain a...
hsearch(3)
NAME hcreate, hdestroy, hsearch, hcreate_r, hdestroy_r, hsearch_r - hash table management LIBRARY Standard C library (libc, -lc) SYNOPSIS #include <search.h> int hcreate(size_t nel); void hdestroy(void); ENTRY *hsearch(ENTRY item, ACTION action); #define _GNU_SOURCE /* See featu...
hsearch_r(3)
NAME hcreate, hdestroy, hsearch, hcreate_r, hdestroy_r, hsearch_r - hash table management LIBRARY Standard C library (libc, -lc) SYNOPSIS #include <search.h> int hcreate(size_t nel); void hdestroy(void); ENTRY *hsearch(ENTRY item, ACTION action); #define _GNU_SOURCE /* See featu...
hsi_alloc_controller(9)
NAME hsi_alloc_controller - Allocate an HSI controller and its ports SYNOPSIS struct hsi_controller * hsi_alloc_controller (unsigned int n_ports , gfp_t flags ); ARGUMENTS n_ports Number of ports on the HSI controller flags Kernel allocation flags DESCRIPTION Return NULL on failure or a pointer to ...
hsi_alloc_msg(9)
NAME hsi_alloc_msg - Allocate an HSI message SYNOPSIS struct hsi_msg * hsi_alloc_msg (unsigned int nents , gfp_t flags ); ARGUMENTS nents Number of memory entries flags Kernel allocation flags DESCRIPTION nents can be 0. This mainly makes sense for read transfer. In that case, HSI drivers will ...
hsi_async(9)
NAME hsi_async - Submit an HSI transfer to the controller SYNOPSIS int hsi_async (struct hsi_client *cl , struct hsi_msg *msg ); ARGUMENTS cl HSI client sending the transfer msg The HSI transfer passed to controller DESCRIPTION The HSI message must have the channel, ttype, complete and destr...
hsi_async_read(9)
NAME hsi_async_read - Submit a read transfer SYNOPSIS int hsi_async_read (struct hsi_client *cl , struct hsi_msg *msg ); ARGUMENTS cl Pointer to the HSI client msg HSI message descriptor of the transfer DESCRIPTION Return -errno on failure, 0 on success SEE ALSO Kernel file ./include/linu...
hsi_async_write(9)
NAME hsi_async_write - Submit a write transfer SYNOPSIS int hsi_async_write (struct hsi_client *cl , struct hsi_msg *msg ); ARGUMENTS cl Pointer to the HSI client msg HSI message descriptor of the transfer DESCRIPTION Return -errno on failure, 0 on success SEE ALSO Kernel file ./include/l...
hsi_claim_port(9)
NAME hsi_claim_port - Claim the HSI client's port SYNOPSIS int hsi_claim_port (struct hsi_client *cl , unsigned int share ); ARGUMENTS cl HSI client that wants to claim its port share Flag to indicate if the client wants to share the port or not. DESCRIPTION Returns -errno on failure, 0 on suc...
hsi_event(9)
NAME hsi_event - Notifies clients about port events SYNOPSIS int hsi_event (struct hsi_port *port , unsigned long event ); ARGUMENTS port Port where the event occurred event The event type DESCRIPTION Clients should not be concerned about wake line behavior. However, due to a race conditio...
hsi_flush(9)
NAME hsi_flush - Flush all pending transactions on the client's port SYNOPSIS int hsi_flush (struct hsi_client *cl ); ARGUMENTS cl Pointer to the HSI client DESCRIPTION This function will destroy all pending hsi_msg in the port and reset the HW port so it is ready to receive and transmit from a clean state....
hsi_free_msg(9)
NAME hsi_free_msg - Free an HSI message SYNOPSIS void hsi_free_msg (struct hsi_msg *msg ); ARGUMENTS msg Pointer to the HSI message DESCRIPTION Client is responsible to free the buffers pointed by the scatterlists. SEE ALSO Kernel file ./drivers/hsi/hsi_core.c hsi_port_unregister_clients(9), hsi_unregis...
hsi_get_channel_id_by_name(9)
NAME hsi_get_channel_id_by_name - acquire channel id by channel name SYNOPSIS int hsi_get_channel_id_by_name (struct hsi_client *cl , char *name ); ARGUMENTS cl HSI client, which uses the channel name name the channel is known under DESCRIPTION Clients can call this function to get the hsi c...
hsi_id(9)
NAME hsi_id - Get HSI controller ID associated to a client SYNOPSIS unsigned int hsi_id (struct hsi_client *cl ); ARGUMENTS cl Pointer to a HSI client DESCRIPTION Return the controller id where the client is attached to SEE ALSO Kernel file ./include/linux/hsi/hsi.h struct hsi_channel(9), struct hsi_...
hsi_port_id(9)
NAME hsi_port_id - Gets the port number a client is attached to SYNOPSIS unsigned int hsi_port_id (struct hsi_client *cl ); ARGUMENTS cl Pointer to HSI client DESCRIPTION Return the port number associated to the client SEE ALSO Kernel file ./include/linux/hsi/hsi.h struct hsi_channel(9), struct hsi_c...
hsi_port_unregister_clients(9)
NAME hsi_port_unregister_clients - Unregister an HSI port SYNOPSIS void hsi_port_unregister_clients (struct hsi_port *port ); ARGUMENTS port The HSI port to unregister SEE ALSO Kernel file ./drivers/hsi/hsi_core.c hsi_unregister_controller(9), hsi_register_controller(9), hsi_register_client_driver(9)...
hsi_put_controller(9)
NAME hsi_put_controller - Free an HSI controller SYNOPSIS void hsi_put_controller (struct hsi_controller *hsi ); ARGUMENTS hsi Pointer to the HSI controller to freed DESCRIPTION HSI controller drivers should only use this function if they need to free their allocated hsi_controller structures before a succes...
hsi_register_board_info(9)
NAME hsi_register_board_info - Register HSI clients information SYNOPSIS int hsi_register_board_info (struct hsi_board_info const *info , unsigned int len ); ARGUMENTS info Array of HSI clients on the board len Length of the array DESCRIPTION HSI clients are statically declared and registe...
hsi_register_client_driver(9)
NAME hsi_register_client_driver - Register an HSI client to the HSI bus SYNOPSIS int hsi_register_client_driver (struct hsi_client_driver *drv ); ARGUMENTS drv HSI client driver to register DESCRIPTION Returns -errno on failure, 0 on success. SEE ALSO Kernel file ./drivers/hsi/hsi_core.c hsi_port_unre...
hsi_register_controller(9)
NAME hsi_register_controller - Register an HSI controller and its ports SYNOPSIS int hsi_register_controller (struct hsi_controller *hsi ); ARGUMENTS hsi The HSI controller to register DESCRIPTION Returns -errno on failure, 0 on success. SEE ALSO Kernel file ./drivers/hsi/hsi_core.c hsi_port_unregister_c...
hsi_register_port_event(9)
NAME hsi_register_port_event - Register a client to receive port events SYNOPSIS int hsi_register_port_event (struct hsi_client *cl , void (*handler)(struct hsi_client *, unsigned long) ); ARGUMENTS cl HSI client that wants to receive port events handler Event handler callback DESCRIPTION Client...
hsi_release_port(9)
NAME hsi_release_port - Release the HSI client's port SYNOPSIS void hsi_release_port (struct hsi_client *cl ); ARGUMENTS cl HSI client which previously claimed its port SEE ALSO Kernel file ./drivers/hsi/hsi_core.c hsi_port_unregister_clients(9), hsi_unregister_controller(9), hsi_register_controll...
hsi_setup(9)
NAME hsi_setup - Configure the client's port SYNOPSIS int hsi_setup (struct hsi_client *cl ); ARGUMENTS cl Pointer to the HSI client DESCRIPTION When sharing ports, clients should either relay on a single client setup or have the same setup for all of them. Return -errno on failure, 0 on success SEE ALSO ...
hsi_start_tx(9)
NAME hsi_start_tx - Signal the port that the client wants to start a TX SYNOPSIS int hsi_start_tx (struct hsi_client *cl ); ARGUMENTS cl Pointer to the HSI client DESCRIPTION Return -errno on failure, 0 on success SEE ALSO Kernel file ./include/linux/hsi/hsi.h struct hsi_channel(9), struct hsi_config...
hsi_stop_tx(9)
NAME hsi_stop_tx - Signal the port that the client no longer wants to transmit SYNOPSIS int hsi_stop_tx (struct hsi_client *cl ); ARGUMENTS cl Pointer to the HSI client DESCRIPTION Return -errno on failure, 0 on success SEE ALSO Kernel file ./include/linux/hsi/hsi.h struct hsi_channel(9), struct hsi_...
hsi_unregister_controller(9)
NAME hsi_unregister_controller - Unregister an HSI controller SYNOPSIS void hsi_unregister_controller (struct hsi_controller *hsi ); ARGUMENTS hsi The HSI controller to register SEE ALSO Kernel file ./drivers/hsi/hsi_core.c hsi_port_unregister_clients(9), hsi_register_controller(9), hsi_register_clien...
hsi_unregister_port_event(9)
NAME hsi_unregister_port_event - Stop receiving port events for a client SYNOPSIS int hsi_unregister_port_event (struct hsi_client *cl ); ARGUMENTS cl HSI client that wants to stop receiving port events DESCRIPTION Clients should call this function before releasing their associated port. Returns -errno on ...
hsiphash(9)
NAME hsiphash - compute 32-bit hsiphash PRF value SYNOPSIS u32 hsiphash (const void *data , size_t len , const hsiphash_key_t *key ); ARGUMENTS data buffer to hash len -- undescribed -- key the hsiphash key SEE ALSO Kernel file ./include/linux/siphash.h siphash(9) April 2026 ...
hsiphash_1u32(9)
NAME hsiphash_1u32 - compute 32-bit hsiphash PRF value of a u32 SYNOPSIS u32 hsiphash_1u32 (const u32 first , const hsiphash_key_t *key ); ARGUMENTS first first u32 key the hsiphash key SEE ALSO Kernel file ./lib/siphash.c siphash_1u64(9), siphash_2u64(9), siphash_3u64(9), siphash_4u64(9), hsip...
hsiphash_2u32(9)
NAME hsiphash_2u32 - compute 32-bit hsiphash PRF value of 2 u32 SYNOPSIS u32 hsiphash_2u32 (const u32 first , const u32 second , const hsiphash_key_t *key ); ARGUMENTS first first u32 second second u32 key the hsiphash key SEE ALSO Kernel file ./lib/siphash.c siphash_1u64(9), sipha...
hsiphash_3u32(9)
NAME hsiphash_3u32 - compute 32-bit hsiphash PRF value of 3 u32 SYNOPSIS u32 hsiphash_3u32 (const u32 first , const u32 second , const u32 third , const hsiphash_key_t *key ); ARGUMENTS first first u32 second second u32 third third u32 key the hsiphash key SEE ALSO Ke...
hsiphash_4u32(9)
NAME hsiphash_4u32 - compute 32-bit hsiphash PRF value of 4 u32 SYNOPSIS u32 hsiphash_4u32 (const u32 first , const u32 second , const u32 third , const u32 forth , const hsiphash_key_t *key ); ARGUMENTS first first u32 second second u32 third third u32 forth forth u32 ...
hstrerror(3)
NAME gethostbyname, gethostbyaddr, sethostent, gethostent, endhostent, h_errno, herror, hstrerror, gethostbyaddr_r, gethostbyname2, gethostbyname2_r, gethostbyname_r, gethostent_r - get network host entry LIBRARY Standard C library (libc, -lc) SYNOPSIS #include <netdb.h> void sethostent(int stayopen); ...
htb_activate(9)
NAME htb_activate - inserts leaf cl into appropriate active feeds SYNOPSIS void htb_activate (struct htb_sched *q , struct htb_class *cl ); ARGUMENTS q the priority event queue cl the target class DESCRIPTION Routine learns (new) priority of leaf and activates feed chain for the prio. It c...
htb_activate_prios(9)
NAME htb_activate_prios - creates active classe's feed chain SYNOPSIS void htb_activate_prios (struct htb_sched *q , struct htb_class *cl ); ARGUMENTS q the priority event queue cl the class to activate DESCRIPTION The class is connected to ancestors and/or appropriate rows for priorities ...
htb_add_class_to_row(9)
NAME htb_add_class_to_row - add class to its row SYNOPSIS void htb_add_class_to_row (struct htb_sched *q , struct htb_class *cl , int mask ); ARGUMENTS q the priority event queue cl the class to add mask the given priorities in class in bitmap DESCRIPTION The class is added ...
htb_add_to_id_tree(9)
NAME htb_add_to_id_tree - adds class to the round robin list SYNOPSIS void htb_add_to_id_tree (struct rb_root *root , struct htb_class *cl , int prio ); ARGUMENTS root the root of the tree cl the class to add prio the give prio in class DESCRIPTION Routine adds class to the lis...
htb_add_to_wait_tree(9)
NAME htb_add_to_wait_tree - adds class to the event queue with delay SYNOPSIS void htb_add_to_wait_tree (struct htb_sched *q , struct htb_class *cl , s64 delay ); ARGUMENTS q the priority event queue cl the class to add delay delay in microseconds DESCRIPTION The class is add...
htb_change_class_mode(9)
NAME htb_change_class_mode - changes classe's mode SYNOPSIS void htb_change_class_mode (struct htb_sched *q , struct htb_class *cl , s64 *diff ); ARGUMENTS q the priority event queue cl the target class diff diff time in microseconds DESCRIPTION This should be the only wa...
htb_charge_class(9)
NAME htb_charge_class - charges amount "bytes" to leaf and ancestors SYNOPSIS void htb_charge_class (struct htb_sched *q , struct htb_class *cl , int level , struct sk_buff *skb ); ARGUMENTS q the priority event queue cl the class to start iterate level the minimum level to ac...
htb_class_mode(9)
NAME htb_class_mode - computes and returns current class mode SYNOPSIS enum htb_cmode htb_class_mode (struct htb_class *cl , s64 *diff ); ARGUMENTS cl the target class diff diff time in microseconds DESCRIPTION It computes cl's mode at time cl->t_c+diff and returns it. If mode is not HTB_...
htb_classify(9)
NAME htb_classify - classify a packet into class SYNOPSIS struct htb_class * htb_classify (struct sk_buff *skb , struct Qdisc *sch , int *qerr ); ARGUMENTS skb the socket buffer sch the active queue discipline qerr pointer for returned status code DESCRIPTION It returns NULL ...
htb_deactivate(9)
NAME htb_deactivate - remove leaf cl from active feeds SYNOPSIS void htb_deactivate (struct htb_sched *q , struct htb_class *cl ); ARGUMENTS q the priority event queue cl the target class DESCRIPTION Make sure that leaf is active. In the other words it can't be called with non-active leaf....
htb_deactivate_prios(9)
NAME htb_deactivate_prios - remove class from feed chain SYNOPSIS void htb_deactivate_prios (struct htb_sched *q , struct htb_class *cl ); ARGUMENTS q the priority event queue cl the class to deactivate DESCRIPTION cl->cmode must represent old mode (before deactivation). It does nothing if...
htb_do_events(9)
NAME htb_do_events - make mode changes to classes at the level SYNOPSIS s64 htb_do_events (struct htb_sched *q , const int level , unsigned long start ); ARGUMENTS q the priority event queue level which wait_pq in 'q->hlevel' start start jiffies DESCRIPTION Scans event queue for...