Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 2 files:

Smatch caller information:

drivers/bus/mhi/host/main.c mhi_create_devices() -> mhi_alloc_device()

Type Parameter Key Value
PARAM_VALUE 0 mhi_cntrl 4096-ptr_max
PARAM_VALUE 0 mhi_cntrl->cntrl_dev->power.wakeirq->status 0-4294967295
PARAM_VALUE 0 mhi_cntrl->ee 1-2,4,7
PARAM_VALUE 0 mhi_cntrl->max_chan 1-u32max
PARAM_VALUE 0 mhi_cntrl->pm_lock.dep_map->name 0-255
PARAM_VALUE 0 mhi_cntrl->transition_lock.rlock.dep_map->name 0-255
DATA_SOURCE 0 mhi_cntrl $0
HOST_DATA 0 mhi_cntrl->serial_number 0-u32max
HALF_LOCKED2 &pool->lock

drivers/bus/mhi/host/init.c mhi_register_controller() -> mhi_alloc_device()

Type Parameter Key Value
PARAM_VALUE 0 mhi_cntrl 4096-ptr_max
PARAM_VALUE 0 mhi_cntrl->bounce_buf 0
PARAM_VALUE 0 mhi_cntrl->buffer_len 8192,u16max
PARAM_VALUE 0 mhi_cntrl->cntrl_dev 4096-ptr_max
PARAM_VALUE 0 mhi_cntrl->db_access 12
PARAM_VALUE 0 mhi_cntrl->hiprio_wq 4096-ptr_max
PARAM_VALUE 0 mhi_cntrl->index 0-s32max
PARAM_VALUE 0 mhi_cntrl->iova_start 0
PARAM_VALUE 0 mhi_cntrl->iova_stop u32max,68719476735,1099511627775,18446744073709551614
PARAM_VALUE 0 mhi_cntrl->irq 4096-ptr_max
PARAM_VALUE 0 mhi_cntrl->lpm_chans.next 4096-ptr_max
PARAM_VALUE 0 mhi_cntrl->lpm_chans.next->next 4096-ptr_max
PARAM_VALUE 0 mhi_cntrl->lpm_chans.prev 4096-ptr_max
PARAM_VALUE 0 mhi_cntrl->lpm_chans.prev->next 4096-ptr_max
PARAM_VALUE 0 mhi_cntrl->lpm_chans.prev->prev 4096-ptr_max
PARAM_VALUE 0 mhi_cntrl->map_single 1688917750091575296,2135132310760230912
PARAM_VALUE 0 mhi_cntrl->max_chan 30,128
PARAM_VALUE 0 mhi_cntrl->mhi_chan 4096-ptr_max
PARAM_VALUE 0 mhi_cntrl->mhi_cmd 4096-ptr_max
PARAM_VALUE 0 mhi_cntrl->mhi_event 4096-ptr_max
PARAM_VALUE 0 mhi_cntrl->mhi_event->chan 0,100-101
PARAM_VALUE 0 mhi_cntrl->mhi_event->cl_manage 0
PARAM_VALUE 0 mhi_cntrl->mhi_event->data_type 0-1
PARAM_VALUE 0 mhi_cntrl->mhi_event->db_cfg.brstmode 2
PARAM_VALUE 0 mhi_cntrl->mhi_event->db_cfg.process_db 315601542181830656,851268985381617664
PARAM_VALUE 0 mhi_cntrl->mhi_event->er_index 0-8
PARAM_VALUE 0 mhi_cntrl->mhi_event->intmod 0-1,5
PARAM_VALUE 0 mhi_cntrl->mhi_event->irq 0-9
PARAM_VALUE 0 mhi_cntrl->mhi_event->mhi_chan 4096-ptr_max
PARAM_VALUE 0 mhi_cntrl->mhi_event->offload_ev 0
PARAM_VALUE 0 mhi_cntrl->mhi_event->priority 1
PARAM_VALUE 0 mhi_cntrl->mhi_event->process_event 2010114659526639616,2718291787158421504
PARAM_VALUE 0 mhi_cntrl->mhi_event->ring.elements 32,64,128,256,512,1024,2048
PARAM_VALUE 0 mhi_cntrl->nr_irqs 1-u32max
PARAM_VALUE 0 mhi_cntrl->pm_lock.magic 3736018669
PARAM_VALUE 0 mhi_cntrl->pm_lock.owner (-1)
PARAM_VALUE 0 mhi_cntrl->pm_lock.owner_cpu u32max
PARAM_VALUE 0 mhi_cntrl->pm_mutex.dep_map->name 0-255
PARAM_VALUE 0 mhi_cntrl->pm_mutex.first_waiter 0
PARAM_VALUE 0 mhi_cntrl->pm_mutex.magic 4096-ptr_max
PARAM_VALUE 0 mhi_cntrl->pm_mutex.osq.tail.counter 0
PARAM_VALUE 0 mhi_cntrl->pm_mutex.owner.counter 0
PARAM_VALUE 0 mhi_cntrl->read_reg 3389728192462442496,4283867914642644992,5747475037999738880,6473307316968992768
PARAM_VALUE 0 mhi_cntrl->ready_timeout_ms 0,50000
PARAM_VALUE 0 mhi_cntrl->reg_len 1-u64max
PARAM_VALUE 0 mhi_cntrl->regs 4096-ptr_max
PARAM_VALUE 0 mhi_cntrl->runtime_get 1113402829301198848,3277160923958181888,3290503508923334656,8080063744479055872
PARAM_VALUE 0 mhi_cntrl->runtime_put 646080185355284480,2195902616326381568,8017802230042603520,8619592374591873024
PARAM_VALUE 0 mhi_cntrl->state_event.head.next 4096-ptr_max
PARAM_VALUE 0 mhi_cntrl->state_event.head.next->next 4096-ptr_max
PARAM_VALUE 0 mhi_cntrl->state_event.head.prev 4096-ptr_max
PARAM_VALUE 0 mhi_cntrl->state_event.head.prev->next 4096-ptr_max
PARAM_VALUE 0 mhi_cntrl->state_event.head.prev->prev 4096-ptr_max
PARAM_VALUE 0 mhi_cntrl->status_cb 1941436415682883584,2950702268403744768,6260658624058298368,6632909779679186944
PARAM_VALUE 0 mhi_cntrl->timeout_ms 1-u32max
PARAM_VALUE 0 mhi_cntrl->total_ev_rings 1-4,6,9
PARAM_VALUE 0 mhi_cntrl->transition_list.next 4096-ptr_max
PARAM_VALUE 0 mhi_cntrl->transition_list.next->next 4096-ptr_max
PARAM_VALUE 0 mhi_cntrl->transition_list.prev 4096-ptr_max
PARAM_VALUE 0 mhi_cntrl->transition_list.prev->next 4096-ptr_max
PARAM_VALUE 0 mhi_cntrl->transition_list.prev->prev 4096-ptr_max
PARAM_VALUE 0 mhi_cntrl->unmap_single 7264299506418253824,7713002316822835200
PARAM_VALUE 0 mhi_cntrl->write_reg 1061287329867079680,1971278298129260544,4418750809915863040,7059801739440361472
BUF_SIZE 0 mhi_cntrl 984
BUF_SIZE 0 mhi_cntrl->cntrl_dev (-1),1616
BUF_SIZE 0 mhi_cntrl->fw_image (-1),100
BUF_SIZE 0 mhi_cntrl->hiprio_wq (-1),512,528-8720
BUF_SIZE 0 mhi_cntrl->irq (-1),4
BUF_SIZE 0 mhi_cntrl->mhi_cmd 168
BUF_SIZE 0 mhi_cntrl->name (-1),7
CAPPED_DATA 0 mhi_cntrl 1
CAPPED_DATA 0 mhi_cntrl->iova_stop 1
CAPPED_DATA 0 mhi_cntrl->max_chan 1
CAPPED_DATA 0 mhi_cntrl->nr_irqs 1
CAPPED_DATA 0 mhi_cntrl->total_ev_rings 1
DATA_SOURCE 0 mhi_cntrl $0
STR_LEN 0 mhi_cntrl->name (-1),6
BIT_INFO 0 mhi_cntrl->map_single 0x1520018611021000,0xffffffffffffffff
BIT_INFO 0 mhi_cntrl->unmap_single 0x600a10a9c4190000,0xffffffffffffffff
HARD_MAX 0 mhi_cntrl->iova_stop 18446744073709551614
RX_PATH
TASK_NOT_RUNNING
NO_OVERFLOW_SIMPLE 0 mhi_cntrl->nr_irqs
UNITS 0 mhi_cntrl unit_byte