Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/media/usb/pvrusb2/pvrusb2-v4l2.c pvr2_s_ext_ctrls() -> pvr2_ctrl_set_value()

Type Parameter Key Value
PARAM_VALUE 0 cptr 0,4096-ptr_max
PARAM_VALUE 0 cptr->info->v4l_id s32min-(-1),1-s32max
UNITS 1 val unit_array_size
HALF_LOCKED2 lock
HALF_LOCKED2 req_queue_lock

drivers/media/usb/pvrusb2/pvrusb2-v4l2.c pvr2_s_fmt_vid_cap() -> pvr2_ctrl_set_value()

Type Parameter Key Value
PARAM_VALUE 0 cptr 0,4096-ptr_max
PARAM_VALUE 0 cptr->info->internal_id 2-12,19
DATA_SOURCE 0 cptr r pvr2_hdw_get_ctrl_by_id
NOCHECK_CALL
USER_DATA 1 val 0-s32max[c]
UNITS 1 val unit_byte
HALF_LOCKED2 lock
HALF_LOCKED2 req_queue_lock

drivers/media/usb/pvrusb2/pvrusb2-v4l2.c pvr2_s_fmt_vid_cap() -> pvr2_ctrl_set_value()

Type Parameter Key Value
PARAM_VALUE 0 cptr 0,4096-ptr_max
PARAM_VALUE 0 cptr->info->internal_id 2-12,19
DATA_SOURCE 0 cptr r pvr2_hdw_get_ctrl_by_id
NOCHECK_CALL
USER_DATA 1 val 0-s32max[c]
HALF_LOCKED2 lock
HALF_LOCKED2 req_queue_lock

drivers/media/usb/pvrusb2/pvrusb2-v4l2.c pvr2_s_frequency() -> pvr2_ctrl_set_value()

