Defined in 2 files as a function:
- drivers/net/ethernet/freescale/fs_enet/mii-bitbang.c, line 55 (as a function)
- drivers/net/mdio/mdio-gpio.c, line 55 (as a function)
Referenced in 2 files:
- drivers/net/ethernet/freescale/fs_enet/mii-bitbang.c, line 103
- drivers/net/mdio/mdio-gpio.c, line 106
Smatch caller information:
drivers/net/mdio/mdio-bitbang.c mdiobb_cmd() -> (struct mdiobb_ops)->set_mdio_dir()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ctrl | 4096-ptr_max |
| PARAM_VALUE | 0 | ctrl->ops | 4096-ptr_max |
| PARAM_VALUE | 0 | ctrl->ops->get_mdio_data | 4096-ptr_max |
| PARAM_VALUE | 0 | ctrl->ops->set_mdc | 4096-ptr_max |
| PARAM_VALUE | 0 | ctrl->ops->set_mdio_data | 4096-ptr_max |
| PARAM_VALUE | 0 | ctrl->ops->set_mdio_dir | 4096-ptr_max |
| PARAM_VALUE | 1 | dir | 1 |
| BUF_SIZE | 0 | ctrl | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | ctrl | s32min-(-1),1-s32max |
| DATA_SOURCE | 0 | ctrl | $0 |
| CONTAINER | 0 | -16-0+0 | $(-1) |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &bus->mdio_lock |
drivers/net/mdio/mdio-bitbang.c mdiobb_cmd_addr() -> (struct mdiobb_ops)->set_mdio_dir()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ctrl | 4096-ptr_max |
| PARAM_VALUE | 0 | ctrl->ops | 4096-ptr_max |
| PARAM_VALUE | 0 | ctrl->ops->set_mdc | 4096-ptr_max |
| PARAM_VALUE | 0 | ctrl->ops->set_mdio_data | 4096-ptr_max |
| PARAM_VALUE | 0 | ctrl->ops->set_mdio_dir | 4096-ptr_max |
| PARAM_VALUE | 1 | dir | 0 |
| BUF_SIZE | 0 | ctrl | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | ctrl | s32min-(-1),1-s32max |
| DATA_SOURCE | 0 | ctrl | $0 |
| CONTAINER | 0 | -16-0+0 | $(-1) |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &bus->mdio_lock | ||
| TYPE_LOCK | (struct mii_bus)->mdio_lock |
drivers/net/mdio/mdio-bitbang.c mdiobb_read_common() -> (struct mdiobb_ops)->set_mdio_dir()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ctrl | 4096-ptr_max |
| PARAM_VALUE | 0 | ctrl->ops | 4096-ptr_max |
| PARAM_VALUE | 1 | dir | 0 |
| BUF_SIZE | 0 | ctrl | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | ctrl | s32min-(-1),1-s32max |
| CONTAINER | 0 | -16-0+0 | $(-1) |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &bus->mdio_lock |
drivers/net/mdio/mdio-bitbang.c mdiobb_write_common() -> (struct mdiobb_ops)->set_mdio_dir()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ctrl | 4096-ptr_max |
| PARAM_VALUE | 0 | ctrl->ops | 4096-ptr_max |
| PARAM_VALUE | 0 | ctrl->ops->set_mdc | 4096-ptr_max |
| PARAM_VALUE | 0 | ctrl->ops->set_mdio_data | 4096-ptr_max |
| PARAM_VALUE | 1 | dir | 0 |
| BUF_SIZE | 0 | ctrl | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | ctrl | s32min-(-2),1-s32max |
| CONTAINER | 0 | -16-0+0 | $(-1) |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &bus->mdio_lock |