Defined in 1 files as a function:
Referenced in 4 files:
- drivers/net/ethernet/huawei/hinic/hinic_hw_api_cmd.c
- drivers/net/ethernet/huawei/hinic/hinic_hw_eqs.c
- drivers/net/ethernet/huawei/hinic/hinic_hw_if.c
- drivers/net/ethernet/huawei/hinic/hinic_hw_mbox.c
Smatch caller information:
drivers/net/ethernet/huawei/hinic/hinic_hw_mbox.c alloc_mbox_wb_status() -> hinic_hwif_write_reg()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hwif | 4096-ptr_max |
| PARAM_VALUE | 0 | hwif->pdev | 4096-ptr_max |
| PARAM_VALUE | 0 | hwif->pdev->dev.cma_area->alloc_mutex.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | hwif->pdev->dev.cma_area->alloc_mutex.first_waiter->list.prev->prev | 5159360019465732096 |
| PARAM_VALUE | 0 | hwif->pdev->dev.cma_area->alloc_mutex.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | hwif->pdev->dev.cma_area->lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | hwif->pdev->dev.cma_area->nranges | s32min-s32max |
| PARAM_VALUE | 0 | hwif->pdev->dev.dma_io_tlb_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | hwif->pdev->dev.dma_io_tlb_pools.next | 4096-ptr_max |
| PARAM_VALUE | 0 | hwif->pdev->dev.dma_io_tlb_pools.next->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | hwif->pdev->dev.dma_io_tlb_pools.next->prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | hwif->pdev->dev.dma_mem->spinlock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | hwif->pdev->dev.dma_uses_io_tlb | 1 |
| PARAM_VALUE | 0 | hwif->pdev->dev.iommu->attach_deferred | 0-1 |
| PARAM_VALUE | 1 | reg | 264 |
| CAPPED_DATA | 0 | &hwif->pdev->dev | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &pdev->dev.mutex |
drivers/net/ethernet/huawei/hinic/hinic_hw_mbox.c alloc_mbox_wb_status() -> hinic_hwif_write_reg()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hwif | 4096-ptr_max |
| PARAM_VALUE | 0 | hwif->pdev | 4096-ptr_max |
| PARAM_VALUE | 0 | hwif->pdev->dev.cma_area->alloc_mutex.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | hwif->pdev->dev.cma_area->alloc_mutex.first_waiter->list.prev->prev | 5159360019465732096 |
| PARAM_VALUE | 0 | hwif->pdev->dev.cma_area->alloc_mutex.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | hwif->pdev->dev.cma_area->lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | hwif->pdev->dev.cma_area->nranges | s32min-s32max |
| PARAM_VALUE | 0 | hwif->pdev->dev.dma_io_tlb_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | hwif->pdev->dev.dma_io_tlb_pools.next | 4096-ptr_max |
| PARAM_VALUE | 0 | hwif->pdev->dev.dma_io_tlb_pools.next->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | hwif->pdev->dev.dma_io_tlb_pools.next->prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | hwif->pdev->dev.dma_mem->spinlock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | hwif->pdev->dev.dma_uses_io_tlb | 1 |
| PARAM_VALUE | 0 | hwif->pdev->dev.iommu->attach_deferred | 0-1 |
| PARAM_VALUE | 1 | reg | 268 |
| CAPPED_DATA | 0 | &hwif->pdev->dev | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &pdev->dev.mutex |
drivers/net/ethernet/huawei/hinic/hinic_hw_mbox.c free_mbox_wb_status() -> hinic_hwif_write_reg()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | reg | 264 |
| PARAM_VALUE | 2 | val | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/net/ethernet/huawei/hinic/hinic_hw_mbox.c free_mbox_wb_status() -> hinic_hwif_write_reg()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hwif | 4096-ptr_max |
| PARAM_VALUE | 1 | reg | 268 |
| PARAM_VALUE | 2 | val | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/net/ethernet/huawei/hinic/hinic_hw_mbox.c write_mbox_msg_attr() -> hinic_hwif_write_reg()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | reg | 260 |
| PARAM_VALUE | 2 | val | 0-s32max |
| BIT_INFO | 2 | val | 0x10f00000,0x10f02bff |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HOST_DATA | 2 | val | 0-s32max[c] |
| USER_DATA | 2 | val | 0-s32max[c] |
| LOCK2 | &func_to_func->msg_send_sem | ||
| HALF_LOCKED2 | &func_to_func->mbox_send_sem | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct hinic_mbox_func_to_func)->msg_send_sem |
drivers/net/ethernet/huawei/hinic/hinic_hw_mbox.c write_mbox_msg_attr() -> hinic_hwif_write_reg()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hwif | 4096-ptr_max |
| PARAM_VALUE | 1 | reg | 256 |
| PARAM_VALUE | 2 | val | 2-3 |
| BIT_INFO | 2 | val | 0x2,0x3 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &func_to_func->msg_send_sem | ||
| HALF_LOCKED2 | &func_to_func->mbox_send_sem | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct hinic_mbox_func_to_func)->msg_send_sem |
drivers/net/ethernet/huawei/hinic/hinic_hw_if.c hinic_db_state_set() -> hinic_hwif_write_reg()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hwif | 4096-ptr_max |
| PARAM_VALUE | 0 | hwif->attr.func_idx | 0-1023 |
| PARAM_VALUE | 0 | hwif->pdev->dev.bus | 0,4096-ptr_max |
| PARAM_VALUE | 0 | hwif->pdev->dev.class | 0,4096-ptr_max |
| PARAM_VALUE | 0 | hwif->pdev->dev.cma_area->alloc_mutex.first_waiter->list.prev->prev | 5159360019465732096 |
| PARAM_VALUE | 0 | hwif->pdev->dev.cma_area->available_count | 0-s64max |
| PARAM_VALUE | 0 | hwif->pdev->dev.cma_area->nranges | s32min-s32max |
| PARAM_VALUE | 0 | hwif->pdev->dev.devres_head.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | hwif->pdev->dev.devres_head.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | hwif->pdev->dev.devres_head.prev->next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | hwif->pdev->dev.dma_pools.next->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | hwif->pdev->dev.driver | 0,4096-ptr_max |
| PARAM_VALUE | 0 | hwif->pdev->dev.iommu->attach_deferred | 0-1 |
| PARAM_VALUE | 0 | hwif->pdev->dev.iommu->pci_32bit_workaround | 0-1 |
| PARAM_VALUE | 1 | reg | 16 |
| DATA_SOURCE | 0 | hwif | $0 |
| BIT_INFO | 2 | val | 0x0,0xfffffffd |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HOST_DATA | 2 | val | 0-u32max |
drivers/net/ethernet/huawei/hinic/hinic_hw_if.c hinic_msix_attr_cnt_clear() -> hinic_hwif_write_reg()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | reg | 8196-532468 |
| PARAM_VALUE | 2 | val | 536870912 |
| CAPPED_DATA | 1 | reg | 1 |
| DATA_SOURCE | 0 | hwif | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &desc->request_mutex | ||
| HALF_LOCKED2 | _T->lock | ||
| HALF_LOCKED2 | flags |
drivers/net/ethernet/huawei/hinic/hinic_hw_if.c hinic_msix_attr_set() -> hinic_hwif_write_reg()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hwif->attr.func_idx | 0-1023 |
| PARAM_VALUE | 0 | hwif->attr.func_type | 0-2 |
| PARAM_VALUE | 0 | hwif->attr.global_vf_id_of_pf | 0-1023 |
| PARAM_VALUE | 0 | hwif->attr.pci_intf_idx | 0-3 |
| PARAM_VALUE | 0 | hwif->attr.pf_idx | 0-15 |
| PARAM_VALUE | 0 | hwif->attr.ppf_idx | 0-31 |
| PARAM_VALUE | 0 | hwif->pdev->dev.cma_area->nranges | s32min-s32max |
| PARAM_VALUE | 1 | reg | 8192-532464 |
| PARAM_VALUE | 2 | val | 0,65280,3758096384,3758161664 |
| CAPPED_DATA | 1 | reg | 1 |
| DATA_SOURCE | 0 | hwif | $0 |
| FUZZY_MAX | 2 | val | 3758161664 |
| BIT_INFO | 2 | val | 0x0,0xe000ff00 |
| HARD_MAX | 2 | val | 3758161664 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HOST_DATA | 0 | hwif->attr.func_type | 0-1 |
| HOST_DATA | 0 | hwif->attr.global_vf_id_of_pf | 0-1023 |
| HOST_DATA | 0 | hwif->attr.pci_intf_idx | 0-3 |
| HOST_DATA | 0 | hwif->attr.pf_idx | 0-15 |
| HOST_DATA | 0 | hwif->attr.ppf_idx | 0-31 |
drivers/net/ethernet/huawei/hinic/hinic_hw_if.c hinic_outbound_state_set() -> hinic_hwif_write_reg()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hwif | 4096-ptr_max |
| PARAM_VALUE | 0 | hwif->attr.func_idx | 0-1023 |
| PARAM_VALUE | 0 | hwif->attr.func_type | 0-2 |
| PARAM_VALUE | 0 | hwif->attr.global_vf_id_of_pf | 0-1023 |
| PARAM_VALUE | 0 | hwif->attr.pci_intf_idx | 0-3 |
| PARAM_VALUE | 0 | hwif->attr.pf_idx | 0-15 |
| PARAM_VALUE | 0 | hwif->attr.ppf_idx | 0-31 |
| PARAM_VALUE | 0 | hwif->cfg_regs_bar | 4096-ptr_max |
| PARAM_VALUE | 0 | hwif->intr_regs_base | 4096-ptr_max |
| PARAM_VALUE | 0 | hwif->pdev | 4096-ptr_max |
| PARAM_VALUE | 0 | hwif->pdev->current_state | 0 |
| PARAM_VALUE | 0 | hwif->pdev->dev.devres_head.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | hwif->pdev->dev.dma_mask | 4096-ptr_max |
| PARAM_VALUE | 0 | hwif->pdev->dev.dma_ops | 0,4096-ptr_max |
| PARAM_VALUE | 0 | hwif->pdev->dev_flags | 1-u16max |
| PARAM_VALUE | 0 | hwif->pdev->driver | 4096-ptr_max |
| PARAM_VALUE | 0 | hwif->pdev->error_state | 0-2,4-u32max |
| PARAM_VALUE | 0 | hwif->pdev->is_busmaster | 1 |
| PARAM_VALUE | 0 | hwif->pdev->msi_enabled | 0 |
| PARAM_VALUE | 0 | hwif->pdev->msix_cap | 1-255 |
| PARAM_VALUE | 0 | hwif->pdev->no_msi | 0 |
| PARAM_VALUE | 0 | hwif->pdev->pcie_cap | 0-1 |
| PARAM_VALUE | 1 | reg | 16 |
| PARAM_VALUE | 2 | val | 0,2-u32max |
| BUF_SIZE | 0 | hwif | 48 |
| CAPPED_DATA | 0 | hwif->cfg_regs_bar | 1 |
| CAPPED_DATA | 0 | hwif->intr_regs_base | 1 |
| DATA_SOURCE | 0 | hwif | $0 |
| BIT_INFO | 2 | val | 0x0,0xfffffffe |
| MEM_ZERO | 0 | hwif | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HOST_DATA | 0 | hwif->attr.func_type | 0-1 |
| HOST_DATA | 0 | hwif->attr.global_vf_id_of_pf | 0-1023 |
| HOST_DATA | 0 | hwif->attr.pci_intf_idx | 0-3 |
| HOST_DATA | 0 | hwif->attr.pf_idx | 0-15 |
| HOST_DATA | 0 | hwif->attr.ppf_idx | 0-31 |
| HOST_DATA | 0 | hwif->pdev->current_state | 0[c] |
| HOST_DATA | 2 | val | 0,2-u32max |
| HALF_LOCKED2 | &pdev->dev.mutex | ||
| HALF_LOCKED2 | &pool->lock |
drivers/net/ethernet/huawei/hinic/hinic_hw_if.c hinic_set_pf_action() -> hinic_hwif_write_reg()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hwif | 4096-ptr_max |
| PARAM_VALUE | 0 | hwif->attr.func_type | 0,2 |
| PARAM_VALUE | 0 | hwif->pdev->dev.cma_area->nranges | s32min-s32max |
| PARAM_VALUE | 1 | reg | 20 |
| DATA_SOURCE | 0 | hwif | $0 |
| BIT_INFO | 2 | val | 0x0,0xffff001f |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HOST_DATA | 2 | val | 0-u32max |
drivers/net/ethernet/huawei/hinic/hinic_hw_if.c set_dma_attr() -> hinic_hwif_write_reg()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hwif | 4096-ptr_max |
| PARAM_VALUE | 0 | hwif->attr.func_idx | 0-1023 |
| PARAM_VALUE | 0 | hwif->attr.func_type | 0-2 |
| PARAM_VALUE | 0 | hwif->attr.global_vf_id_of_pf | 0-1023 |
| PARAM_VALUE | 0 | hwif->attr.pci_intf_idx | 0-3 |
| PARAM_VALUE | 0 | hwif->attr.pf_idx | 0-15 |
| PARAM_VALUE | 0 | hwif->attr.ppf_idx | 0-31 |
| PARAM_VALUE | 0 | hwif->cfg_regs_bar | 4096-ptr_max |
| PARAM_VALUE | 0 | hwif->intr_regs_base | 4096-ptr_max |
| PARAM_VALUE | 0 | hwif->pdev | 4096-ptr_max |
| PARAM_VALUE | 0 | hwif->pdev->dev.devres_head.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | hwif->pdev->dev.dma_mask | 4096-ptr_max |
| PARAM_VALUE | 0 | hwif->pdev->dev.dma_ops | 0,4096-ptr_max |
| PARAM_VALUE | 0 | hwif->pdev->driver | 4096-ptr_max |
| PARAM_VALUE | 0 | hwif->pdev->error_state | 0-2,4-u32max |
| PARAM_VALUE | 0 | hwif->pdev->is_busmaster | 1 |
| PARAM_VALUE | 0 | hwif->pdev->pcie_cap | 0-1 |
| PARAM_VALUE | 1 | reg | 3200 |
| PARAM_VALUE | 2 | val | 0,16384-u32max |
| BUF_SIZE | 0 | hwif->pdev | (-1),1-s32max |
| CAPPED_DATA | 0 | hwif->attr.func_idx | 1 |
| DATA_SOURCE | 0 | hwif | $0 |
| FUZZY_MAX | 0 | hwif->attr.ppf_idx | 0 |
| BIT_INFO | 2 | val | 0x0,0xffffc000 |
| MEM_ZERO | 0 | hwif | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HOST_DATA | 0 | hwif->attr.func_idx | 0-1023[c] |
| HOST_DATA | 0 | hwif->attr.func_type | 0-1 |
| HOST_DATA | 0 | hwif->attr.global_vf_id_of_pf | 0-1023 |
| HOST_DATA | 0 | hwif->attr.pci_intf_idx | 0-3 |
| HOST_DATA | 0 | hwif->attr.pf_idx | 0-15 |
| HOST_DATA | 0 | hwif->attr.ppf_idx | 0-31 |
| HOST_DATA | 0 | hwif->pdev->current_state | 0-3[c] |
| HOST_DATA | 2 | val | 0,16384-u32max[c] |
| HALF_LOCKED2 | &pdev->dev.mutex |
drivers/net/ethernet/huawei/hinic/hinic_hw_if.c set_ppf() -> hinic_hwif_write_reg()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hwif | 4096-ptr_max |
| PARAM_VALUE | 0 | hwif->attr.func_idx | 0-1023 |
| PARAM_VALUE | 0 | hwif->attr.func_type | 0 |
| PARAM_VALUE | 0 | hwif->attr.global_vf_id_of_pf | 0-1023 |
| PARAM_VALUE | 0 | hwif->attr.pci_intf_idx | 0-3 |
| PARAM_VALUE | 0 | hwif->attr.pf_idx | 0-15 |
| PARAM_VALUE | 0 | hwif->pdev | 4096-ptr_max |
| PARAM_VALUE | 0 | hwif->pdev->dev.devres_head.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | hwif->pdev->dev.dma_mask | 4096-ptr_max |
| PARAM_VALUE | 0 | hwif->pdev->dev.dma_ops | 0,4096-ptr_max |
| PARAM_VALUE | 0 | hwif->pdev->driver | 4096-ptr_max |
| PARAM_VALUE | 0 | hwif->pdev->error_state | 0-2,4-u32max |
| PARAM_VALUE | 0 | hwif->pdev->is_busmaster | 1 |
| PARAM_VALUE | 0 | hwif->pdev->pcie_cap | 0-1 |
| PARAM_VALUE | 1 | reg | 16896-16908 |
| BUF_SIZE | 0 | hwif | 48 |
| BUF_SIZE | 0 | hwif->pdev | (-1),1-s32max |
| DATA_SOURCE | 0 | hwif | $0 |
| MEM_ZERO | 0 | hwif | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HOST_DATA | 0 | hwif->attr.func_idx | 0-1023 |
| HOST_DATA | 0 | hwif->attr.func_type | 0 |
| HOST_DATA | 0 | hwif->attr.global_vf_id_of_pf | 0-1023 |
| HOST_DATA | 0 | hwif->attr.pci_intf_idx | 0-3 |
| HOST_DATA | 0 | hwif->attr.pf_idx | 0-15 |
| HOST_DATA | 0 | hwif->pdev->current_state | 0-3[c] |
| HOST_DATA | 1 | reg | 16896-16908[c] |
| HOST_DATA | 2 | val | 0-u32max |
| HALF_LOCKED2 | &pdev->dev.mutex | ||
| HALF_LOCKED2 | &pool->lock |
drivers/net/ethernet/huawei/hinic/hinic_hw_api_cmd.c api_cmd_chain_hw_clean() -> hinic_hwif_write_reg()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hwif | 4096-ptr_max |
| PARAM_VALUE | 0 | hwif->attr.func_idx | 0-1023 |
| PARAM_VALUE | 0 | hwif->attr.func_type | 0-2 |
| PARAM_VALUE | 0 | hwif->attr.global_vf_id_of_pf | 0-1023 |
| PARAM_VALUE | 0 | hwif->attr.pci_intf_idx | 0-3 |
| PARAM_VALUE | 0 | hwif->attr.pf_idx | 0-15 |
| PARAM_VALUE | 0 | hwif->attr.ppf_idx | 0-31 |
| PARAM_VALUE | 2 | val | 0-268435433 |
| CAPPED_DATA | 2 | val | 1 |
| BIT_INFO | 2 | val | 0x0,0xfffffe9 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HOST_DATA | 2 | val | 0-268435433[c] |
drivers/net/ethernet/huawei/hinic/hinic_hw_api_cmd.c api_cmd_ctrl_init() -> hinic_hwif_write_reg()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hwif | 4096-ptr_max |
| PARAM_VALUE | 0 | hwif->attr.func_idx | 0 |
| PARAM_VALUE | 0 | hwif->attr.func_type | 0 |
| PARAM_VALUE | 0 | hwif->attr.global_vf_id_of_pf | 0 |
| PARAM_VALUE | 0 | hwif->attr.pci_intf_idx | 0 |
| PARAM_VALUE | 0 | hwif->attr.pf_idx | 0 |
| PARAM_VALUE | 0 | hwif->attr.ppf_idx | 0 |
| PARAM_VALUE | 0 | hwif->pdev | 0 |
| PARAM_VALUE | 1 | reg | 61972 |
| PARAM_VALUE | 2 | val | 805306372-1073741805 |
| BIT_INFO | 2 | val | 0x30000004,0x3fffffed |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HOST_DATA | 2 | val | 805306372-1073741805[c] |
drivers/net/ethernet/huawei/hinic/hinic_hw_api_cmd.c api_cmd_head_init() -> hinic_hwif_write_reg()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hwif | 4096-ptr_max |
| PARAM_VALUE | 0 | hwif->attr.func_idx | 0 |
| PARAM_VALUE | 0 | hwif->attr.func_type | 0 |
| PARAM_VALUE | 0 | hwif->attr.global_vf_id_of_pf | 0 |
| PARAM_VALUE | 0 | hwif->attr.pci_intf_idx | 0 |
| PARAM_VALUE | 0 | hwif->attr.pf_idx | 0 |
| PARAM_VALUE | 0 | hwif->attr.ppf_idx | 0 |
| PARAM_VALUE | 0 | hwif->pdev | 0 |
| PARAM_VALUE | 1 | reg | 61952 |
| PARAM_VALUE | 2 | val | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/net/ethernet/huawei/hinic/hinic_hw_api_cmd.c api_cmd_head_init() -> hinic_hwif_write_reg()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hwif | 4096-ptr_max |
| PARAM_VALUE | 0 | hwif->attr.func_idx | 0 |
| PARAM_VALUE | 0 | hwif->attr.func_type | 0 |
| PARAM_VALUE | 0 | hwif->attr.global_vf_id_of_pf | 0 |
| PARAM_VALUE | 0 | hwif->attr.pci_intf_idx | 0 |
| PARAM_VALUE | 0 | hwif->attr.pf_idx | 0 |
| PARAM_VALUE | 0 | hwif->attr.ppf_idx | 0 |
| PARAM_VALUE | 0 | hwif->pdev | 0 |
| PARAM_VALUE | 1 | reg | 61956 |
| PARAM_VALUE | 2 | val | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/net/ethernet/huawei/hinic/hinic_hw_api_cmd.c api_cmd_hw_restart() -> hinic_hwif_write_reg()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hwif | 4096-ptr_max |
| PARAM_VALUE | 0 | hwif->attr.func_idx | 0 |
| PARAM_VALUE | 0 | hwif->attr.func_type | 0 |
| PARAM_VALUE | 0 | hwif->attr.global_vf_id_of_pf | 0 |
| PARAM_VALUE | 0 | hwif->attr.pci_intf_idx | 0 |
| PARAM_VALUE | 0 | hwif->attr.pf_idx | 0 |
| PARAM_VALUE | 0 | hwif->attr.ppf_idx | 0 |
| PARAM_VALUE | 0 | hwif->pdev | 0 |
| PARAM_VALUE | 1 | reg | 61984 |
| PARAM_VALUE | 2 | val | 0,2-u32max |
| BIT_INFO | 2 | val | 0x2,0xffffffff |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HOST_DATA | 2 | val | 0,2-u32max |
drivers/net/ethernet/huawei/hinic/hinic_hw_api_cmd.c api_cmd_set_num_cells() -> hinic_hwif_write_reg()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hwif | 4096-ptr_max |
| PARAM_VALUE | 0 | hwif->attr.func_idx | 0 |
| PARAM_VALUE | 0 | hwif->attr.func_type | 0 |
| PARAM_VALUE | 0 | hwif->attr.global_vf_id_of_pf | 0 |
| PARAM_VALUE | 0 | hwif->attr.pci_intf_idx | 0 |
| PARAM_VALUE | 0 | hwif->attr.pf_idx | 0 |
| PARAM_VALUE | 0 | hwif->attr.ppf_idx | 0 |
| PARAM_VALUE | 0 | hwif->pdev | 0 |
| PARAM_VALUE | 1 | reg | 61968 |
| PARAM_VALUE | 2 | val | 32 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| NO_OVERFLOW_SIMPLE | 2 | val | |
| UNITS | 2 | val | unit_array_size |
drivers/net/ethernet/huawei/hinic/hinic_hw_api_cmd.c api_cmd_set_status_addr() -> hinic_hwif_write_reg()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hwif | 4096-ptr_max |
| PARAM_VALUE | 0 | hwif->attr.func_idx | 0 |
| PARAM_VALUE | 0 | hwif->attr.func_type | 0 |
| PARAM_VALUE | 0 | hwif->attr.global_vf_id_of_pf | 0 |
| PARAM_VALUE | 0 | hwif->attr.pci_intf_idx | 0 |
| PARAM_VALUE | 0 | hwif->attr.pf_idx | 0 |
| PARAM_VALUE | 0 | hwif->attr.ppf_idx | 0 |
| PARAM_VALUE | 0 | hwif->pdev | 0 |
| PARAM_VALUE | 1 | reg | 61960 |
| PARAM_VALUE | 2 | val | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/net/ethernet/huawei/hinic/hinic_hw_api_cmd.c api_cmd_set_status_addr() -> hinic_hwif_write_reg()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hwif | 4096-ptr_max |
| PARAM_VALUE | 0 | hwif->attr.func_idx | 0 |
| PARAM_VALUE | 0 | hwif->attr.func_type | 0 |
| PARAM_VALUE | 0 | hwif->attr.global_vf_id_of_pf | 0 |
| PARAM_VALUE | 0 | hwif->attr.pci_intf_idx | 0 |
| PARAM_VALUE | 0 | hwif->attr.pf_idx | 0 |
| PARAM_VALUE | 0 | hwif->attr.ppf_idx | 0 |
| PARAM_VALUE | 0 | hwif->pdev | 0 |
| PARAM_VALUE | 1 | reg | 61964 |
| PARAM_VALUE | 2 | val | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/net/ethernet/huawei/hinic/hinic_hw_api_cmd.c set_prod_idx() -> hinic_hwif_write_reg()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hwif | 4096-ptr_max |
| PARAM_VALUE | 1 | reg | 61980 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HOST_DATA | 2 | val | 0-u32max |
| LOCK2 | &chain->sem | ||
| LOCK2 | &pf_to_mgmt->sync_msg_lock | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct hinic_api_cmd_chain)->sem | ||
| TYPE_LOCK | (struct hinic_pf_to_mgmt)->sync_msg_lock |
drivers/net/ethernet/huawei/hinic/hinic_hw_eqs.c alloc_eq_pages() -> hinic_hwif_write_reg()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hwif | 4096-ptr_max |
| PARAM_VALUE | 0 | hwif->attr.func_idx | 0-1023 |
| PARAM_VALUE | 0 | hwif->attr.func_type | 0-2 |
| PARAM_VALUE | 0 | hwif->attr.global_vf_id_of_pf | 0-1023 |
| PARAM_VALUE | 0 | hwif->attr.pci_intf_idx | 0-3 |
| PARAM_VALUE | 0 | hwif->attr.pf_idx | 0-15 |
| PARAM_VALUE | 0 | hwif->attr.ppf_idx | 0-31 |
| PARAM_VALUE | 0 | hwif->pdev | 4096-ptr_max |
| PARAM_VALUE | 0 | hwif->pdev->dev.cma_area->nranges | s32min-s32max |
| PARAM_VALUE | 0 | hwif->pdev->dev.devres_head.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | hwif->pdev->dev.devres_head.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | hwif->pdev->dev.devres_head.prev->next->next | 4096-ptr_max |
| BIT_INFO | 1 | reg | 0x0,0x7fffffff |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HOST_DATA | 0 | hwif->attr.func_type | 0-1 |
| HOST_DATA | 0 | hwif->attr.global_vf_id_of_pf | 0-1023 |
| HOST_DATA | 0 | hwif->attr.pci_intf_idx | 0-3 |
| HOST_DATA | 0 | hwif->attr.pf_idx | 0-15 |
| HOST_DATA | 0 | hwif->attr.ppf_idx | 0-31 |
drivers/net/ethernet/huawei/hinic/hinic_hw_eqs.c alloc_eq_pages() -> hinic_hwif_write_reg()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hwif | 4096-ptr_max |
| PARAM_VALUE | 0 | hwif->attr.func_idx | 0-1023 |
| PARAM_VALUE | 0 | hwif->attr.func_type | 0-2 |
| PARAM_VALUE | 0 | hwif->attr.global_vf_id_of_pf | 0-1023 |
| PARAM_VALUE | 0 | hwif->attr.pci_intf_idx | 0-3 |
| PARAM_VALUE | 0 | hwif->attr.pf_idx | 0-15 |
| PARAM_VALUE | 0 | hwif->attr.ppf_idx | 0-31 |
| PARAM_VALUE | 0 | hwif->pdev | 4096-ptr_max |
| PARAM_VALUE | 0 | hwif->pdev->dev.cma_area->nranges | s32min-s32max |
| PARAM_VALUE | 0 | hwif->pdev->dev.devres_head.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | hwif->pdev->dev.devres_head.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | hwif->pdev->dev.devres_head.prev->next->next | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HOST_DATA | 0 | hwif->attr.func_type | 0-1 |
| HOST_DATA | 0 | hwif->attr.global_vf_id_of_pf | 0-1023 |
| HOST_DATA | 0 | hwif->attr.pci_intf_idx | 0-3 |
| HOST_DATA | 0 | hwif->attr.pf_idx | 0-15 |
| HOST_DATA | 0 | hwif->attr.ppf_idx | 0-31 |
drivers/net/ethernet/huawei/hinic/hinic_hw_eqs.c eq_update_ci() -> hinic_hwif_write_reg()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hwif | 4096-ptr_max |
| PARAM_VALUE | 0 | hwif->attr.func_idx | 0-1023 |
| PARAM_VALUE | 0 | hwif->attr.func_type | 0-2 |
| PARAM_VALUE | 0 | hwif->attr.global_vf_id_of_pf | 0-1023 |
| PARAM_VALUE | 0 | hwif->attr.pci_intf_idx | 0-3 |
| PARAM_VALUE | 0 | hwif->attr.pf_idx | 0-15 |
| PARAM_VALUE | 0 | hwif->attr.ppf_idx | 0-31 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HOST_DATA | 0 | hwif->attr.func_type | 0-1 |
| HOST_DATA | 0 | hwif->attr.global_vf_id_of_pf | 0-1023 |
| HOST_DATA | 0 | hwif->attr.pci_intf_idx | 0-3 |
| HOST_DATA | 0 | hwif->attr.pf_idx | 0-15 |
| HOST_DATA | 0 | hwif->attr.ppf_idx | 0-31 |
| HOST_DATA | 2 | val | 0-u32max[c] |
drivers/net/ethernet/huawei/hinic/hinic_hw_eqs.c init_eq() -> hinic_hwif_write_reg()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hwif | 4096-ptr_max |
| PARAM_VALUE | 0 | hwif->attr.func_idx | 0-1023 |
| PARAM_VALUE | 0 | hwif->attr.func_type | 0-2 |
| PARAM_VALUE | 0 | hwif->attr.global_vf_id_of_pf | 0-1023 |
| PARAM_VALUE | 0 | hwif->attr.pci_intf_idx | 0-3 |
| PARAM_VALUE | 0 | hwif->attr.pf_idx | 0-15 |
| PARAM_VALUE | 0 | hwif->attr.ppf_idx | 0-31 |
| PARAM_VALUE | 0 | hwif->cfg_regs_bar | 0,4096-ptr_max |
| PARAM_VALUE | 0 | hwif->intr_regs_base | 0,4096-ptr_max |
| PARAM_VALUE | 2 | val | 0 |
| BUF_SIZE | 0 | hwif | (-1),48 |
| BUF_SIZE | 0 | hwif | (-1),48 |
| DATA_SOURCE | 0 | hwif | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HOST_DATA | 0 | hwif->attr.func_type | 0-1 |
| HOST_DATA | 0 | hwif->attr.global_vf_id_of_pf | 0-1023 |
| HOST_DATA | 0 | hwif->attr.pci_intf_idx | 0-3 |
| HOST_DATA | 0 | hwif->attr.pf_idx | 0-15 |
| HOST_DATA | 0 | hwif->attr.ppf_idx | 0-31 |
drivers/net/ethernet/huawei/hinic/hinic_hw_eqs.c init_eq() -> hinic_hwif_write_reg()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hwif | 4096-ptr_max |
| PARAM_VALUE | 0 | hwif->attr.func_idx | 0-1023 |
| PARAM_VALUE | 0 | hwif->attr.func_type | 0-2 |
| PARAM_VALUE | 0 | hwif->attr.global_vf_id_of_pf | 0-1023 |
| PARAM_VALUE | 0 | hwif->attr.pci_intf_idx | 0-3 |
| PARAM_VALUE | 0 | hwif->attr.pf_idx | 0-15 |
| PARAM_VALUE | 0 | hwif->attr.ppf_idx | 0-31 |
| PARAM_VALUE | 0 | hwif->cfg_regs_bar | 0,4096-ptr_max |
| PARAM_VALUE | 0 | hwif->intr_regs_base | 0,4096-ptr_max |
| PARAM_VALUE | 2 | val | 0 |
| BUF_SIZE | 0 | hwif | (-1),48 |
| BUF_SIZE | 0 | hwif | (-1),48 |
| DATA_SOURCE | 0 | hwif | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HOST_DATA | 0 | hwif->attr.func_type | 0-1 |
| HOST_DATA | 0 | hwif->attr.global_vf_id_of_pf | 0-1023 |
| HOST_DATA | 0 | hwif->attr.pci_intf_idx | 0-3 |
| HOST_DATA | 0 | hwif->attr.pf_idx | 0-15 |
| HOST_DATA | 0 | hwif->attr.ppf_idx | 0-31 |
drivers/net/ethernet/huawei/hinic/hinic_hw_eqs.c remove_eq() -> hinic_hwif_write_reg()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hwif | 4096-ptr_max |
| PARAM_VALUE | 2 | val | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/net/ethernet/huawei/hinic/hinic_hw_eqs.c remove_eq() -> hinic_hwif_write_reg()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hwif | 4096-ptr_max |
| PARAM_VALUE | 2 | val | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/net/ethernet/huawei/hinic/hinic_hw_eqs.c set_ctrl0() -> hinic_hwif_write_reg()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hwif | 4096-ptr_max |
| PARAM_VALUE | 0 | hwif->attr.func_idx | 0-1023 |
| PARAM_VALUE | 0 | hwif->attr.func_type | 0-2 |
| PARAM_VALUE | 0 | hwif->attr.global_vf_id_of_pf | 0-1023 |
| PARAM_VALUE | 0 | hwif->attr.pci_intf_idx | 0-3 |
| PARAM_VALUE | 0 | hwif->attr.pf_idx | 0-15 |
| PARAM_VALUE | 0 | hwif->attr.ppf_idx | 0-31 |
| PARAM_VALUE | 1 | reg | 3584-36608 |
| PARAM_VALUE | 2 | val | 0-s32max |
| CAPPED_DATA | 1 | reg | 1 |
| DATA_SOURCE | 2 | val | r get_ctrl0_val |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HOST_DATA | 0 | hwif->attr.func_type | 0-1 |
| HOST_DATA | 0 | hwif->attr.global_vf_id_of_pf | 0-1023 |
| HOST_DATA | 0 | hwif->attr.pci_intf_idx | 0-3 |
| HOST_DATA | 0 | hwif->attr.pf_idx | 0-15 |
| HOST_DATA | 0 | hwif->attr.ppf_idx | 0-31 |
| HOST_DATA | 2 | val | 0-s32max[c] |
drivers/net/ethernet/huawei/hinic/hinic_hw_eqs.c set_ctrl1() -> hinic_hwif_write_reg()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hwif | 4096-ptr_max |
| PARAM_VALUE | 0 | hwif->attr.func_idx | 0-1023 |
| PARAM_VALUE | 0 | hwif->attr.func_type | 0-2 |
| PARAM_VALUE | 0 | hwif->attr.global_vf_id_of_pf | 0-1023 |
| PARAM_VALUE | 0 | hwif->attr.pci_intf_idx | 0-3 |
| PARAM_VALUE | 0 | hwif->attr.pf_idx | 0-15 |
| PARAM_VALUE | 0 | hwif->attr.ppf_idx | 0-31 |
| PARAM_VALUE | 1 | reg | 3588-36612 |
| PARAM_VALUE | 2 | val | 0-268435455 |
| CAPPED_DATA | 1 | reg | 1 |
| DATA_SOURCE | 2 | val | r get_ctrl1_val |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HOST_DATA | 0 | hwif->attr.func_type | 0-1 |
| HOST_DATA | 0 | hwif->attr.global_vf_id_of_pf | 0-1023 |
| HOST_DATA | 0 | hwif->attr.pci_intf_idx | 0-3 |
| HOST_DATA | 0 | hwif->attr.pf_idx | 0-15 |
| HOST_DATA | 0 | hwif->attr.ppf_idx | 0-31 |
| HOST_DATA | 2 | val | 0-268435455[c] |