Defined in 4 files as a member:

Defined in 1 files as a function:

Referenced in 31 files:

Smatch caller information:

drivers/hwmon/lochnagar-hwmon.c lochnagar_read() -> read_sensor()

Type Parameter Key Value
PARAM_VALUE 0 dev 4096-ptr_max
PARAM_VALUE 2 mode 1
PARAM_VALUE 3 nsamples 1
PARAM_VALUE 4 precision 1000
PARAM_VALUE 5 val 4554130325504462848,8919755710596476928
DATA_SOURCE 0 dev $0
DATA_SOURCE 1 chan $3
DATA_SOURCE 5 val $4
BIT_INFO 5 val 0x3b01040650051000,0x7ffbd7effddf7000
BIT_INFO 5 val 0x3b01040650051000,0x7ffbd7effddf7000
RX_PATH
TASK_NOT_RUNNING
LOCK2 &of->mutex
LOCK2 _T->lock
HALF_LOCKED2 &of->prealloc_mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct kernfs_open_file)->mutex

drivers/hwmon/lochnagar-hwmon.c lochnagar_read() -> read_sensor()

Type Parameter Key Value
PARAM_VALUE 0 dev 4096-ptr_max
PARAM_VALUE 2 mode 0
PARAM_VALUE 3 nsamples 1
PARAM_VALUE 4 precision 1000
PARAM_VALUE 5 val 4554130325504462848,8919755710596476928
DATA_SOURCE 0 dev $0
DATA_SOURCE 1 chan $3
DATA_SOURCE 5 val $4
BIT_INFO 5 val 0x3b01040650051000,0x7ffbd7effddf7000
BIT_INFO 5 val 0x3b01040650051000,0x7ffbd7effddf7000
RX_PATH
TASK_NOT_RUNNING
LOCK2 &of->mutex
LOCK2 _T->lock
HALF_LOCKED2 &of->prealloc_mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct kernfs_open_file)->mutex

drivers/hwmon/lochnagar-hwmon.c lochnagar_read() -> read_sensor()

Type Parameter Key Value
PARAM_VALUE 0 dev 4096-ptr_max
PARAM_VALUE 2 mode 2
PARAM_VALUE 3 nsamples 1
PARAM_VALUE 4 precision 1000
PARAM_VALUE 5 val 195298570250117120,4554130325504462848,8919755710596476928
DATA_SOURCE 0 dev $0
DATA_SOURCE 1 chan $3
DATA_SOURCE 5 val $4
BIT_INFO 5 val 0x201040250040000,0x7fffd7effdff7000
BIT_INFO 5 val 0x201040250040000,0x7fffd7effdff7000
RX_PATH
TASK_NOT_RUNNING
LOCK2 _T->lock
HALF_LOCKED2 &of->mutex
HALF_LOCKED2 &pool->lock
HALF_LOCKED2 &tz->lock

drivers/hwmon/lochnagar-hwmon.c read_power() -> read_sensor()

Type Parameter Key Value
PARAM_VALUE 0 dev 4096-ptr_max
PARAM_VALUE 2 mode 1
PARAM_VALUE 3 nsamples 1
PARAM_VALUE 4 precision 1000000
PARAM_VALUE 5 val 4554130325504462848,8919755710596476928
DATA_SOURCE 0 dev $0
DATA_SOURCE 1 chan $1
DATA_SOURCE 5 val $2
BIT_INFO 5 val 0x3b01040650051000,0x7ffbd7effddf7000
BIT_INFO 5 val 0x3b01040650051000,0x7ffbd7effddf7000
RX_PATH
TASK_NOT_RUNNING
LOCK2 &of->mutex
LOCK2 _T->lock
HALF_LOCKED2 &of->prealloc_mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct kernfs_open_file)->mutex

drivers/hwmon/lochnagar-hwmon.c read_power() -> read_sensor()

