Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 4 files:

Smatch caller information:

drivers/input/joystick/iforce/iforce-main.c iforce_close() -> iforce_send_packet()

Type Parameter Key Value
PARAM_VALUE 1 cmd 16897
PARAM_VALUE 2 data 8064991056506638336
BUF_SIZE 0 iforce s32min-(-2),1-s32max
BUF_SIZE 0 iforce s32min-(-2),1-s32max
BUF_SIZE 2 data 2
STR_LEN 0 iforce 1
TERMINATED 2 data 1
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
UNITS 0 iforce unit_byte
LOCK2 _T->lock
HALF_LOCKED2 &of->mutex

drivers/input/joystick/iforce/iforce-main.c iforce_open() -> iforce_send_packet()

Type Parameter Key Value
PARAM_VALUE 0 iforce 4096-ptr_max
PARAM_VALUE 0 iforce->xport_ops 4096-ptr_max
PARAM_VALUE 1 cmd 16897
PARAM_VALUE 2 data 7788257181436899328
BUF_SIZE 0 iforce s32min-(-2),1-s32max
BUF_SIZE 0 iforce s32min-(-2),1-s32max
BUF_SIZE 2 data 2
STR_LEN 0 iforce 1
TERMINATED 2 data 1
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
UNITS 0 iforce unit_byte
HALF_LOCKED2 &of->mutex
HALF_LOCKED2 _T->lock

drivers/input/joystick/iforce/iforce-main.c iforce_set_autocenter() -> iforce_send_packet()

Type Parameter Key Value
PARAM_VALUE 1 cmd 16386
PARAM_VALUE 2 data 4096-ptr_max
BUF_SIZE 0 iforce s32min-(-2),1-s32max
BUF_SIZE 0 iforce s32min-(-2),1-s32max
BUF_SIZE 2 data 3
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
UNITS 0 iforce unit_byte
HALF_LOCKED2 &hid->driver_input_lock

drivers/input/joystick/iforce/iforce-main.c iforce_set_autocenter() -> iforce_send_packet()

Type Parameter Key Value
PARAM_VALUE 0 iforce 4096-ptr_max
PARAM_VALUE 1 cmd 16386
PARAM_VALUE 2 data 4096-ptr_max
BUF_SIZE 0 iforce s32min-(-2),1-s32max
BUF_SIZE 0 iforce s32min-(-2),1-s32max
BUF_SIZE 2 data 3
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
UNITS 0 iforce unit_byte
HALF_LOCKED2 &hid->driver_input_lock

drivers/input/joystick/iforce/iforce-main.c iforce_set_gain() -> iforce_send_packet()

Type Parameter Key Value
PARAM_VALUE 1 cmd 17153
PARAM_VALUE 2 data 4096-ptr_max
BUF_SIZE 0 iforce s32min-(-2),1-s32max
BUF_SIZE 0 iforce s32min-(-2),1-s32max
BUF_SIZE 2 data 3
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
UNITS 0 iforce unit_byte
HALF_LOCKED2 &dev->event_lock
HALF_LOCKED2 irq

drivers/input/joystick/iforce/iforce-ff.c make_condition_modifier() -> iforce_send_packet()

Type Parameter Key Value
PARAM_VALUE 0 iforce 4096-ptr_max
PARAM_VALUE 0 iforce->core_effects 4096-ptr_max
PARAM_VALUE 1 cmd 1290
PARAM_VALUE 2 data 4096-ptr_max
BUF_SIZE 0 iforce s32min-(-2),1-s32max
BUF_SIZE 0 iforce s32min-(-2),1-s32max
BUF_SIZE 2 data 10
DATA_SOURCE 0 iforce $0
NOCHECK_CALL
UNITS 0 iforce unit_byte
LOCK2 &evdev->mutex
LOCK2 _T->lock
TYPE_LOCK (struct evdev)->mutex

drivers/input/joystick/iforce/iforce-ff.c make_core() -> iforce_send_packet()

Type Parameter Key Value
PARAM_VALUE 0 iforce 4096-ptr_max
PARAM_VALUE 0 iforce->core_effects 4096-ptr_max
PARAM_VALUE 0 iforce->type 4096-ptr_max
PARAM_VALUE 0 iforce->type->btn 4096-ptr_max
PARAM_VALUE 1 cmd 270
PARAM_VALUE 2 data 4096-ptr_max
BUF_SIZE 0 iforce s32min-(-2),1-s32max
BUF_SIZE 0 iforce s32min-(-2),1-s32max
BUF_SIZE 2 data 14
DATA_SOURCE 0 iforce $0
NOCHECK_CALL
UNITS 0 iforce unit_byte
LOCK2 &evdev->mutex
LOCK2 _T->lock
TYPE_LOCK (struct evdev)->mutex

drivers/input/joystick/iforce/iforce-ff.c make_envelope_modifier() -> iforce_send_packet()

