Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/usb/gadget/function/f_midi2.c f_midi2_bind() -> f_midi2_init_ep()

Type Parameter Key Value
PARAM_VALUE 0 midi2 4096-ptr_max
PARAM_VALUE 0 midi2->card 4096-ptr_max
PARAM_VALUE 0 midi2->card->card_dev.class 235665674555068416
PARAM_VALUE 0 midi2->card->card_dev.dma_io_tlb_mem 1473117533515866112
PARAM_VALUE 0 midi2->card->card_dev.dma_uses_io_tlb 0
PARAM_VALUE 0 midi2->card->card_dev.kobj.kref.refcount.refs.counter 1
PARAM_VALUE 0 midi2->card->card_dev.kobj.ktype 5399513539053756416
PARAM_VALUE 0 midi2->card->card_dev.kobj.state_initialized 1
PARAM_VALUE 0 midi2->card->card_dev.links.status 0
PARAM_VALUE 0 midi2->card->card_dev.numa_node (-1)
PARAM_VALUE 0 midi2->card->card_dev.parent 4096-ptr_max
PARAM_VALUE 0 midi2->card->card_dev.power.disable_depth 1
PARAM_VALUE 0 midi2->card->card_dev.power.early_init 1
PARAM_VALUE 0 midi2->card->card_dev.power.is_prepared 0
PARAM_VALUE 0 midi2->card->card_dev.power.last_status (-1)
PARAM_VALUE 0 midi2->card->card_dev.power.qos 0
PARAM_VALUE 0 midi2->card->card_dev.power.request 0
PARAM_VALUE 0 midi2->card->card_dev.power.runtime_auto 1
PARAM_VALUE 0 midi2->card->card_dev.power.runtime_status 2
PARAM_VALUE 0 midi2->card->card_dev.release 530793378695925760
PARAM_VALUE 0 midi2->card->controls_rwlock.magic 3736018669
PARAM_VALUE 0 midi2->card->controls_rwlock.owner (-1)
PARAM_VALUE 0 midi2->card->controls_rwlock.owner_cpu u32max
PARAM_VALUE 0 midi2->card->ctl_hash.xa_flags 0
PARAM_VALUE 0 midi2->card->ctl_hash.xa_head 0
PARAM_VALUE 0 midi2->card->ctl_numids.xa_flags 0
PARAM_VALUE 0 midi2->card->ctl_numids.xa_head 0
PARAM_VALUE 0 midi2->card->dev 4096-ptr_max
PARAM_VALUE 0 midi2->card->memory_mutex.first_waiter 0
PARAM_VALUE 0 midi2->card->memory_mutex.owner.counter 0
PARAM_VALUE 0 midi2->card->number 0-31
PARAM_VALUE 0 midi2->card->power_ref.count.counter 0
PARAM_VALUE 0 midi2->card->sync_irq (-1)
PARAM_VALUE 0 midi2->gadget->dev.bus 0,4096-ptr_max
PARAM_VALUE 0 midi2->midi2_eps 4096-ptr_max
PARAM_VALUE 0 midi2->midi_if 0-31
PARAM_VALUE 0 midi2->num_eps 0-s32max
PARAM_VALUE 0 midi2->operation_mode 0
PARAM_VALUE 0 midi2->strings 4096-ptr_max
PARAM_VALUE 1 ep 0
PARAM_VALUE 2 usb_ep 4096-ptr_max
PARAM_VALUE 3 desc 7687456476283764736
BUF_SIZE 3 desc 9
CAPPED_DATA 0 midi2->num_eps 1
RX_PATH
TASK_NOT_RUNNING
LOCK2 global &f_midi2_desc_mutex

drivers/usb/gadget/function/f_midi2.c f_midi2_bind() -> f_midi2_init_ep()

Type Parameter Key Value
PARAM_VALUE 0 midi2 4096-ptr_max
PARAM_VALUE 0 midi2->card 4096-ptr_max
PARAM_VALUE 0 midi2->card->card_dev.class 235665674555068416
PARAM_VALUE 0 midi2->card->card_dev.dma_io_tlb_mem 1473117533515866112
PARAM_VALUE 0 midi2->card->card_dev.dma_uses_io_tlb 0
PARAM_VALUE 0 midi2->card->card_dev.kobj.kref.refcount.refs.counter 1
PARAM_VALUE 0 midi2->card->card_dev.kobj.ktype 5399513539053756416
PARAM_VALUE 0 midi2->card->card_dev.kobj.state_initialized 1
PARAM_VALUE 0 midi2->card->card_dev.links.status 0
PARAM_VALUE 0 midi2->card->card_dev.numa_node (-1)
PARAM_VALUE 0 midi2->card->card_dev.parent 4096-ptr_max
PARAM_VALUE 0 midi2->card->card_dev.power.disable_depth 1
PARAM_VALUE 0 midi2->card->card_dev.power.early_init 1
PARAM_VALUE 0 midi2->card->card_dev.power.is_prepared 0
PARAM_VALUE 0 midi2->card->card_dev.power.last_status (-1)
PARAM_VALUE 0 midi2->card->card_dev.power.qos 0
PARAM_VALUE 0 midi2->card->card_dev.power.request 0
PARAM_VALUE 0 midi2->card->card_dev.power.runtime_auto 1
PARAM_VALUE 0 midi2->card->card_dev.power.runtime_status 2
PARAM_VALUE 0 midi2->card->card_dev.release 530793378695925760
PARAM_VALUE 0 midi2->card->controls_rwlock.magic 3736018669
PARAM_VALUE 0 midi2->card->controls_rwlock.owner (-1)
PARAM_VALUE 0 midi2->card->controls_rwlock.owner_cpu u32max
PARAM_VALUE 0 midi2->card->ctl_hash.xa_flags 0
PARAM_VALUE 0 midi2->card->ctl_hash.xa_head 0
PARAM_VALUE 0 midi2->card->ctl_numids.xa_flags 0
PARAM_VALUE 0 midi2->card->ctl_numids.xa_head 0
PARAM_VALUE 0 midi2->card->dev 4096-ptr_max
PARAM_VALUE 0 midi2->card->memory_mutex.first_waiter 0
PARAM_VALUE 0 midi2->card->memory_mutex.owner.counter 0
PARAM_VALUE 0 midi2->card->number 0-31
PARAM_VALUE 0 midi2->card->power_ref.count.counter 0
PARAM_VALUE 0 midi2->card->sync_irq (-1)
PARAM_VALUE 0 midi2->gadget->dev.bus 0,4096-ptr_max
PARAM_VALUE 0 midi2->midi2_eps 4096-ptr_max
PARAM_VALUE 0 midi2->midi_if 0-31
PARAM_VALUE 0 midi2->num_eps 0-s32max
PARAM_VALUE 0 midi2->operation_mode 0
PARAM_VALUE 0 midi2->strings 4096-ptr_max
PARAM_VALUE 1 ep 0
PARAM_VALUE 2 usb_ep 4096-ptr_max
PARAM_VALUE 3 desc 3190360805258518528
BUF_SIZE 3 desc 9
RX_PATH
TASK_NOT_RUNNING
USER_DATA 0 midi2->midi1_ep_in.usb_ep->address 0-255[u]
NO_OVERFLOW_SIMPLE 0 midi2->midi1_ep_in.card->info.num_reqs
NO_OVERFLOW_SIMPLE 0 midi2->midi1_ep_in.usb_ep->num
LOCK2 global &f_midi2_desc_mutex

drivers/usb/gadget/function/f_midi2.c f_midi2_init_midi2_ep_in() -> f_midi2_init_ep()

