Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/net/ethernet/renesas/sh_eth.c sh_mdc_ctrl() -> sh_mdio_ctrl()

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 mask 1
PARAM_VALUE 2 set 0-1
BUF_SIZE 0 ctrl s32min-(-1),1-s32max
BUF_SIZE 0 ctrl s32min-(-1),1-s32max
DATA_SOURCE 0 ctrl $0
DATA_SOURCE 2 set $1
HARD_MAX 2 set 1
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &bus->mdio_lock

drivers/net/ethernet/renesas/sh_eth.c sh_mmd_ctrl() -> sh_mdio_ctrl()

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 mask 2
PARAM_VALUE 2 set 0-1
BUF_SIZE 0 ctrl s32min-(-1),1-s32max
BUF_SIZE 0 ctrl s32min-(-1),1-s32max
DATA_SOURCE 0 ctrl $0
DATA_SOURCE 2 set $1
HARD_MAX 2 set 1
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &bus->mdio_lock

drivers/net/ethernet/renesas/sh_eth.c sh_set_mdio() -> sh_mdio_ctrl()

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 mask 4
PARAM_VALUE 2 set 0-1
BUF_SIZE 0 ctrl s32min-(-1),1-s32max
BUF_SIZE 0 ctrl s32min-(-1),1-s32max
DATA_SOURCE 0 ctrl $0
DATA_SOURCE 2 set $1
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HOST_DATA 2 set 0-1
USER_DATA 2 set 0-1[c]
HALF_LOCKED2 &bus->mdio_lock