Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/ata/libahci.c ahci_scr_read() -> ahci_scr_offset()

Type Parameter Key Value
PARAM_VALUE 0 ap 4096-ptr_max
PARAM_VALUE 0 ap->host 4096-ptr_max
PARAM_VALUE 0 ap->host->private_data 4096-ptr_max
PARAM_VALUE 1 sc_reg 0-2,4
DATA_SOURCE 1 sc_reg $1
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
HOST_DATA 0 ap->last_ctl 0-255
HOST_DATA 0 ap->link.eh_info.serror 0-u32max
HOST_DATA 0 ap->slave_link->pmp 0-255
HALF_LOCKED2 &host->lock
HALF_LOCKED2 flags

drivers/ata/libahci.c ahci_scr_write() -> ahci_scr_offset()

Type Parameter Key Value
PARAM_VALUE 0 ap 4096-ptr_max
PARAM_VALUE 0 ap->host 4096-ptr_max
PARAM_VALUE 0 ap->host->private_data 4096-ptr_max
PARAM_VALUE 1 sc_reg 1-2,4
DATA_SOURCE 1 sc_reg $1
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
HOST_DATA 0 ap->last_ctl 0-255
HOST_DATA 0 ap->link.eh_info.serror 0-u32max
HOST_DATA 0 ap->slave_link->pmp 0-255
HALF_LOCKED2 &host->lock
HALF_LOCKED2 flags