Type Parameter Key Value
PARAM_VALUE 0 cptr 4096-ptr_max
PARAM_VALUE 0 cptr->hdw->big_lock_held 0
PARAM_VALUE 0 cptr->hdw->big_lock_mutex.dep_map->name 0-255
PARAM_VALUE 0 cptr->hdw->big_lock_mutex.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 cptr->hdw->big_lock_mutex.first_waiter->task->blocked_lock.dep_map->name 0-255
PARAM_VALUE 0 cptr->hdw->big_lock_mutex.first_waiter->task->blocked_lock.owner (-1)
PARAM_VALUE 0 cptr->hdw->big_lock_mutex.first_waiter->task->blocked_lock.owner_cpu 4294967295
PARAM_VALUE 0 cptr->hdw->big_lock_mutex.first_waiter->task->blocked_lock.raw_lock.val.counter s32min-s32max
PARAM_VALUE 0 cptr->hdw->big_lock_mutex.first_waiter->task->usage.refs.counter s32min-s32max
PARAM_VALUE 0 cptr->hdw->big_lock_mutex.osq.tail.counter 0-s32max
PARAM_VALUE 0 cptr->hdw->cmd_debug_code 0-255
PARAM_VALUE 0 cptr->hdw->cmd_debug_read_len 0-65536
PARAM_VALUE 0 cptr->hdw->cmd_debug_state 0,2-3
PARAM_VALUE 0 cptr->hdw->cmd_debug_write_len 0-64
PARAM_VALUE 0 cptr->hdw->cropcap_stale 0
PARAM_VALUE 0 cptr->hdw->ctl_done.done 0-4294967293,4294967295
PARAM_VALUE 0 cptr->hdw->ctl_done.wait.lock.magic 3735899821
PARAM_VALUE 0 cptr->hdw->ctl_done.wait.lock.owner (-1)
PARAM_VALUE 0 cptr->hdw->ctl_done.wait.lock.owner_cpu 4294967295
PARAM_VALUE 0 cptr->hdw->ctl_lock_held 0
PARAM_VALUE 0 cptr->hdw->ctl_lock_mutex.dep_map->name 0-255
PARAM_VALUE 0 cptr->hdw->ctl_lock_mutex.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 cptr->hdw->ctl_lock_mutex.first_waiter->list.prev->prev 5159360019465732096
PARAM_VALUE 0 cptr->hdw->ctl_lock_mutex.first_waiter->task->blocked_lock.dep_map->name 0-255
PARAM_VALUE 0 cptr->hdw->ctl_lock_mutex.first_waiter->task->blocked_lock.owner (-1)
PARAM_VALUE 0 cptr->hdw->ctl_lock_mutex.first_waiter->task->blocked_lock.owner_cpu 4294967295
PARAM_VALUE 0 cptr->hdw->ctl_lock_mutex.first_waiter->task->blocked_lock.raw_lock.val.counter 0-s32max
PARAM_VALUE 0 cptr->hdw->ctl_lock_mutex.first_waiter->task->usage.refs.counter s32min-s32max
PARAM_VALUE 0 cptr->hdw->ctl_lock_mutex.osq.tail.counter 0-s32max
PARAM_VALUE 0 cptr->hdw->ctl_read_pend_flag 0-1
PARAM_VALUE 0 cptr->hdw->ctl_read_urb->actual_length 0-4294967295
PARAM_VALUE 0 cptr->hdw->ctl_read_urb->interval s32min-s32max
PARAM_VALUE 0 cptr->hdw->ctl_read_urb->kref.refcount.refs.counter s32min-s32max
PARAM_VALUE 0 cptr->hdw->ctl_read_urb->num_mapped_sgs s32min-s32max
PARAM_VALUE 0 cptr->hdw->ctl_read_urb->pipe 0-4294967295
PARAM_VALUE 0 cptr->hdw->ctl_read_urb->sg->dma_flags 0-4294967295
PARAM_VALUE 0 cptr->hdw->ctl_read_urb->sg->dma_length 0-4294967295
PARAM_VALUE 0 cptr->hdw->ctl_read_urb->sg->length 0-4294967295
PARAM_VALUE 0 cptr->hdw->ctl_read_urb->sg->offset 0-4294967295
PARAM_VALUE 0 cptr->hdw->ctl_read_urb->status s32min-s32max
PARAM_VALUE 0 cptr->hdw->ctl_read_urb->transfer_buffer->_refcount.counter s32min-s32max
PARAM_VALUE 0 cptr->hdw->ctl_read_urb->transfer_buffer->bDeviceProtocol 1
PARAM_VALUE 0 cptr->hdw->ctl_read_urb->transfer_buffer->bmAttributes 0-255
PARAM_VALUE 0 cptr->hdw->ctl_read_urb->transfer_buffer->page_type 0-4294967295
PARAM_VALUE 0 cptr->hdw->ctl_read_urb->transfer_buffer_length 0-4294967295
PARAM_VALUE 0 cptr->hdw->ctl_read_urb->transfer_flags 0-4294967295
PARAM_VALUE 0 cptr->hdw->ctl_read_urb->unlinked s32min-s32max
PARAM_VALUE 0 cptr->hdw->ctl_read_urb->use_count.counter s32min-s32max
PARAM_VALUE 0 cptr->hdw->ctl_timeout_flag 0
PARAM_VALUE 0 cptr->hdw->ctl_write_pend_flag 0-1
PARAM_VALUE 0 cptr->hdw->ctl_write_urb->actual_length 0-4294967295
PARAM_VALUE 0 cptr->hdw->ctl_write_urb->interval s32min-s32max
PARAM_VALUE 0 cptr->hdw->ctl_write_urb->kref.refcount.refs.counter s32min-s32max
PARAM_VALUE 0 cptr->hdw->ctl_write_urb->num_mapped_sgs s32min-s32max
PARAM_VALUE 0 cptr->hdw->ctl_write_urb->pipe 0-4294967295
PARAM_VALUE 0 cptr->hdw->ctl_write_urb->sg->dma_flags 0-4294967295
PARAM_VALUE 0 cptr->hdw->ctl_write_urb->sg->dma_length 0-4294967295
PARAM_VALUE 0 cptr->hdw->ctl_write_urb->sg->length 0-4294967295
PARAM_VALUE 0 cptr->hdw->ctl_write_urb->sg->offset 0-4294967295
PARAM_VALUE 0 cptr->hdw->ctl_write_urb->status s32min-s32max
PARAM_VALUE 0 cptr->hdw->ctl_write_urb->transfer_buffer_length 0-4294967295
PARAM_VALUE 0 cptr->hdw->ctl_write_urb->transfer_flags 0-4294967295
PARAM_VALUE 0 cptr->hdw->ctl_write_urb->unlinked s32min-s32max
PARAM_VALUE 0 cptr->hdw->ctl_write_urb->use_count.counter s32min-s32max
PARAM_VALUE 0 cptr->hdw->flag_ok s32min-s32max
PARAM_VALUE 0 cptr->hdw->state_stale s32min-s32max
PARAM_VALUE 0 cptr->hdw->tuner_signal_info.afc 0
PARAM_VALUE 0 cptr->hdw->tuner_signal_info.audmode 0
PARAM_VALUE 0 cptr->hdw->tuner_signal_info.capability 0
PARAM_VALUE 0 cptr->hdw->tuner_signal_info.index 0
PARAM_VALUE 0 cptr->hdw->tuner_signal_info.rangehigh 0
PARAM_VALUE 0 cptr->hdw->tuner_signal_info.rangelow 0
PARAM_VALUE 0 cptr->hdw->tuner_signal_info.rxsubchans 0
PARAM_VALUE 0 cptr->hdw->tuner_signal_info.signal 0
PARAM_VALUE 0 cptr->hdw->tuner_signal_info.type 1-2
PARAM_VALUE 0 cptr->hdw->tuner_signal_stale 0
PARAM_VALUE 0 cptr->hdw->vid_stream->buffer_slot_count 0-4294967295
PARAM_VALUE 0 cptr->hdw->vid_stream->buffer_total_count 0-4294967295
PARAM_VALUE 0 cptr->hdw->vid_stream->endpoint s32min-s32max
PARAM_VALUE 0 cptr->hdw->vid_stream->fail_tolerance 0-4294967295
PARAM_VALUE 0 cptr->info->internal_id 2-12,19
PARAM_VALUE 0 *cptr->hdw->cmd_buffer 0-255
PARAM_VALUE 0 *cptr->hdw->ctl_read_buffer 0-255
PARAM_VALUE 0 *cptr->hdw->ctl_read_urb->context (-4611686018427387904)-4611686018427387903
PARAM_VALUE 0 *cptr->hdw->ctl_read_urb->setup_packet 0-255
PARAM_VALUE 0 *cptr->hdw->ctl_read_urb->transfer_buffer (-4611686018427387904)-4611686018427387903
PARAM_VALUE 0 *cptr->hdw->ctl_write_buffer 0-255
PARAM_VALUE 0 *cptr->hdw->ctl_write_urb->context (-4611686018427387904)-4611686018427387903
PARAM_VALUE 0 *cptr->hdw->ctl_write_urb->setup_packet 0-255
PARAM_VALUE 0 *cptr->hdw->ctl_write_urb->transfer_buffer (-4611686018427387904)-4611686018427387903
PARAM_VALUE 1 val 4
DATA_SOURCE 0 cptr r pvr2_hdw_get_ctrl_by_id
NOCHECK_CALL
HALF_LOCKED2 lock
HALF_LOCKED2 req_queue_lock