Type Parameter Key Value
PARAM_VALUE 0 iforce 4096-ptr_max
PARAM_VALUE 0 iforce->core_effects 4096-ptr_max
PARAM_VALUE 1 cmd 520
PARAM_VALUE 2 data 4096-ptr_max
BUF_SIZE 0 iforce s32min-(-2),1-s32max
BUF_SIZE 0 iforce s32min-(-2),1-s32max
BUF_SIZE 2 data 8
DATA_SOURCE 0 iforce $0
NOCHECK_CALL
UNITS 0 iforce unit_byte
LOCK2 &evdev->mutex
LOCK2 _T->lock
TYPE_LOCK (struct evdev)->mutex

drivers/input/joystick/iforce/iforce-ff.c make_magnitude_modifier() -> iforce_send_packet()

Type Parameter Key Value
PARAM_VALUE 0 iforce 4096-ptr_max
PARAM_VALUE 0 iforce->core_effects 4096-ptr_max
PARAM_VALUE 1 cmd 771
PARAM_VALUE 2 data 4096-ptr_max
BUF_SIZE 0 iforce s32min-(-2),1-s32max
BUF_SIZE 0 iforce s32min-(-2),1-s32max
BUF_SIZE 2 data 3
DATA_SOURCE 0 iforce $0
NOCHECK_CALL
UNITS 0 iforce unit_byte
LOCK2 &evdev->mutex
LOCK2 _T->lock
TYPE_LOCK (struct evdev)->mutex

drivers/input/joystick/iforce/iforce-ff.c make_period_modifier() -> iforce_send_packet()

Type Parameter Key Value
PARAM_VALUE 0 iforce 4096-ptr_max
PARAM_VALUE 0 iforce->core_effects 4096-ptr_max
PARAM_VALUE 1 cmd 1031
PARAM_VALUE 2 data 4096-ptr_max
BUF_SIZE 0 iforce s32min-(-2),1-s32max
BUF_SIZE 0 iforce s32min-(-2),1-s32max
BUF_SIZE 2 data 7
DATA_SOURCE 0 iforce $0
NOCHECK_CALL
UNITS 0 iforce unit_byte
LOCK2 &evdev->mutex
LOCK2 _T->lock
TYPE_LOCK (struct evdev)->mutex

drivers/input/joystick/iforce/iforce-packets.c iforce_control_playback() -> iforce_send_packet()

Type Parameter Key Value
PARAM_VALUE 0 iforce->core_effects 4096-ptr_max
PARAM_VALUE 0 iforce->type->btn 4096-ptr_max
PARAM_VALUE 1 cmd 16643
PARAM_VALUE 2 data 4096-ptr_max
BUF_SIZE 0 iforce s32min-(-2),1-s32max
BUF_SIZE 0 iforce s32min-(-2),1-s32max
BUF_SIZE 2 data 3
DATA_SOURCE 0 iforce $0
RX_PATH
TASK_NOT_RUNNING
UNITS 0 iforce unit_byte
HALF_LOCKED2 &evdev->mutex
HALF_LOCKED2 _T->lock

drivers/input/joystick/iforce/iforce-serio.c iforce_serio_get_id() -> iforce_send_packet()

