Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 2 files:
Smatch caller information:
drivers/usb/renesas_usbhs/mod_gadget.c usbhsg_ep_enable() -> usbhs_pipe_malloc()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | endpoint_type | 0-3 |
| PARAM_VALUE | 2 | dir_in | 0-1 |
| BIT_INFO | 1 | endpoint_type | 0x0,0x3 |
| BIT_INFO | 2 | dir_in | 0x0,0x1 |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 1 | endpoint_type | 0-3[c] |
| LOCK2 | flags | ||
| LOCK2 | 0 | &priv->lock | |
| HALF_LOCKED2 | &data->dev->lock | ||
| HALF_LOCKED2 | &data->lock | ||
| HALF_LOCKED2 | &dev->lock | ||
| HALF_LOCKED2 | &func->ffs->eps_lock | ||
| HALF_LOCKED2 | &port->lock | ||
| HALF_LOCKED2 | &udc->connect_lock | ||
| HALF_LOCKED2 | flags | ||
| HALF_LOCKED2 | irq | ||
| TYPE_LOCK | (struct usbhs_priv)->lock |
drivers/usb/renesas_usbhs/mod_host.c usbhsh_pipe_init_for_host() -> usbhs_pipe_malloc()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | priv | 4096-ptr_max |
| PARAM_VALUE | 0 | priv->edev | 0,4096-ptr_max |
| PARAM_VALUE | 0 | priv->edev->max_supported | s32min-s32max |
| PARAM_VALUE | 0 | priv->mod_info.get_vbus | 1-u64max |
| PARAM_VALUE | 0 | priv->pdev->dev.power.wakeirq->status | 0-4294967295 |
| PARAM_VALUE | 0 | priv->pfunc | 4096-ptr_max |
| PARAM_VALUE | 0 | priv->pfunc->get_id | 3834896373400879104 |
| PARAM_VALUE | 0 | priv->pfunc->set_vbus | 0 |
| PARAM_VALUE | 0 | priv->pipe_info.dma_map_ctrl | 536116679353044992,7328970424120053760 |
| PARAM_VALUE | 1 | endpoint_type | 1-255 |
| PARAM_VALUE | 2 | dir_in | 0-1 |
| DATA_SOURCE | 0 | priv | $0 |
| FUZZY_MAX | 2 | dir_in | 1 |
| HARD_MAX | 2 | dir_in | 1 |
| HALF_LOCKED2 | &pool->lock |