Defined in 1 files as a function:
Referenced in 10 files:
- drivers/gpu/drm/mediatek/mtk_dsi.c, line 971
- drivers/media/cec/platform/meson/ao-cec-g12a.c, line 712
- drivers/media/cec/platform/meson/ao-cec.c, line 661
- drivers/mmc/host/meson-gx-mmc.c, line 1176
- drivers/net/ethernet/cadence/macb_main.c, line 5494
- drivers/spi/spi-amlogic-spisg.c, line 752
- drivers/spi/spi-meson-spicc.c
- drivers/thermal/mediatek/auxadc_thermal.c, line 1253
- drivers/usb/host/xhci-mtk.c, line 586
- drivers/usb/mtu3/mtu3_plat.c, line 376
Smatch caller information:
drivers/spi/spi-amlogic-spisg.c aml_spisg_probe() -> device_reset_optional()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->devres_head.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->devres_head.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->devres_head.prev->next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->of_node->properties | 0,4096-ptr_max |
| BUF_SIZE | 0 | dev | 1616 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/mmc/host/meson-gx-mmc.c meson_mmc_probe() -> device_reset_optional()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->devres_head.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->driver | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->driver_data | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->of_node | 1-u64max |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/usb/host/xhci-mtk.c xhci_mtk_probe() -> device_reset_optional()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->bus | 0,4096-ptr_max |
| PARAM_VALUE | 0 | dev->class | 0,4096-ptr_max |
| PARAM_VALUE | 0 | dev->devres_head.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->devres_head.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->devres_head.prev->next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->of_node->properties | 0,4096-ptr_max |
| PARAM_VALUE | 0 | dev->power.autosuspend_delay | 4000 |
| PARAM_VALUE | 0 | dev->power.last_status | (-1) |
| PARAM_VALUE | 0 | dev->power.qos | 0,4096-u64max |
| PARAM_VALUE | 0 | dev->power.request | 0-4 |
| PARAM_VALUE | 0 | dev->power.runtime_error | s32min-(-17),(-15)-(-14),(-12),(-10)-s32max |
| PARAM_VALUE | 0 | dev->power.use_autosuspend | 1 |
| PARAM_VALUE | 0 | dev->power.wakeirq | 0,4096-ptr_max |
| PARAM_VALUE | 0 | dev->power.wakeirq->status | 0-4294967295 |
| PARAM_VALUE | 0 | dev->type | 0,4096-ptr_max |
| BUF_SIZE | 0 | dev | 1616 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/net/ethernet/cadence/macb_main.c init_reset_optional() -> device_reset_optional()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->devres_head.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->driver | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->driver_data | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->power.autosuspend_delay | 100 |
| PARAM_VALUE | 0 | dev->power.last_status | (-1) |
| PARAM_VALUE | 0 | dev->power.qos | 0,4096-u64max |
| PARAM_VALUE | 0 | dev->power.request | 0-4 |
| PARAM_VALUE | 0 | dev->power.runtime_error | s32min-(-17),(-15)-(-14),(-12),(-10)-s32max |
| PARAM_VALUE | 0 | dev->power.runtime_status | 0,2 |
| PARAM_VALUE | 0 | dev->power.use_autosuspend | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/gpu/drm/mediatek/mtk_dsi.c mtk_dsi_bind() -> device_reset_optional()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| DATA_SOURCE | 0 | dev | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | global &component_mutex |
drivers/media/cec/platform/meson/ao-cec.c meson_ao_cec_probe() -> device_reset_optional()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->devres_head.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->of_node | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/usb/mtu3/mtu3_plat.c mtu3_probe() -> device_reset_optional()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->bus | 0,4096-ptr_max |
| PARAM_VALUE | 0 | dev->class | 0,4096-ptr_max |
| PARAM_VALUE | 0 | dev->devres_head.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->devres_head.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->devres_head.prev->next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->dma_mask | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->dma_ops->dma_supported | 0,5,527,50235921770707435,2528523692154392576,3617072262637035520,5023592177070743552 |
| PARAM_VALUE | 0 | dev->dma_ops->map_phys | 0,6,632,48484213451719352,2506261230157742080,4169194063996235776,4848421345171935232 |
| PARAM_VALUE | 0 | dev->dma_ops->map_sg | 0,6,663,58722010135957667,2118452656510775296,2518538481676259328,5872201013595766784 |
| PARAM_VALUE | 0 | dev->dma_ops->mmap | 0,5761417605877342208,7694740394750603264 |
| PARAM_VALUE | 0 | dev->dma_ops->unmap_phys | 0,7,775,62571895156780032,3634718672199266304,5690836758666383360,6257189515678003200 |
| PARAM_VALUE | 0 | dev->dma_ops->unmap_sg | 0,8,892,86767622481470668,1256335292805263360,8472845699660435456,8676762248147066880 |
| PARAM_VALUE | 0 | dev->kobj.sd->__parent | 0 |
| PARAM_VALUE | 0 | dev->kobj.sd->attr.notify_next | 0,426918848001064960 |
| PARAM_VALUE | 0 | dev->power.autosuspend_delay | 4000 |
| PARAM_VALUE | 0 | dev->power.can_wakeup | 1 |
| PARAM_VALUE | 0 | dev->power.last_status | (-1) |
| PARAM_VALUE | 0 | dev->power.qos | 0,4096-u64max |
| PARAM_VALUE | 0 | dev->power.request | 0-4 |
| PARAM_VALUE | 0 | dev->power.runtime_error | s32min-(-17),(-15)-(-14),(-12),(-10)-s32max |
| PARAM_VALUE | 0 | dev->power.use_autosuspend | 1 |
| PARAM_VALUE | 0 | dev->power.wakeirq->status | 0-4294967295 |
| PARAM_VALUE | 0 | dev->type | 0,4096-ptr_max |
| BUF_SIZE | 0 | dev | 1616 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 0 | dev->power.wakeirq->irq |
drivers/thermal/mediatek/auxadc_thermal.c mtk_thermal_probe() -> device_reset_optional()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->devres_head.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->driver | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->of_node | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/spi/spi-meson-spicc.c meson_spicc_probe() -> device_reset_optional()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->devres_head.prev | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/spi/spi-meson-spicc.c meson_spicc_unprepare_transfer() -> device_reset_optional()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &host->io_mutex | ||
| TYPE_LOCK | (struct spi_controller)->io_mutex |
drivers/media/cec/platform/meson/ao-cec-g12a.c meson_ao_cec_g12a_probe() -> device_reset_optional()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->devres_head.prev | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |