Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
sound/drivers/mtpav.c snd_mtpav_output_port_write() -> snd_mtpav_send_byte()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | chip | 4096-ptr_max |
| PARAM_VALUE | 0 | chip->outmidihwport | 0-23,99 |
| PARAM_VALUE | 0 | chip->ports | 4096-ptr_max |
| PARAM_VALUE | 1 | byte | 245 |
| BUF_SIZE | 0 | chip | (-1),4,72,104,216,256,288,352,376,408,440,448,608,704,2728 |
| BUF_SIZE | 0 | chip | (-1),4,72,104,216,256,288,352,376,408,440,448,608,704,2728 |
| DATA_SOURCE | 0 | chip | $0 |
| BIT_INFO | 0 | chip->outmidihwport | 0x0,0xff |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 0 | chip | unit_byte |
| LOCK2 | irq | ||
| LOCK2 | 0 | &chip->spinlock | |
| TYPE_LOCK | (struct mtpav)->spinlock |
sound/drivers/mtpav.c snd_mtpav_output_port_write() -> snd_mtpav_send_byte()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | chip | 4096-ptr_max |
| PARAM_VALUE | 0 | chip->outmidihwport | 0-23,99 |
| PARAM_VALUE | 0 | chip->ports | 4096-ptr_max |
| PARAM_VALUE | 1 | byte | 0-23,99 |
| BUF_SIZE | 0 | chip | (-1),4,72,104,216,256,288,352,376,408,440,448,608,704,2728 |
| BUF_SIZE | 0 | chip | (-1),4,72,104,216,256,288,352,376,408,440,448,608,704,2728 |
| DATA_SOURCE | 0 | chip | $0 |
| BIT_INFO | 0 | chip->outmidihwport | 0x0,0xff |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 0 | chip | unit_byte |
| LOCK2 | irq | ||
| LOCK2 | 0 | &chip->spinlock | |
| TYPE_LOCK | (struct mtpav)->spinlock |
sound/drivers/mtpav.c snd_mtpav_output_port_write() -> snd_mtpav_send_byte()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | chip | 4096-ptr_max |
| PARAM_VALUE | 0 | chip->outmidihwport | 0-23,99 |
| PARAM_VALUE | 0 | chip->ports | 4096-ptr_max |
| PARAM_VALUE | 1 | byte | 128-255 |
| BUF_SIZE | 0 | chip | (-1),4,72,104,216,256,288,352,376,408,440,448,608,704,2728 |
| BUF_SIZE | 0 | chip | (-1),4,72,104,216,256,288,352,376,408,440,448,608,704,2728 |
| DATA_SOURCE | 0 | chip | $0 |
| BIT_INFO | 0 | chip->outmidihwport | 0x0,0xff |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 0 | chip | unit_byte |
| LOCK2 | irq | ||
| LOCK2 | 0 | &chip->spinlock | |
| TYPE_LOCK | (struct mtpav)->spinlock |
sound/drivers/mtpav.c snd_mtpav_output_port_write() -> snd_mtpav_send_byte()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | chip | 4096-ptr_max |
| PARAM_VALUE | 0 | chip->outmidihwport | 0-23,99 |
| PARAM_VALUE | 0 | chip->ports | 4096-ptr_max |
| BUF_SIZE | 0 | chip | (-1),4,72,104,216,256,288,352,376,408,440,448,608,704,2728 |
| BUF_SIZE | 0 | chip | (-1),4,72,104,216,256,288,352,376,408,440,448,608,704,2728 |
| CAPPED_DATA | 0 | chip->outmidihwport | 1 |
| DATA_SOURCE | 0 | chip | $0 |
| BIT_INFO | 0 | chip->outmidihwport | 0x0,0xff |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 0 | chip | unit_byte |
| LOCK2 | irq | ||
| LOCK2 | 0 | &chip->spinlock | |
| TYPE_LOCK | (struct mtpav)->spinlock |
sound/drivers/mtpav.c snd_mtpav_portscan() -> snd_mtpav_send_byte()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | chip | 4096-ptr_max |
| PARAM_VALUE | 0 | chip->card | 4096-ptr_max |
| PARAM_VALUE | 0 | chip->card->card_dev.class | 235665674555068416 |
| PARAM_VALUE | 0 | chip->card->card_dev.dma_io_tlb_mem | 1473117533515866112 |
| PARAM_VALUE | 0 | chip->card->card_dev.kobj.kref.refcount.refs.counter | 1 |
| PARAM_VALUE | 0 | chip->card->card_dev.kobj.ktype | 5399513539053756416 |
| PARAM_VALUE | 0 | chip->card->card_dev.kobj.state_initialized | 1 |
| PARAM_VALUE | 0 | chip->card->card_dev.links.status | 0 |
| PARAM_VALUE | 0 | chip->card->card_dev.numa_node | (-1) |
| PARAM_VALUE | 0 | chip->card->card_dev.parent | 4096-ptr_max |
| PARAM_VALUE | 0 | chip->card->card_dev.power.disable_depth | 1 |
| PARAM_VALUE | 0 | chip->card->card_dev.power.early_init | 1 |
| PARAM_VALUE | 0 | chip->card->card_dev.power.last_status | (-1) |
| PARAM_VALUE | 0 | chip->card->card_dev.power.qos | 0 |
| PARAM_VALUE | 0 | chip->card->card_dev.power.request | 0 |
| PARAM_VALUE | 0 | chip->card->card_dev.power.runtime_auto | 1 |
| PARAM_VALUE | 0 | chip->card->card_dev.power.runtime_status | 2 |
| PARAM_VALUE | 0 | chip->card->card_dev.release | 530793378695925760 |
| PARAM_VALUE | 0 | chip->card->controls_rwlock.magic | 3736018669 |
| PARAM_VALUE | 0 | chip->card->controls_rwlock.owner | (-1) |
| PARAM_VALUE | 0 | chip->card->controls_rwlock.owner_cpu | u32max |
| PARAM_VALUE | 0 | chip->card->ctl_hash.xa_flags | 0 |
| PARAM_VALUE | 0 | chip->card->ctl_hash.xa_head | 0 |
| PARAM_VALUE | 0 | chip->card->ctl_numids.xa_flags | 0 |
| PARAM_VALUE | 0 | chip->card->ctl_numids.xa_head | 0 |
| PARAM_VALUE | 0 | chip->card->dev | 4096-ptr_max |
| PARAM_VALUE | 0 | chip->card->dev->devres_head.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | chip->card->dev->devres_head.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | chip->card->dev->devres_head.prev->next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | chip->card->managed | 1 |
| PARAM_VALUE | 0 | chip->card->module | 0 |
| PARAM_VALUE | 0 | chip->card->number | 0-31 |
| PARAM_VALUE | 0 | chip->card->power_ref.count.counter | 0 |
| PARAM_VALUE | 0 | chip->card->private_data | 4096-ptr_max |
| PARAM_VALUE | 0 | chip->card->sync_irq | (-1) |
| PARAM_VALUE | 0 | chip->inmidiport | 3-10 |
| PARAM_VALUE | 0 | chip->inmidistate | 0 |
| PARAM_VALUE | 0 | chip->irq | 7 |
| PARAM_VALUE | 0 | chip->num_ports | 1-8 |
| PARAM_VALUE | 0 | chip->outmidihwport | u32max |
| PARAM_VALUE | 0 | chip->port | 888 |
| PARAM_VALUE | 0 | chip->res_port | 4096-ptr_max |
| PARAM_VALUE | 0 | chip->res_port->parent | 4096-ptr_max |
| PARAM_VALUE | 0 | chip->res_port->parent->child | 4096-ptr_max |
| PARAM_VALUE | 0 | chip->res_port->sibling | 0,4096-ptr_max |
| PARAM_VALUE | 0 | chip->res_port->sibling->start | 1-u64max |
| PARAM_VALUE | 0 | chip->rmidi | 4096-ptr_max |
| PARAM_VALUE | 0 | chip->rmidi->card | 4096-ptr_max |
| PARAM_VALUE | 0 | chip->rmidi->info_flags | 7 |
| PARAM_VALUE | 0 | chip->rmidi->private_data | 4096-ptr_max |
| PARAM_VALUE | 0 | chip->share_irq | 0 |
| PARAM_VALUE | 0 | chip->timer.entry.pprev | 0 |
| PARAM_VALUE | 0 | chip->timer.flags | 0-4194302 |
| PARAM_VALUE | 0 | chip->timer.lockdep_map->name | 0-255 |
| PARAM_VALUE | 0 | *chip->card->dev->p->deferred_probe_reason | 0-255 |
| PARAM_VALUE | 0 | *chip->rmidi->name | 0-255 |
| PARAM_VALUE | 1 | byte | 245 |
| BUF_SIZE | 0 | chip | 72,104,256,376,448,2728 |
| BUF_SIZE | 0 | chip | 72,104,256,376,448,2728 |
| DATA_SOURCE | 0 | chip | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 0 | chip | unit_byte |
sound/drivers/mtpav.c snd_mtpav_portscan() -> snd_mtpav_send_byte()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | chip | 4096-ptr_max |
| PARAM_VALUE | 0 | chip->card | 4096-ptr_max |
| PARAM_VALUE | 0 | chip->card->card_dev.class | 235665674555068416 |
| PARAM_VALUE | 0 | chip->card->card_dev.dma_io_tlb_mem | 1473117533515866112 |
| PARAM_VALUE | 0 | chip->card->card_dev.kobj.kref.refcount.refs.counter | 1 |
| PARAM_VALUE | 0 | chip->card->card_dev.kobj.ktype | 5399513539053756416 |
| PARAM_VALUE | 0 | chip->card->card_dev.kobj.state_initialized | 1 |
| PARAM_VALUE | 0 | chip->card->card_dev.links.status | 0 |
| PARAM_VALUE | 0 | chip->card->card_dev.numa_node | (-1) |
| PARAM_VALUE | 0 | chip->card->card_dev.parent | 4096-ptr_max |
| PARAM_VALUE | 0 | chip->card->card_dev.power.disable_depth | 1 |
| PARAM_VALUE | 0 | chip->card->card_dev.power.early_init | 1 |
| PARAM_VALUE | 0 | chip->card->card_dev.power.last_status | (-1) |
| PARAM_VALUE | 0 | chip->card->card_dev.power.qos | 0 |
| PARAM_VALUE | 0 | chip->card->card_dev.power.request | 0 |
| PARAM_VALUE | 0 | chip->card->card_dev.power.runtime_auto | 1 |
| PARAM_VALUE | 0 | chip->card->card_dev.power.runtime_status | 2 |
| PARAM_VALUE | 0 | chip->card->card_dev.release | 530793378695925760 |
| PARAM_VALUE | 0 | chip->card->controls_rwlock.magic | 3736018669 |
| PARAM_VALUE | 0 | chip->card->controls_rwlock.owner | (-1) |
| PARAM_VALUE | 0 | chip->card->controls_rwlock.owner_cpu | u32max |
| PARAM_VALUE | 0 | chip->card->ctl_hash.xa_flags | 0 |
| PARAM_VALUE | 0 | chip->card->ctl_hash.xa_head | 0 |
| PARAM_VALUE | 0 | chip->card->ctl_numids.xa_flags | 0 |
| PARAM_VALUE | 0 | chip->card->ctl_numids.xa_head | 0 |
| PARAM_VALUE | 0 | chip->card->dev | 4096-ptr_max |
| PARAM_VALUE | 0 | chip->card->dev->devres_head.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | chip->card->dev->devres_head.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | chip->card->dev->devres_head.prev->next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | chip->card->managed | 1 |
| PARAM_VALUE | 0 | chip->card->module | 0 |
| PARAM_VALUE | 0 | chip->card->number | 0-31 |
| PARAM_VALUE | 0 | chip->card->power_ref.count.counter | 0 |
| PARAM_VALUE | 0 | chip->card->private_data | 4096-ptr_max |
| PARAM_VALUE | 0 | chip->card->sync_irq | (-1) |
| PARAM_VALUE | 0 | chip->inmidiport | 3-10 |
| PARAM_VALUE | 0 | chip->inmidistate | 0 |
| PARAM_VALUE | 0 | chip->irq | 7 |
| PARAM_VALUE | 0 | chip->num_ports | 1-8 |
| PARAM_VALUE | 0 | chip->outmidihwport | u32max |
| PARAM_VALUE | 0 | chip->port | 888 |
| PARAM_VALUE | 0 | chip->res_port | 4096-ptr_max |
| PARAM_VALUE | 0 | chip->res_port->parent | 4096-ptr_max |
| PARAM_VALUE | 0 | chip->res_port->parent->child | 4096-ptr_max |
| PARAM_VALUE | 0 | chip->res_port->sibling | 0,4096-ptr_max |
| PARAM_VALUE | 0 | chip->res_port->sibling->start | 1-u64max |
| PARAM_VALUE | 0 | chip->rmidi | 4096-ptr_max |
| PARAM_VALUE | 0 | chip->rmidi->card | 4096-ptr_max |
| PARAM_VALUE | 0 | chip->rmidi->info_flags | 7 |
| PARAM_VALUE | 0 | chip->rmidi->private_data | 4096-ptr_max |
| PARAM_VALUE | 0 | chip->share_irq | 0 |
| PARAM_VALUE | 0 | chip->timer.entry.pprev | 0 |
| PARAM_VALUE | 0 | chip->timer.flags | 0-4194302 |
| PARAM_VALUE | 0 | chip->timer.lockdep_map->name | 0-255 |
| PARAM_VALUE | 0 | *chip->card->dev->p->deferred_probe_reason | 0-255 |
| PARAM_VALUE | 0 | *chip->rmidi->name | 0-255 |
| PARAM_VALUE | 1 | byte | 0-7 |
| BUF_SIZE | 0 | chip | 72,104,256,376,448,2728 |
| BUF_SIZE | 0 | chip | 72,104,256,376,448,2728 |
| DATA_SOURCE | 0 | chip | $0 |
| FUZZY_MAX | 1 | byte | 7 |
| HARD_MAX | 1 | byte | 7 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 0 | chip | unit_byte |
sound/drivers/mtpav.c snd_mtpav_portscan() -> snd_mtpav_send_byte()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | chip | 4096-ptr_max |
| PARAM_VALUE | 0 | chip->card | 4096-ptr_max |
| PARAM_VALUE | 0 | chip->card->card_dev.class | 235665674555068416 |
| PARAM_VALUE | 0 | chip->card->card_dev.dma_io_tlb_mem | 1473117533515866112 |
| PARAM_VALUE | 0 | chip->card->card_dev.kobj.kref.refcount.refs.counter | 1 |
| PARAM_VALUE | 0 | chip->card->card_dev.kobj.ktype | 5399513539053756416 |
| PARAM_VALUE | 0 | chip->card->card_dev.kobj.state_initialized | 1 |
| PARAM_VALUE | 0 | chip->card->card_dev.links.status | 0 |
| PARAM_VALUE | 0 | chip->card->card_dev.numa_node | (-1) |
| PARAM_VALUE | 0 | chip->card->card_dev.parent | 4096-ptr_max |
| PARAM_VALUE | 0 | chip->card->card_dev.power.disable_depth | 1 |
| PARAM_VALUE | 0 | chip->card->card_dev.power.early_init | 1 |
| PARAM_VALUE | 0 | chip->card->card_dev.power.last_status | (-1) |
| PARAM_VALUE | 0 | chip->card->card_dev.power.qos | 0 |
| PARAM_VALUE | 0 | chip->card->card_dev.power.request | 0 |
| PARAM_VALUE | 0 | chip->card->card_dev.power.runtime_auto | 1 |
| PARAM_VALUE | 0 | chip->card->card_dev.power.runtime_status | 2 |
| PARAM_VALUE | 0 | chip->card->card_dev.release | 530793378695925760 |
| PARAM_VALUE | 0 | chip->card->controls_rwlock.magic | 3736018669 |
| PARAM_VALUE | 0 | chip->card->controls_rwlock.owner | (-1) |
| PARAM_VALUE | 0 | chip->card->controls_rwlock.owner_cpu | u32max |
| PARAM_VALUE | 0 | chip->card->ctl_hash.xa_flags | 0 |
| PARAM_VALUE | 0 | chip->card->ctl_hash.xa_head | 0 |
| PARAM_VALUE | 0 | chip->card->ctl_numids.xa_flags | 0 |
| PARAM_VALUE | 0 | chip->card->ctl_numids.xa_head | 0 |
| PARAM_VALUE | 0 | chip->card->dev | 4096-ptr_max |
| PARAM_VALUE | 0 | chip->card->dev->devres_head.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | chip->card->dev->devres_head.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | chip->card->dev->devres_head.prev->next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | chip->card->managed | 1 |
| PARAM_VALUE | 0 | chip->card->module | 0 |
| PARAM_VALUE | 0 | chip->card->number | 0-31 |
| PARAM_VALUE | 0 | chip->card->power_ref.count.counter | 0 |
| PARAM_VALUE | 0 | chip->card->private_data | 4096-ptr_max |
| PARAM_VALUE | 0 | chip->card->sync_irq | (-1) |
| PARAM_VALUE | 0 | chip->inmidiport | 3-10 |
| PARAM_VALUE | 0 | chip->inmidistate | 0 |
| PARAM_VALUE | 0 | chip->irq | 7 |
| PARAM_VALUE | 0 | chip->num_ports | 1-8 |
| PARAM_VALUE | 0 | chip->outmidihwport | u32max |
| PARAM_VALUE | 0 | chip->port | 888 |
| PARAM_VALUE | 0 | chip->res_port | 4096-ptr_max |
| PARAM_VALUE | 0 | chip->res_port->parent | 4096-ptr_max |
| PARAM_VALUE | 0 | chip->res_port->parent->child | 4096-ptr_max |
| PARAM_VALUE | 0 | chip->res_port->sibling | 0,4096-ptr_max |
| PARAM_VALUE | 0 | chip->res_port->sibling->start | 1-u64max |
| PARAM_VALUE | 0 | chip->rmidi | 4096-ptr_max |
| PARAM_VALUE | 0 | chip->rmidi->card | 4096-ptr_max |
| PARAM_VALUE | 0 | chip->rmidi->info_flags | 7 |
| PARAM_VALUE | 0 | chip->rmidi->private_data | 4096-ptr_max |
| PARAM_VALUE | 0 | chip->share_irq | 0 |
| PARAM_VALUE | 0 | chip->timer.entry.pprev | 0 |
| PARAM_VALUE | 0 | chip->timer.flags | 0-4194302 |
| PARAM_VALUE | 0 | chip->timer.lockdep_map->name | 0-255 |
| PARAM_VALUE | 0 | *chip->card->dev->p->deferred_probe_reason | 0-255 |
| PARAM_VALUE | 0 | *chip->rmidi->name | 0-255 |
| PARAM_VALUE | 1 | byte | 254 |
| BUF_SIZE | 0 | chip | 72,104,256,376,448,2728 |
| BUF_SIZE | 0 | chip | 72,104,256,376,448,2728 |
| DATA_SOURCE | 0 | chip | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 0 | chip | unit_byte |