Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/hwmon/drivetemp.c drivetemp_get_scttemp() -> drivetemp_ata_command()

Type Parameter Key Value
PARAM_VALUE 0 st 4096-ptr_max
PARAM_VALUE 1 feature 213
PARAM_VALUE 2 select 224
BUF_SIZE 0 st s32min-(-2),1-s32max
BUF_SIZE 0 st s32min-(-2),1-s32max
DATA_SOURCE 0 st $0
RX_PATH
TASK_NOT_RUNNING
LOCK2 _T->lock
HALF_LOCKED2 &of->mutex
HALF_LOCKED2 &pool->lock
HALF_LOCKED2 &tz->lock

drivers/hwmon/drivetemp.c drivetemp_get_smarttemp() -> drivetemp_ata_command()

Type Parameter Key Value
PARAM_VALUE 0 st 4096-ptr_max
PARAM_VALUE 0 st->sdev->request_queue->dev->power.wakeirq->status 0-4294967295
PARAM_VALUE 0 *st->smartdata 0-255
PARAM_VALUE 1 feature 208
PARAM_VALUE 2 select 0
BUF_SIZE 0 st s32min-(-1),1-s32max
BUF_SIZE 0 st s32min-(-1),1-s32max
DATA_SOURCE 0 st $0
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &sp->mutex
HALF_LOCKED2 _T->lock

drivers/hwmon/drivetemp.c drivetemp_identify_sata() -> drivetemp_ata_command()

Type Parameter Key Value
PARAM_VALUE 0 st 4096-ptr_max
PARAM_VALUE 0 st->dev 4096-ptr_max
PARAM_VALUE 0 st->sdev 4096-ptr_max
PARAM_VALUE 0 st->sdev->inquiry 1-u64max
PARAM_VALUE 0 st->sdev->inquiry_len 16-255
PARAM_VALUE 0 st->sdev->type 0,20
PARAM_VALUE 1 feature 213
PARAM_VALUE 2 select 224
BUF_SIZE 0 st 584
DATA_SOURCE 0 st $0
FUZZY_MAX 0 st->sdev->inquiry_len 16
LOCK2 &sp->mutex
TYPE_LOCK (struct subsys_private)->mutex

drivers/hwmon/drivetemp.c drivetemp_identify_sata() -> drivetemp_ata_command()

Type Parameter Key Value
PARAM_VALUE 0 st 4096-ptr_max
PARAM_VALUE 0 st->dev 4096-ptr_max
PARAM_VALUE 0 st->sdev 4096-ptr_max
PARAM_VALUE 0 st->sdev->request_queue->dev->power.wakeirq->status 0-4294967295
PARAM_VALUE 0 st->smartdata 4096-ptr_max
PARAM_VALUE 1 feature 214
PARAM_VALUE 2 select 224
BUF_SIZE 0 st 584
DATA_SOURCE 0 st $0
LOCK2 &sp->mutex
TYPE_LOCK (struct subsys_private)->mutex

drivers/hwmon/drivetemp.c drivetemp_identify_sata() -> drivetemp_ata_command()

Type Parameter Key Value
PARAM_VALUE 0 st 4096-ptr_max
PARAM_VALUE 0 st->dev 4096-ptr_max
PARAM_VALUE 0 st->sdev 4096-ptr_max
PARAM_VALUE 0 st->sdev->request_queue->dev->power.wakeirq->status 0-4294967295
PARAM_VALUE 0 st->smartdata 4096-ptr_max
PARAM_VALUE 0 *st->smartdata 0-255
PARAM_VALUE 1 feature 213
PARAM_VALUE 2 select 225
BUF_SIZE 0 st 584
DATA_SOURCE 0 st $0
LOCK2 &sp->mutex
TYPE_LOCK (struct subsys_private)->mutex