Defined in 2 files as a function:
- include/linux/devfreq-event.h, line 121 (as a function)
- include/linux/devfreq-event.h, line 194 (as a function)
Referenced in 3 files:
- drivers/devfreq/event/exynos-nocp.c
- drivers/devfreq/event/exynos-ppmu.c
- drivers/devfreq/event/rockchip-dfi.c
Smatch caller information:
drivers/devfreq/event/exynos-nocp.c exynos_nocp_get_event() -> devfreq_event_get_drvdata()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | edev | 4096-ptr_max |
| PARAM_VALUE | 0 | edev->desc | 4096-ptr_max |
| DATA_SOURCE | 0 | edev | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &df->lock | ||
| LOCK2 | 0 | &edev->lock | |
| TYPE_LOCK | (struct devfreq)->lock | ||
| TYPE_LOCK | (struct devfreq_event_dev)->lock |
drivers/devfreq/event/exynos-nocp.c exynos_nocp_set_event() -> devfreq_event_get_drvdata()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | edev | 4096-ptr_max |
| PARAM_VALUE | 0 | edev->desc | 4096-ptr_max |
| DATA_SOURCE | 0 | edev | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | 0 | &edev->lock | |
| HALF_LOCKED2 | &df->lock | ||
| TYPE_LOCK | (struct devfreq_event_dev)->lock |
drivers/devfreq/event/rockchip-dfi.c rockchip_dfi_event_disable() -> devfreq_event_get_drvdata()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | edev | 4096-ptr_max |
| PARAM_VALUE | 0 | edev->desc | 4096-ptr_max |
| DATA_SOURCE | 0 | edev | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | 0 | &edev->lock | |
| TYPE_LOCK | (struct devfreq_event_dev)->lock |
drivers/devfreq/event/rockchip-dfi.c rockchip_dfi_event_enable() -> devfreq_event_get_drvdata()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | edev | 4096-ptr_max |
| PARAM_VALUE | 0 | edev->desc | 4096-ptr_max |
| DATA_SOURCE | 0 | edev | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | 0 | &edev->lock | |
| TYPE_LOCK | (struct devfreq_event_dev)->lock |
drivers/devfreq/event/rockchip-dfi.c rockchip_dfi_get_event() -> devfreq_event_get_drvdata()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | edev | 4096-ptr_max |
| PARAM_VALUE | 0 | edev->desc | 4096-ptr_max |
| DATA_SOURCE | 0 | edev | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &df->lock | ||
| LOCK2 | 0 | &edev->lock | |
| TYPE_LOCK | (struct devfreq)->lock | ||
| TYPE_LOCK | (struct devfreq_event_dev)->lock |
drivers/devfreq/event/exynos-ppmu.c exynos_ppmu_disable() -> devfreq_event_get_drvdata()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | edev | 4096-ptr_max |
| PARAM_VALUE | 0 | edev->desc | 4096-ptr_max |
| DATA_SOURCE | 0 | edev | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | 0 | &edev->lock | |
| TYPE_LOCK | (struct devfreq_event_dev)->lock |
drivers/devfreq/event/exynos-ppmu.c exynos_ppmu_get_event() -> devfreq_event_get_drvdata()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | edev | 4096-ptr_max |
| PARAM_VALUE | 0 | edev->desc | 4096-ptr_max |
| DATA_SOURCE | 0 | edev | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &df->lock | ||
| LOCK2 | 0 | &edev->lock | |
| TYPE_LOCK | (struct devfreq)->lock | ||
| TYPE_LOCK | (struct devfreq_event_dev)->lock |
drivers/devfreq/event/exynos-ppmu.c exynos_ppmu_set_event() -> devfreq_event_get_drvdata()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | edev | 4096-ptr_max |
| PARAM_VALUE | 0 | edev->desc | 4096-ptr_max |
| DATA_SOURCE | 0 | edev | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | 0 | &edev->lock | |
| HALF_LOCKED2 | &df->lock | ||
| TYPE_LOCK | (struct devfreq_event_dev)->lock |
drivers/devfreq/event/exynos-ppmu.c exynos_ppmu_v2_disable() -> devfreq_event_get_drvdata()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | edev | 4096-ptr_max |
| PARAM_VALUE | 0 | edev->desc | 4096-ptr_max |
| DATA_SOURCE | 0 | edev | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | 0 | &edev->lock | |
| TYPE_LOCK | (struct devfreq_event_dev)->lock |
drivers/devfreq/event/exynos-ppmu.c exynos_ppmu_v2_get_event() -> devfreq_event_get_drvdata()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | edev | 4096-ptr_max |
| PARAM_VALUE | 0 | edev->desc | 4096-ptr_max |
| DATA_SOURCE | 0 | edev | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &df->lock | ||
| LOCK2 | 0 | &edev->lock | |
| TYPE_LOCK | (struct devfreq)->lock | ||
| TYPE_LOCK | (struct devfreq_event_dev)->lock |
drivers/devfreq/event/exynos-ppmu.c exynos_ppmu_v2_set_event() -> devfreq_event_get_drvdata()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | edev | 4096-ptr_max |
| PARAM_VALUE | 0 | edev->desc | 4096-ptr_max |
| DATA_SOURCE | 0 | edev | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | 0 | &edev->lock | |
| HALF_LOCKED2 | &df->lock | ||
| TYPE_LOCK | (struct devfreq_event_dev)->lock |