Defined in 2 files as a function:
- drivers/mmc/host/cavium.c, line 200 (as a function)
- sound/pci/ctxfi/ctmixer.c, line 520 (as a function)
Referenced in 6 files:
- drivers/mmc/host/cavium.c
- drivers/net/ethernet/intel/ice/ice_dpll.c
- drivers/tty/vt/vt_ioctl.c
- include/linux/suspend.h, line 16
- kernel/events/core.c
- sound/pci/ctxfi/ctmixer.c
Smatch caller information:
drivers/mmc/host/cavium.c cvm_mmc_init_lowlevel() -> do_switch()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | atc | 4096-ptr_max |
| PARAM_VALUE | 0 | atc->acquire_bus | 2844606453323403264 |
| PARAM_VALUE | 0 | atc->base | 4096-ptr_max |
| PARAM_VALUE | 0 | atc->big_dma_addr | 1 |
| PARAM_VALUE | 0 | atc->clk | 0,4096-ptr_max |
| PARAM_VALUE | 0 | atc->dev | 4096-ptr_max |
| PARAM_VALUE | 0 | atc->dma_base | 4096-ptr_max |
| PARAM_VALUE | 0 | atc->int_enable | 6527536098680934400 |
| PARAM_VALUE | 0 | atc->mmc_serializer.last_holder | 0 |
| PARAM_VALUE | 0 | atc->mmc_serializer.lock.owner | 0,(-1) |
| PARAM_VALUE | 0 | atc->mmc_serializer.lock.owner_cpu | 0,u32max |
| PARAM_VALUE | 0 | atc->mmc_serializer.lock.raw_lock.val.counter | 0-s32max |
| PARAM_VALUE | 0 | atc->need_irq_handler_lock | 1 |
| PARAM_VALUE | 0 | atc->reg_off | 8192 |
| PARAM_VALUE | 0 | atc->reg_off_dma | 352 |
| PARAM_VALUE | 0 | atc->release_bus | 4945125336857780224 |
| PARAM_VALUE | 0 | atc->use_sg | 1 |
| BUF_SIZE | 0 | atc | 456 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &host->mmc_serializer | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct cvm_mmc_host)->mmc_serializer |
drivers/mmc/host/cavium.c cvm_mmc_reset_bus() -> do_switch()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | atc | 4096-ptr_max |
| PARAM_VALUE | 0 | atc->mmc_serializer.first_waiter->list.next | 5349227543279349760 |
| PARAM_VALUE | 0 | atc->mmc_serializer.first_waiter->list.prev | 5349227543279349760 |
| PARAM_VALUE | 0 | atc->mmc_serializer.first_waiter->list.prev->next | 5349227543279349760 |
| PARAM_VALUE | 0 | atc->mmc_serializer.lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | atc->mmc_serializer.lock.owner | (-1) |
| PARAM_VALUE | 0 | atc->mmc_serializer.lock.owner_cpu | u32max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HOST_DATA | 1 | type | 0-u64max[c] |
| LOCK2 | &host->mmc_serializer | ||
| TYPE_LOCK | (struct cvm_mmc_host)->mmc_serializer |
drivers/mmc/host/cavium.c cvm_mmc_set_ios() -> do_switch()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | atc | 4096-ptr_max |
| PARAM_VALUE | 0 | atc->mmc_serializer.first_waiter->list.next | 5349227543279349760 |
| PARAM_VALUE | 0 | atc->mmc_serializer.first_waiter->list.prev | 5349227543279349760 |
| PARAM_VALUE | 0 | atc->mmc_serializer.first_waiter->list.prev->next | 5349227543279349760 |
| PARAM_VALUE | 0 | atc->mmc_serializer.first_waiter->up | 0 |
| PARAM_VALUE | 0 | atc->mmc_serializer.lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | atc->mmc_serializer.lock.owner | (-1) |
| PARAM_VALUE | 0 | atc->mmc_serializer.lock.owner_cpu | u32max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| USER_DATA | 1 | type | 0-u64max[c] |
| LOCK2 | 0 | &atc->mmc_serializer | |
| TYPE_LOCK | (struct cvm_mmc_host)->mmc_serializer |
drivers/mmc/host/cavium.c cvm_mmc_switch_to() -> do_switch()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | atc | 4096-ptr_max |
| PARAM_VALUE | 0 | atc->slot | 4096-ptr_max |
| BUF_SIZE | 0 | atc | (-1),456 |
| BUF_SIZE | 0 | atc | (-1),456 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &host->mmc_serializer | ||
| TYPE_LOCK | (struct cvm_mmc_host)->mmc_serializer |
sound/pci/ctxfi/ctmixer.c ct_alsa_mix_switch_put() -> do_switch()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | atc | 4096-ptr_max |
| PARAM_VALUE | 0 | atc->mixer | 4096-ptr_max |
| BUF_SIZE | 0 | atc | (-1),72,104,256,376,448,2728 |
| BUF_SIZE | 0 | atc | (-1),72,104,256,376,448,2728 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 0 | atc | unit_byte |
| HALF_LOCKED2 | &card->controls_rwsem | ||
| HALF_LOCKED2 | &card->mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | _T->lock |
sound/pci/ctxfi/ctmixer.c dedicated_rca_put() -> do_switch()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | atc | 4096-ptr_max |
| PARAM_VALUE | 0 | atc->mixer | 4096-ptr_max |
| PARAM_VALUE | 1 | type | 20 |
| PARAM_VALUE | 2 | state | 0 |
| BUF_SIZE | 0 | atc | (-1),72,104,256,376,448,2728 |
| BUF_SIZE | 0 | atc | (-1),72,104,256,376,448,2728 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 0 | atc | unit_byte |
| HALF_LOCKED2 | &card->controls_rwsem | ||
| HALF_LOCKED2 | &card->mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | _T->lock |
sound/pci/ctxfi/ctmixer.c dedicated_rca_put() -> do_switch()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | atc | 4096-ptr_max |
| PARAM_VALUE | 0 | atc->capabilities | 4096-ptr_max |
| PARAM_VALUE | 0 | atc->mixer | 4096-ptr_max |
| PARAM_VALUE | 0 | atc->mixer->switch_state | 0-4294967295 |
| PARAM_VALUE | 0 | atc->rca_state | 0-1 |
| PARAM_VALUE | 1 | type | 20 |
| PARAM_VALUE | 2 | state | 0-1 |
| BUF_SIZE | 0 | atc | (-1),72,104,256,376,448,2728 |
| BUF_SIZE | 0 | atc | (-1),72,104,256,376,448,2728 |
| DATA_SOURCE | 2 | state | r get_switch_state |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 0 | atc | unit_byte |
| HALF_LOCKED2 | &card->controls_rwsem | ||
| HALF_LOCKED2 | &card->mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | _T->lock |
sound/pci/ctxfi/ctmixer.c mixer_resume() -> do_switch()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | type | 15-24 |
| PARAM_VALUE | 2 | state | 0-1 |
| DATA_SOURCE | 2 | state | r get_switch_state |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |