Documented in 1 files:

Defined in 1 files as a prototype:

Defined in 2 files as a function:

Referenced in 5 files:

Smatch caller information:

drivers/thermal/ti-soc-thermal/ti-thermal-common.c __ti_thermal_get_temp() -> thermal_zone_get_offset()

Type Parameter Key Value
PARAM_VALUE 0 tz 4096-ptr_max
BUF_SIZE 0 tz s32min,(-1)-s32max
BUF_SIZE 0 tz s32min,(-1)-s32max
BUF_SIZE 0 tz->devdata (-1),8,16,24,32,40,48,96,104,112,136,200,216,232,256,320,376,392,1232,1616
DATA_SOURCE 0 tz $0
RX_PATH
TASK_NOT_RUNNING
NO_OVERFLOW_SIMPLE 0 tz->num_trips
LOCK2 0 &tz->lock
HALF_LOCKED2 &of->mutex
TYPE_LOCK (struct thermal_zone_device)->lock

drivers/thermal/broadcom/ns-thermal.c ns_thermal_get_temp() -> thermal_zone_get_offset()

Type Parameter Key Value
PARAM_VALUE 0 tz 4096-ptr_max
BUF_SIZE 0 tz s32min,(-1)-s32max
BUF_SIZE 0 tz s32min,(-1)-s32max
BUF_SIZE 0 tz->devdata (-1),8,16,24,32,40,48,96,104,112,136,200,216,232,256,320,376,392,1232,1616
DATA_SOURCE 0 tz $0
RX_PATH
TASK_NOT_RUNNING
NO_OVERFLOW_SIMPLE 0 tz->num_trips
LOCK2 0 &tz->lock
HALF_LOCKED2 &of->mutex
TYPE_LOCK (struct thermal_zone_device)->lock

drivers/thermal/broadcom/bcm2711_thermal.c bcm2711_get_temp() -> thermal_zone_get_offset()

Type Parameter Key Value
PARAM_VALUE 0 tz 4096-ptr_max
BUF_SIZE 0 tz s32min,(-1)-s32max
BUF_SIZE 0 tz s32min,(-1)-s32max
BUF_SIZE 0 tz->devdata (-1),8,16,24,32,40,48,96,104,112,136,200,216,232,256,320,376,392,1232,1616
DATA_SOURCE 0 tz $0
RX_PATH
TASK_NOT_RUNNING
NO_OVERFLOW_SIMPLE 0 tz->num_trips
LOCK2 0 &tz->lock
HALF_LOCKED2 &of->mutex
TYPE_LOCK (struct thermal_zone_device)->lock

drivers/thermal/broadcom/bcm2835_thermal.c bcm2835_thermal_get_temp() -> thermal_zone_get_offset()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
LOCK2 &tz->lock
HALF_LOCKED2 &of->mutex
TYPE_LOCK (struct thermal_zone_device)->lock

drivers/thermal/broadcom/bcm2835_thermal.c bcm2835_thermal_probe() -> thermal_zone_get_offset()

Type Parameter Key Value
PARAM_VALUE 0 tz 4096-ptr_max
BUF_SIZE 0 tz 2576-s32max
BUF_SIZE 0 tz 2576-s32max
CAPPED_DATA 0 tz->num_trips 1
DATA_SOURCE 0 tz r devm_thermal_of_zone_register
RX_PATH
TASK_NOT_RUNNING
NO_OVERFLOW_SIMPLE 0 tz->governor->bind_to_tz
NO_OVERFLOW_SIMPLE 0 tz->num_trips