drivers/media/usb/pvrusb2/pvrusb2-v4l2.c pvr2_s_frequency() -> pvr2_ctrl_set_value()

Type Parameter Key Value
PARAM_VALUE 0 cptr 4096-ptr_max
PARAM_VALUE 0 cptr->hdw->big_lock_held 0
PARAM_VALUE 0 cptr->hdw->big_lock_mutex.dep_map->name 0-255
PARAM_VALUE 0 cptr->hdw->big_lock_mutex.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 cptr->hdw->big_lock_mutex.first_waiter->task->blocked_lock.dep_map->name 0-255
PARAM_VALUE 0 cptr->hdw->big_lock_mutex.first_waiter->task->blocked_lock.owner (-1)
PARAM_VALUE 0 cptr->hdw->big_lock_mutex.first_waiter->task->blocked_lock.owner_cpu 4294967295
PARAM_VALUE 0 cptr->hdw->big_lock_mutex.first_waiter->task->blocked_lock.raw_lock.val.counter s32min-s32max
PARAM_VALUE 0 cptr->hdw->big_lock_mutex.first_waiter->task->usage.refs.counter s32min-s32max
PARAM_VALUE 0 cptr->hdw->big_lock_mutex.osq.tail.counter 0-s32max
PARAM_VALUE 0 cptr->hdw->cmd_debug_code 0-255
PARAM_VALUE 0 cptr->hdw->cmd_debug_read_len 0-65536
PARAM_VALUE 0 cptr->hdw->cmd_debug_state 0,2-3
PARAM_VALUE 0 cptr->hdw->cmd_debug_write_len 0-64
PARAM_VALUE 0 cptr->hdw->cropcap_stale 0
PARAM_VALUE 0 cptr->hdw->ctl_done.done 0-4294967293,4294967295
PARAM_VALUE 0 cptr->hdw->ctl_done.wait.lock.magic 3735899821
PARAM_VALUE 0 cptr->hdw->ctl_done.wait.lock.owner (-1)
PARAM_VALUE 0 cptr->hdw->ctl_done.wait.lock.owner_cpu 4294967295
PARAM_VALUE 0 cptr->hdw->ctl_lock_held 0
PARAM_VALUE 0 cptr->hdw->ctl_lock_mutex.dep_map->name 0-255
PARAM_VALUE 0 cptr->hdw->ctl_lock_mutex.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 cptr->hdw->ctl_lock_mutex.first_waiter->list.prev->prev 5159360019465732096
PARAM_VALUE 0 cptr->hdw->ctl_lock_mutex.first_waiter->task->blocked_lock.dep_map->name 0-255
PARAM_VALUE 0 cptr->hdw->ctl_lock_mutex.first_waiter->task->blocked_lock.owner (-1)
PARAM_VALUE 0 cptr->hdw->ctl_lock_mutex.first_waiter->task->blocked_lock.owner_cpu 4294967295
PARAM_VALUE 0 cptr->hdw->ctl_lock_mutex.first_waiter->task->blocked_lock.raw_lock.val.counter 0-s32max
PARAM_VALUE 0 cptr->hdw->ctl_lock_mutex.first_waiter->task->usage.refs.counter s32min-s32max
PARAM_VALUE 0 cptr->hdw->ctl_lock_mutex.osq.tail.counter 0-s32max
PARAM_VALUE 0 cptr->hdw->ctl_read_pend_flag 0-1
PARAM_VALUE 0 cptr->hdw->ctl_read_urb->actual_length 0-4294967295
PARAM_VALUE 0 cptr->hdw->ctl_read_urb->interval s32min-s32max
PARAM_VALUE 0 cptr->hdw->ctl_read_urb->kref.refcount.refs.counter s32min-s32max
PARAM_VALUE 0 cptr->hdw->ctl_read_urb->num_mapped_sgs s32min-s32max
PARAM_VALUE 0 cptr->hdw->ctl_read_urb->pipe 0-4294967295
PARAM_VALUE 0 cptr->hdw->ctl_read_urb->sg->dma_flags 0-4294967295
PARAM_VALUE 0 cptr->hdw->ctl_read_urb->sg->dma_length 0-4294967295
PARAM_VALUE 0 cptr->hdw->ctl_read_urb->sg->length 0-4294967295
PARAM_VALUE 0 cptr->hdw->ctl_read_urb->sg->offset 0-4294967295
PARAM_VALUE 0 cptr->hdw->ctl_read_urb->status s32min-s32max
PARAM_VALUE 0 cptr->hdw->ctl_read_urb->transfer_buffer->_refcount.counter s32min-s32max
PARAM_VALUE 0 cptr->hdw->ctl_read_urb->transfer_buffer->bDeviceProtocol 1
PARAM_VALUE 0 cptr->hdw->ctl_read_urb->transfer_buffer->bmAttributes 0-255
PARAM_VALUE 0 cptr->hdw->ctl_read_urb->transfer_buffer->page_type 0-4294967295
PARAM_VALUE 0 cptr->hdw->ctl_read_urb->transfer_buffer_length 0-4294967295
PARAM_VALUE 0 cptr->hdw->ctl_read_urb->transfer_flags 0-4294967295
PARAM_VALUE 0 cptr->hdw->ctl_read_urb->unlinked s32min-s32max
PARAM_VALUE 0 cptr->hdw->ctl_read_urb->use_count.counter s32min-s32max
PARAM_VALUE 0 cptr->hdw->ctl_timeout_flag 0
PARAM_VALUE 0 cptr->hdw->ctl_write_pend_flag 0-1
PARAM_VALUE 0 cptr->hdw->ctl_write_urb->actual_length 0-4294967295
PARAM_VALUE 0 cptr->hdw->ctl_write_urb->interval s32min-s32max
PARAM_VALUE 0 cptr->hdw->ctl_write_urb->kref.refcount.refs.counter s32min-s32max
PARAM_VALUE 0 cptr->hdw->ctl_write_urb->num_mapped_sgs s32min-s32max
PARAM_VALUE 0 cptr->hdw->ctl_write_urb->pipe 0-4294967295
PARAM_VALUE 0 cptr->hdw->ctl_write_urb->sg->dma_flags 0-4294967295
PARAM_VALUE 0 cptr->hdw->ctl_write_urb->sg->dma_length 0-4294967295
PARAM_VALUE 0 cptr->hdw->ctl_write_urb->sg->length 0-4294967295
PARAM_VALUE 0 cptr->hdw->ctl_write_urb->sg->offset 0-4294967295
PARAM_VALUE 0 cptr->hdw->ctl_write_urb->status s32min-s32max
PARAM_VALUE 0 cptr->hdw->ctl_write_urb->transfer_buffer_length 0-4294967295
PARAM_VALUE 0 cptr->hdw->ctl_write_urb->transfer_flags 0-4294967295
PARAM_VALUE 0 cptr->hdw->ctl_write_urb->unlinked s32min-s32max
PARAM_VALUE 0 cptr->hdw->ctl_write_urb->use_count.counter s32min-s32max
PARAM_VALUE 0 cptr->hdw->flag_ok s32min-s32max
PARAM_VALUE 0 cptr->hdw->state_stale s32min-s32max
PARAM_VALUE 0 cptr->hdw->tuner_signal_info.afc 0
PARAM_VALUE 0 cptr->hdw->tuner_signal_info.audmode 0
PARAM_VALUE 0 cptr->hdw->tuner_signal_info.capability 0
PARAM_VALUE 0 cptr->hdw->tuner_signal_info.index 0
PARAM_VALUE 0 cptr->hdw->tuner_signal_info.rangehigh 0
PARAM_VALUE 0 cptr->hdw->tuner_signal_info.rangelow 0
PARAM_VALUE 0 cptr->hdw->tuner_signal_info.rxsubchans 0
PARAM_VALUE 0 cptr->hdw->tuner_signal_info.signal 0
PARAM_VALUE 0 cptr->hdw->tuner_signal_info.type 1-2
PARAM_VALUE 0 cptr->hdw->tuner_signal_stale 0
PARAM_VALUE 0 cptr->hdw->vid_stream->buffer_slot_count 0-4294967295
PARAM_VALUE 0 cptr->hdw->vid_stream->buffer_total_count 0-4294967295
PARAM_VALUE 0 cptr->hdw->vid_stream->endpoint s32min-s32max
PARAM_VALUE 0 cptr->hdw->vid_stream->fail_tolerance 0-4294967295
PARAM_VALUE 0 cptr->info->internal_id 2-12,19
PARAM_VALUE 0 *cptr->hdw->cmd_buffer 0-255
PARAM_VALUE 0 *cptr->hdw->ctl_read_buffer 0-255
PARAM_VALUE 0 *cptr->hdw->ctl_read_urb->context (-4611686018427387904)-4611686018427387903
PARAM_VALUE 0 *cptr->hdw->ctl_read_urb->setup_packet 0-255
PARAM_VALUE 0 *cptr->hdw->ctl_read_urb->transfer_buffer (-4611686018427387904)-4611686018427387903
PARAM_VALUE 0 *cptr->hdw->ctl_write_buffer 0-255
PARAM_VALUE 0 *cptr->hdw->ctl_write_urb->context (-4611686018427387904)-4611686018427387903
PARAM_VALUE 0 *cptr->hdw->ctl_write_urb->setup_packet 0-255
PARAM_VALUE 0 *cptr->hdw->ctl_write_urb->transfer_buffer (-4611686018427387904)-4611686018427387903
PARAM_VALUE 1 val 0
DATA_SOURCE 0 cptr r pvr2_hdw_get_ctrl_by_id
NOCHECK_CALL
HALF_LOCKED2 lock
HALF_LOCKED2 req_queue_lock

drivers/media/usb/pvrusb2/pvrusb2-v4l2.c pvr2_s_frequency() -> pvr2_ctrl_set_value()

Type Parameter Key Value
PARAM_VALUE 0 cptr 0,4096-ptr_max
PARAM_VALUE 0 cptr->info->internal_id 2-12,19
USER_DATA 1 val 0-s32max[c]
UNITS 1 val unit_byte
HALF_LOCKED2 lock
HALF_LOCKED2 req_queue_lock

drivers/media/usb/pvrusb2/pvrusb2-v4l2.c pvr2_s_input() -> pvr2_ctrl_set_value()

Type Parameter Key Value
PARAM_VALUE 0 cptr 0,4096-ptr_max
PARAM_VALUE 0 cptr->info->internal_id 2-12,19
PARAM_VALUE 1 val 0-255
HALF_LOCKED2 lock
HALF_LOCKED2 req_queue_lock

drivers/media/usb/pvrusb2/pvrusb2-v4l2.c pvr2_s_selection() -> pvr2_ctrl_set_value()

Type Parameter Key Value
PARAM_VALUE 0 cptr 0,4096-ptr_max
PARAM_VALUE 0 cptr->info->internal_id 2-12,19
USER_DATA 1 val s32min-s32max[u]
UNITS 1 val unit_byte
HALF_LOCKED2 lock
HALF_LOCKED2 req_queue_lock

