Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 4 files:

Smatch caller information:

sound/usb/format.c focusrite_valid_sample_rate() -> snd_usb_get_host_interface()

Type Parameter Key Value
PARAM_VALUE 0 chip 4096-ptr_max
DATA_SOURCE 0 chip $0
UNITS 1 ifnum unit_array_size

sound/usb/format.c validate_sample_rate_table_v2v3() -> snd_usb_get_host_interface()

Type Parameter Key Value
PARAM_VALUE 0 chip 4096-ptr_max
PARAM_VALUE 0 chip->dev->actconfig 0,4096-ptr_max
DATA_SOURCE 0 chip $0
BIT_INFO 0 chip->quirk_flags 0x1000,0xffffffffffffffff
RX_PATH
TASK_NOT_RUNNING
UNITS 1 ifnum unit_array_size
HALF_LOCKED2 _T->lock

sound/usb/implicit.c __add_generic_implicit_fb() -> snd_usb_get_host_interface()

Type Parameter Key Value
PARAM_VALUE 0 chip 4096-ptr_max
PARAM_VALUE 0 chip->dev 4096-ptr_max
PARAM_VALUE 0 chip->dev->actconfig 4096-ptr_max
PARAM_VALUE 0 chip->dev->actconfig->desc.bNumInterfaces 1-255
DATA_SOURCE 0 chip $0
DATA_SOURCE 1 ifnum $2
DATA_SOURCE 2 altsetting $3
BIT_INFO 0 chip->quirk_flags 0x0,0xfffbffff
RX_PATH
TASK_NOT_RUNNING
USER_DATA 0 chip->quirk_flags 0-4294967311
HALF_LOCKED2 _T->lock

sound/usb/implicit.c add_generic_uac2_implicit_fb() -> snd_usb_get_host_interface()

Type Parameter Key Value
PARAM_VALUE 0 chip 4096-ptr_max
PARAM_VALUE 0 chip->dev 4096-ptr_max
PARAM_VALUE 0 chip->dev->actconfig 4096-ptr_max
PARAM_VALUE 0 chip->dev->actconfig->desc.bNumInterfaces 1-255
CAPPED_DATA 0 chip->dev 1
DATA_SOURCE 0 chip $0
DATA_SOURCE 1 ifnum $2
DATA_SOURCE 2 altsetting $3
BIT_INFO 0 chip->quirk_flags 0x0,0xfffffffffffbffff
RX_PATH
TASK_NOT_RUNNING
USER_DATA 0 chip->quirk_flags 0-u32max
HALF_LOCKED2 _T->lock

sound/usb/implicit.c add_roland_capture_quirk() -> snd_usb_get_host_interface()

Type Parameter Key Value
PARAM_VALUE 0 chip 4096-ptr_max
PARAM_VALUE 0 chip->dev 4096-ptr_max
PARAM_VALUE 0 chip->dev->actconfig 4096-ptr_max
PARAM_VALUE 0 chip->dev->actconfig->desc.bNumInterfaces 1-255
CAPPED_DATA 0 chip->dev 1
DATA_SOURCE 0 chip $0
BIT_INFO 0 chip->quirk_flags 0x0,0xfffffffffffbffff
RX_PATH
TASK_NOT_RUNNING
USER_DATA 0 chip->quirk_flags 0-u32max
UNITS 2 altsetting unit_array_size
HALF_LOCKED2 _T->lock

sound/usb/implicit.c add_roland_implicit_fb() -> snd_usb_get_host_interface()

Type Parameter Key Value
PARAM_VALUE 0 chip 4096-ptr_max
PARAM_VALUE 0 chip->dev 4096-ptr_max
PARAM_VALUE 0 chip->dev->actconfig 4096-ptr_max
PARAM_VALUE 0 chip->dev->actconfig->desc.bNumInterfaces 1-255
CAPPED_DATA 0 chip->dev 1
DATA_SOURCE 0 chip $0
BIT_INFO 0 chip->quirk_flags 0x0,0xfffffffffffbffff
RX_PATH
TASK_NOT_RUNNING
USER_DATA 0 chip->quirk_flags 0-u32max
UNITS 2 altsetting unit_array_size
HALF_LOCKED2 _T->lock

sound/usb/endpoint.c endpoint_set_syncinterval() -> snd_usb_get_host_interface()

Type Parameter Key Value
PARAM_VALUE 0 chip 4096-ptr_max
DATA_SOURCE 0 chip $0
RX_PATH
TASK_NOT_RUNNING
UNITS 1 ifnum unit_array_size
UNITS 2 altsetting unit_array_size
LOCK2 _T->lock
HALF_LOCKED2 &pool->lock
HALF_LOCKED2 &runtime->buffer_mutex
HALF_LOCKED2 global &qdev_mutex

sound/usb/pcm.c snd_usb_audioformat_set_sync_ep() -> snd_usb_get_host_interface()

Type Parameter Key Value
PARAM_VALUE 0 chip 4096-ptr_max
PARAM_VALUE 0 chip->dev 4096-ptr_max
DATA_SOURCE 0 chip $0
RX_PATH
TASK_NOT_RUNNING
USER_DATA 0 chip->quirk_flags 0-u32max
UNITS 1 ifnum unit_array_size
HALF_LOCKED2 _T->lock