Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/hwmon/intel-m10-bmc-hwmon.c m10bmc_hwmon_read() -> do_sensor_read()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hw | 4096-ptr_max |
| PARAM_VALUE | 0 | hw->bdata | 4096-ptr_max |
| PARAM_VALUE | 1 | data | 4096-ptr_max |
| PARAM_VALUE | 1 | data->reg_crit | 0,260,264,268,276,280,288,292,304,308,320,336,352,368,384,400,424,436,452,464,480,492,508,520,536,548,564,592,1100,1112,1124,1136,1148,1164,1176,1188,1200,1212,1224,1236,1248,1260,1272,1284,1296,1308,1320,1336-u32max |
| PARAM_VALUE | 1 | data->reg_hyst | 0,268,296,324,340,356,372,1324,1472 |
| PARAM_VALUE | 1 | data->reg_input | 256,264,272,280,284,288,292,296,300,304,308,312,316,320,324,328,332,336,340,344,348,352,356,360,364,368,372,376,380,384,388,392,396,400,404,408,412,416,420,424,428,432,436,440,444,456,468,472,484,496,500,512,524-u32max |
| PARAM_VALUE | 1 | data->reg_max | 0,260,276,288,292,304,308,316,332,348,364,380,396,420,432,448,460,476,488,504,516,532,544,560,580,588,608,1096,1108,1120,1132,1144,1160,1172,1184,1196,1208,1220,1232,1244,1256,1268,1280,1292,1304,1316,1332,1344-u32max |
| PARAM_VALUE | 1 | data->reg_min | 0,572,600 |
| PARAM_VALUE | 2 | regoff | 256,260,264,268,272,276,280,284,288,292,296,300,304,308,312,316,320,324,328,332,336,340,344,348,352,356,360,364,368,372,376,380,384,388,392,396,400,404,408,412,416,420,424,428,432,436,440,444,448,452,456,460,464-u32max |
| PARAM_VALUE | 3 | val | 51072661483241472 |
| BUF_SIZE | 0 | hw | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | hw | s32min-(-2),1-s32max |
| DATA_SOURCE | 1 | data | r find_sensor_data |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | hw | unit_byte |
| LOCK2 | _T->lock | ||
| HALF_LOCKED2 | &of->mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | &tz->lock |
drivers/hwmon/intel-m10-bmc-hwmon.c m10bmc_hwmon_read() -> do_sensor_read()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hw | 4096-ptr_max |
| PARAM_VALUE | 0 | hw->bdata | 4096-ptr_max |
| PARAM_VALUE | 0 | hw->m10bmc | 4096-ptr_max |
| PARAM_VALUE | 0 | hw->m10bmc->bmcfw_lock.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | hw->m10bmc->bmcfw_lock.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | hw->m10bmc->bmcfw_state | 0-3 |
| PARAM_VALUE | 0 | hw->m10bmc->info | 4096-ptr_max |
| PARAM_VALUE | 0 | hw->m10bmc->info->handshake_sys_reg_nranges | 0-1 |
| PARAM_VALUE | 0 | hw->m10bmc->regmap->cache->cached_rbnode->node.__rb_parent_color | 0-1 |
| PARAM_VALUE | 0 | *hw->m10bmc->regmap->cache->data | 0-4294967295 |
| PARAM_VALUE | 1 | data | 4096-ptr_max |
| PARAM_VALUE | 1 | data->reg_crit | 0,260,264,268,276,280,288,292,304,308,320,336,352,368,384,400,424,436,452,464,480,492,508,520,536,548,564,592,1100,1112,1124,1136,1148,1164,1176,1188,1200,1212,1224,1236,1248,1260,1272,1284,1296,1308,1320,1336-u32max |
| PARAM_VALUE | 1 | data->reg_hyst | 0,268,296,324,340,356,372,1324,1472 |
| PARAM_VALUE | 1 | data->reg_input | 256,264,272,280,284,288,292,296,300,304,308,312,316,320,324,328,332,336,340,344,348,352,356,360,364,368,372,376,380,384,388,392,396,400,404,408,412,416,420,424,428,432,436,440,444,456,468,472,484,496,500,512,524-u32max |
| PARAM_VALUE | 1 | data->reg_max | 0,260,276,288,292,304,308,316,332,348,364,380,396,420,432,448,460,476,488,504,516,532,544,560,580,588,608,1096,1108,1120,1132,1144,1160,1172,1184,1196,1208,1220,1232,1244,1256,1268,1280,1292,1304,1316,1332,1344-u32max |
| PARAM_VALUE | 1 | data->reg_min | 0,572,600 |
| PARAM_VALUE | 2 | regoff | 268,296,324,340,356,372,1324,1472 |
| PARAM_VALUE | 3 | val | 3393845722014044160 |
| BUF_SIZE | 0 | hw | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | hw | s32min-(-2),1-s32max |
| DATA_SOURCE | 1 | data | r find_sensor_data |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | hw | unit_byte |
| LOCK2 | &of->mutex | ||
| LOCK2 | _T->lock | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |