Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/acpi/sbshc.c acpi_smbus_read() -> acpi_smbus_transaction()

Type Parameter Key Value
PARAM_VALUE 2 address 9-11
PARAM_VALUE 5 length 0
BUF_SIZE 0 hc s32min-(-1),1-s32max
BUF_SIZE 0 hc s32min-(-1),1-s32max
BUF_SIZE 4 data (-1),2
BUF_SIZE 4 data (-1),2
DATA_SOURCE 0 hc $0
DATA_SOURCE 1 protocol $1
DATA_SOURCE 2 address $2
DATA_SOURCE 3 command $3
DATA_SOURCE 4 data $4
HARD_MAX 2 address 11
RX_PATH
TASK_NOT_RUNNING
UNITS 0 hc unit_byte
UNITS 4 data unit_byte
HALF_LOCKED2 &of->mutex

drivers/acpi/sbshc.c acpi_smbus_write() -> acpi_smbus_transaction()

Type Parameter Key Value
PARAM_VALUE 1 protocol 8
PARAM_VALUE 2 address 10-11
PARAM_VALUE 3 command 1
PARAM_VALUE 4 data 4096-ptr_max
PARAM_VALUE 5 length 2
BUF_SIZE 4 data 2
BUF_SIZE 4 data 2
DATA_SOURCE 0 hc $0
DATA_SOURCE 1 protocol $1
DATA_SOURCE 2 address $2
DATA_SOURCE 3 command $3
DATA_SOURCE 4 data $4
DATA_SOURCE 5 length $5
HARD_MAX 2 address 11
RX_PATH
TASK_NOT_RUNNING
UNITS 0 hc unit_byte
HALF_LOCKED2 &of->mutex