Documented in 1 files:
Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 2 files:
- drivers/net/ethernet/freescale/dpaa2/dpaa2-switch-ethtool.c, line 76
- drivers/net/ethernet/freescale/dpaa2/dpaa2-switch.c
Smatch caller information:
drivers/net/ethernet/freescale/dpaa2/dpaa2-switch.c dpaa2_switch_port_is_up() -> dpsw_if_get_link_state()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mc_io | 4096-ptr_max |
| PARAM_VALUE | 0 | mc_io->spinlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | mc_io->spinlock.owner | (-1) |
| PARAM_VALUE | 0 | mc_io->spinlock.owner_cpu | u32max |
| PARAM_VALUE | 1 | cmd_flags | 0 |
| PARAM_VALUE | 4 | state | 7689938008155959296 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 3 | if_id | unit_array_size |
drivers/net/ethernet/freescale/dpaa2/dpaa2-switch.c dpaa2_switch_port_link_state_update() -> dpsw_if_get_link_state()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | cmd_flags | 0 |
| PARAM_VALUE | 4 | state | 3563143239876677632 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 3 | if_id | unit_array_size |
| HALF_LOCKED2 | _T->lock | ||
| HALF_LOCKED2 | irq |
drivers/net/ethernet/freescale/dpaa2/dpaa2-switch-ethtool.c dpaa2_switch_get_link_ksettings() -> dpsw_if_get_link_state()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | cmd_flags | 0 |
| PARAM_VALUE | 4 | state | 6730266019267338240 |
| PARAM_VALUE | 4 | state->options | 0 |
| PARAM_VALUE | 4 | state->rate | 0 |
| PARAM_VALUE | 4 | state->up | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 3 | if_id | unit_array_size |
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | global &rtnl_mutex |