Type Parameter Key Value
PARAM_VALUE 0 dev 4096-ptr_max
PARAM_VALUE 0 dev->driver_data 4096-ptr_max
PARAM_VALUE 0 dev->driver_data->regmap 4096-ptr_max
PARAM_VALUE 0 dev->driver_data->regmap->cache->cached_rbnode->base_reg 0-4294967295
PARAM_VALUE 0 dev->driver_data->regmap->cache->cached_rbnode->blklen 0-4294967295
PARAM_VALUE 0 dev->driver_data->regmap->cache->cached_rbnode->node.__rb_parent_color 0-1
PARAM_VALUE 0 dev->driver_data->regmap->cache_dirty 0-1
PARAM_VALUE 0 *dev->driver_data->regmap->cache->data 0-4294967295
PARAM_VALUE 2 mode 0
PARAM_VALUE 3 nsamples 1-1023
PARAM_VALUE 4 precision 1000000
PARAM_VALUE 5 val 4554130325504462848,8919755710596476928
DATA_SOURCE 0 dev $0
DATA_SOURCE 1 chan $1
DATA_SOURCE 5 val $2
BIT_INFO 5 val 0x201040250040000,0x7fffffffffffffff
BIT_INFO 5 val 0x201040250040000,0xffffffffffffffff
RX_PATH
TASK_NOT_RUNNING
LOCK2 &of->mutex
LOCK2 _T->lock
HALF_LOCKED2 &of->prealloc_mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct kernfs_open_file)->mutex

Smatch assignments to (struct pptable_funcs)->read_sensor:

drivers/gpu/drm/amd/amdgpu/../pm/swsmu/smu13/smu_v13_0_7_ppt.c (null)() -> (struct pptable_funcs)->read_sensor [184632053559103488]

drivers/gpu/drm/amd/amdgpu/../pm/swsmu/smu14/smu_v14_0_0_ppt.c (null)() -> (struct pptable_funcs)->read_sensor [6954139960583835648]

drivers/gpu/drm/amd/amdgpu/../pm/swsmu/smu15/smu_v15_0_8_ppt.c (null)() -> (struct pptable_funcs)->read_sensor [3710236816227921920]

drivers/gpu/drm/amd/amdgpu/../pm/swsmu/smu13/aldebaran_ppt.c (null)() -> (struct pptable_funcs)->read_sensor [3564737831329173504]

drivers/gpu/drm/amd/amdgpu/../pm/swsmu/smu14/smu_v14_0_2_ppt.c (null)() -> (struct pptable_funcs)->read_sensor [1759503262264356864]

drivers/gpu/drm/amd/amdgpu/../pm/swsmu/smu11/arcturus_ppt.c (null)() -> (struct pptable_funcs)->read_sensor [789065028540616704]

drivers/gpu/drm/amd/amdgpu/../pm/swsmu/smu13/smu_v13_0_5_ppt.c (null)() -> (struct pptable_funcs)->read_sensor [2583399879652761600]

drivers/gpu/drm/amd/amdgpu/../pm/swsmu/smu13/smu_v13_0_6_ppt.c (null)() -> (struct pptable_funcs)->read_sensor [8238996593704833024]

drivers/gpu/drm/amd/amdgpu/../pm/swsmu/smu12/renoir_ppt.c (null)() -> (struct pptable_funcs)->read_sensor [5367815408843395072]

drivers/gpu/drm/amd/amdgpu/../pm/swsmu/smu11/vangogh_ppt.c (null)() -> (struct pptable_funcs)->read_sensor [897284220741058560]

drivers/gpu/drm/amd/amdgpu/../pm/swsmu/smu13/yellow_carp_ppt.c (null)() -> (struct pptable_funcs)->read_sensor [2766363649619185664]

drivers/gpu/drm/amd/amdgpu/../pm/swsmu/smu11/cyan_skillfish_ppt.c (null)() -> (struct pptable_funcs)->read_sensor [4958403173033529344]

drivers/gpu/drm/amd/amdgpu/../pm/swsmu/smu13/smu_v13_0_4_ppt.c (null)() -> (struct pptable_funcs)->read_sensor [4653819928498999296]

drivers/gpu/drm/amd/amdgpu/../pm/swsmu/smu11/navi10_ppt.c (null)() -> (struct pptable_funcs)->read_sensor [3916055289434492928]

drivers/gpu/drm/amd/amdgpu/../pm/swsmu/smu15/smu_v15_0_0_ppt.c (null)() -> (struct pptable_funcs)->read_sensor [7746549700112642048]

drivers/gpu/drm/amd/amdgpu/../pm/swsmu/smu11/sienna_cichlid_ppt.c (null)() -> (struct pptable_funcs)->read_sensor [2980104311468085248]

drivers/gpu/drm/amd/amdgpu/../pm/swsmu/smu13/smu_v13_0_0_ppt.c (null)() -> (struct pptable_funcs)->read_sensor [4769138792845938688]