Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/phy/allwinner/phy-sun4i-usb.c sun4i_usb_phy_init() -> sun4i_usb_phy_write()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | phy | 4096-ptr_max |
| PARAM_VALUE | 0 | phy->clk | 0,4096-ptr_max |
| PARAM_VALUE | 0 | phy->clk->core->dev->power.deferred_resume | 0-1 |
| PARAM_VALUE | 0 | phy->clk->core->dev->power.idle_notification | 0-1 |
| PARAM_VALUE | 0 | phy->clk->core->dev->power.request | 0-4 |
| PARAM_VALUE | 0 | phy->clk->core->dev->power.request_pending | 0-1 |
| PARAM_VALUE | 0 | phy->clk->core->dev->power.runtime_error | s32min-(-17),(-15)-(-14),(-12),(-10)-s32max |
| PARAM_VALUE | 0 | phy->clk->core->dev->power.runtime_status | s32min-s32max |
| PARAM_VALUE | 0 | phy->clk->core->dev->power.timer_autosuspends | 0-1 |
| PARAM_VALUE | 0 | phy->clk->core->dev->power.usage_count.counter | s32min-s32max |
| PARAM_VALUE | 0 | phy->clk->core->dev->power.wakeirq->status | 0-4294967295 |
| PARAM_VALUE | 0 | phy->clk->core->enable_count | 0-4294967295 |
| PARAM_VALUE | 0 | phy->clk->core->parent->dev->power.deferred_resume | 0-1 |
| PARAM_VALUE | 0 | phy->clk->core->parent->dev->power.idle_notification | 0-1 |
| PARAM_VALUE | 0 | phy->clk->core->parent->dev->power.request | 0-4 |
| PARAM_VALUE | 0 | phy->clk->core->parent->dev->power.request_pending | 0-1 |
| PARAM_VALUE | 0 | phy->clk->core->parent->dev->power.runtime_error | s32min-(-17),(-15)-(-14),(-12),(-10)-s32max |
| PARAM_VALUE | 0 | phy->clk->core->parent->dev->power.runtime_status | s32min-s32max |
| PARAM_VALUE | 0 | phy->clk->core->parent->dev->power.timer_autosuspends | 0-1 |
| PARAM_VALUE | 0 | phy->clk->core->parent->dev->power.usage_count.counter | s32min-s32max |
| PARAM_VALUE | 0 | phy->clk->core->parent->dev->power.wakeirq->status | 0-4294967295 |
| PARAM_VALUE | 0 | phy->clk->core->parent->enable_count | 0-4294967295 |
| PARAM_VALUE | 0 | phy->clk->core->parent->prepare_count | 0-4294967295 |
| PARAM_VALUE | 0 | phy->clk->core->parent->protect_count | 0-4294967295 |
| PARAM_VALUE | 0 | phy->clk->core->prepare_count | 1-4294967295 |
| PARAM_VALUE | 0 | phy->clk->core->protect_count | 0-4294967295 |
| PARAM_VALUE | 0 | phy->clk2 | 0,4096-ptr_max |
| PARAM_VALUE | 0 | phy->clk2->core->dev->power.deferred_resume | 0-1 |
| PARAM_VALUE | 0 | phy->clk2->core->dev->power.idle_notification | 0-1 |
| PARAM_VALUE | 0 | phy->clk2->core->dev->power.request | 0-4 |
| PARAM_VALUE | 0 | phy->clk2->core->dev->power.request_pending | 0-1 |
| PARAM_VALUE | 0 | phy->clk2->core->dev->power.runtime_error | s32min-(-17),(-15)-(-14),(-12),(-10)-s32max |
| PARAM_VALUE | 0 | phy->clk2->core->dev->power.runtime_status | s32min-s32max |
| PARAM_VALUE | 0 | phy->clk2->core->dev->power.timer_autosuspends | 0-1 |
| PARAM_VALUE | 0 | phy->clk2->core->dev->power.usage_count.counter | s32min-s32max |
| PARAM_VALUE | 0 | phy->clk2->core->dev->power.wakeirq->status | 0-4294967295 |
| PARAM_VALUE | 0 | phy->clk2->core->enable_count | 0-4294967295 |
| PARAM_VALUE | 0 | phy->clk2->core->parent->dev->power.deferred_resume | 0-1 |
| PARAM_VALUE | 0 | phy->clk2->core->parent->dev->power.idle_notification | 0-1 |
| PARAM_VALUE | 0 | phy->clk2->core->parent->dev->power.request | 0-4294967295 |
| PARAM_VALUE | 0 | phy->clk2->core->parent->dev->power.request_pending | 0-1 |
| PARAM_VALUE | 0 | phy->clk2->core->parent->dev->power.runtime_error | s32min-s32max |
| PARAM_VALUE | 0 | phy->clk2->core->parent->dev->power.runtime_status | s32min-s32max |
| PARAM_VALUE | 0 | phy->clk2->core->parent->dev->power.timer_autosuspends | 0-1 |
| PARAM_VALUE | 0 | phy->clk2->core->parent->dev->power.usage_count.counter | s32min-s32max |
| PARAM_VALUE | 0 | phy->clk2->core->parent->dev->power.wakeirq->status | 0-4294967295 |
| PARAM_VALUE | 0 | phy->clk2->core->parent->enable_count | 0-4294967295 |
| PARAM_VALUE | 0 | phy->clk2->core->parent->prepare_count | 0-4294967295 |
| PARAM_VALUE | 0 | phy->clk2->core->parent->protect_count | 0-4294967295 |
| PARAM_VALUE | 0 | phy->clk2->core->prepare_count | 0-4294967295 |
| PARAM_VALUE | 0 | phy->clk2->core->protect_count | 0-4294967295 |
| PARAM_VALUE | 0 | phy->index | 0 |
| PARAM_VALUE | 0 | phy->reset | 0,4096-ptr_max |
| PARAM_VALUE | 0 | phy->reset->array | 0-1 |
| PARAM_VALUE | 1 | addr | 12 |
| PARAM_VALUE | 2 | data | 1 |
| PARAM_VALUE | 3 | len | 1 |
| BUF_SIZE | 0 | phy | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | phy | s32min-(-2),1-s32max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 0 | phy | unit_byte |
| LOCK2 | &_phy->mutex | ||
| HALF_LOCKED2 | &phy->mutex | ||
| HALF_LOCKED2 | &udc->connect_lock | ||
| TYPE_LOCK | (struct phy)->mutex |
drivers/phy/allwinner/phy-sun4i-usb.c sun4i_usb_phy_init() -> sun4i_usb_phy_write()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | phy | 4096-ptr_max |
| PARAM_VALUE | 0 | phy->clk | 0,4096-ptr_max |
| PARAM_VALUE | 0 | phy->clk->core->dev->power.deferred_resume | 0-1 |
| PARAM_VALUE | 0 | phy->clk->core->dev->power.idle_notification | 0-1 |
| PARAM_VALUE | 0 | phy->clk->core->dev->power.request | 0-4 |
| PARAM_VALUE | 0 | phy->clk->core->dev->power.request_pending | 0-1 |
| PARAM_VALUE | 0 | phy->clk->core->dev->power.runtime_error | s32min-(-17),(-15)-(-14),(-12),(-10)-s32max |
| PARAM_VALUE | 0 | phy->clk->core->dev->power.runtime_status | s32min-s32max |
| PARAM_VALUE | 0 | phy->clk->core->dev->power.timer_autosuspends | 0-1 |
| PARAM_VALUE | 0 | phy->clk->core->dev->power.usage_count.counter | s32min-s32max |
| PARAM_VALUE | 0 | phy->clk->core->dev->power.wakeirq->status | 0-4294967295 |
| PARAM_VALUE | 0 | phy->clk->core->enable_count | 0-4294967295 |
| PARAM_VALUE | 0 | phy->clk->core->parent->dev->power.deferred_resume | 0-1 |
| PARAM_VALUE | 0 | phy->clk->core->parent->dev->power.idle_notification | 0-1 |
| PARAM_VALUE | 0 | phy->clk->core->parent->dev->power.request | 0-4 |
| PARAM_VALUE | 0 | phy->clk->core->parent->dev->power.request_pending | 0-1 |
| PARAM_VALUE | 0 | phy->clk->core->parent->dev->power.runtime_error | s32min-(-17),(-15)-(-14),(-12),(-10)-s32max |
| PARAM_VALUE | 0 | phy->clk->core->parent->dev->power.runtime_status | s32min-s32max |
| PARAM_VALUE | 0 | phy->clk->core->parent->dev->power.timer_autosuspends | 0-1 |
| PARAM_VALUE | 0 | phy->clk->core->parent->dev->power.usage_count.counter | s32min-s32max |
| PARAM_VALUE | 0 | phy->clk->core->parent->dev->power.wakeirq->status | 0-4294967295 |
| PARAM_VALUE | 0 | phy->clk->core->parent->enable_count | 0-4294967295 |
| PARAM_VALUE | 0 | phy->clk->core->parent->prepare_count | 0-4294967295 |
| PARAM_VALUE | 0 | phy->clk->core->parent->protect_count | 0-4294967295 |
| PARAM_VALUE | 0 | phy->clk->core->prepare_count | 1-4294967295 |
| PARAM_VALUE | 0 | phy->clk->core->protect_count | 0-4294967295 |
| PARAM_VALUE | 0 | phy->clk2 | 0,4096-ptr_max |
| PARAM_VALUE | 0 | phy->clk2->core->dev->power.deferred_resume | 0-1 |
| PARAM_VALUE | 0 | phy->clk2->core->dev->power.idle_notification | 0-1 |
| PARAM_VALUE | 0 | phy->clk2->core->dev->power.request | 0-4 |
| PARAM_VALUE | 0 | phy->clk2->core->dev->power.request_pending | 0-1 |
| PARAM_VALUE | 0 | phy->clk2->core->dev->power.runtime_error | s32min-(-17),(-15)-(-14),(-12),(-10)-s32max |
| PARAM_VALUE | 0 | phy->clk2->core->dev->power.runtime_status | s32min-s32max |
| PARAM_VALUE | 0 | phy->clk2->core->dev->power.timer_autosuspends | 0-1 |
| PARAM_VALUE | 0 | phy->clk2->core->dev->power.usage_count.counter | s32min-s32max |
| PARAM_VALUE | 0 | phy->clk2->core->dev->power.wakeirq->status | 0-4294967295 |
| PARAM_VALUE | 0 | phy->clk2->core->enable_count | 0-4294967295 |
| PARAM_VALUE | 0 | phy->clk2->core->parent->dev->power.deferred_resume | 0-1 |
| PARAM_VALUE | 0 | phy->clk2->core->parent->dev->power.idle_notification | 0-1 |
| PARAM_VALUE | 0 | phy->clk2->core->parent->dev->power.request | 0-4294967295 |
| PARAM_VALUE | 0 | phy->clk2->core->parent->dev->power.request_pending | 0-1 |
| PARAM_VALUE | 0 | phy->clk2->core->parent->dev->power.runtime_error | s32min-s32max |
| PARAM_VALUE | 0 | phy->clk2->core->parent->dev->power.runtime_status | s32min-s32max |
| PARAM_VALUE | 0 | phy->clk2->core->parent->dev->power.timer_autosuspends | 0-1 |
| PARAM_VALUE | 0 | phy->clk2->core->parent->dev->power.usage_count.counter | s32min-s32max |
| PARAM_VALUE | 0 | phy->clk2->core->parent->dev->power.wakeirq->status | 0-4294967295 |
| PARAM_VALUE | 0 | phy->clk2->core->parent->enable_count | 0-4294967295 |
| PARAM_VALUE | 0 | phy->clk2->core->parent->prepare_count | 0-4294967295 |
| PARAM_VALUE | 0 | phy->clk2->core->parent->protect_count | 0-4294967295 |
| PARAM_VALUE | 0 | phy->clk2->core->prepare_count | 0-4294967295 |
| PARAM_VALUE | 0 | phy->clk2->core->protect_count | 0-4294967295 |
| PARAM_VALUE | 0 | phy->index | 0-3 |
| PARAM_VALUE | 0 | phy->reset | 0,4096-ptr_max |
| PARAM_VALUE | 0 | phy->reset->array | 0-1 |
| PARAM_VALUE | 1 | addr | 32 |
| PARAM_VALUE | 2 | data | 20 |
| PARAM_VALUE | 3 | len | 5 |
| BUF_SIZE | 0 | phy | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | phy | s32min-(-2),1-s32max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 0 | phy | unit_byte |
| LOCK2 | &_phy->mutex | ||
| HALF_LOCKED2 | &phy->mutex | ||
| HALF_LOCKED2 | &udc->connect_lock | ||
| TYPE_LOCK | (struct phy)->mutex |
drivers/phy/allwinner/phy-sun4i-usb.c sun4i_usb_phy_init() -> sun4i_usb_phy_write()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | phy | 4096-ptr_max |
| PARAM_VALUE | 0 | phy->clk | 0,4096-ptr_max |
| PARAM_VALUE | 0 | phy->clk->core->dev->power.deferred_resume | 0-1 |
| PARAM_VALUE | 0 | phy->clk->core->dev->power.idle_notification | 0-1 |
| PARAM_VALUE | 0 | phy->clk->core->dev->power.request | 0-4 |
| PARAM_VALUE | 0 | phy->clk->core->dev->power.request_pending | 0-1 |
| PARAM_VALUE | 0 | phy->clk->core->dev->power.runtime_error | s32min-(-17),(-15)-(-14),(-12),(-10)-s32max |
| PARAM_VALUE | 0 | phy->clk->core->dev->power.runtime_status | s32min-s32max |
| PARAM_VALUE | 0 | phy->clk->core->dev->power.timer_autosuspends | 0-1 |
| PARAM_VALUE | 0 | phy->clk->core->dev->power.usage_count.counter | s32min-s32max |
| PARAM_VALUE | 0 | phy->clk->core->dev->power.wakeirq->status | 0-4294967295 |
| PARAM_VALUE | 0 | phy->clk->core->enable_count | 0-4294967295 |
| PARAM_VALUE | 0 | phy->clk->core->parent->dev->power.deferred_resume | 0-1 |
| PARAM_VALUE | 0 | phy->clk->core->parent->dev->power.idle_notification | 0-1 |
| PARAM_VALUE | 0 | phy->clk->core->parent->dev->power.request | 0-4 |
| PARAM_VALUE | 0 | phy->clk->core->parent->dev->power.request_pending | 0-1 |
| PARAM_VALUE | 0 | phy->clk->core->parent->dev->power.runtime_error | s32min-(-17),(-15)-(-14),(-12),(-10)-s32max |
| PARAM_VALUE | 0 | phy->clk->core->parent->dev->power.runtime_status | s32min-s32max |
| PARAM_VALUE | 0 | phy->clk->core->parent->dev->power.timer_autosuspends | 0-1 |
| PARAM_VALUE | 0 | phy->clk->core->parent->dev->power.usage_count.counter | s32min-s32max |
| PARAM_VALUE | 0 | phy->clk->core->parent->dev->power.wakeirq->status | 0-4294967295 |
| PARAM_VALUE | 0 | phy->clk->core->parent->enable_count | 0-4294967295 |
| PARAM_VALUE | 0 | phy->clk->core->parent->prepare_count | 0-4294967295 |
| PARAM_VALUE | 0 | phy->clk->core->parent->protect_count | 0-4294967295 |
| PARAM_VALUE | 0 | phy->clk->core->prepare_count | 1-4294967295 |
| PARAM_VALUE | 0 | phy->clk->core->protect_count | 0-4294967295 |
| PARAM_VALUE | 0 | phy->clk2 | 0,4096-ptr_max |
| PARAM_VALUE | 0 | phy->clk2->core->dev->power.deferred_resume | 0-1 |
| PARAM_VALUE | 0 | phy->clk2->core->dev->power.idle_notification | 0-1 |
| PARAM_VALUE | 0 | phy->clk2->core->dev->power.request | 0-4 |
| PARAM_VALUE | 0 | phy->clk2->core->dev->power.request_pending | 0-1 |
| PARAM_VALUE | 0 | phy->clk2->core->dev->power.runtime_error | s32min-(-17),(-15)-(-14),(-12),(-10)-s32max |
| PARAM_VALUE | 0 | phy->clk2->core->dev->power.runtime_status | s32min-s32max |
| PARAM_VALUE | 0 | phy->clk2->core->dev->power.timer_autosuspends | 0-1 |
| PARAM_VALUE | 0 | phy->clk2->core->dev->power.usage_count.counter | s32min-s32max |
| PARAM_VALUE | 0 | phy->clk2->core->dev->power.wakeirq->status | 0-4294967295 |
| PARAM_VALUE | 0 | phy->clk2->core->enable_count | 0-4294967295 |
| PARAM_VALUE | 0 | phy->clk2->core->parent->dev->power.deferred_resume | 0-1 |
| PARAM_VALUE | 0 | phy->clk2->core->parent->dev->power.idle_notification | 0-1 |
| PARAM_VALUE | 0 | phy->clk2->core->parent->dev->power.request | 0-4294967295 |
| PARAM_VALUE | 0 | phy->clk2->core->parent->dev->power.request_pending | 0-1 |
| PARAM_VALUE | 0 | phy->clk2->core->parent->dev->power.runtime_error | s32min-s32max |
| PARAM_VALUE | 0 | phy->clk2->core->parent->dev->power.runtime_status | s32min-s32max |
| PARAM_VALUE | 0 | phy->clk2->core->parent->dev->power.timer_autosuspends | 0-1 |
| PARAM_VALUE | 0 | phy->clk2->core->parent->dev->power.usage_count.counter | s32min-s32max |
| PARAM_VALUE | 0 | phy->clk2->core->parent->dev->power.wakeirq->status | 0-4294967295 |
| PARAM_VALUE | 0 | phy->clk2->core->parent->enable_count | 0-4294967295 |
| PARAM_VALUE | 0 | phy->clk2->core->parent->prepare_count | 0-4294967295 |
| PARAM_VALUE | 0 | phy->clk2->core->parent->protect_count | 0-4294967295 |
| PARAM_VALUE | 0 | phy->clk2->core->prepare_count | 0-4294967295 |
| PARAM_VALUE | 0 | phy->clk2->core->protect_count | 0-4294967295 |
| PARAM_VALUE | 0 | phy->index | 0-3 |
| PARAM_VALUE | 0 | phy->reset | 0,4096-ptr_max |
| PARAM_VALUE | 0 | phy->reset->array | 0-1 |
| PARAM_VALUE | 1 | addr | 42 |
| PARAM_VALUE | 3 | len | 2 |
| BUF_SIZE | 0 | phy | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | phy | s32min-(-2),1-s32max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 0 | phy | unit_byte |
| LOCK2 | &_phy->mutex | ||
| HALF_LOCKED2 | &phy->mutex | ||
| HALF_LOCKED2 | &udc->connect_lock | ||
| TYPE_LOCK | (struct phy)->mutex |
drivers/phy/allwinner/phy-sun4i-usb.c sun4i_usb_phy_set_squelch_detect() -> sun4i_usb_phy_write()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | addr | 60 |
| PARAM_VALUE | 2 | data | 0,2 |
| PARAM_VALUE | 3 | len | 2 |
| BUF_SIZE | 0 | phy | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | phy | s32min-(-2),1-s32max |
| FUZZY_MAX | 2 | data | 2 |
| BIT_INFO | 2 | data | 0x0,0x2 |
| HARD_MAX | 2 | data | 2 |
| NOCHECK_CALL | |||
| UNITS | 0 | phy | unit_byte |