Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/media/i2c/thp7312.c __thp7312_flash_reg_write() -> thp7312_write_buf()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | thp7312 | 4096-ptr_max |
| PARAM_VALUE | 0 | thp7312->fw_cancel | 0 |
| PARAM_VALUE | 0 | thp7312->fw_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | thp7312->fw_lock.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | thp7312->fw_lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | thp7312->fw_lock.first_waiter->list.prev->prev | 5159360019465732096 |
| PARAM_VALUE | 0 | thp7312->fw_lock.first_waiter->task->blocked_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | thp7312->fw_lock.first_waiter->task->blocked_lock.owner | (-1) |
| PARAM_VALUE | 0 | thp7312->fw_lock.first_waiter->task->blocked_lock.owner_cpu | 4294967295 |
| PARAM_VALUE | 0 | thp7312->fw_lock.first_waiter->task->blocked_lock.raw_lock.val.counter | s32min-s32max |
| PARAM_VALUE | 0 | thp7312->fw_lock.first_waiter->task->usage.refs.counter | s32min-s32max |
| PARAM_VALUE | 0 | thp7312->fw_lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | thp7312->fw_lock.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 1 | write_buf | 1876099816917299200 |
| PARAM_VALUE | 2 | write_size | 6 |
| BUF_SIZE | 0 | thp7312 | 48,72,800,832,1432,1456 |
| BUF_SIZE | 0 | thp7312 | 48,72,800,832,1432,1456 |
| BUF_SIZE | 1 | write_buf | 6 |
| DATA_SOURCE | 0 | thp7312 | $0 |
| UNITS | 2 | write_size | unit_byte |
| HALF_LOCKED2 | &pool->lock |
drivers/media/i2c/thp7312.c __thp7312_flash_reg_write() -> thp7312_write_buf()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | thp7312 | 4096-ptr_max |
| PARAM_VALUE | 0 | thp7312->fw_cancel | 0 |
| PARAM_VALUE | 0 | thp7312->fw_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | thp7312->fw_lock.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | thp7312->fw_lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | thp7312->fw_lock.first_waiter->list.prev->prev | 5159360019465732096 |
| PARAM_VALUE | 0 | thp7312->fw_lock.first_waiter->task->blocked_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | thp7312->fw_lock.first_waiter->task->blocked_lock.owner | (-1) |
| PARAM_VALUE | 0 | thp7312->fw_lock.first_waiter->task->blocked_lock.owner_cpu | 4294967295 |
| PARAM_VALUE | 0 | thp7312->fw_lock.first_waiter->task->blocked_lock.raw_lock.val.counter | s32min-s32max |
| PARAM_VALUE | 0 | thp7312->fw_lock.first_waiter->task->usage.refs.counter | s32min-s32max |
| PARAM_VALUE | 0 | thp7312->fw_lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | thp7312->fw_lock.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 1 | write_buf | 4096-ptr_max |
| PARAM_VALUE | 2 | write_size | 3,6 |
| BUF_SIZE | 0 | thp7312 | 48,72,800,832,1432,1456 |
| BUF_SIZE | 0 | thp7312 | 48,72,800,832,1432,1456 |
| BUF_SIZE | 1 | write_buf | 12 |
| DATA_SOURCE | 0 | thp7312 | $0 |
| UNITS | 2 | write_size | unit_byte |
| HALF_LOCKED2 | &pool->lock |
drivers/media/i2c/thp7312.c __thp7312_flash_reg_write() -> thp7312_write_buf()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | thp7312 | 4096-ptr_max |
| PARAM_VALUE | 0 | thp7312->fw_cancel | 0 |
| PARAM_VALUE | 0 | thp7312->fw_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | thp7312->fw_lock.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | thp7312->fw_lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | thp7312->fw_lock.first_waiter->list.prev->prev | 5159360019465732096 |
| PARAM_VALUE | 0 | thp7312->fw_lock.first_waiter->task->blocked_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | thp7312->fw_lock.first_waiter->task->blocked_lock.owner | (-1) |
| PARAM_VALUE | 0 | thp7312->fw_lock.first_waiter->task->blocked_lock.owner_cpu | 4294967295 |
| PARAM_VALUE | 0 | thp7312->fw_lock.first_waiter->task->blocked_lock.raw_lock.val.counter | s32min-s32max |
| PARAM_VALUE | 0 | thp7312->fw_lock.first_waiter->task->usage.refs.counter | s32min-s32max |
| PARAM_VALUE | 0 | thp7312->fw_lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | thp7312->fw_lock.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 1 | write_buf | 2627381204678963200 |
| PARAM_VALUE | 2 | write_size | 6 |
| BUF_SIZE | 0 | thp7312 | 48,72,800,832,1432,1456 |
| BUF_SIZE | 0 | thp7312 | 48,72,800,832,1432,1456 |
| BUF_SIZE | 1 | write_buf | 6 |
| DATA_SOURCE | 0 | thp7312 | $0 |
| NOCHECK_CALL | |||
| UNITS | 2 | write_size | unit_byte |
| HALF_LOCKED2 | &pool->lock |
drivers/media/i2c/thp7312.c thp7312_fw_check_crc() -> thp7312_write_buf()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | thp7312 | 4096-ptr_max |
| PARAM_VALUE | 0 | thp7312->fw_cancel | 0 |
| PARAM_VALUE | 0 | thp7312->fw_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | thp7312->fw_lock.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | thp7312->fw_lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | thp7312->fw_lock.first_waiter->task->blocked_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | thp7312->fw_lock.first_waiter->task->blocked_lock.owner | (-1) |
| PARAM_VALUE | 0 | thp7312->fw_lock.first_waiter->task->blocked_lock.owner_cpu | 4294967295 |
| PARAM_VALUE | 0 | thp7312->fw_lock.first_waiter->task->blocked_lock.raw_lock.val.counter | s32min-s32max |
| PARAM_VALUE | 0 | thp7312->fw_lock.first_waiter->task->usage.refs.counter | s32min-s32max |
| PARAM_VALUE | 0 | thp7312->fw_lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | thp7312->fw_lock.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | thp7312->regmap->cache_dirty | 0-1 |
| PARAM_VALUE | 0 | *thp7312->regmap->work_buf | (-4611686018427387904)-4611686018427387903 |
| PARAM_VALUE | 1 | write_buf | 3171371739274756096 |
| PARAM_VALUE | 2 | write_size | 9 |
| BUF_SIZE | 0 | thp7312 | 48,72,800,832,1432 |
| BUF_SIZE | 0 | thp7312 | 48,72,800,832,1432 |
| BUF_SIZE | 1 | write_buf | 9 |
| DATA_SOURCE | 0 | thp7312 | $0 |
| UNITS | 2 | write_size | unit_byte |
| HALF_LOCKED2 | &pool->lock |
drivers/media/i2c/thp7312.c thp7312_fw_write_to_flash() -> thp7312_write_buf()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | thp7312 | 4096-ptr_max |
| PARAM_VALUE | 0 | thp7312->fw_cancel | 0 |
| PARAM_VALUE | 0 | thp7312->fw_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | thp7312->fw_lock.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | thp7312->fw_lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | thp7312->fw_lock.first_waiter->task->blocked_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | thp7312->fw_lock.first_waiter->task->blocked_lock.owner | (-1) |
| PARAM_VALUE | 0 | thp7312->fw_lock.first_waiter->task->blocked_lock.owner_cpu | 4294967295 |
| PARAM_VALUE | 0 | thp7312->fw_lock.first_waiter->task->blocked_lock.raw_lock.val.counter | s32min-s32max |
| PARAM_VALUE | 0 | thp7312->fw_lock.first_waiter->task->usage.refs.counter | s32min-s32max |
| PARAM_VALUE | 0 | thp7312->fw_lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | thp7312->fw_lock.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | thp7312->regmap->cache_dirty | 0-1 |
| PARAM_VALUE | 0 | *thp7312->regmap->work_buf | (-4611686018427387904)-4611686018427387903 |
| PARAM_VALUE | 1 | write_buf | 180740768818257920 |
| PARAM_VALUE | 2 | write_size | 9 |
| BUF_SIZE | 0 | thp7312 | 48,72,800,832,1432 |
| BUF_SIZE | 0 | thp7312 | 48,72,800,832,1432 |
| BUF_SIZE | 1 | write_buf | 9 |
| DATA_SOURCE | 0 | thp7312 | $0 |
| UNITS | 2 | write_size | unit_byte |
| HALF_LOCKED2 | &pool->lock |
drivers/media/i2c/thp7312.c thp7312_write_download_data_by_unit() -> thp7312_write_buf()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | thp7312 | 4096-ptr_max |
| PARAM_VALUE | 0 | thp7312->fw_cancel | 0 |
| PARAM_VALUE | 0 | thp7312->fw_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | thp7312->fw_lock.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | thp7312->fw_lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | thp7312->fw_lock.first_waiter->list.prev->prev | 5159360019465732096 |
| PARAM_VALUE | 0 | thp7312->fw_lock.first_waiter->task->blocked_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | thp7312->fw_lock.first_waiter->task->blocked_lock.owner | (-1) |
| PARAM_VALUE | 0 | thp7312->fw_lock.first_waiter->task->blocked_lock.owner_cpu | 4294967295 |
| PARAM_VALUE | 0 | thp7312->fw_lock.first_waiter->task->blocked_lock.raw_lock.val.counter | s32min-s32max |
| PARAM_VALUE | 0 | thp7312->fw_lock.first_waiter->task->usage.refs.counter | s32min-s32max |
| PARAM_VALUE | 0 | thp7312->fw_lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | thp7312->fw_lock.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | thp7312->fw_write_buf | 4096-ptr_max |
| PARAM_VALUE | 0 | thp7312->regmap->async_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | thp7312->regmap->cache_dirty | 0-1 |
| PARAM_VALUE | 0 | *thp7312->regmap->work_buf | (-4611686018427387904)-4611686018427387903 |
| PARAM_VALUE | 1 | write_buf | 4096-ptr_max |
| PARAM_VALUE | 2 | write_size | 2-4098 |
| BUF_SIZE | 0 | thp7312 | 48,72,800,832,1432,1456 |
| BUF_SIZE | 0 | thp7312 | 48,72,800,832,1432,1456 |
| BUF_SIZE | 1 | write_buf | 4098 |
| BUF_SIZE | 1 | write_buf | 4098 |
| CAPPED_DATA | 2 | write_size | 1 |
| DATA_SOURCE | 0 | thp7312 | $0 |
| HALF_LOCKED2 | &pool->lock |