Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/hid/hid-logitech-hidpp.c hidpp10_query_battery_mileage() -> hidpp_send_rap_command_sync()

Type Parameter Key Value
PARAM_VALUE 0 hidpp_dev 4096-ptr_max
PARAM_VALUE 0 hidpp_dev->battery.ps->dev.dma_io_tlb_mem->debugfs 0-s64max
PARAM_VALUE 0 hidpp_dev->battery.ps->dev.kobj.sd->attr.open->nr_mmapped 0-4294967295
PARAM_VALUE 0 hidpp_dev->connected_once 1
PARAM_VALUE 0 hidpp_dev->hid_dev 4096-ptr_max
PARAM_VALUE 0 hidpp_dev->reprog_controls->control 0,83,86
PARAM_VALUE 0 hidpp_dev->send_mutex.dep_map->name 0-255
PARAM_VALUE 0 hidpp_dev->send_mutex.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 hidpp_dev->send_mutex.first_waiter->list.prev->prev 5159360019465732096
PARAM_VALUE 0 hidpp_dev->send_mutex.first_waiter->task->blocked_lock.owner (-1)
PARAM_VALUE 0 hidpp_dev->send_mutex.first_waiter->task->blocked_lock.owner_cpu 4294967295
PARAM_VALUE 0 hidpp_dev->send_mutex.first_waiter->task->blocked_lock.raw_lock.val.counter s32min-s32max
PARAM_VALUE 0 hidpp_dev->send_mutex.first_waiter->task->usage.refs.counter s32min-s32max
PARAM_VALUE 1 report_id 16
PARAM_VALUE 2 sub_id 129
PARAM_VALUE 3 reg_address 13
PARAM_VALUE 4 params 0
PARAM_VALUE 5 param_count 0
PARAM_VALUE 6 response 9149880360919154688
BUF_SIZE 0 hidpp_dev->name (-1)-s32max
DATA_SOURCE 0 hidpp_dev $0
HALF_LOCKED2 &pool->lock

drivers/hid/hid-logitech-hidpp.c hidpp10_query_battery_status() -> hidpp_send_rap_command_sync()

Type Parameter Key Value
PARAM_VALUE 0 hidpp_dev 4096-ptr_max
PARAM_VALUE 0 hidpp_dev->battery.ps->dev.dma_io_tlb_mem->debugfs 0-s64max
PARAM_VALUE 0 hidpp_dev->battery.ps->dev.kobj.sd->attr.open->nr_mmapped 0-4294967295
PARAM_VALUE 0 hidpp_dev->connected_once 1
PARAM_VALUE 0 hidpp_dev->hid_dev 4096-ptr_max
PARAM_VALUE 0 hidpp_dev->reprog_controls->control 0,83,86
PARAM_VALUE 0 hidpp_dev->send_mutex.dep_map->name 0-255
PARAM_VALUE 0 hidpp_dev->send_mutex.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 hidpp_dev->send_mutex.first_waiter->list.prev->prev 5159360019465732096
PARAM_VALUE 0 hidpp_dev->send_mutex.first_waiter->task->blocked_lock.owner (-1)
PARAM_VALUE 0 hidpp_dev->send_mutex.first_waiter->task->blocked_lock.owner_cpu 4294967295
PARAM_VALUE 0 hidpp_dev->send_mutex.first_waiter->task->blocked_lock.raw_lock.val.counter s32min-s32max
PARAM_VALUE 0 hidpp_dev->send_mutex.first_waiter->task->usage.refs.counter s32min-s32max
PARAM_VALUE 1 report_id 16
PARAM_VALUE 2 sub_id 129
PARAM_VALUE 3 reg_address 7
PARAM_VALUE 4 params 0
PARAM_VALUE 5 param_count 0
PARAM_VALUE 6 response 609969224700760064
BUF_SIZE 0 hidpp_dev->name (-1)-s32max
DATA_SOURCE 0 hidpp_dev $0
HALF_LOCKED2 &pool->lock

drivers/hid/hid-logitech-hidpp.c hidpp10_set_register() -> hidpp_send_rap_command_sync()

