id stringlengths 4 63 | text stringlengths 153 8.81M |
|---|---|
eeh_pe_get(9) | NAME eeh_pe_get - Search PE based on the given address
SYNOPSIS struct eeh_pe * eeh_pe_get (struct pci_controller *phb , int pe_no );
ARGUMENTS phb PCI controller
pe_no PE number
DESCRIPTION Search the corresponding PE based on the specified address which is included in the eeh device. The fun... |
eeh_pe_get_state(9) | NAME eeh_pe_get_state - Retrieve PE's state
SYNOPSIS int eeh_pe_get_state (struct eeh_pe *pe );
ARGUMENTS pe EEH PE
DESCRIPTION Retrieve the PE's state, which includes 3 aspects: enabled DMA, enabled IO and asserted reset.
SEE ALSO Kernel file ./arch/powerpc/kernel/eeh.c eeh_slot_error_detail(9), eeh_token... |
eeh_pe_inject_err(9) | NAME eeh_pe_inject_err - Injecting the specified PCI error to the indicated PE
SYNOPSIS int eeh_pe_inject_err (struct eeh_pe *pe , int type , int func , unsigned long addr , unsigned long mask );
ARGUMENTS pe the indicated PE
type error type
func error function
addr ... |
eeh_pe_loc_get(9) | NAME eeh_pe_loc_get - Retrieve location code binding to the given PE
SYNOPSIS const char * eeh_pe_loc_get (struct eeh_pe *pe );
ARGUMENTS pe EEH PE
DESCRIPTION Retrieve the location code of the given PE. If the primary PE bus is root bus, we will grab location code from PHB device tree node or root port... |
eeh_pe_loc_get_bus(9) | NAME eeh_pe_loc_get_bus - Retrieve location code binding to the given PCI bus
SYNOPSIS const char * eeh_pe_loc_get_bus (struct pci_bus *bus );
ARGUMENTS bus PCI bus
DESCRIPTION Retrieve the location code associated with the given PCI bus. If the bus is a root bus, the location code is fetched from the PH... |
eeh_pe_mark_isolated(9) | NAME eeh_pe_mark_isolated -
SYNOPSIS void eeh_pe_mark_isolated (struct eeh_pe *root );
ARGUMENTS root -- undescribed --
DESCRIPTION Record that a PE has been isolated by marking the PE and its children as EEH_PE_ISOLATED (and EEH_PE_CFG_BLOCKED, if required) and their PCI devices as pci_channel_io_frozen.
SE... |
eeh_pe_next(9) | NAME eeh_pe_next - Retrieve the next PE in the tree
SYNOPSIS struct eeh_pe * eeh_pe_next (struct eeh_pe *pe , struct eeh_pe *root );
ARGUMENTS pe current PE
root root PE
DESCRIPTION The function is used to retrieve the next PE in the hierarchy PE tree.
SEE ALSO Kernel file ./arch/powerpc/k... |
eeh_pe_reset(9) | NAME eeh_pe_reset - Issue PE reset according to specified type
SYNOPSIS int eeh_pe_reset (struct eeh_pe *pe , int option , bool include_passed );
ARGUMENTS pe EEH PE
option reset type
include_passed
include passed-through devices?
DESCRIPTION The routine is called to ... |
eeh_pe_reset_full(9) | NAME eeh_pe_reset_full - Complete a full reset process on the indicated PE
SYNOPSIS int eeh_pe_reset_full (struct eeh_pe *pe , bool include_passed );
ARGUMENTS pe EEH PE
include_passed
include passed-through devices?
DESCRIPTION This function executes a full reset procedure on a P... |
eeh_pe_restore_bars(9) | NAME eeh_pe_restore_bars - Restore the PCI config space info
SYNOPSIS void eeh_pe_restore_bars (struct eeh_pe *pe );
ARGUMENTS pe EEH PE
DESCRIPTION This routine performs a recursive walk to the children of this device as well.
SEE ALSO Kernel file ./arch/powerpc/kernel/eeh_pe.c eeh_set_pe_aux_size(9), ee... |
eeh_pe_set_option(9) | NAME eeh_pe_set_option - Set options for the indicated PE
SYNOPSIS int eeh_pe_set_option (struct eeh_pe *pe , int option );
ARGUMENTS pe EEH PE
option requested option
DESCRIPTION The routine is called to enable or disable EEH functionality on the indicated PE, to enable IO or DMA for the froze... |
eeh_pe_state_clear(9) | NAME eeh_pe_state_clear - Clear state for the PE
SYNOPSIS void eeh_pe_state_clear (struct eeh_pe *root , int state , bool include_passed );
ARGUMENTS root -- undescribed --
state state
include_passed
include passed-through devices?
DESCRIPTION The function is used to c... |
eeh_pe_state_mark(9) | NAME eeh_pe_state_mark - Mark specified state for PE and its associated device
SYNOPSIS void eeh_pe_state_mark (struct eeh_pe *root , int state );
ARGUMENTS root -- undescribed --
state -- undescribed --
DESCRIPTION EEH error affects the current PE and its child PEs. The function is used to mark... |
eeh_pe_traverse(9) | NAME eeh_pe_traverse - Traverse PEs in the specified PHB
SYNOPSIS void * eeh_pe_traverse (struct eeh_pe *root , eeh_pe_traverse_func fn , void *flag );
ARGUMENTS root root PE
fn callback
flag extra parameter to callback
DESCRIPTION The function is used to traverse the specified... |
eeh_pe_tree_insert(9) | NAME eeh_pe_tree_insert - Add EEH device to parent PE
SYNOPSIS int eeh_pe_tree_insert (struct eeh_dev *edev , struct eeh_pe *new_pe_parent );
ARGUMENTS edev EEH device
new_pe_parent
PE to create additional PEs under
DESCRIPTION Add EEH device to the PE in edev->pe_config_addr... |
eeh_pe_tree_remove(9) | NAME eeh_pe_tree_remove - Remove one EEH device from the associated PE
SYNOPSIS int eeh_pe_tree_remove (struct eeh_dev *edev );
ARGUMENTS edev EEH device
DESCRIPTION The PE hierarchy tree might be changed when doing PCI hotplug. Also, the PCI devices or buses could be removed from the system during EEH reco... |
eeh_pe_update_time_stamp(9) | NAME eeh_pe_update_time_stamp - Update PE's frozen time stamp
SYNOPSIS void eeh_pe_update_time_stamp (struct eeh_pe *pe );
ARGUMENTS pe EEH PE
DESCRIPTION We have time stamp for each PE to trace its time of getting frozen in last hour. The function should be called to update the time stamp on first error of... |
eeh_phb_pe_create(9) | NAME eeh_phb_pe_create - Create PHB PE
SYNOPSIS int eeh_phb_pe_create (struct pci_controller *phb );
ARGUMENTS phb PCI controller
DESCRIPTION The function should be called while the PHB is detected during system boot or PCI hotplug in order to create PHB PE.
SEE ALSO Kernel file ./arch/powerpc/kernel/eeh_... |
eeh_phb_pe_get(9) | NAME eeh_phb_pe_get - Retrieve PHB PE based on the given PHB
SYNOPSIS struct eeh_pe * eeh_phb_pe_get (struct pci_controller *phb );
ARGUMENTS phb PCI controller
DESCRIPTION The overall PEs form hierarchy tree. The first layer of the hierarchy tree is composed of PHB PEs. The function is used to retrieve the ... |
eeh_powernv_init(9) | NAME eeh_powernv_init - Register platform dependent EEH operations
SYNOPSIS int eeh_powernv_init (void );
ARGUMENTS void no arguments
DESCRIPTION EEH initialization on powernv platform. This function should be called before any EEH related functions.
SEE ALSO Kernel file ./arch/powerpc/platforms/powernv/... |
eeh_probe_device(9) | NAME eeh_probe_device - Perform EEH initialization for the indicated pci device
SYNOPSIS void eeh_probe_device (struct pci_dev *dev );
ARGUMENTS dev pci device for which to set up EEH
DESCRIPTION This routine must be used to complete EEH initialization for PCI devices that were added after system boot (e.g. ... |
eeh_pseries_init(9) | NAME eeh_pseries_init - Register platform dependent EEH operations
SYNOPSIS int eeh_pseries_init (void );
ARGUMENTS void no arguments
DESCRIPTION EEH initialization on pseries platform. This function should be called before any EEH related functions.
SEE ALSO Kernel file ./arch/powerpc/platforms/pseries/... |
eeh_remove_device(9) | NAME eeh_remove_device - Undo EEH setup for the indicated pci device
SYNOPSIS void eeh_remove_device (struct pci_dev *dev );
ARGUMENTS dev pci device to be removed
DESCRIPTION This routine should be called when a device is removed from a running system (e.g. by hotplug or dlpar). It unregisters the PCI dev... |
eeh_remove_event(9) | NAME eeh_remove_event - Remove EEH event from the queue
SYNOPSIS void eeh_remove_event (struct eeh_pe *pe , bool force );
ARGUMENTS pe Event binding to the PE
force Event will be removed unconditionally
DESCRIPTION On PowerNV platform, we might have subsequent coming events is part of the form... |
eeh_report_error(9) | NAME eeh_report_error - Report pci error to each device driver
SYNOPSIS enum pci_ers_result eeh_report_error (struct eeh_dev *edev , struct pci_dev *pdev , struct pci_driver *driver );
ARGUMENTS edev eeh device
pdev -- undescribed --
driver device's PCI driver
DESCRIPTION Report an... |
eeh_report_failure(9) | NAME eeh_report_failure - Tell device driver that device is dead.
SYNOPSIS enum pci_ers_result eeh_report_failure (struct eeh_dev *edev , struct pci_dev *pdev , struct pci_driver *driver );
ARGUMENTS edev eeh device
pdev -- undescribed --
driver device's PCI driver
DESCRIPTION This... |
eeh_report_mmio_enabled(9) | NAME eeh_report_mmio_enabled - Tell drivers that MMIO has been enabled
SYNOPSIS enum pci_ers_result eeh_report_mmio_enabled (struct eeh_dev *edev , struct pci_dev *pdev , struct pci_driver *driver );
ARGUMENTS edev eeh device
pdev -- undescribed --
driver device's PCI driver
DESCRI... |
eeh_report_reset(9) | NAME eeh_report_reset - Tell device that slot has been reset
SYNOPSIS enum pci_ers_result eeh_report_reset (struct eeh_dev *edev , struct pci_dev *pdev , struct pci_driver *driver );
ARGUMENTS edev eeh device
pdev -- undescribed --
driver device's PCI driver
DESCRIPTION This routi... |
eeh_report_resume(9) | NAME eeh_report_resume - Tell device to resume normal operations
SYNOPSIS enum pci_ers_result eeh_report_resume (struct eeh_dev *edev , struct pci_dev *pdev , struct pci_driver *driver );
ARGUMENTS edev eeh device
pdev -- undescribed --
driver device's PCI driver
DESCRIPTION This r... |
eeh_reset_device(9) | NAME eeh_reset_device - Perform actual reset of a pci slot
SYNOPSIS int eeh_reset_device (struct eeh_pe *pe , struct pci_bus *bus , struct eeh_rmv_data *rmv_data , bool driver_eeh_aware );
ARGUMENTS pe EEH PE
bus PCI bus corresponding to the isolcated slot
rmv_data Optional, list t... |
eeh_restore_one_device_bars(9) | NAME eeh_restore_one_device_bars - Restore the Base Address Registers for one device
SYNOPSIS void eeh_restore_one_device_bars (struct eeh_dev *edev , void *flag );
ARGUMENTS edev -- undescribed --
flag Unused
DESCRIPTION Loads the PCI configuration space base address registers, the expansion R... |
eeh_save_bars(9) | NAME eeh_save_bars - Save device bars
SYNOPSIS void eeh_save_bars (struct eeh_dev *edev );
ARGUMENTS edev PCI device associated EEH device
DESCRIPTION Save the values of the device bars. Unlike the restore routine, this routine is *not* recursive. This is because PCI devices are added individually; but, for t... |
eeh_set_dev_freset(9) | NAME eeh_set_dev_freset - Check the required reset for the indicated device
SYNOPSIS void eeh_set_dev_freset (struct eeh_dev *edev , void *flag );
ARGUMENTS edev EEH device
flag return value
DESCRIPTION Each device might have its preferred reset type: fundamental or hot reset. The routine is ... |
eeh_set_pe_aux_size(9) | NAME eeh_set_pe_aux_size - Set PE auxiliary data size
SYNOPSIS void eeh_set_pe_aux_size (int size );
ARGUMENTS size PE auxiliary data size in bytes
DESCRIPTION Set PE auxiliary data size.
SEE ALSO Kernel file ./arch/powerpc/kernel/eeh_pe.c eeh_pe_alloc(9), eeh_phb_pe_create(9), eeh_wait_state(9), eeh_p... |
eeh_slot_error_detail(9) | NAME eeh_slot_error_detail - Generate combined log including driver log and error log
SYNOPSIS void eeh_slot_error_detail (struct eeh_pe *pe , int severity );
ARGUMENTS pe EEH PE
severity temporary or permanent error log
DESCRIPTION This routine should be called to generate the combined log... |
eeh_token_to_phys(9) | NAME eeh_token_to_phys - Convert EEH address token to phys address
SYNOPSIS unsigned long eeh_token_to_phys (unsigned long token );
ARGUMENTS token I/O token, should be address in the form 0xA....
DESCRIPTION This routine should be called to convert virtual I/O address to physical one.
SEE ALSO Kernel file ... |
eeh_wait_state(9) | NAME eeh_wait_state - Wait for PE state
SYNOPSIS int eeh_wait_state (struct eeh_pe *pe , int max_wait );
ARGUMENTS pe EEH PE
max_wait maximal period in millisecond
DESCRIPTION Wait for the state of associated PE. It might take some time to retrieve the PE's state.
SEE ALSO Kernel file ./arch/p... |
eeprom_93cx6_multiread(9) | NAME eeprom_93cx6_multiread - Read multiple words from eeprom
SYNOPSIS void eeprom_93cx6_multiread (struct eeprom_93cx6 *eeprom , const u8 word , __le16 *data , const u16 words );
ARGUMENTS eeprom Pointer to eeprom structure
word Word index from where we should start reading
data ta... |
eeprom_93cx6_multireadb(9) | NAME eeprom_93cx6_multireadb - Read multiple bytes from eeprom
SYNOPSIS void eeprom_93cx6_multireadb (struct eeprom_93cx6 *eeprom , const u8 byte , u8 *data , const u16 bytes );
ARGUMENTS eeprom Pointer to eeprom structure
byte Index from where we should start reading
data target po... |
eeprom_93cx6_read(9) | NAME eeprom_93cx6_read - Read a word from eeprom
SYNOPSIS void eeprom_93cx6_read (struct eeprom_93cx6 *eeprom , const u8 word , u16 *data );
ARGUMENTS eeprom Pointer to eeprom structure
word Word index from where we should start reading
data target pointer where the information will... |
eeprom_93cx6_readb(9) | NAME eeprom_93cx6_readb - Read a byte from eeprom
SYNOPSIS void eeprom_93cx6_readb (struct eeprom_93cx6 *eeprom , const u8 byte , u8 *data );
ARGUMENTS eeprom Pointer to eeprom structure
byte Byte index from where we should start reading
data target pointer where the information wil... |
eeprom_93cx6_wren(9) | NAME eeprom_93cx6_wren - set the write enable state
SYNOPSIS void eeprom_93cx6_wren (struct eeprom_93cx6 *eeprom , bool enable );
ARGUMENTS eeprom Pointer to eeprom structure
enable true to enable writes, otherwise disable writes
DESCRIPTION Set the EEPROM write enable state to either allow or deny... |
eeprom_93cx6_write(9) | NAME eeprom_93cx6_write - write data to the EEPROM
SYNOPSIS void eeprom_93cx6_write (struct eeprom_93cx6 *eeprom , u8 addr , u16 data );
ARGUMENTS eeprom Pointer to eeprom structure
addr Address to write data to.
data The data to write to address addr.
DESCRIPTION Write the data to... |
eeprom_index_to_delay(9) | NAME eeprom_index_to_delay - Take the eeprom delay setting and convert it into a number of seconds.
SYNOPSIS void eeprom_index_to_delay (struct NvRamType *eeprom );
ARGUMENTS eeprom The eeprom structure in which we find the delay index to map.
SEE ALSO Kernel file ./drivers/scsi/dc395x.c set_safe_settings(9)... |
eeprom_override(9) | NAME eeprom_override - Override the eeprom settings, in the provided eeprom structure, with values that have been set on the command line.
SYNOPSIS void eeprom_override (struct NvRamType *eeprom );
ARGUMENTS eeprom The eeprom data to override with command line options.
SEE ALSO Kernel file ./drivers/scsi/dc39... |
eeprom_read(9) | NAME eeprom_read - read from AT93C46 EEPROM
SYNOPSIS u16 eeprom_read (struct ksz_hw *hw , u8 reg );
ARGUMENTS hw The hardware instance.
reg The register offset.
DESCRIPTION This function reads a word from the AT93C46 EEPROM. Return the data value.
SEE ALSO Kernel file ./drivers/net/ether... |
eeprom_write(9) | NAME eeprom_write - write to AT93C46 EEPROM
SYNOPSIS void eeprom_write (struct ksz_hw *hw , u8 reg , u16 data );
ARGUMENTS hw The hardware instance.
reg The register offset.
data The data value.
DESCRIPTION This procedure writes a word to the AT93C46 EEPROM.
SEE ALSO Kernel ... |
ef4_ethtool_fill_self_tests(9) | NAME ef4_ethtool_fill_self_tests - get self-test details
SYNOPSIS int ef4_ethtool_fill_self_tests (struct ef4_nic *efx , struct ef4_self_tests *tests , u8 *strings , u64 *data );
ARGUMENTS efx Efx NIC
tests Efx self-test results structure, or NULL
strings Ethtool strings, or NULL
... |
ef4_fast_push_rx_descriptors(9) | NAME ef4_fast_push_rx_descriptors - push new RX descriptors quickly
SYNOPSIS void ef4_fast_push_rx_descriptors (struct ef4_rx_queue *rx_queue , bool atomic );
ARGUMENTS rx_queue RX descriptor queue
atomic control memory allocation flags
DESCRIPTION This will aim to fill the RX descriptor queue up to... |
ef4_fill_loopback_test(9) | NAME ef4_fill_loopback_test - fill in a block of loopback self-test entries
SYNOPSIS int ef4_fill_loopback_test (struct ef4_nic *efx , struct ef4_loopback_self_tests *lb_tests , enum ef4_loopback_mode mode , unsigned int test_index , u8 *strings , u64 *data );
ARGUMENTS efx Efx NIC
lb_tests Efx loo... |
ef4_fill_test(9) | NAME ef4_fill_test - fill in an individual self-test entry
SYNOPSIS void ef4_fill_test (unsigned int test_index , u8 *strings , u64 *data , int *test , const char *unit_format , int unit_id , const char *test_format , const char *test_id );
ARGUMENTS test_index Index of the test
strings Ethtool strings, ... |
ef4_filter_get_filter_safe(9) | NAME ef4_filter_get_filter_safe - retrieve a filter by ID, carefully
SYNOPSIS int ef4_filter_get_filter_safe (struct ef4_nic *efx , enum ef4_filter_priority priority , u32 filter_id , struct ef4_filter_spec *spec );
ARGUMENTS efx NIC from which to remove the filter
priority Priority of filter, as p... |
ef4_filter_insert_filter(9) | NAME ef4_filter_insert_filter - add or replace a filter
SYNOPSIS s32 ef4_filter_insert_filter (struct ef4_nic *efx , struct ef4_filter_spec *spec , bool replace_equal );
ARGUMENTS efx NIC in which to insert the filter
spec Specification for the filter
replace_equal
Fl... |
ef4_filter_is_mc_recipient(9) | NAME ef4_filter_is_mc_recipient - test whether spec is a multicast recipient
SYNOPSIS bool ef4_filter_is_mc_recipient (const struct ef4_filter_spec *spec );
ARGUMENTS spec Specification to test
RETURN true if the specification is a non-drop RX filter that matches a local MAC address I/G bit value of 1 or matc... |
ef4_filter_remove_id_safe(9) | NAME ef4_filter_remove_id_safe - remove a filter by ID, carefully
SYNOPSIS int ef4_filter_remove_id_safe (struct ef4_nic *efx , enum ef4_filter_priority priority , u32 filter_id );
ARGUMENTS efx NIC from which to remove the filter
priority Priority of filter, as passed to ef4_filter_insert_filter
... |
ef4_filter_set_eth_local(9) | NAME ef4_filter_set_eth_local - specify local Ethernet address and/or VID
SYNOPSIS int ef4_filter_set_eth_local (struct ef4_filter_spec *spec , u16 vid , const u8 *addr );
ARGUMENTS spec Specification to initialise
vid Outer VLAN ID to match, or EF4_FILTER_VID_UNSPEC
addr Local E... |
ef4_filter_set_ipv4_full(9) | NAME ef4_filter_set_ipv4_full - specify IPv4 hosts, transport protocol and ports
SYNOPSIS int ef4_filter_set_ipv4_full (struct ef4_filter_spec *spec , u8 proto , __be32 lhost , __be16 lport , __be32 rhost , __be16 rport );
ARGUMENTS spec Specification to initialise
proto Transport layer protocol ... |
ef4_filter_set_ipv4_local(9) | NAME ef4_filter_set_ipv4_local - specify IPv4 host, transport protocol and port
SYNOPSIS int ef4_filter_set_ipv4_local (struct ef4_filter_spec *spec , u8 proto , __be32 host , __be16 port );
ARGUMENTS spec Specification to initialise
proto Transport layer protocol number
host Local... |
ef4_filter_set_mc_def(9) | NAME ef4_filter_set_mc_def - specify matching otherwise-unmatched multicast
SYNOPSIS int ef4_filter_set_mc_def (struct ef4_filter_spec *spec );
ARGUMENTS spec Specification to initialise
SEE ALSO Kernel file ./drivers/net/ethernet/sfc/falcon/filter.h enum ef4_filter_match_flags(9), enum ef4_filter_pri... |
ef4_filter_set_uc_def(9) | NAME ef4_filter_set_uc_def - specify matching otherwise-unmatched unicast
SYNOPSIS int ef4_filter_set_uc_def (struct ef4_filter_spec *spec );
ARGUMENTS spec Specification to initialise
SEE ALSO Kernel file ./drivers/net/ethernet/sfc/falcon/filter.h enum ef4_filter_match_flags(9), enum ef4_filter_prior... |
ef4_init_rx_buffers(9) | NAME ef4_init_rx_buffers - create EF4_RX_BATCH page-based RX buffers
SYNOPSIS int ef4_init_rx_buffers (struct ef4_rx_queue *rx_queue , bool atomic );
ARGUMENTS rx_queue Efx RX queue
atomic control memory allocation flags
DESCRIPTION This allocates a batch of pages, maps them for DMA, and populates st... |
ef4_mdio_an_reconfigure(9) | NAME ef4_mdio_an_reconfigure - Push advertising flags and restart autonegotiation
SYNOPSIS void ef4_mdio_an_reconfigure (struct ef4_nic *efx );
ARGUMENTS efx Efx NIC
SEE ALSO Kernel file ./drivers/net/ethernet/sfc/falcon/mdio_10g.c ef4_mdio_set_link_ksettings(9)
April 2026 ... |
ef4_mdio_set_link_ksettings(9) | NAME ef4_mdio_set_link_ksettings - Set (some of) the PHY settings over MDIO.
SYNOPSIS int ef4_mdio_set_link_ksettings (struct ef4_nic *efx , const struct ethtool_link_ksettings *cmd );
ARGUMENTS efx Efx NIC
cmd New settings
SEE ALSO Kernel file ./drivers/net/ethernet/sfc/falcon/mdio_10g.c ef4... |
ef4_nic_describe_stats(9) | NAME ef4_nic_describe_stats - Describe supported statistics for ethtool
SYNOPSIS size_t ef4_nic_describe_stats (const struct ef4_hw_stat_desc *desc , size_t count , const unsigned long *mask , u8 **names );
ARGUMENTS desc Array of struct ef4_hw_stat_desc describing the statistics
count Length of ... |
ef4_nic_update_stats(9) | NAME ef4_nic_update_stats - Convert statistics DMA buffer to array of u64
SYNOPSIS void ef4_nic_update_stats (const struct ef4_hw_stat_desc *desc , size_t count , const unsigned long *mask , u64 *stats , const void *dma_buf , bool accumulate );
ARGUMENTS desc Array of struct ef4_hw_stat_desc describing the DMA... |
efa_com_admin_destroy(9) | NAME efa_com_admin_destroy - Destroy the admin and the async events queues.
SYNOPSIS void efa_com_admin_destroy (struct efa_com_dev *edev );
ARGUMENTS edev EFA communication layer struct
SEE ALSO Kernel file ./drivers/infiniband/hw/efa/efa_com.c efa_com_cmd_exec(9), efa_com_set_admin_polling_mode(9), ... |
efa_com_admin_init(9) | NAME efa_com_admin_init - Init the admin and the async queues
SYNOPSIS int efa_com_admin_init (struct efa_com_dev *edev , struct efa_aenq_handlers *aenq_handlers );
ARGUMENTS edev EFA communication layer struct
aenq_handlers
Those handlers to be called upon event.
DESCRIPTION Initia... |
efa_com_admin_q_comp_intr_handler(9) | NAME efa_com_admin_q_comp_intr_handler - admin queue interrupt handler
SYNOPSIS void efa_com_admin_q_comp_intr_handler (struct efa_com_dev *edev );
ARGUMENTS edev EFA communication layer struct
DESCRIPTION This method goes over the admin completion queue and wakes up all the pending threads that wait on the c... |
efa_com_aenq_intr_handler(9) | NAME efa_com_aenq_intr_handler - AENQ interrupt handler
SYNOPSIS void efa_com_aenq_intr_handler (struct efa_com_dev *edev , void *data );
ARGUMENTS edev EFA communication layer struct
data Data of interrupt handler.
DESCRIPTION Go over the async event notification queue and call the proper aenq... |
efa_com_cmd_exec(9) | NAME efa_com_cmd_exec - Execute admin command
SYNOPSIS int efa_com_cmd_exec (struct efa_com_admin_queue *aq , struct efa_admin_aq_entry *cmd , size_t cmd_size , struct efa_admin_acq_entry *comp , size_t comp_size );
ARGUMENTS aq admin queue.
cmd the admin command to execute.
cmd_size ... |
efa_com_dev_reset(9) | NAME efa_com_dev_reset - Perform device FLR to the device.
SYNOPSIS int efa_com_dev_reset (struct efa_com_dev *edev , enum efa_regs_reset_reason_types reset_reason );
ARGUMENTS edev EFA communication layer struct
reset_reason
Specify what is the trigger for the reset in case of an er... |
efa_com_get_dma_width(9) | NAME efa_com_get_dma_width - Retrieve physical dma address width the device supports.
SYNOPSIS int efa_com_get_dma_width (struct efa_com_dev *edev );
ARGUMENTS edev EFA communication layer struct
DESCRIPTION Retrieve the maximum physical address bits the device can handle.
RETURN > 0 on Success and negative ... |
efa_com_set_admin_polling_mode(9) | NAME efa_com_set_admin_polling_mode - Set the admin completion queue polling mode
SYNOPSIS void efa_com_set_admin_polling_mode (struct efa_com_dev *edev , bool polling );
ARGUMENTS edev EFA communication layer struct
polling Enable/Disable polling mode
DESCRIPTION Set the admin completion mode.
S... |
efar_cable_detect(9) | NAME efar_cable_detect - check for 40/80 pin
SYNOPSIS int efar_cable_detect (struct ata_port *ap );
ARGUMENTS ap Port
DESCRIPTION Perform cable detection for the EFAR ATA interface. This is different to the PIIX arrangement
SEE ALSO Kernel file ./drivers/ata/pata_efar.c efar_pre_reset(9), efar_set_piomode(... |
efar_init_one(9) | NAME efar_init_one - Register EFAR ATA PCI device with kernel services
SYNOPSIS int efar_init_one (struct pci_dev *pdev , const struct pci_device_id *ent );
ARGUMENTS pdev PCI device to register
ent Entry in efar_pci_tbl matching with pdev
DESCRIPTION Called from kernel PCI layer. LOCKING: In... |
efar_pre_reset(9) | NAME efar_pre_reset - Enable bits
SYNOPSIS int efar_pre_reset (struct ata_link *link , unsigned long deadline );
ARGUMENTS link ATA link
deadline deadline jiffies for the operation
DESCRIPTION Perform cable detection for the EFAR ATA interface. This is different to the PIIX arrangement
SEE ALSO Ke... |
efar_set_dmamode(9) | NAME efar_set_dmamode - Initialize host controller PATA DMA timings
SYNOPSIS void efar_set_dmamode (struct ata_port *ap , struct ata_device *adev );
ARGUMENTS ap Port whose timings we are configuring
adev Device to program
DESCRIPTION Set UDMA/MWDMA mode for device, in host controller PCI con... |
efar_set_piomode(9) | NAME efar_set_piomode - Initialize host controller PATA PIO timings
SYNOPSIS void efar_set_piomode (struct ata_port *ap , struct ata_device *adev );
ARGUMENTS ap Port whose timings we are configuring
adev Device to program
DESCRIPTION Set PIO mode for device, in host controller PCI config spa... |
efc_sm_post_event(9) | NAME efc_sm_post_event - Post an event to a context.
SYNOPSIS int efc_sm_post_event (struct efc_sm_ctx *ctx , enum efc_sm_event evt , void *data );
ARGUMENTS ctx State machine context
evt Event to post
data Event-specific data (if any)
SEE ALSO Kernel file ./drivers/scsi/elx/li... |
efct_els_hw_srrs_send(9) | NAME efct_els_hw_srrs_send - Send a single request and response cmd.
SYNOPSIS int efct_els_hw_srrs_send (struct efc *efc , struct efc_disc_io *io );
ARGUMENTS efc efc library structure
io Discovery IO used to hold els and ct cmd context.
DESCRIPTION This routine supports communication sequen... |
efct_pci_io_error_detected(9) | NAME efct_pci_io_error_detected - method for handling PCI I/O error
SYNOPSIS pci_ers_result_t efct_pci_io_error_detected (struct pci_dev *pdev , pci_channel_state_t state );
ARGUMENTS pdev pointer to PCI device.
state the current PCI connection state.
DESCRIPTION This routine is registered to ... |
effhash(9) | NAME effhash - hash function for 29 bit CAN identifier reduction
SYNOPSIS unsigned int effhash (canid_t can_id );
ARGUMENTS can_id 29 bit CAN identifier
DESCRIPTION To reduce the linear traversal in one linked list of _single_ EFF CAN frame subscriptions the 29 bit identifier is mapped to 10 bits. (see CAN_EFF... |
efi_allocate_pages(9) | NAME efi_allocate_pages - Allocate memory pages
SYNOPSIS efi_status_t efi_allocate_pages (unsigned long size , unsigned long *addr , unsigned long max );
ARGUMENTS size minimum number of bytes to allocate
addr On return the address of the first allocated page. The first allocated page has alignm... |
efi_allocate_pages_aligned(9) | NAME efi_allocate_pages_aligned - Allocate memory pages
SYNOPSIS efi_status_t efi_allocate_pages_aligned (unsigned long size , unsigned long *addr , unsigned long max , unsigned long align , int memory_type );
ARGUMENTS size minimum number of bytes to allocate
addr On return the address of the f... |
efi_capsule_open(9) | NAME efi_capsule_open - called by file open
SYNOPSIS int efi_capsule_open (struct inode *inode , struct file *file );
ARGUMENTS inode not used
file file pointer
DESCRIPTION Will allocate each capsule_info memory for each file open call. This provided the capability to support multiple file open... |
efi_capsule_pending(9) | NAME efi_capsule_pending - has a capsule been passed to the firmware?
SYNOPSIS bool efi_capsule_pending (int *reset_type );
ARGUMENTS reset_type store the type of EFI reset if capsule is pending
DESCRIPTION To ensure that the registered capsule is processed correctly by the firmware we need to perform a specific t... |
efi_capsule_release(9) | NAME efi_capsule_release - called by file close
SYNOPSIS int efi_capsule_release (struct inode *inode , struct file *file );
ARGUMENTS inode not used
file file pointer
DESCRIPTION We will not free successfully submitted pages since efi update requires data to be maintained across system reboot.
... |
efi_capsule_setup_info(9) | NAME efi_capsule_setup_info - obtain the efi capsule header in the binary and setup capsule_info structure
SYNOPSIS int efi_capsule_setup_info (struct capsule_info *cap_info , void *kbuff , size_t hdr_bytes );
ARGUMENTS cap_info pointer to current instance of capsule_info structure
kbuff a mapped fir... |
efi_capsule_submit_update(9) | NAME efi_capsule_submit_update - invoke the efi_capsule_update API once binary upload done
SYNOPSIS ssize_t efi_capsule_submit_update (struct capsule_info *cap_info );
ARGUMENTS cap_info pointer to current instance of capsule_info structure
SEE ALSO Kernel file ./drivers/firmware/efi/capsule-loader.c efi_free_all... |
efi_capsule_supported(9) | NAME efi_capsule_supported - does the firmware support the capsule?
SYNOPSIS int efi_capsule_supported (efi_guid_t guid , u32 flags , size_t size , int *reset );
ARGUMENTS guid vendor guid of capsule
flags capsule flags
size size of capsule data
reset the reset type r... |
efi_capsule_update(9) | NAME efi_capsule_update - send a capsule to the firmware
SYNOPSIS int efi_capsule_update (efi_capsule_header_t *capsule , phys_addr_t *pages );
ARGUMENTS capsule capsule to send to firmware
pages an array of capsule data pages
DESCRIPTION Build a scatter gather list with EFI capsule block descrip... |
efi_capsule_update_locked(9) | NAME efi_capsule_update_locked - pass a single capsule to the firmware
SYNOPSIS int efi_capsule_update_locked (efi_capsule_header_t *capsule , struct page **sg_pages , int reset );
ARGUMENTS capsule capsule to send to the firmware
sg_pages array of scatter gather (block descriptor) pages
reset ... |
efi_capsule_write(9) | NAME efi_capsule_write - store the capsule binary and pass it to efi_capsule_update() API
SYNOPSIS ssize_t efi_capsule_write (struct file *file , const char __user *buff , size_t count , loff_t *offp );
ARGUMENTS file file pointer
buff buffer pointer
count number of bytes in buff
... |
efi_char16_puts(9) | NAME efi_char16_puts - Write a UCS-2 encoded string to the console
SYNOPSIS void efi_char16_puts (efi_char16_t *str );
ARGUMENTS str UCS-2 encoded string
SEE ALSO Kernel file ./drivers/firmware/efi/libstub/printk.c efi_puts(9), efi_printk(9)
April 2026 ... |
efi_crc32(9) | NAME efi_crc32 - EFI version of crc32 function
SYNOPSIS u32 efi_crc32 (const void *buf , unsigned long len );
ARGUMENTS buf buffer to calculate crc32 of
len length of buf
DESCRIPTION Returns EFI-style CRC32 value for buf This function uses the little endian Ethernet polynomial but seeds ... |
efi_exit_boot_services(9) | NAME efi_exit_boot_services - Exit boot services
SYNOPSIS efi_status_t efi_exit_boot_services (void *handle , void *priv , efi_exit_boot_map_processing priv_func );
ARGUMENTS handle handle of the exiting image
priv argument to be passed to priv_func
priv_func function to process the memo... |
efi_find_vendor_table(9) | NAME efi_find_vendor_table - Given EFI config table, search it for the physical address of the vendor table associated with GUID.
SYNOPSIS unsigned long efi_find_vendor_table (struct boot_params *bp , unsigned long cfg_tbl_pa , unsigned int cfg_tbl_len , efi_guid_t guid );
ARGUMENTS bp pointer to boot_params... |
efi_free(9) | NAME efi_free - free memory pages
SYNOPSIS void efi_free (unsigned long size , unsigned long addr );
ARGUMENTS size size of the memory area to free in bytes
addr start of the memory area to free (must be EFI_PAGE_SIZE aligned)
DESCRIPTION size is rounded up to a multiple of EFI_ALLOC_ALI... |
efi_free_all_buff_pages(9) | NAME efi_free_all_buff_pages - free all previous allocated buffer pages
SYNOPSIS void efi_free_all_buff_pages (struct capsule_info *cap_info );
ARGUMENTS cap_info pointer to current instance of capsule_info structure
DESCRIPTION In addition to freeing buffer pages, it flags NO_FURTHER_WRITE_ACTION to cease proces... |
efi_get_conf_table(9) | NAME efi_get_conf_table - Given a pointer to boot_params, locate and return the physical address of EFI configuration table.
SYNOPSIS int efi_get_conf_table (struct boot_params *bp , unsigned long *cfg_tbl_pa , unsigned int *cfg_tbl_len );
ARGUMENTS bp pointer to boot_params
cfg_tbl_pa location to s... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.