Defined in 1 files as a function:

Referenced in 5 files:

Smatch caller information:

drivers/net/wireless/ath/ath12k/wifi7/dp_tx.c ath12k_dp_tx_htt_tx_complete_buf() -> ath12k_hw_mac_id_to_pdev_id()

Type Parameter Key Value
PARAM_VALUE 0 hw 4096-ptr_max
PARAM_VALUE 0 hw->hw_ops 4096-ptr_max
PARAM_VALUE 0 hw->ring_mask 4096-ptr_max
PARAM_VALUE 0 hw->ring_mask->tx 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &ni->dev_lock

drivers/net/wireless/ath/ath12k/wifi7/dp_tx.c ath12k_wifi7_dp_tx_completion_handler() -> ath12k_hw_mac_id_to_pdev_id()

Type Parameter Key Value
PARAM_VALUE 0 hw 4096-ptr_max
PARAM_VALUE 0 hw->hw_ops 4096-ptr_max
PARAM_VALUE 0 hw->ring_mask 4096-ptr_max
PARAM_VALUE 0 hw->ring_mask->tx 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING

drivers/net/wireless/ath/ath12k/wifi7/dp_mon.c ath12k_wifi7_dp_mon_process_ring() -> ath12k_hw_mac_id_to_pdev_id()

Type Parameter Key Value
PARAM_VALUE 0 hw 4096-ptr_max
PARAM_VALUE 0 hw->hw_ops 4096-ptr_max
PARAM_VALUE 0 hw->num_rxdma_per_pdev 1-2
PARAM_VALUE 0 hw->ring_mask 4096-ptr_max
PARAM_VALUE 0 hw->ring_mask->rx 4096-ptr_max
PARAM_VALUE 0 hw->ring_mask->rx_err 4096-ptr_max
PARAM_VALUE 0 hw->ring_mask->rx_mon_status 4096-ptr_max
PARAM_VALUE 0 hw->ring_mask->rx_wbm_rel 4096-ptr_max
PARAM_VALUE 0 hw->ring_mask->tx 4096-ptr_max
DATA_SOURCE 1 mac_id $1
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 bh
HALF_LOCKED2 rcu_read

drivers/net/wireless/ath/ath12k/wifi7/dp_mon.c ath12k_wifi7_dp_mon_srng_process() -> ath12k_hw_mac_id_to_pdev_id()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
LOCK2 rcu_read
HALF_LOCKED2 bh

drivers/net/wireless/ath/ath12k/wifi7/dp_mon.c ath12k_wifi7_dp_rx_reap_mon_status_ring() -> ath12k_hw_mac_id_to_pdev_id()

Type Parameter Key Value
DATA_SOURCE 1 mac_id $1
RX_PATH
TASK_NOT_RUNNING
LOCK2 rcu_read
HALF_LOCKED2 &ni->dev_lock
HALF_LOCKED2 bh

drivers/net/wireless/ath/ath12k/wifi7/dp_rx.c ath12k_wifi7_dp_rx_process_err() -> ath12k_hw_mac_id_to_pdev_id()

Type Parameter Key Value
PARAM_VALUE 0 hw->hw_ops 4096-ptr_max
PARAM_VALUE 1 mac_id 0-255
PREEMPT_ADD <- disables preempt
RX_PATH
TASK_NOT_RUNNING
LOCK2 &srng->lock
LOCK2 bh
TYPE_LOCK (struct hal_srng)->lock

drivers/net/wireless/ath/ath12k/wifi7/dp_rx.c ath12k_wifi7_dp_rx_process_received_packets() -> ath12k_hw_mac_id_to_pdev_id()

Type Parameter Key Value
PARAM_VALUE 0 hw->hw_ops 4096-ptr_max
PARAM_VALUE 1 mac_id 0-255
RX_PATH
TASK_NOT_RUNNING
LOCK2 rcu_read

drivers/net/wireless/ath/ath12k/wifi7/dp_rx.c ath12k_wifi7_dp_rx_process_wbm_err() -> ath12k_hw_mac_id_to_pdev_id()

Type Parameter Key Value
PARAM_VALUE 0 hw->hw_ops 4096-ptr_max
PARAM_VALUE 1 mac_id 0-255
RX_PATH
TASK_NOT_RUNNING
LOCK2 rcu_read

drivers/net/wireless/ath/ath12k/dp_tx.c ath12k_dp_tx_free_txbuf() -> ath12k_hw_mac_id_to_pdev_id()

Type Parameter Key Value
PARAM_VALUE 0 hw 4096-ptr_max
PARAM_VALUE 0 hw->hw_ops 4096-ptr_max
PARAM_VALUE 0 hw->ring_mask 4096-ptr_max
PARAM_VALUE 0 hw->ring_mask->tx 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &ni->dev_lock