Type Parameter Key Value
PARAM_VALUE 0 hidpp_dev 4096-ptr_max
PARAM_VALUE 0 hidpp_dev->battery.ps->dev.dma_io_tlb_mem->can_grow 0-1
PARAM_VALUE 0 hidpp_dev->battery.ps->dev.dma_io_tlb_mem->debugfs 0-s64max
PARAM_VALUE 0 hidpp_dev->battery.ps->dev.dma_io_tlb_mem->for_alloc 0-1
PARAM_VALUE 0 hidpp_dev->battery.ps->dev.dma_io_tlb_mem->force_bounce 0-1
PARAM_VALUE 0 hidpp_dev->battery.ps->dev.dma_io_tlb_mem->nslabs 0-s64max
PARAM_VALUE 0 hidpp_dev->battery.ps->dev.dma_io_tlb_mem->phys_limit 0-s64max
PARAM_VALUE 0 hidpp_dev->battery.ps->dev.kobj.sd->attr.open->nr_mmapped 0-4294967295
PARAM_VALUE 1 report_id 16
PARAM_VALUE 2 sub_id 129
PARAM_VALUE 3 reg_address 0-1
PARAM_VALUE 4 params 0
PARAM_VALUE 5 param_count 0
PARAM_VALUE 6 response 6976529635142582272
BUF_SIZE 0 hidpp_dev->name (-1)-s32max
DATA_SOURCE 0 hidpp_dev $0
DATA_SOURCE 3 reg_address $1
HARD_MAX 3 reg_address 1
HALF_LOCKED2 &pool->lock

drivers/hid/hid-logitech-hidpp.c hidpp10_set_register() -> hidpp_send_rap_command_sync()

Type Parameter Key Value
PARAM_VALUE 0 hidpp_dev 4096-ptr_max
PARAM_VALUE 0 hidpp_dev->answer_available 0
PARAM_VALUE 0 hidpp_dev->battery.ps->dev.dma_io_tlb_mem->can_grow 0-1
PARAM_VALUE 0 hidpp_dev->battery.ps->dev.dma_io_tlb_mem->debugfs 0-s64max
PARAM_VALUE 0 hidpp_dev->battery.ps->dev.dma_io_tlb_mem->for_alloc 0-1
PARAM_VALUE 0 hidpp_dev->battery.ps->dev.dma_io_tlb_mem->force_bounce 0-1
PARAM_VALUE 0 hidpp_dev->battery.ps->dev.dma_io_tlb_mem->nslabs 0-s64max
PARAM_VALUE 0 hidpp_dev->battery.ps->dev.dma_io_tlb_mem->phys_limit 0-s64max
PARAM_VALUE 0 hidpp_dev->battery.ps->dev.kobj.sd->attr.open->nr_mmapped 0-4294967295
PARAM_VALUE 0 hidpp_dev->hid_dev->bpf.srcu.dep_map->name 0-255
PARAM_VALUE 0 hidpp_dev->hid_dev->driver_data->intr_transmit.qlen 0-4294967295
PARAM_VALUE 0 hidpp_dev->hid_dev->driver_data->thc_hw->thc_bus_lock.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 hidpp_dev->hid_dev->driver_data->thc_hw->thc_bus_lock.first_waiter->list.prev->prev 5159360019465732096
PARAM_VALUE 0 hidpp_dev->hid_dev->driver_data->thc_hw->thc_bus_lock.first_waiter->task->blocked_on 0
PARAM_VALUE 0 hidpp_dev->hid_dev->driver_data->thc_hw->thc_bus_lock.osq.tail.counter 0-s32max
PARAM_VALUE 0 hidpp_dev->hid_dev->driver_data->thc_hw->thc_regmap->async 0-1
PARAM_VALUE 0 hidpp_dev->hid_dev->driver_data->thc_hw->thc_regmap->cache->cached_rbnode->base_reg 0-4294967295
PARAM_VALUE 0 hidpp_dev->hid_dev->driver_data->thc_hw->thc_regmap->cache->cached_rbnode->blklen 0-4294967295
PARAM_VALUE 0 hidpp_dev->hid_dev->driver_data->thc_hw->write_done 0
PARAM_VALUE 0 hidpp_dev->send_mutex.dep_map->name 0-255
PARAM_VALUE 0 hidpp_dev->send_mutex.first_waiter 0,4096-ptr_max
PARAM_VALUE 0 hidpp_dev->send_mutex.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 hidpp_dev->send_mutex.first_waiter->list.prev->prev 5159360019465732096
PARAM_VALUE 0 hidpp_dev->send_mutex.first_waiter->task->blocked_lock.dep_map->name 0-255
PARAM_VALUE 0 hidpp_dev->send_mutex.first_waiter->task->blocked_lock.owner (-1)
PARAM_VALUE 0 hidpp_dev->send_mutex.first_waiter->task->blocked_lock.owner_cpu 4294967295
PARAM_VALUE 0 hidpp_dev->send_mutex.first_waiter->task->blocked_lock.raw_lock.val.counter s32min-s32max
PARAM_VALUE 0 hidpp_dev->send_mutex.first_waiter->task->usage.refs.counter s32min-s32max
PARAM_VALUE 0 hidpp_dev->send_mutex.osq.tail.counter 0-s32max
PARAM_VALUE 0 hidpp_dev->send_receive_buf 0
PARAM_VALUE 1 report_id 16
PARAM_VALUE 2 sub_id 128
PARAM_VALUE 3 reg_address 0-1
PARAM_VALUE 4 params 4096-ptr_max
PARAM_VALUE 5 param_count 3
PARAM_VALUE 6 response 6976529635142582272
PARAM_VALUE 6 response->report_id 16-18
BUF_SIZE 0 hidpp_dev->name (-1)-s32max
BUF_SIZE 4 params 3
DATA_SOURCE 0 hidpp_dev $0
DATA_SOURCE 3 reg_address $1
HARD_MAX 3 reg_address 1
HALF_LOCKED2 &pool->lock