Type Parameter Key Value
PARAM_VALUE 0 midi2 4096-ptr_max
PARAM_VALUE 0 midi2->card 4096-ptr_max
PARAM_VALUE 0 midi2->card->card_dev.class 235665674555068416
PARAM_VALUE 0 midi2->card->card_dev.dma_io_tlb_mem 1473117533515866112
PARAM_VALUE 0 midi2->card->card_dev.dma_uses_io_tlb 0
PARAM_VALUE 0 midi2->card->card_dev.kobj.kref.refcount.refs.counter 1
PARAM_VALUE 0 midi2->card->card_dev.kobj.ktype 5399513539053756416
PARAM_VALUE 0 midi2->card->card_dev.kobj.state_initialized 1
PARAM_VALUE 0 midi2->card->card_dev.links.status 0
PARAM_VALUE 0 midi2->card->card_dev.numa_node (-1)
PARAM_VALUE 0 midi2->card->card_dev.parent 4096-ptr_max
PARAM_VALUE 0 midi2->card->card_dev.power.disable_depth 1
PARAM_VALUE 0 midi2->card->card_dev.power.early_init 1
PARAM_VALUE 0 midi2->card->card_dev.power.is_prepared 0
PARAM_VALUE 0 midi2->card->card_dev.power.last_status (-1)
PARAM_VALUE 0 midi2->card->card_dev.power.qos 0
PARAM_VALUE 0 midi2->card->card_dev.power.request 0
PARAM_VALUE 0 midi2->card->card_dev.power.runtime_auto 1
PARAM_VALUE 0 midi2->card->card_dev.power.runtime_status 2
PARAM_VALUE 0 midi2->card->card_dev.release 530793378695925760
PARAM_VALUE 0 midi2->card->controls_rwlock.magic 3736018669
PARAM_VALUE 0 midi2->card->controls_rwlock.owner (-1)
PARAM_VALUE 0 midi2->card->controls_rwlock.owner_cpu u32max
PARAM_VALUE 0 midi2->card->ctl_hash.xa_flags 0
PARAM_VALUE 0 midi2->card->ctl_hash.xa_head 0
PARAM_VALUE 0 midi2->card->ctl_numids.xa_flags 0
PARAM_VALUE 0 midi2->card->ctl_numids.xa_head 0
PARAM_VALUE 0 midi2->card->dev 4096-ptr_max
PARAM_VALUE 0 midi2->card->memory_mutex.first_waiter 0
PARAM_VALUE 0 midi2->card->memory_mutex.owner.counter 0
PARAM_VALUE 0 midi2->card->number 0-2147483646
PARAM_VALUE 0 midi2->card->power_ref.count.counter 0
PARAM_VALUE 0 midi2->card->sync_irq (-1)
PARAM_VALUE 0 midi2->gadget 4096-ptr_max
PARAM_VALUE 0 midi2->gadget->dev.bus 0,4096-ptr_max
PARAM_VALUE 0 midi2->gadget->ops 4096-ptr_max
PARAM_VALUE 0 midi2->gadget->out_epnum 0-15
PARAM_VALUE 0 midi2->info.num_reqs 32
PARAM_VALUE 0 midi2->midi2_eps 4096-ptr_max
PARAM_VALUE 0 midi2->midi_if 0-31
PARAM_VALUE 0 midi2->num_eps 1-s32max
PARAM_VALUE 0 midi2->operation_mode 0
PARAM_VALUE 0 midi2->strings 4096-ptr_max
PARAM_VALUE 1 ep 4096-ptr_max
PARAM_VALUE 1 ep->num_blks 0-s32max
PARAM_VALUE 2 usb_ep 4096-ptr_max
PARAM_VALUE 3 desc 4096-ptr_max
CAPPED_DATA 1 ep->num_blks 1
DATA_SOURCE 0 midi2 $0
RX_PATH
TASK_NOT_RUNNING
USER_DATA 0 midi2->midi1_ep_in.usb_ep->address 0-255[u]
USER_DATA 0 midi2->midi1_ep_out.usb_ep->address 0-255[u]
NO_OVERFLOW_SIMPLE 0 midi2->info.num_reqs
NO_OVERFLOW_SIMPLE 0 midi2->midi1_ep_in.usb_ep->num
NO_OVERFLOW_SIMPLE 0 midi2->midi1_ep_out.usb_ep->num
LOCK2 global &f_midi2_desc_mutex

drivers/usb/gadget/function/f_midi2.c f_midi2_init_midi2_ep_out() -> f_midi2_init_ep()

