Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 2 files:
Smatch caller information:
sound/usb/card.c usb_audio_probe() -> snd_usb_create_quirk()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | chip | 4096-ptr_max |
| PARAM_VALUE | 0 | chip->active.counter | s32min-s32max |
| PARAM_VALUE | 0 | chip->ctrl_intf | 1-u64max |
| PARAM_VALUE | 0 | chip->dev | 4096-ptr_max |
| PARAM_VALUE | 0 | chip->index | s32min-s32max |
| PARAM_VALUE | 0 | chip->num_interfaces | s32min-15 |
| PARAM_VALUE | 0 | chip->shutdown.counter | s32min-s32max |
| PARAM_VALUE | 0 | chip->usage_count.count.counter | s32min-s32max |
| PARAM_VALUE | 1 | iface | 4096-ptr_max |
| PARAM_VALUE | 1 | iface->altsetting | 4096-ptr_max |
| PARAM_VALUE | 1 | iface->authorized | 1 |
| PARAM_VALUE | 1 | iface->condition | 1 |
| PARAM_VALUE | 1 | iface->needs_altsetting0 | 0 |
| PARAM_VALUE | 1 | iface->needs_binding | 0 |
| PARAM_VALUE | 2 | driver | 3308584548048875520 |
| PARAM_VALUE | 3 | quirk | 4096-ptr_max |
| PARAM_VALUE | 3 | quirk->ifnum | s16min-(-4),(-1)-255 |
| CAPPED_DATA | 3 | quirk->ifnum | 1 |
| DATA_SOURCE | 1 | iface | $0 |
| HARD_MAX | 0 | chip->num_interfaces | 15 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | chip->quirk_flags | 0-u64max |
| LOCK2 | _T->lock |
sound/usb/quirks.c create_composite_quirk() -> snd_usb_create_quirk()
| 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 |
| PARAM_VALUE | 0 | *chip->dev->toggle | 0-4294967295 |
| PARAM_VALUE | 1 | iface | 4096-ptr_max |
| PARAM_VALUE | 1 | iface->dev.power.wakeirq->status | 0-4294967295 |
| PARAM_VALUE | 2 | driver->reset_resume | 0,4096-ptr_max |
| PARAM_VALUE | 2 | driver->resume | 0,4096-ptr_max |
| PARAM_VALUE | 2 | driver->shutdown | 0,3050277014165180416,3422327667313766400 |
| PARAM_VALUE | 2 | driver->suspend | 0,4096-ptr_max |
| PARAM_VALUE | 3 | quirk | 4096-ptr_max |
| PARAM_VALUE | 3 | quirk->ifnum | 0-255 |
| BUF_SIZE | 3 | quirk | (-1),72 |
| BUF_SIZE | 3 | quirk | (-1),72 |
| CAPPED_DATA | 3 | quirk->ifnum | 1 |
| DATA_SOURCE | 0 | chip | $0 |
| DATA_SOURCE | 1 | iface | r usb_ifnum_to_if |
| DATA_SOURCE | 2 | driver | $2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | chip->quirk_flags | 0-4294983679 |
| HALF_LOCKED2 | _T->lock |