Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 2 files:
Smatch caller information:
drivers/net/ethernet/airoha/airoha_ppe.c airoha_ppe_hw_init() -> airoha_ppe_is_enabled()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | eth | 4096-ptr_max |
| PARAM_VALUE | 0 | eth->soc | 4096-ptr_max |
| PARAM_VALUE | 1 | index | 1 |
| CAPPED_DATA | 0 | eth->soc->num_ppe | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | global &flow_offload_mutex | ||
| HALF_LOCKED2 | &block->cb_lock | ||
| HALF_LOCKED2 | &dev->mutex | ||
| HALF_LOCKED2 | &flowtable->flow_block_lock |
drivers/net/ethernet/airoha/airoha_ppe.c airoha_ppe_set_xmit_frame_size() -> airoha_ppe_is_enabled()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | index | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | global &flow_offload_mutex |
drivers/net/ethernet/airoha/airoha_ppe.c airoha_ppe_wait_for_npu_init() -> airoha_ppe_is_enabled()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | eth | 4096-ptr_max |
| PARAM_VALUE | 1 | index | 1 |
| CAPPED_DATA | 0 | eth->dev | 1 |
| DATA_SOURCE | 0 | eth | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | global &flow_offload_mutex | ||
| HALF_LOCKED2 | &block->cb_lock | ||
| HALF_LOCKED2 | &dev->mutex | ||
| HALF_LOCKED2 | &flowtable->flow_block_lock |
drivers/net/ethernet/airoha/airoha_eth.c airoha_dev_open() -> airoha_ppe_is_enabled()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | eth | 4096-ptr_max |
| PARAM_VALUE | 1 | index | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | global &rtnl_mutex |
drivers/net/ethernet/airoha/airoha_eth.c airoha_dev_set_qdma() -> airoha_ppe_is_enabled()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | index | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | global &flow_offload_mutex |
drivers/net/ethernet/airoha/airoha_eth.c airoha_disable_gdm2_loopback() -> airoha_ppe_is_enabled()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | eth | 4096-ptr_max |
| PARAM_VALUE | 0 | eth->soc | 4096-ptr_max |
| PARAM_VALUE | 1 | index | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | global &flow_offload_mutex |
drivers/net/ethernet/airoha/airoha_eth.c airoha_enable_qos_for_gdm34() -> airoha_ppe_is_enabled()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | eth | 4096-ptr_max |
| PARAM_VALUE | 1 | index | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | global &flow_offload_mutex | ||
| HALF_LOCKED2 | global &rtnl_mutex |
drivers/net/ethernet/airoha/airoha_eth.c airoha_fe_pse_ports_init() -> airoha_ppe_is_enabled()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | eth | 4096-ptr_max |
| PARAM_VALUE | 0 | eth->fe_regs | 4096-ptr_max |
| PARAM_VALUE | 0 | eth->soc | 4096-ptr_max |
| PARAM_VALUE | 1 | index | 1 |
| BUF_SIZE | 0 | eth->dev | 1616 |
| CAPPED_DATA | 0 | eth->soc->num_xsi_rsts | 1 |
| DATA_SOURCE | 0 | eth | $0 |
| MEM_ZERO | 0 | eth | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 0 | eth->soc->num_xsi_rsts |
drivers/net/ethernet/airoha/airoha_eth.c airoha_fe_pse_ports_init() -> airoha_ppe_is_enabled()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | eth | 4096-ptr_max |
| PARAM_VALUE | 0 | eth->fe_regs | 4096-ptr_max |
| PARAM_VALUE | 0 | eth->soc | 4096-ptr_max |
| PARAM_VALUE | 1 | index | 1 |
| BUF_SIZE | 0 | eth->dev | 1616 |
| CAPPED_DATA | 0 | eth->soc->num_xsi_rsts | 1 |
| DATA_SOURCE | 0 | eth | $0 |
| MEM_ZERO | 0 | eth | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 0 | eth->soc->num_xsi_rsts |