Type Parameter Key Value
PARAM_VALUE 0 iforce 4096-ptr_max
PARAM_VALUE 0 iforce->dev 4096-ptr_max
PARAM_VALUE 0 iforce->dev->dev.class 8160808337149124608
PARAM_VALUE 0 iforce->dev->dev.devres_head.next 4096-ptr_max
PARAM_VALUE 0 iforce->dev->dev.devres_head.prev 4096-ptr_max
PARAM_VALUE 0 iforce->dev->dev.dma_io_tlb_mem 1473117533515866112
PARAM_VALUE 0 iforce->dev->dev.dma_io_tlb_pools.next 4096-ptr_max
PARAM_VALUE 0 iforce->dev->dev.dma_io_tlb_pools.prev 4096-ptr_max
PARAM_VALUE 0 iforce->dev->dev.dma_pools.next 4096-ptr_max
PARAM_VALUE 0 iforce->dev->dev.dma_pools.prev 4096-ptr_max
PARAM_VALUE 0 iforce->dev->dev.dma_uses_io_tlb 0
PARAM_VALUE 0 iforce->dev->dev.kobj.kref.refcount.refs.counter 1
PARAM_VALUE 0 iforce->dev->dev.kobj.kset 0,4096-ptr_max
PARAM_VALUE 0 iforce->dev->dev.kobj.ktype 5399513539053756416
PARAM_VALUE 0 iforce->dev->dev.kobj.state_in_sysfs 0
PARAM_VALUE 0 iforce->dev->dev.kobj.state_initialized 1
PARAM_VALUE 0 iforce->dev->dev.links.consumers.next 4096-ptr_max
PARAM_VALUE 0 iforce->dev->dev.links.consumers.prev 4096-ptr_max
PARAM_VALUE 0 iforce->dev->dev.links.defer_sync.next 4096-ptr_max
PARAM_VALUE 0 iforce->dev->dev.links.defer_sync.prev 4096-ptr_max
PARAM_VALUE 0 iforce->dev->dev.links.status 0
PARAM_VALUE 0 iforce->dev->dev.links.suppliers.next 4096-ptr_max
PARAM_VALUE 0 iforce->dev->dev.links.suppliers.prev 4096-ptr_max
PARAM_VALUE 0 iforce->dev->dev.numa_node (-1)
PARAM_VALUE 0 iforce->dev->dev.power.deferred_resume 0
PARAM_VALUE 0 iforce->dev->dev.power.disable_depth 1
PARAM_VALUE 0 iforce->dev->dev.power.early_init 1
PARAM_VALUE 0 iforce->dev->dev.power.entry.next 4096-ptr_max
PARAM_VALUE 0 iforce->dev->dev.power.entry.prev 4096-ptr_max
PARAM_VALUE 0 iforce->dev->dev.power.ignore_children 0
PARAM_VALUE 0 iforce->dev->dev.power.is_prepared 0
PARAM_VALUE 0 iforce->dev->dev.power.is_suspended 0
PARAM_VALUE 0 iforce->dev->dev.power.last_status (-1)
PARAM_VALUE 0 iforce->dev->dev.power.qos 0
PARAM_VALUE 0 iforce->dev->dev.power.request 0
PARAM_VALUE 0 iforce->dev->dev.power.request_pending 0
PARAM_VALUE 0 iforce->dev->dev.power.runtime_auto 1
PARAM_VALUE 0 iforce->dev->dev.power.runtime_error 0
PARAM_VALUE 0 iforce->dev->dev.power.runtime_status 2
PARAM_VALUE 0 iforce->dev->dev.power.timer_expires 0
PARAM_VALUE 0 iforce->dev->dev.power.wait_queue.head.next 4096-ptr_max
PARAM_VALUE 0 iforce->dev->dev.power.wait_queue.head.prev 4096-ptr_max
PARAM_VALUE 0 iforce->dev->dev.type 5029887639516573696
PARAM_VALUE 0 iforce->dev->h_list.next 4096-ptr_max
PARAM_VALUE 0 iforce->dev->h_list.prev 4096-ptr_max
PARAM_VALUE 0 iforce->dev->max_vals 10
PARAM_VALUE 0 iforce->dev->mutex.first_waiter 0
PARAM_VALUE 0 iforce->dev->mutex.magic 4096-ptr_max
PARAM_VALUE 0 iforce->dev->mutex.osq.tail.counter 0
PARAM_VALUE 0 iforce->dev->mutex.owner.counter 0
PARAM_VALUE 0 iforce->dev->node.next 4096-ptr_max
PARAM_VALUE 0 iforce->dev->node.prev 4096-ptr_max
PARAM_VALUE 0 iforce->dev->timer.entry.pprev 0
PARAM_VALUE 0 iforce->dev->timer.flags 0-4194302
PARAM_VALUE 0 iforce->dev->vals 4096-ptr_max
PARAM_VALUE 0 iforce->device_memory.child 0
PARAM_VALUE 0 iforce->device_memory.end 0-255
PARAM_VALUE 0 iforce->device_memory.flags 512
PARAM_VALUE 0 iforce->device_memory.name 1713729045432369152
PARAM_VALUE 0 iforce->device_memory.parent 0
PARAM_VALUE 0 iforce->device_memory.sibling 0
PARAM_VALUE 0 iforce->device_memory.start 0
PARAM_VALUE 0 iforce->mem_mutex.dep_map->name 0-255
PARAM_VALUE 0 iforce->mem_mutex.first_waiter 0
PARAM_VALUE 0 iforce->mem_mutex.magic 4096-ptr_max
PARAM_VALUE 0 iforce->mem_mutex.osq.tail.counter 0
PARAM_VALUE 0 iforce->mem_mutex.owner.counter 0
PARAM_VALUE 0 iforce->wait.head.next->next 4096-ptr_max
PARAM_VALUE 0 iforce->wait.head.prev->next 4096-ptr_max
PARAM_VALUE 0 iforce->wait.head.prev->prev 4096-ptr_max
PARAM_VALUE 0 iforce->xport_ops 7540835902314012672,8205364492029075456
PARAM_VALUE 0 iforce->xport_ops->get_id 4096-ptr_max
PARAM_VALUE 1 cmd 65281
PARAM_VALUE 2 *data 1-255
BUF_SIZE 0 iforce->dev 2480
BUF_SIZE 0 iforce->device_memory.name 29
BUF_SIZE 0 iforce->xmit.buf 256
BUF_SIZE 0 iforce->xport_ops 32
DATA_SOURCE 0 iforce $0
FUZZY_MAX 0 iforce->device_memory.end 200
STR_LEN 0 iforce->device_memory.name 28
TERMINATED 0 iforce->device_memory.name 1
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
NO_OVERFLOW_SIMPLE 0 iforce->dev->max_vals
HALF_LOCKED2 _T->lock