drivers/hid/hid-logitech-hidpp.c hidpp_root_get_protocol_version() -> hidpp_send_rap_command_sync()

Type Parameter Key Value
PARAM_VALUE 0 hidpp_dev 4096-ptr_max
PARAM_VALUE 1 report_id 16
PARAM_VALUE 2 sub_id 0
PARAM_VALUE 3 reg_address 17
PARAM_VALUE 4 params 4096-ptr_max
PARAM_VALUE 5 param_count 3
PARAM_VALUE 6 response 2441662543193772032
BUF_SIZE 4 params 3
DATA_SOURCE 0 hidpp_dev $0
UNITS 5 param_count unit_byte
HALF_LOCKED2 &pool->lock

drivers/hid/hid-logitech-hidpp.c hidpp_unifying_get_name() -> hidpp_send_rap_command_sync()

Type Parameter Key Value
PARAM_VALUE 0 hidpp_dev 4096-ptr_max
PARAM_VALUE 0 hidpp_dev->answer_available 0
PARAM_VALUE 0 hidpp_dev->hid_dev 4096-ptr_max
PARAM_VALUE 0 hidpp_dev->hid_dev->bpf.srcu.dep_map->name 0-255
PARAM_VALUE 0 hidpp_dev->hid_dev->dev.devres_head.prev 4096-ptr_max
PARAM_VALUE 0 hidpp_dev->hid_dev->devres_group_id 4096-ptr_max
PARAM_VALUE 0 hidpp_dev->hid_dev->driver 4096-ptr_max
PARAM_VALUE 0 hidpp_dev->hid_dev->driver_data->intr_transmit.qlen 0-4294967295
PARAM_VALUE 0 hidpp_dev->hid_dev->driver_data->thc_hw->thc_bus_lock.first_waiter->list.prev->prev 5159360019465732096
PARAM_VALUE 0 hidpp_dev->hid_dev->driver_data->thc_hw->thc_bus_lock.osq.tail.counter 0-s32max
PARAM_VALUE 0 hidpp_dev->hid_dev->driver_data->thc_hw->write_done 0
PARAM_VALUE 0 hidpp_dev->hid_dev->driver_input_lock.first_waiter 4096-ptr_max
PARAM_VALUE 0 hidpp_dev->hid_dev->driver_input_lock.lock.owner (-1)
PARAM_VALUE 0 hidpp_dev->hid_dev->driver_input_lock.lock.owner_cpu u32max
PARAM_VALUE 0 hidpp_dev->hid_dev->driver_input_lock.lock.raw_lock.val.counter 0-s32max
PARAM_VALUE 0 hidpp_dev->hid_dev->io_started 0
PARAM_VALUE 0 hidpp_dev->reprog_controls 0,8080582473628721152
PARAM_VALUE 0 hidpp_dev->reprog_controls_feature_index 255
PARAM_VALUE 0 hidpp_dev->send_mutex.dep_map->name 0-255
PARAM_VALUE 0 hidpp_dev->send_mutex.first_waiter 0,4096-ptr_max
PARAM_VALUE 0 hidpp_dev->send_mutex.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 hidpp_dev->send_mutex.first_waiter->list.prev->prev 5159360019465732096
PARAM_VALUE 0 hidpp_dev->send_mutex.first_waiter->task->blocked_lock.dep_map->name 0-255
PARAM_VALUE 0 hidpp_dev->send_mutex.first_waiter->task->blocked_lock.owner (-1)
PARAM_VALUE 0 hidpp_dev->send_mutex.first_waiter->task->blocked_lock.owner_cpu 4294967295
PARAM_VALUE 0 hidpp_dev->send_mutex.first_waiter->task->blocked_lock.raw_lock.val.counter 0-s32max
PARAM_VALUE 0 hidpp_dev->send_mutex.first_waiter->task->usage.refs.counter s32min-s32max
PARAM_VALUE 0 hidpp_dev->send_mutex.osq.tail.counter 0-s32max
PARAM_VALUE 0 hidpp_dev->send_receive_buf 0
PARAM_VALUE 0 hidpp_dev->supported_reports 1-7
PARAM_VALUE 0 hidpp_dev->wait.head.next->next 4096-ptr_max
PARAM_VALUE 0 hidpp_dev->wait.head.prev->next 4096-ptr_max
PARAM_VALUE 0 hidpp_dev->wait.head.prev->prev 4096-ptr_max
PARAM_VALUE 1 report_id 16
PARAM_VALUE 2 sub_id 131
PARAM_VALUE 3 reg_address 181
PARAM_VALUE 4 params 4096-ptr_max
PARAM_VALUE 5 param_count 1
PARAM_VALUE 6 response 880188209867042816
BUF_SIZE 0 hidpp_dev 744
BUF_SIZE 0 hidpp_dev->name 128
BUF_SIZE 0 hidpp_dev->reprog_controls (-1),12
DATA_SOURCE 0 hidpp_dev $0
MEM_ZERO 0 hidpp_dev
RX_PATH
TASK_NOT_RUNNING