Type Parameter Key Value
PARAM_VALUE 0 midi2 4096-ptr_max
PARAM_VALUE 0 midi2->card 4096-ptr_max
PARAM_VALUE 0 midi2->card->card_dev.class 235665674555068416
PARAM_VALUE 0 midi2->card->card_dev.dma_io_tlb_mem 1473117533515866112
PARAM_VALUE 0 midi2->card->card_dev.dma_uses_io_tlb 0
PARAM_VALUE 0 midi2->card->card_dev.kobj.kref.refcount.refs.counter 1
PARAM_VALUE 0 midi2->card->card_dev.kobj.ktype 5399513539053756416
PARAM_VALUE 0 midi2->card->card_dev.kobj.state_initialized 1
PARAM_VALUE 0 midi2->card->card_dev.links.status 0
PARAM_VALUE 0 midi2->card->card_dev.numa_node (-1)
PARAM_VALUE 0 midi2->card->card_dev.parent 4096-ptr_max
PARAM_VALUE 0 midi2->card->card_dev.power.disable_depth 1
PARAM_VALUE 0 midi2->card->card_dev.power.early_init 1
PARAM_VALUE 0 midi2->card->card_dev.power.is_prepared 0
PARAM_VALUE 0 midi2->card->card_dev.power.last_status (-1)
PARAM_VALUE 0 midi2->card->card_dev.power.qos 0
PARAM_VALUE 0 midi2->card->card_dev.power.request 0
PARAM_VALUE 0 midi2->card->card_dev.power.runtime_auto 1
PARAM_VALUE 0 midi2->card->card_dev.power.runtime_status 2
PARAM_VALUE 0 midi2->card->card_dev.release 530793378695925760
PARAM_VALUE 0 midi2->card->controls_rwlock.magic 3736018669
PARAM_VALUE 0 midi2->card->controls_rwlock.owner (-1)
PARAM_VALUE 0 midi2->card->controls_rwlock.owner_cpu u32max
PARAM_VALUE 0 midi2->card->ctl_hash.xa_flags 0
PARAM_VALUE 0 midi2->card->ctl_hash.xa_head 0
PARAM_VALUE 0 midi2->card->ctl_numids.xa_flags 0
PARAM_VALUE 0 midi2->card->ctl_numids.xa_head 0
PARAM_VALUE 0 midi2->card->dev 4096-ptr_max
PARAM_VALUE 0 midi2->card->memory_mutex.first_waiter 0
PARAM_VALUE 0 midi2->card->memory_mutex.owner.counter 0
PARAM_VALUE 0 midi2->card->number 0-2147483646
PARAM_VALUE 0 midi2->card->power_ref.count.counter 0
PARAM_VALUE 0 midi2->card->sync_irq (-1)
PARAM_VALUE 0 midi2->gadget 4096-ptr_max
PARAM_VALUE 0 midi2->gadget->dev.bus 0,4096-ptr_max
PARAM_VALUE 0 midi2->gadget->ops 4096-ptr_max
PARAM_VALUE 0 midi2->gadget->out_epnum 0-15
PARAM_VALUE 0 midi2->info.num_reqs 32
PARAM_VALUE 0 midi2->midi2_eps 4096-ptr_max
PARAM_VALUE 0 midi2->midi_if 0-31
PARAM_VALUE 0 midi2->num_eps 1-s32max
PARAM_VALUE 0 midi2->operation_mode 0
PARAM_VALUE 0 midi2->strings 4096-ptr_max
PARAM_VALUE 1 ep 4096-ptr_max
PARAM_VALUE 1 ep->num_blks 0-s32max
PARAM_VALUE 2 usb_ep 4096-ptr_max
PARAM_VALUE 3 desc 4096-ptr_max
CAPPED_DATA 1 ep->num_blks 1
DATA_SOURCE 0 midi2 $0
RX_PATH
TASK_NOT_RUNNING
USER_DATA 0 midi2->midi1_ep_in.usb_ep->address 0-255[u]
USER_DATA 0 midi2->midi1_ep_out.usb_ep->address 0-255[u]
NO_OVERFLOW_SIMPLE 0 midi2->info.num_reqs
NO_OVERFLOW_SIMPLE 0 midi2->midi1_ep_in.usb_ep->num
NO_OVERFLOW_SIMPLE 0 midi2->midi1_ep_out.usb_ep->num
LOCK2 global &f_midi2_desc_mutex