Defined in 1 files as a function:
Referenced in 2 files:
- drivers/net/ethernet/freescale/dpaa2/dpaa2-switch-ethtool.c
- drivers/net/ethernet/freescale/dpaa2/dpaa2-switch.c, line 2454
Smatch caller information:
drivers/net/ethernet/freescale/dpaa2/dpaa2-switch.c dpaa2_switch_pre_lag_join() -> dpaa2_switch_port_has_mac()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | port_priv | 4096-ptr_max |
drivers/net/ethernet/freescale/dpaa2/dpaa2-switch-ethtool.c dpaa2_switch_ethtool_get_stats() -> dpaa2_switch_port_has_mac()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | port_priv | 4096-ptr_max |
| CAPPED_DATA | 0 | &port_priv->mac_lock | 1 |
| LOCK2 | 0 | &port_priv->mac_lock | |
| TYPE_LOCK | (struct ethsw_port_priv)->mac_lock |
drivers/net/ethernet/freescale/dpaa2/dpaa2-switch-ethtool.c dpaa2_switch_get_ctrl_stats() -> dpaa2_switch_port_has_mac()
| Type | Parameter | Key | Value |
|---|---|---|---|
| CAPPED_DATA | 0 | &port_priv->mac_lock | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | 0 | &port_priv->mac_lock | |
| TYPE_LOCK | (struct ethsw_port_priv)->mac_lock |
drivers/net/ethernet/freescale/dpaa2/dpaa2-switch-ethtool.c dpaa2_switch_get_eth_mac_stats() -> dpaa2_switch_port_has_mac()
| Type | Parameter | Key | Value |
|---|---|---|---|
| CAPPED_DATA | 0 | &port_priv->mac_lock | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | 0 | &port_priv->mac_lock | |
| TYPE_LOCK | (struct ethsw_port_priv)->mac_lock |
drivers/net/ethernet/freescale/dpaa2/dpaa2-switch-ethtool.c dpaa2_switch_get_rmon_stats() -> dpaa2_switch_port_has_mac()
| Type | Parameter | Key | Value |
|---|---|---|---|
| CAPPED_DATA | 0 | &port_priv->mac_lock | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | 0 | &port_priv->mac_lock | |
| TYPE_LOCK | (struct ethsw_port_priv)->mac_lock |