Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/hwmon/drivetemp.c drivetemp_identify_sata() -> drivetemp_get_smarttemp()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | st | 4096-ptr_max |
| PARAM_VALUE | 0 | st->dev | 4096-ptr_max |
| PARAM_VALUE | 0 | st->get_temp | 4550707261487337472 |
| 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->temp_crit | (-128000)-(-1000),0-127000 |
| PARAM_VALUE | 0 | st->temp_lcrit | (-128000)-(-1000),0-127000 |
| PARAM_VALUE | 0 | st->temp_max | (-128000)-(-1000),0-127000 |
| PARAM_VALUE | 0 | st->temp_min | (-128000)-(-1000),0-127000 |
| PARAM_VALUE | 0 | *st->smartdata | 0-255 |
| PARAM_VALUE | 1 | attr | 1 |
| PARAM_VALUE | 2 | temp | 7282285850140233728 |
| BUF_SIZE | 0 | st | 584 |
| DATA_SOURCE | 0 | st | $0 |
| LOCK2 | &sp->mutex | ||
| TYPE_LOCK | (struct subsys_private)->mutex |
drivers/hwmon/drivetemp.c drivetemp_read() -> (struct drivetemp_data)->get_temp()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | st | 4096-ptr_max |
| PARAM_VALUE | 1 | attr | 1,22-23 |
| PARAM_VALUE | 2 | temp | 195298570250117120,4554130325504462848,8919755710596476928 |
| BUF_SIZE | 0 | st | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | st | s32min-(-2),1-s32max |
| DATA_SOURCE | 1 | attr | $2 |
| DATA_SOURCE | 2 | temp | $4 |
| CONTAINER | 0 | -552+0 | $(-1) |
| BIT_INFO | 2 | temp | 0x201040250040000,0x7fffd7effdff7000 |
| BIT_INFO | 2 | temp | 0x201040250040000,0x7fffd7effdff7000 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | _T->lock | ||
| HALF_LOCKED2 | &of->mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | &tz->lock |