Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 3 files:
- drivers/net/ethernet/wangxun/libwx/wx_hw.c
- drivers/net/ethernet/wangxun/ngbe/ngbe_hw.c, line 28
- drivers/net/ethernet/wangxun/txgbe/txgbe_aml.c
Smatch caller information:
drivers/net/ethernet/wangxun/txgbe/txgbe_aml.c txgbe_identify_module_hostif() -> wx_host_interface_command()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | wx | 4096-ptr_max |
| PARAM_VALUE | 0 | wx->flags | 4096-ptr_max |
| PARAM_VALUE | 0 | wx->state | 4096-ptr_max |
| PARAM_VALUE | 1 | buffer | 350465930212990976 |
| PARAM_VALUE | 2 | length | 20 |
| PARAM_VALUE | 3 | timeout | 1000 |
| PARAM_VALUE | 4 | return_data | 1 |
| DATA_SOURCE | 0 | wx | $0 |
| DATA_SOURCE | 1 | buffer | $1 |
| UNITS | 2 | length | unit_byte |
| HALF_LOCKED2 | &pool->lock |
drivers/net/ethernet/wangxun/txgbe/txgbe_aml.c txgbe_read_eeprom_hostif() -> wx_host_interface_command()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | wx | 4096-ptr_max |
| PARAM_VALUE | 0 | wx->flags | 4096-ptr_max |
| PARAM_VALUE | 1 | buffer | 589416136113258496 |
| PARAM_VALUE | 2 | length | 16 |
| PARAM_VALUE | 3 | timeout | 1000 |
| PARAM_VALUE | 4 | return_data | 0 |
| DATA_SOURCE | 0 | wx | $0 |
| DATA_SOURCE | 1 | buffer | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 2 | length | unit_byte |
| HALF_LOCKED2 | &pool->lock |
drivers/net/ethernet/wangxun/txgbe/txgbe_aml.c txgbe_set_phy_link_hostif() -> wx_host_interface_command()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | wx | 4096-ptr_max |
| PARAM_VALUE | 0 | wx->flags | 4096-ptr_max |
| PARAM_VALUE | 0 | wx->state | 4096-ptr_max |
| PARAM_VALUE | 1 | buffer | 9095563146084724736 |
| PARAM_VALUE | 2 | length | 12 |
| PARAM_VALUE | 3 | timeout | 1000 |
| PARAM_VALUE | 4 | return_data | 0 |
| BUF_SIZE | 1 | buffer | 12 |
| DATA_SOURCE | 0 | wx | $0 |
| UNITS | 2 | length | unit_byte |
| HALF_LOCKED2 | &pool->lock |
drivers/net/ethernet/wangxun/txgbe/txgbe_aml.c txgbe_test_hostif() -> wx_host_interface_command()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | wx | 4096-ptr_max |
| PARAM_VALUE | 0 | wx->adapter_stopped | 1 |
| PARAM_VALUE | 0 | wx->adaptive_itr | 1 |
| PARAM_VALUE | 0 | wx->addr_ctrl.mta_in_use | 0 |
| PARAM_VALUE | 0 | wx->atr | 167487979984236544 |
| PARAM_VALUE | 0 | wx->atr_sample_rate | 20 |
| PARAM_VALUE | 0 | wx->bus.device | 0-31 |
| PARAM_VALUE | 0 | wx->configure_fdir | 4367057846471323648 |
| PARAM_VALUE | 0 | wx->do_reset | 6732994678678892544 |
| PARAM_VALUE | 0 | wx->down_suspend | 4828755882846502912 |
| PARAM_VALUE | 0 | wx->driver_name | 9099936307619065856 |
| PARAM_VALUE | 0 | wx->eeprom.semaphore_delay | 10 |
| PARAM_VALUE | 0 | wx->eeprom.sw_region_offset | 0-s16max |
| PARAM_VALUE | 0 | wx->eeprom.type | 1-u32max |
| PARAM_VALUE | 0 | wx->eeprom.word_size | 2048 |
| PARAM_VALUE | 0 | wx->flags | 4096-ptr_max |
| PARAM_VALUE | 0 | wx->hw_addr | 4096-ptr_max |
| PARAM_VALUE | 0 | wx->last_stats.lxoffrxc | 0 |
| PARAM_VALUE | 0 | wx->last_stats.lxonrxc | 0 |
| PARAM_VALUE | 0 | wx->mac.max_msix_vectors | 1 |
| PARAM_VALUE | 0 | wx->mac.max_rx_queues | 128 |
| PARAM_VALUE | 0 | wx->mac.max_tx_queues | 128 |
| PARAM_VALUE | 0 | wx->mac.mcft_size | 128 |
| PARAM_VALUE | 0 | wx->mac.num_rar_entries | 128 |
| PARAM_VALUE | 0 | wx->mac.rx_pb_size | 512 |
| PARAM_VALUE | 0 | wx->mac.sensor.alarm_thresh | 0,100 |
| PARAM_VALUE | 0 | wx->mac.sensor.dalarm_thresh | 0,90 |
| PARAM_VALUE | 0 | wx->mac.sensor.temp | 0 |
| PARAM_VALUE | 0 | wx->mac.tx_pb_size | 163840 |
| PARAM_VALUE | 0 | wx->mac.type | 0,3-4 |
| PARAM_VALUE | 0 | wx->mac.vft_size | 128 |
| PARAM_VALUE | 0 | wx->mac_table | 4096-ptr_max |
| PARAM_VALUE | 0 | wx->max_q_vectors | 64 |
| PARAM_VALUE | 0 | wx->mbx.mbx_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | wx->mbx.size | 15 |
| PARAM_VALUE | 0 | wx->media_type | 0-3 |
| PARAM_VALUE | 0 | wx->misc_irq_domain | 0 |
| PARAM_VALUE | 0 | wx->msg_enable | 7 |
| PARAM_VALUE | 0 | wx->msix_entry | 0,4096-ptr_max |
| PARAM_VALUE | 0 | wx->msix_q_entries | 0,16,4096-ptr_max |
| PARAM_VALUE | 0 | wx->netdev | 4096-ptr_max |
| PARAM_VALUE | 0 | wx->netdev->dev.parent | 4096-ptr_max |
| PARAM_VALUE | 0 | wx->netdev->lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | wx->netdev->lock.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | wx->netdev->lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | wx->netdev->lock.first_waiter->list.prev->prev | 5159360019465732096 |
| PARAM_VALUE | 0 | wx->netdev->lock.first_waiter->task->blocked_lock.owner | (-1) |
| PARAM_VALUE | 0 | wx->netdev->lock.first_waiter->task->blocked_lock.owner_cpu | 4294967295 |
| PARAM_VALUE | 0 | wx->netdev->lock.first_waiter->task->blocked_lock.raw_lock.val.counter | s32min-s32max |
| PARAM_VALUE | 0 | wx->netdev->lock.first_waiter->task->usage.refs.counter | s32min-s32max |
| PARAM_VALUE | 0 | wx->netdev->lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | wx->netdev->threaded | 0 |
| PARAM_VALUE | 0 | wx->num_rx_queues | 0-131070,261124-262140 |
| PARAM_VALUE | 0 | wx->num_tx_queues | 0-131070,261124-262140 |
| PARAM_VALUE | 0 | wx->pdev | 4096-ptr_max |
| PARAM_VALUE | 0 | wx->pdev->bus | 4096-ptr_max |
| PARAM_VALUE | 0 | wx->pdev->dev.bus | 0,4096-ptr_max |
| PARAM_VALUE | 0 | wx->pdev->dev.class | 0,4096-ptr_max |
| PARAM_VALUE | 0 | wx->pdev->dev.devres_head.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | wx->pdev->dev.devres_head.prev->next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | wx->pdev->dev.driver | 0,4096-ptr_max |
| PARAM_VALUE | 0 | wx->pdev->dev.msi.data->__iter_idx | 0-s64max |
| PARAM_VALUE | 0 | wx->pdev->dev.msi.domain | 4096-ptr_max |
| PARAM_VALUE | 0 | wx->pdev->driver | 4096-ptr_max |
| PARAM_VALUE | 0 | wx->pdev->error_state | 0-2,4-u32max |
| PARAM_VALUE | 0 | wx->pdev->irq | 1-u32max |
| PARAM_VALUE | 0 | wx->pdev->is_busmaster | 1 |
| PARAM_VALUE | 0 | wx->pdev->is_msi_managed | 1 |
| PARAM_VALUE | 0 | wx->pdev->msix_base | 4096-ptr_max |
| PARAM_VALUE | 0 | wx->pdev->msix_enabled | 1 |
| PARAM_VALUE | 0 | wx->pdev->pcie_cap | 0-1 |
| PARAM_VALUE | 0 | wx->pdev->sriov->offset | 0-u16max |
| PARAM_VALUE | 0 | wx->pdev->sriov->stride | 0-u16max |
| PARAM_VALUE | 0 | wx->queues_per_pool | 0-2,4 |
| PARAM_VALUE | 0 | wx->reset_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | wx->reset_lock.first_waiter | 0 |
| PARAM_VALUE | 0 | wx->reset_lock.magic | 4096-ptr_max |
| PARAM_VALUE | 0 | wx->reset_lock.osq.tail.counter | 0 |
| PARAM_VALUE | 0 | wx->reset_lock.owner.counter | 0 |
| PARAM_VALUE | 0 | wx->reset_wq | 4096-ptr_max |
| PARAM_VALUE | 0 | wx->rss_enabled | 1 |
| PARAM_VALUE | 0 | wx->rss_flags | 51 |
| PARAM_VALUE | 0 | wx->rss_key | 1-u64max |
| PARAM_VALUE | 0 | wx->rx_itr_setting | 1 |
| PARAM_VALUE | 0 | wx->rx_ring_count | 512 |
| PARAM_VALUE | 0 | wx->rx_work_limit | 256 |
| PARAM_VALUE | 0 | wx->service_timer.entry.pprev | 0 |
| PARAM_VALUE | 0 | wx->service_timer.flags | 0-4194302 |
| PARAM_VALUE | 0 | wx->service_timer.lockdep_map->name | 0-255 |
| PARAM_VALUE | 0 | wx->setup_tc | 1015068515285028864 |
| PARAM_VALUE | 0 | wx->state | 4096-ptr_max |
| PARAM_VALUE | 0 | wx->tx_itr_setting | 1 |
| PARAM_VALUE | 0 | wx->tx_ring_count | 512 |
| PARAM_VALUE | 0 | wx->tx_work_limit | 256 |
| PARAM_VALUE | 0 | *wx->last_stats.qmprc | 0 |
| PARAM_VALUE | 0 | *wx->mac.addr | 0-255 |
| PARAM_VALUE | 0 | *wx->mac.perm_addr | 0-255 |
| PARAM_VALUE | 0 | *wx->netdev->name | 0-255 |
| PARAM_VALUE | 0 | *wx->rss_key | 0-255 |
| PARAM_VALUE | 1 | buffer | 8072675665346818048 |
| PARAM_VALUE | 2 | length | 16 |
| PARAM_VALUE | 3 | timeout | 1000 |
| PARAM_VALUE | 4 | return_data | 0 |
| BUF_SIZE | 0 | wx->driver_name | 6 |
| BUF_SIZE | 0 | wx->pdev | (-1),16,24,40,56,108-1096,1384,1600,1616,1752,2072,2576,7472,8064 |
| BUF_SIZE | 1 | buffer | 16 |
| DATA_SOURCE | 0 | wx | $0 |
| STR_LEN | 0 | wx->eeprom_id | 31 |
| TERMINATED | 0 | wx->node.name | 1 |
| MEM_ZERO | 0 | wx->flags | |
| MEM_ZERO | 0 | wx->state | |
| MEM_ZERO | 0 | &wx->mac.sensor | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HOST_DATA | 0 | wx->bus.device | 0-30[c] |
| HOST_DATA | 0 | wx->bus.func | 0-255[c] |
| HOST_DATA | 0 | wx->device_id | 0-u16max |
| HOST_DATA | 0 | wx->eeprom.sw_region_offset | 0-s16max |
| HOST_DATA | 0 | wx->mac.max_msix_vectors | 1[c] |
| HOST_DATA | 0 | wx->mbx.mailbox | 0-u32max[c] |
| HOST_DATA | 0 | wx->msix_entry->entry | 0-u16max[c] |
| HOST_DATA | 0 | wx->num_q_vectors | 1-s32max[c] |
| HOST_DATA | 0 | wx->oem_ssid | 0-u16max |
| HOST_DATA | 0 | wx->pdev->acs_capabilities | 0-u16max |
| HOST_DATA | 0 | wx->pdev->class | 0-16777215 |
| HOST_DATA | 0 | wx->pdev->current_state | 0-3[c] |
| HOST_DATA | 0 | wx->pdev->devcap | 0-u32max |
| HOST_DATA | 0 | wx->pdev->devfn | 0-503[c] |
| HOST_DATA | 0 | wx->pdev->device | 0-u16max |
| HOST_DATA | 0 | wx->pdev->eetlp_prefix_max | 0-7[c] |
| HOST_DATA | 0 | wx->pdev->fm_enabled | 0-1[c] |
| HOST_DATA | 0 | wx->pdev->hdr_type | 0-255[c] |
| HOST_DATA | 0 | wx->pdev->ide_cfg | 0-1[c] |
| HOST_DATA | 0 | wx->pdev->ide_tee_limit | 0-1[c] |
| HOST_DATA | 0 | wx->pdev->irq | 1-255 |
| HOST_DATA | 0 | wx->pdev->is_cxl | 0-1 |
| HOST_DATA | 0 | wx->pdev->multifunction | 0-1[c] |
| HOST_DATA | 0 | wx->pdev->nr_ide_mem | 0-255[c] |
| HOST_DATA | 0 | wx->pdev->pcie_flags_reg | 0-u16max |
| HOST_DATA | 0 | wx->pdev->pcie_mpss | 0-7[c] |
| HOST_DATA | 0 | wx->pdev->pin | 0 |
| HOST_DATA | 0 | wx->pdev->pme_support | 0-31[c] |
| HOST_DATA | 0 | wx->pdev->ptm_granularity | 0-255[c] |
| HOST_DATA | 0 | wx->pdev->revision | 0-255 |
| HOST_DATA | 0 | wx->pdev->subsystem_device | 0-u16max |
| HOST_DATA | 0 | wx->pdev->subsystem_vendor | 0-u16max |
| HOST_DATA | 0 | wx->pdev->supported_speeds | 0,2-254[c] |
| HOST_DATA | 0 | wx->pdev->transparent | 0[c] |
| HOST_DATA | 0 | wx->pdev->vendor | 0-u16max |
| HOST_DATA | 0 | wx->revision_id | 0-255 |
| HOST_DATA | 0 | wx->subsystem_device_id | 0-u16max |
| HOST_DATA | 0 | wx->subsystem_vendor_id | 0-u16max |
| HOST_DATA | 0 | wx->vendor_id | 0-u16max |
| NO_OVERFLOW_SIMPLE | 0 | wx->mac.num_rar_entries | |
| NO_OVERFLOW_SIMPLE | 0 | wx->msix_entry->entry | |
| NO_OVERFLOW_SIMPLE | 0 | wx->num_q_vectors | |
| UNITS | 2 | length | unit_byte |
drivers/net/ethernet/wangxun/libwx/wx_hw.c wx_read_ee_hostif_buffer() -> wx_host_interface_command()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | wx | 4096-ptr_max |
| PARAM_VALUE | 0 | wx->adapter_stopped | 1 |
| PARAM_VALUE | 0 | wx->adaptive_itr | 1 |
| PARAM_VALUE | 0 | wx->addr_ctrl.mta_in_use | 0 |
| PARAM_VALUE | 0 | wx->atr | 167487979984236544 |
| PARAM_VALUE | 0 | wx->atr_sample_rate | 20 |
| PARAM_VALUE | 0 | wx->bus.device | 0-31 |
| PARAM_VALUE | 0 | wx->configure_fdir | 4367057846471323648 |
| PARAM_VALUE | 0 | wx->do_reset | 6732994678678892544 |
| PARAM_VALUE | 0 | wx->driver_name | 9099936307619065856 |
| PARAM_VALUE | 0 | wx->eeprom.semaphore_delay | 10 |
| PARAM_VALUE | 0 | wx->eeprom.type | 1-u32max |
| PARAM_VALUE | 0 | wx->eeprom.word_size | 2048 |
| PARAM_VALUE | 0 | wx->flags | 4096-ptr_max |
| PARAM_VALUE | 0 | wx->hw_addr | 4096-ptr_max |
| PARAM_VALUE | 0 | wx->last_stats.lxoffrxc | 0 |
| PARAM_VALUE | 0 | wx->last_stats.lxonrxc | 0 |
| PARAM_VALUE | 0 | wx->mac.max_msix_vectors | 1 |
| PARAM_VALUE | 0 | wx->mac.max_rx_queues | 128 |
| PARAM_VALUE | 0 | wx->mac.max_tx_queues | 128 |
| PARAM_VALUE | 0 | wx->mac.mcft_size | 128 |
| PARAM_VALUE | 0 | wx->mac.num_rar_entries | 128 |
| PARAM_VALUE | 0 | wx->mac.rx_pb_size | 512 |
| PARAM_VALUE | 0 | wx->mac.sensor.alarm_thresh | 0,100 |
| PARAM_VALUE | 0 | wx->mac.sensor.dalarm_thresh | 0,90 |
| PARAM_VALUE | 0 | wx->mac.sensor.temp | 0 |
| PARAM_VALUE | 0 | wx->mac.tx_pb_size | 163840 |
| PARAM_VALUE | 0 | wx->mac.type | 0-1,3-4 |
| PARAM_VALUE | 0 | wx->mac.vft_size | 128 |
| PARAM_VALUE | 0 | wx->mac_table | 16,4096-ptr_max |
| PARAM_VALUE | 0 | wx->max_q_vectors | 64 |
| PARAM_VALUE | 0 | wx->mbx.size | 15 |
| PARAM_VALUE | 0 | wx->media_type | 0-3 |
| PARAM_VALUE | 0 | wx->misc_irq_domain | 0 |
| PARAM_VALUE | 0 | wx->msg_enable | 7 |
| PARAM_VALUE | 0 | wx->netdev | 4096-ptr_max |
| PARAM_VALUE | 0 | wx->netdev->dev.parent | 4096-ptr_max |
| PARAM_VALUE | 0 | wx->pdev | 4096-ptr_max |
| PARAM_VALUE | 0 | wx->pdev->dev.bus | 0,4096-ptr_max |
| PARAM_VALUE | 0 | wx->pdev->dev.class | 0,4096-ptr_max |
| PARAM_VALUE | 0 | wx->pdev->dev.devres_head.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | wx->pdev->dev.dma_mask | 4096-ptr_max |
| PARAM_VALUE | 0 | wx->pdev->dev.driver | 0,4096-ptr_max |
| PARAM_VALUE | 0 | wx->pdev->driver | 4096-ptr_max |
| PARAM_VALUE | 0 | wx->pdev->error_state | 0-2,4-u32max |
| PARAM_VALUE | 0 | wx->pdev->is_busmaster | 1 |
| PARAM_VALUE | 0 | wx->pdev->pcie_cap | 0-1 |
| PARAM_VALUE | 0 | wx->reset_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | wx->reset_lock.first_waiter | 0 |
| PARAM_VALUE | 0 | wx->reset_lock.magic | 4096-ptr_max |
| PARAM_VALUE | 0 | wx->reset_lock.osq.tail.counter | 0 |
| PARAM_VALUE | 0 | wx->reset_lock.owner.counter | 0 |
| PARAM_VALUE | 0 | wx->rss_enabled | 1 |
| PARAM_VALUE | 0 | wx->rss_flags | 51 |
| PARAM_VALUE | 0 | wx->rss_key | 1-u64max |
| PARAM_VALUE | 0 | wx->rx_itr_setting | 1 |
| PARAM_VALUE | 0 | wx->rx_ring_count | 512 |
| PARAM_VALUE | 0 | wx->rx_work_limit | 256 |
| PARAM_VALUE | 0 | wx->setup_tc | 1015068515285028864 |
| PARAM_VALUE | 0 | wx->tx_itr_setting | 1 |
| PARAM_VALUE | 0 | wx->tx_ring_count | 512 |
| PARAM_VALUE | 0 | wx->tx_work_limit | 256 |
| PARAM_VALUE | 0 | *wx->last_stats.qmprc | 0 |
| PARAM_VALUE | 0 | *wx->mac.addr | 0-255 |
| PARAM_VALUE | 0 | *wx->mac.perm_addr | 0-255 |
| PARAM_VALUE | 0 | *wx->rss_key | 0-255 |
| PARAM_VALUE | 1 | buffer | 3719733865027551232 |
| PARAM_VALUE | 2 | length | 16 |
| PARAM_VALUE | 3 | timeout | 1000 |
| PARAM_VALUE | 4 | return_data | 0 |
| BUF_SIZE | 0 | wx->driver_name | 6 |
| BUF_SIZE | 0 | wx->pdev | (-1),1-s32max |
| BUF_SIZE | 1 | buffer | 16 |
| DATA_SOURCE | 0 | wx | $0 |
| TERMINATED | 0 | wx->node.name | 1 |
| MEM_ZERO | 0 | wx->flags | |
| MEM_ZERO | 0 | wx->state | |
| MEM_ZERO | 0 | &wx->mac.sensor | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HOST_DATA | 0 | wx->bus.func | 0-255[c] |
| HOST_DATA | 0 | wx->eeprom.sw_region_offset | 0-s16max |
| HOST_DATA | 0 | wx->mac.max_msix_vectors | 1[c] |
| HOST_DATA | 0 | wx->pdev->acs_capabilities | 0-u16max |
| HOST_DATA | 0 | wx->pdev->class | 0-16777215 |
| HOST_DATA | 0 | wx->pdev->current_state | 0-3[c] |
| HOST_DATA | 0 | wx->pdev->devcap | 0-u32max |
| HOST_DATA | 0 | wx->pdev->devfn | 0-503[c] |
| HOST_DATA | 0 | wx->pdev->device | 0-u16max |
| HOST_DATA | 0 | wx->pdev->eetlp_prefix_max | 0-7[c] |
| HOST_DATA | 0 | wx->pdev->fm_enabled | 0-1[c] |
| HOST_DATA | 0 | wx->pdev->hdr_type | 0-255[c] |
| HOST_DATA | 0 | wx->pdev->ide_cfg | 0-1[c] |
| HOST_DATA | 0 | wx->pdev->ide_tee_limit | 0-1[c] |
| HOST_DATA | 0 | wx->pdev->irq | 0-255 |
| HOST_DATA | 0 | wx->pdev->is_cxl | 0-1 |
| HOST_DATA | 0 | wx->pdev->multifunction | 0-1[c] |
| HOST_DATA | 0 | wx->pdev->nr_ide_mem | 0-255[c] |
| HOST_DATA | 0 | wx->pdev->pcie_mpss | 0-7[c] |
| HOST_DATA | 0 | wx->pdev->pin | 0 |
| HOST_DATA | 0 | wx->pdev->pme_support | 0-31[c] |
| HOST_DATA | 0 | wx->pdev->ptm_granularity | 0-255[c] |
| HOST_DATA | 0 | wx->pdev->revision | 0-255 |
| HOST_DATA | 0 | wx->pdev->subsystem_device | 0-u16max |
| HOST_DATA | 0 | wx->pdev->subsystem_vendor | 0-u16max |
| HOST_DATA | 0 | wx->pdev->supported_speeds | 0,2-254[c] |
| HOST_DATA | 0 | wx->pdev->transparent | 0[c] |
| HOST_DATA | 0 | wx->pdev->vendor | 0-u16max |
| HOST_DATA | 0 | wx->subsystem_device_id | 0-u16max |
| NO_OVERFLOW_SIMPLE | 0 | wx->mac.num_rar_entries | |
| UNITS | 2 | length | unit_byte |
| HALF_LOCKED2 | &pool->lock |
drivers/net/ethernet/wangxun/libwx/wx_hw.c wx_read_ee_hostif_data() -> wx_host_interface_command()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | wx | 4096-ptr_max |
| PARAM_VALUE | 0 | wx->adapter_stopped | 1 |
| PARAM_VALUE | 0 | wx->addr_ctrl.mta_in_use | 0 |
| PARAM_VALUE | 0 | wx->bus.device | 0-31 |
| PARAM_VALUE | 0 | wx->driver_name | 821991403443589120,9099936307619065856 |
| PARAM_VALUE | 0 | wx->flags | 4096-ptr_max |
| PARAM_VALUE | 0 | wx->hw_addr | 4096-ptr_max |
| PARAM_VALUE | 0 | wx->last_stats.lxoffrxc | 0 |
| PARAM_VALUE | 0 | wx->last_stats.lxonrxc | 0 |
| PARAM_VALUE | 0 | wx->mac.max_msix_vectors | 1 |
| PARAM_VALUE | 0 | wx->mac.max_rx_queues | 8,128 |
| PARAM_VALUE | 0 | wx->mac.max_tx_queues | 8,128 |
| PARAM_VALUE | 0 | wx->mac.mcft_size | 128 |
| PARAM_VALUE | 0 | wx->mac.num_rar_entries | 32,128 |
| PARAM_VALUE | 0 | wx->mac.rx_pb_size | 42,512 |
| PARAM_VALUE | 0 | wx->mac.tx_pb_size | 20480,163840 |
| PARAM_VALUE | 0 | wx->mac.type | 0-4 |
| PARAM_VALUE | 0 | wx->mac.vft_size | 128 |
| PARAM_VALUE | 0 | wx->mac_table | 16,4096-ptr_max |
| PARAM_VALUE | 0 | wx->max_q_vectors | 9,64 |
| PARAM_VALUE | 0 | wx->mbx.size | 15 |
| PARAM_VALUE | 0 | wx->misc_irq_domain | 0 |
| PARAM_VALUE | 0 | wx->msg_enable | 7 |
| PARAM_VALUE | 0 | wx->netdev->dev.parent | 4096-ptr_max |
| PARAM_VALUE | 0 | wx->pdev | 4096-ptr_max |
| PARAM_VALUE | 0 | wx->pdev->dev.bus | 0,4096-ptr_max |
| PARAM_VALUE | 0 | wx->pdev->dev.class | 0,4096-ptr_max |
| PARAM_VALUE | 0 | wx->pdev->dev.driver | 0,4096-ptr_max |
| PARAM_VALUE | 0 | wx->pdev->dev.msi.data->__iter_idx | 0-s64max |
| PARAM_VALUE | 0 | wx->pdev->driver | 4096-ptr_max |
| PARAM_VALUE | 0 | wx->pdev->error_state | 0-2,4-u32max |
| PARAM_VALUE | 0 | wx->pdev->is_busmaster | 1 |
| PARAM_VALUE | 0 | wx->pdev->pcie_cap | 0-1 |
| PARAM_VALUE | 0 | wx->reset_lock.first_waiter | 0 |
| PARAM_VALUE | 0 | wx->reset_lock.magic | 4096-ptr_max |
| PARAM_VALUE | 0 | wx->reset_lock.osq.tail.counter | 0 |
| PARAM_VALUE | 0 | wx->reset_lock.owner.counter | 0 |
| PARAM_VALUE | 0 | wx->rss_enabled | 1 |
| PARAM_VALUE | 0 | wx->rss_flags | 51 |
| PARAM_VALUE | 0 | wx->rss_key | 1-u64max |
| PARAM_VALUE | 0 | wx->rx_itr_setting | 1,595 |
| PARAM_VALUE | 0 | wx->rx_ring_count | 512 |
| PARAM_VALUE | 0 | wx->rx_work_limit | 256 |
| PARAM_VALUE | 0 | wx->setup_tc | 1015068515285028864,8417042797401718784 |
| PARAM_VALUE | 0 | wx->tx_itr_setting | 1,595 |
| PARAM_VALUE | 0 | wx->tx_ring_count | 512 |
| PARAM_VALUE | 0 | wx->tx_work_limit | 256 |
| PARAM_VALUE | 0 | *wx->last_stats.qmprc | 0 |
| PARAM_VALUE | 0 | *wx->mac.addr | 0-255 |
| PARAM_VALUE | 0 | *wx->mac.perm_addr | 0-255 |
| PARAM_VALUE | 0 | *wx->rss_key | 0-255 |
| PARAM_VALUE | 1 | buffer | 2226737417763598336 |
| PARAM_VALUE | 2 | length | 16 |
| PARAM_VALUE | 3 | timeout | 1000 |
| PARAM_VALUE | 4 | return_data | 0 |
| BUF_SIZE | 0 | wx->driver_name | 5-6 |
| BUF_SIZE | 0 | wx->pdev | (-1),1-s32max |
| BUF_SIZE | 1 | buffer | 16 |
| DATA_SOURCE | 0 | wx | $0 |
| HARD_MAX | 0 | wx->mac.max_rx_queues | 128 |
| HARD_MAX | 0 | wx->mac.max_tx_queues | 128 |
| HARD_MAX | 0 | wx->mac.num_rar_entries | 128 |
| HARD_MAX | 0 | wx->mac.rx_pb_size | 512 |
| HARD_MAX | 0 | wx->mac.tx_pb_size | 163840 |
| HARD_MAX | 0 | wx->max_q_vectors | 64 |
| HARD_MAX | 0 | wx->rx_itr_setting | 595 |
| HARD_MAX | 0 | wx->tx_itr_setting | 595 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HOST_DATA | 0 | wx->bus.device | 0-30[c] |
| HOST_DATA | 0 | wx->bus.func | 0-255[c] |
| HOST_DATA | 0 | wx->device_id | 0-u16max |
| HOST_DATA | 0 | wx->eeprom.sw_region_offset | 0-s16max |
| HOST_DATA | 0 | wx->mac.max_msix_vectors | 1[c] |
| HOST_DATA | 0 | wx->mbx.mailbox | 0-u32max[c] |
| HOST_DATA | 0 | wx->msix_entry->entry | 0-u16max[c] |
| HOST_DATA | 0 | wx->num_q_vectors | 1-s32max[c] |
| HOST_DATA | 0 | wx->oem_ssid | 0-u16max |
| HOST_DATA | 0 | wx->pdev->acs_capabilities | 0-u16max |
| HOST_DATA | 0 | wx->pdev->class | 0-16777215 |
| HOST_DATA | 0 | wx->pdev->current_state | 0-3[c] |
| HOST_DATA | 0 | wx->pdev->devcap | 0-u32max |
| HOST_DATA | 0 | wx->pdev->devfn | 0-503[c] |
| HOST_DATA | 0 | wx->pdev->device | 0-u16max |
| HOST_DATA | 0 | wx->pdev->eetlp_prefix_max | 0-7[c] |
| HOST_DATA | 0 | wx->pdev->fm_enabled | 0-1[c] |
| HOST_DATA | 0 | wx->pdev->hdr_type | 0-255[c] |
| HOST_DATA | 0 | wx->pdev->ide_cfg | 0-1[c] |
| HOST_DATA | 0 | wx->pdev->ide_tee_limit | 0-1[c] |
| HOST_DATA | 0 | wx->pdev->irq | 0-255 |
| HOST_DATA | 0 | wx->pdev->is_cxl | 0-1 |
| HOST_DATA | 0 | wx->pdev->multifunction | 0-1[c] |
| HOST_DATA | 0 | wx->pdev->nr_ide_mem | 0-255[c] |
| HOST_DATA | 0 | wx->pdev->pcie_flags_reg | 0-u16max |
| HOST_DATA | 0 | wx->pdev->pcie_mpss | 0-7[c] |
| HOST_DATA | 0 | wx->pdev->pin | 0 |
| HOST_DATA | 0 | wx->pdev->pme_support | 0-31[c] |
| HOST_DATA | 0 | wx->pdev->ptm_granularity | 0-255[c] |
| HOST_DATA | 0 | wx->pdev->revision | 0-255 |
| HOST_DATA | 0 | wx->pdev->subsystem_device | 0-u16max |
| HOST_DATA | 0 | wx->pdev->subsystem_vendor | 0-u16max |
| HOST_DATA | 0 | wx->pdev->supported_speeds | 0,2-254[c] |
| HOST_DATA | 0 | wx->pdev->transparent | 0[c] |
| HOST_DATA | 0 | wx->pdev->vendor | 0-u16max |
| HOST_DATA | 0 | wx->revision_id | 0-255 |
| HOST_DATA | 0 | wx->subsystem_device_id | 0-u16max |
| HOST_DATA | 0 | wx->subsystem_vendor_id | 0-u16max |
| HOST_DATA | 0 | wx->vendor_id | 0-u16max |
| NO_OVERFLOW_SIMPLE | 0 | wx->mac.num_rar_entries | |
| NO_OVERFLOW_SIMPLE | 0 | wx->msix_entry->entry | |
| NO_OVERFLOW_SIMPLE | 0 | wx->num_q_vectors | |
| UNITS | 2 | length | unit_byte |
drivers/net/ethernet/wangxun/libwx/wx_hw.c wx_set_pps() -> wx_host_interface_command()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | wx | 4096-ptr_max |
| PARAM_VALUE | 0 | wx->flags | 4096-ptr_max |
| PARAM_VALUE | 0 | wx->pdev->dev.cma_area->nranges | s32min-s32max |
| PARAM_VALUE | 0 | wx->phydev->devlink->link_dev.kobj.sd->attr.open->nr_mmapped | 0-4294967295 |
| PARAM_VALUE | 0 | wx->phydev->mdio.dev.power.wakeirq->status | 0-4294967295 |
| PARAM_VALUE | 0 | wx->pps_width | 0-999999999 |
| PARAM_VALUE | 0 | wx->ptp_setup_sdp | 1-u64max |
| PARAM_VALUE | 0 | *wx->last_stats.qmprc | 0-4294967295 |
| PARAM_VALUE | 0 | *wx->mac.vft_shadow | 0-4294967295 |
| PARAM_VALUE | 1 | buffer | 3967824011395682304 |
| PARAM_VALUE | 2 | length | 24 |
| PARAM_VALUE | 3 | timeout | 1000 |
| PARAM_VALUE | 4 | return_data | 0 |
| BUF_SIZE | 0 | wx | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | wx | s32min-(-1),1-s32max |
| BUF_SIZE | 1 | buffer | 24 |
| DATA_SOURCE | 0 | wx | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HOST_DATA | 0 | wx->hw_tc.cc->mask | 0 |
| HOST_DATA | 0 | wx->hw_tc.cc->shift | 0-32[c] |
| HOST_DATA | 0 | wx->hw_tc.cycle_last | 0-u64max |
| HOST_DATA | 0 | wx->hw_tc.nsec | 0-u64max |
| HOST_DATA | 0 | wx->pps_edge_end | 0-u64max |
| HOST_DATA | 0 | wx->pps_edge_start | 0-u64max |
| USER_DATA | 0 | wx->hw_tc.nsec | 0-8277292035999999999[c] |
| NO_OVERFLOW_SIMPLE | 0 | wx->phydev->attached_dev->group | |
| NO_OVERFLOW_SIMPLE | 0 | wx->phydev->attached_dev->proto_down | |
| NO_OVERFLOW_SIMPLE | 0 | wx->phydev->attached_dev->real_num_tx_queues | |
| NO_OVERFLOW_SIMPLE | 0 | wx->phydev->attached_dev->stats.tx_bytes | |
| NO_OVERFLOW_SIMPLE | 0 | wx->phydev->attached_dev->tx_queue_len | |
| NO_OVERFLOW_SIMPLE | 0 | wx->priv->misc.domain->hwirq_max | |
| NO_OVERFLOW_SIMPLE | 0 | wx->priv->misc.domain->revmap_size | |
| NO_OVERFLOW_SIMPLE | 0 | wx->priv->misc.domain->root->hwirq_max | |
| NO_OVERFLOW_SIMPLE | 0 | wx->priv->misc.domain->root->revmap_size | |
| NO_OVERFLOW_SIMPLE | 0 | wx->ptp_clock->info->n_pins | |
| UNITS | 2 | length | unit_byte |
| HALF_LOCKED2 | 0 | &wx->reset_lock |
drivers/net/ethernet/wangxun/ngbe/ngbe_hw.c ngbe_eeprom_chksum_hostif() -> wx_host_interface_command()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | wx | 4096-ptr_max |
| PARAM_VALUE | 0 | wx->adapter_stopped | 1 |
| PARAM_VALUE | 0 | wx->adaptive_itr | 0 |
| PARAM_VALUE | 0 | wx->addr_ctrl.mta_in_use | 0 |
| PARAM_VALUE | 0 | wx->bus.device | 0-31 |
| PARAM_VALUE | 0 | wx->do_reset | 2982693695656894464 |
| PARAM_VALUE | 0 | wx->down_suspend | 6644475855367450624 |
| PARAM_VALUE | 0 | wx->driver_name | 821991403443589120 |
| PARAM_VALUE | 0 | wx->eeprom.semaphore_delay | 10 |
| PARAM_VALUE | 0 | wx->eeprom.sw_region_offset | 0-s16max |
| PARAM_VALUE | 0 | wx->eeprom.type | 1-u32max |
| PARAM_VALUE | 0 | wx->eeprom.word_size | 2048 |
| PARAM_VALUE | 0 | wx->flags | 4096-ptr_max |
| PARAM_VALUE | 0 | wx->hw_addr | 4096-ptr_max |
| PARAM_VALUE | 0 | wx->last_stats.lxoffrxc | 0 |
| PARAM_VALUE | 0 | wx->last_stats.lxonrxc | 0 |
| PARAM_VALUE | 0 | wx->mac.max_msix_vectors | 1 |
| PARAM_VALUE | 0 | wx->mac.max_rx_queues | 8 |
| PARAM_VALUE | 0 | wx->mac.max_tx_queues | 8 |
| PARAM_VALUE | 0 | wx->mac.mcft_size | 128 |
| PARAM_VALUE | 0 | wx->mac.num_rar_entries | 32 |
| PARAM_VALUE | 0 | wx->mac.rx_pb_size | 42 |
| PARAM_VALUE | 0 | wx->mac.tx_pb_size | 20480 |
| PARAM_VALUE | 0 | wx->mac.type | 2 |
| PARAM_VALUE | 0 | wx->mac.vft_size | 128 |
| PARAM_VALUE | 0 | wx->mac_table | 16,4096-ptr_max |
| PARAM_VALUE | 0 | wx->mac_type | 1-2 |
| PARAM_VALUE | 0 | wx->max_q_vectors | 9 |
| PARAM_VALUE | 0 | wx->mbx.size | 15 |
| PARAM_VALUE | 0 | wx->misc_irq_domain | 0 |
| PARAM_VALUE | 0 | wx->msg_enable | 7 |
| PARAM_VALUE | 0 | wx->netdev | 4096-ptr_max |
| PARAM_VALUE | 0 | wx->netdev->dev.parent | 4096-ptr_max |
| PARAM_VALUE | 0 | wx->pdev | 4096-ptr_max |
| PARAM_VALUE | 0 | wx->pdev->dev.devres_head.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | wx->pdev->dev.dma_mask | 4096-ptr_max |
| PARAM_VALUE | 0 | wx->pdev->driver | 4096-ptr_max |
| PARAM_VALUE | 0 | wx->pdev->error_state | 0-2,4-u32max |
| PARAM_VALUE | 0 | wx->pdev->is_busmaster | 1 |
| PARAM_VALUE | 0 | wx->pdev->pcie_cap | 0-1 |
| PARAM_VALUE | 0 | wx->reset_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | wx->reset_lock.first_waiter | 0 |
| PARAM_VALUE | 0 | wx->reset_lock.magic | 4096-ptr_max |
| PARAM_VALUE | 0 | wx->reset_lock.osq.tail.counter | 0 |
| PARAM_VALUE | 0 | wx->reset_lock.owner.counter | 0 |
| PARAM_VALUE | 0 | wx->rss_enabled | 1 |
| PARAM_VALUE | 0 | wx->rss_flags | 51 |
| PARAM_VALUE | 0 | wx->rss_key | 1-u64max |
| PARAM_VALUE | 0 | wx->rx_itr_setting | 595 |
| PARAM_VALUE | 0 | wx->rx_ring_count | 512 |
| PARAM_VALUE | 0 | wx->rx_work_limit | 256 |
| PARAM_VALUE | 0 | wx->setup_tc | 8417042797401718784 |
| PARAM_VALUE | 0 | wx->tx_itr_setting | 595 |
| PARAM_VALUE | 0 | wx->tx_ring_count | 512 |
| PARAM_VALUE | 0 | wx->tx_work_limit | 256 |
| PARAM_VALUE | 0 | *wx->last_stats.qmprc | 0 |
| PARAM_VALUE | 0 | *wx->mac.addr | 0-255 |
| PARAM_VALUE | 0 | *wx->mac.perm_addr | 0-255 |
| PARAM_VALUE | 0 | *wx->rss_key | 0-255 |
| PARAM_VALUE | 1 | buffer | 6655921350812528640 |
| PARAM_VALUE | 2 | length | 16 |
| PARAM_VALUE | 3 | timeout | 1000 |
| PARAM_VALUE | 4 | return_data | 0 |
| BUF_SIZE | 0 | wx->driver_name | 5 |
| BUF_SIZE | 0 | wx->pdev | (-1),16,24,40,56,108-1096,1384,1600,1616,1752,2072,2576,7472,8064 |
| BUF_SIZE | 1 | buffer | 16 |
| DATA_SOURCE | 0 | wx | $0 |
| TERMINATED | 0 | wx->node.name | 1 |
| MEM_ZERO | 0 | wx->flags | |
| MEM_ZERO | 0 | wx->state | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HOST_DATA | 0 | wx->bus.device | 0-30[c] |
| HOST_DATA | 0 | wx->bus.func | 0-255[c] |
| HOST_DATA | 0 | wx->device_id | 0-u16max |
| HOST_DATA | 0 | wx->eeprom.sw_region_offset | 0-s16max |
| HOST_DATA | 0 | wx->mac.max_msix_vectors | 1[c] |
| HOST_DATA | 0 | wx->oem_ssid | 0-u16max |
| HOST_DATA | 0 | wx->pdev->acs_capabilities | 0-u16max |
| HOST_DATA | 0 | wx->pdev->class | 0-16777215 |
| HOST_DATA | 0 | wx->pdev->current_state | 0-3[c] |
| HOST_DATA | 0 | wx->pdev->devcap | 0-u32max |
| HOST_DATA | 0 | wx->pdev->devfn | 0-503[c] |
| HOST_DATA | 0 | wx->pdev->device | 0-u16max |
| HOST_DATA | 0 | wx->pdev->eetlp_prefix_max | 0-7[c] |
| HOST_DATA | 0 | wx->pdev->fm_enabled | 0-1[c] |
| HOST_DATA | 0 | wx->pdev->hdr_type | 0-255[c] |
| HOST_DATA | 0 | wx->pdev->ide_cfg | 0-1[c] |
| HOST_DATA | 0 | wx->pdev->ide_tee_limit | 0-1[c] |
| HOST_DATA | 0 | wx->pdev->irq | 0-255 |
| HOST_DATA | 0 | wx->pdev->is_cxl | 0-1 |
| HOST_DATA | 0 | wx->pdev->multifunction | 0-1[c] |
| HOST_DATA | 0 | wx->pdev->nr_ide_mem | 0-255[c] |
| HOST_DATA | 0 | wx->pdev->pcie_mpss | 0-7[c] |
| HOST_DATA | 0 | wx->pdev->pin | 0 |
| HOST_DATA | 0 | wx->pdev->pme_support | 0-31[c] |
| HOST_DATA | 0 | wx->pdev->ptm_granularity | 0-255[c] |
| HOST_DATA | 0 | wx->pdev->revision | 0-255 |
| HOST_DATA | 0 | wx->pdev->subsystem_device | 0-u16max |
| HOST_DATA | 0 | wx->pdev->subsystem_vendor | 0-u16max |
| HOST_DATA | 0 | wx->pdev->supported_speeds | 0,2-254[c] |
| HOST_DATA | 0 | wx->pdev->transparent | 0[c] |
| HOST_DATA | 0 | wx->pdev->vendor | 0-u16max |
| HOST_DATA | 0 | wx->revision_id | 0-255 |
| HOST_DATA | 0 | wx->subsystem_device_id | 0-u16max |
| HOST_DATA | 0 | wx->subsystem_vendor_id | 0-u16max |
| HOST_DATA | 0 | wx->vendor_id | 0-u16max |
| NO_OVERFLOW_SIMPLE | 0 | wx->mac.num_rar_entries | |
| UNITS | 2 | length | unit_byte |