drivers/hid/hid-logitech-hidpp.c hidpp_unifying_get_serial() -> hidpp_send_rap_command_sync()

Type Parameter Key Value
PARAM_VALUE 0 hidpp_dev 4096-ptr_max
PARAM_VALUE 0 hidpp_dev->hid_dev 4096-ptr_max
PARAM_VALUE 0 hidpp_dev->hid_dev->dev.devres_head.prev 4096-ptr_max
PARAM_VALUE 0 hidpp_dev->hid_dev->devres_group_id 4096-ptr_max
PARAM_VALUE 0 hidpp_dev->hid_dev->driver 4096-ptr_max
PARAM_VALUE 0 hidpp_dev->hid_dev->driver_input_lock.first_waiter 4096-ptr_max
PARAM_VALUE 0 hidpp_dev->hid_dev->driver_input_lock.lock.owner (-1)
PARAM_VALUE 0 hidpp_dev->hid_dev->driver_input_lock.lock.owner_cpu u32max
PARAM_VALUE 0 hidpp_dev->hid_dev->driver_input_lock.lock.raw_lock.val.counter 0-s32max
PARAM_VALUE 0 hidpp_dev->hid_dev->io_started 0
PARAM_VALUE 0 hidpp_dev->reprog_controls 0,8080582473628721152
PARAM_VALUE 0 hidpp_dev->reprog_controls_feature_index 255
PARAM_VALUE 0 hidpp_dev->send_mutex.dep_map->name 0-255
PARAM_VALUE 0 hidpp_dev->send_mutex.first_waiter 0
PARAM_VALUE 0 hidpp_dev->send_mutex.magic 4096-ptr_max
PARAM_VALUE 0 hidpp_dev->send_mutex.osq.tail.counter 0
PARAM_VALUE 0 hidpp_dev->send_mutex.owner.counter 0
PARAM_VALUE 0 hidpp_dev->supported_reports 1-7
PARAM_VALUE 0 hidpp_dev->wait.head.next 4096-ptr_max
PARAM_VALUE 0 hidpp_dev->wait.head.next->next 4096-ptr_max
PARAM_VALUE 0 hidpp_dev->wait.head.prev 4096-ptr_max
PARAM_VALUE 0 hidpp_dev->wait.head.prev->next 4096-ptr_max
PARAM_VALUE 0 hidpp_dev->wait.head.prev->prev 4096-ptr_max
PARAM_VALUE 1 report_id 16
PARAM_VALUE 2 sub_id 131
PARAM_VALUE 3 reg_address 181
PARAM_VALUE 4 params 4096-ptr_max
PARAM_VALUE 5 param_count 1
PARAM_VALUE 6 response 1144656358985469952
BUF_SIZE 0 hidpp_dev 744
BUF_SIZE 0 hidpp_dev->name 128
BUF_SIZE 0 hidpp_dev->reprog_controls (-1),12
DATA_SOURCE 0 hidpp_dev $0
MEM_ZERO 0 hidpp_dev
RX_PATH
TASK_NOT_RUNNING

drivers/hid/hid-logitech-hidpp.c m560_send_config_command() -> hidpp_send_rap_command_sync()

Type Parameter Key Value
PARAM_VALUE 1 report_id 16
PARAM_VALUE 2 sub_id 10
PARAM_VALUE 3 reg_address 53
PARAM_VALUE 4 params 8641840509384216576
PARAM_VALUE 5 param_count 3
PARAM_VALUE 6 response 1994309729955078144
BUF_SIZE 0 hidpp_dev s32min-(-2),1-s32max
BUF_SIZE 0 hidpp_dev s32min-(-2),1-s32max
BUF_SIZE 4 params 3
UNITS 0 hidpp_dev unit_byte
UNITS 5 param_count unit_byte
HALF_LOCKED2 &pool->lock