Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/net/usb/r8152.c ocp_write_byte() -> generic_ocp_write()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | tp->intf->dev.power.wakeirq->status | 0-4294967295 |
| PARAM_VALUE | 0 | tp->udev->dev.pins->p | 0-s64max |
| PARAM_VALUE | 3 | size | 4 |
| PARAM_VALUE | 4 | data | 7869423562218622976 |
| PARAM_VALUE | 5 | type | 0,256 |
| BUF_SIZE | 0 | tp | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | tp | s32min-(-1),1-s32max |
| BUF_SIZE | 4 | data | 4 |
| DATA_SOURCE | 0 | tp | $0 |
| DATA_SOURCE | 1 | index | $2 [m] |
| DATA_SOURCE | 5 | type | $1 |
| BIT_INFO | 1 | index | 0x0,0xfffc |
| HARD_MAX | 5 | type | 256 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| USER_DATA | 0 | tp->coalesce | 0-524280 |
| UNITS | 3 | size | unit_byte |
| HALF_LOCKED2 | 0 | &tp->control |
drivers/net/usb/r8152.c ocp_write_dword() -> generic_ocp_write()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | tp | 4096-ptr_max |
| PARAM_VALUE | 0 | tp->intf->dev.power.wakeirq->status | 0-4294967295 |
| PARAM_VALUE | 1 | index | 49168,49312,49316,49320,53964,54284,54324,54400,54744,55368,57536,58904 |
| PARAM_VALUE | 2 | byteen | 255 |
| PARAM_VALUE | 3 | size | 4 |
| PARAM_VALUE | 4 | data | 4138694964844236800 |
| PARAM_VALUE | 5 | type | 0,256 |
| BUF_SIZE | 0 | tp | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | tp | s32min-(-1),1-s32max |
| BUF_SIZE | 4 | data | 4 |
| DATA_SOURCE | 0 | tp | $0 |
| DATA_SOURCE | 1 | index | $2 |
| DATA_SOURCE | 5 | type | $1 |
| HARD_MAX | 1 | index | 58904 |
| HARD_MAX | 5 | type | 256 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| USER_DATA | 0 | tp->coalesce | 0-524280 |
| UNITS | 0 | tp | unit_byte |
| UNITS | 3 | size | unit_byte |
| HALF_LOCKED2 | &tp->control | ||
| HALF_LOCKED2 | 0 | &tp->control |
drivers/net/usb/r8152.c ocp_write_word() -> generic_ocp_write()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | tp | 4096-ptr_max |
| PARAM_VALUE | 0 | tp->intf->dev.power.wakeirq->status | 0-4294967295 |
| PARAM_VALUE | 0 | tp->udev->dev.pins->p | 0-s64max |
| PARAM_VALUE | 2 | byteen | 51,204 |
| PARAM_VALUE | 3 | size | 4 |
| PARAM_VALUE | 4 | data | 8732965069285613568 |
| PARAM_VALUE | 5 | type | 0,256 |
| BUF_SIZE | 0 | tp | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | tp | s32min-(-1),1-s32max |
| BUF_SIZE | 4 | data | 4 |
| DATA_SOURCE | 0 | tp | $0 |
| DATA_SOURCE | 1 | index | $2 [m] |
| DATA_SOURCE | 5 | type | $1 |
| FUZZY_MAX | 2 | byteen | 51 |
| BIT_INFO | 1 | index | 0x0,0xfffd |
| HARD_MAX | 5 | type | 256 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| USER_DATA | 0 | tp->coalesce | 0-524280 |
| USER_DATA | 0 | tp->eee_en | 0-1 |
| UNITS | 0 | tp | unit_byte |
| UNITS | 3 | size | unit_byte |
| HALF_LOCKED2 | 0 | &tp->control | |
| HALF_LOCKED2 | 0 | &tp->netdev->nd_net.net->rtnl_mutex |
drivers/net/usb/r8152.c pla_ocp_write() -> generic_ocp_write()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | tp | 4096-ptr_max |
| PARAM_VALUE | 0 | tp->intf->dev.power.wakeirq->status | 0-4294967295 |
| PARAM_VALUE | 1 | index | 49152,52480 |
| PARAM_VALUE | 2 | byteen | 63,255 |
| PARAM_VALUE | 3 | size | 8 |
| PARAM_VALUE | 4 | data | 4096-ptr_max |
| PARAM_VALUE | 5 | type | 256 |
| BUF_SIZE | 4 | data | 8,126 |
| BUF_SIZE | 4 | data | 8,126 |
| DATA_SOURCE | 0 | tp | $0 |
| DATA_SOURCE | 1 | index | $1 |
| DATA_SOURCE | 2 | byteen | $2 |
| DATA_SOURCE | 3 | size | $3 |
| DATA_SOURCE | 4 | data | $4 |
| HARD_MAX | 1 | index | 52480 |
| HARD_MAX | 2 | byteen | 255 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 3 | size | unit_byte |
| HALF_LOCKED2 | &tp->control | ||
| HALF_LOCKED2 | 0 | &tp->control | |
| TYPE_LOCK | (struct r8152)->control |
drivers/net/usb/r8152.c rtl8152_fw_mac_apply() -> generic_ocp_write()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | tp | 4096-ptr_max |
| PARAM_VALUE | 0 | tp->intf->dev.power.wakeirq->status | 0-4294967295 |
| PARAM_VALUE | 0 | tp->rtl_fw.fw | 1-ptr_max |
| PARAM_VALUE | 0 | tp->version | 1-9,11-18 |
| PARAM_VALUE | 2 | byteen | 255 |
| PARAM_VALUE | 5 | type | 0,256 |
| BUF_SIZE | 0 | tp | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | tp | s32min-(-1),1-s32max |
| DATA_SOURCE | 0 | tp | $0 |
| FUZZY_MAX | 0 | tp->version | 4 |
| FUZZY_MAX | 5 | type | 256 |
| BIT_INFO | 5 | type | 0x0,0x100 |
| HARD_MAX | 5 | type | 256 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 3 | size | unit_byte |
| HALF_LOCKED2 | 0 | &tp->control |
drivers/net/usb/r8152.c rtl8152_fw_mac_apply() -> generic_ocp_write()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | tp | 4096-ptr_max |
| PARAM_VALUE | 0 | tp->intf->dev.power.wakeirq->status | 0-4294967295 |
| PARAM_VALUE | 0 | tp->rtl_fw.fw | 1-ptr_max |
| PARAM_VALUE | 0 | tp->version | 1-9,11-18 |
| PARAM_VALUE | 2 | byteen | 255 |
| PARAM_VALUE | 5 | type | 0,256 |
| BUF_SIZE | 0 | tp | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | tp | s32min-(-1),1-s32max |
| BUF_SIZE | 4 | data | 32 |
| DATA_SOURCE | 0 | tp | $0 |
| FUZZY_MAX | 0 | tp->version | 4 |
| FUZZY_MAX | 5 | type | 256 |
| BIT_INFO | 3 | size | 0x0,0x3fffc |
| BIT_INFO | 5 | type | 0x0,0x100 |
| HARD_MAX | 5 | type | 256 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | 0 | &tp->control |
drivers/net/usb/r8152.c rtl_clear_bp() -> generic_ocp_write()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | tp | 4096-ptr_max |
| PARAM_VALUE | 0 | tp->intf->dev.power.wakeirq->status | 0-4294967295 |
| PARAM_VALUE | 0 | tp->rtl_fw.fw | 1-ptr_max |
| PARAM_VALUE | 0 | tp->version | 1-9,11-18 |
| PARAM_VALUE | 1 | index | 64552 |
| PARAM_VALUE | 2 | byteen | 255 |
| PARAM_VALUE | 3 | size | 16,32 |
| PARAM_VALUE | 4 | data | 4096-ptr_max |
| PARAM_VALUE | 5 | type | 0,256 |
| BUF_SIZE | 0 | tp | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | tp | s32min-(-1),1-s32max |
| BUF_SIZE | 4 | data | 32 |
| DATA_SOURCE | 0 | tp | $0 |
| DATA_SOURCE | 5 | type | $1 |
| FUZZY_MAX | 5 | type | 256 |
| BIT_INFO | 3 | size | 0x0,0x30 |
| BIT_INFO | 5 | type | 0x0,0x100 |
| HARD_MAX | 5 | type | 256 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | 0 | &tp->control |
drivers/net/usb/r8152.c rtl_ram_code_speed_up() -> generic_ocp_write()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | tp | 4096-ptr_max |
| PARAM_VALUE | 0 | tp->intf->dev.power.wakeirq->status | 0-4294967295 |
| PARAM_VALUE | 0 | tp->ocp_base | 0,8192-61440 |
| PARAM_VALUE | 0 | tp->rtl_fw.fw | 1-ptr_max |
| PARAM_VALUE | 2 | byteen | 255 |
| PARAM_VALUE | 3 | size | 1-2048 |
| PARAM_VALUE | 5 | type | 0 |
| BUF_SIZE | 0 | tp | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | tp | s32min-(-1),1-s32max |
| DATA_SOURCE | 0 | tp | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 1 | index | unit_byte |
| UNITS | 3 | size | unit_byte |
| HALF_LOCKED2 | 0 | &tp->control |
drivers/net/usb/r8152.c usb_ocp_write() -> generic_ocp_write()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | tp | 4096-ptr_max |
| PARAM_VALUE | 0 | tp->intf->dev.power.wakeirq->status | 0-4294967295 |
| PARAM_VALUE | 1 | index | 54416 |
| PARAM_VALUE | 2 | byteen | 63 |
| PARAM_VALUE | 3 | size | 8 |
| PARAM_VALUE | 4 | data | 3766154165242220544 |
| PARAM_VALUE | 5 | type | 0 |
| BUF_SIZE | 0 | tp | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | tp | s32min-(-1),1-s32max |
| BUF_SIZE | 4 | data | 8 |
| BUF_SIZE | 4 | data | 8 |
| DATA_SOURCE | 0 | tp | $0 |
| DATA_SOURCE | 1 | index | $1 |
| DATA_SOURCE | 2 | byteen | $2 |
| DATA_SOURCE | 3 | size | $3 |
| DATA_SOURCE | 4 | data | $4 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 3 | size | unit_byte |
| HALF_LOCKED2 | 0 | &tp->control |