drivers/media/usb/pvrusb2/pvrusb2-v4l2.c pvr2_s_selection() -> pvr2_ctrl_set_value()

Type Parameter Key Value
PARAM_VALUE 0 cptr 0,4096-ptr_max
PARAM_VALUE 0 cptr->info->internal_id 2-12,19
USER_DATA 1 val s32min-s32max[u]
UNITS 1 val unit_byte
HALF_LOCKED2 lock
HALF_LOCKED2 req_queue_lock

drivers/media/usb/pvrusb2/pvrusb2-v4l2.c pvr2_s_selection() -> pvr2_ctrl_set_value()

Type Parameter Key Value
PARAM_VALUE 0 cptr 0,4096-ptr_max
PARAM_VALUE 0 cptr->info->internal_id 2-12,19
USER_DATA 1 val s32min-s32max[u]
UNITS 1 val unit_byte
HALF_LOCKED2 lock
HALF_LOCKED2 req_queue_lock

drivers/media/usb/pvrusb2/pvrusb2-v4l2.c pvr2_s_selection() -> pvr2_ctrl_set_value()

Type Parameter Key Value
PARAM_VALUE 0 cptr 0,4096-ptr_max
PARAM_VALUE 0 cptr->info->internal_id 2-12,19
USER_DATA 1 val s32min-s32max[u]
HALF_LOCKED2 lock
HALF_LOCKED2 req_queue_lock

drivers/media/usb/pvrusb2/pvrusb2-v4l2.c pvr2_s_std() -> pvr2_ctrl_set_value()

Type Parameter Key Value
PARAM_VALUE 0 cptr 0,4096-ptr_max
PARAM_VALUE 0 cptr->info->internal_id 2-12,19
CAPPED_DATA 1 val 1
DATA_SOURCE 1 val $2
USER_DATA 1 val 0-s32max[c]
HALF_LOCKED2 lock
HALF_LOCKED2 req_queue_lock

drivers/media/usb/pvrusb2/pvrusb2-v4l2.c pvr2_s_tuner() -> pvr2_ctrl_set_value()

Type Parameter Key Value
PARAM_VALUE 0 cptr 0,4096-ptr_max
PARAM_VALUE 0 cptr->info->internal_id 2-12,19
USER_DATA 1 val s32min-s32max[u]
HALF_LOCKED2 lock
HALF_LOCKED2 req_queue_lock