Documented in 1 files:
Defined in 1 files as a prototype:
Defined in 2 files as a function:
- drivers/extcon/extcon.c, line 429 (as a function)
- include/linux/extcon-provider.h, line 109 (as a function)
Referenced in 4 files:
- drivers/extcon/extcon-rtk-type-c.c
- drivers/extcon/extcon-usbc-cros-ec.c
- drivers/extcon/extcon-usbc-tusb320.c
- drivers/extcon/extcon.c
Smatch caller information:
drivers/extcon/extcon-rtk-type-c.c switch_type_c_dr_mode() -> extcon_sync()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | edev | 0,4096-ptr_max |
| PARAM_VALUE | 1 | id | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &of->mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | &port->port_type_lock |
drivers/extcon/extcon-rtk-type-c.c switch_type_c_dr_mode() -> extcon_sync()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | edev | 0,4096-ptr_max |
| PARAM_VALUE | 1 | id | 2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &of->mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | &port->port_type_lock |
drivers/extcon/extcon-usbc-cros-ec.c extcon_cros_ec_detect_cable() -> extcon_sync()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | edev | 0,4096-ptr_max |
| PARAM_VALUE | 1 | id | 1 |
| BUF_SIZE | 0 | edev | (-1),1888 |
| BUF_SIZE | 0 | edev | (-1),1888 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| NO_OVERFLOW_SIMPLE | 0 | edev->max_supported |
drivers/extcon/extcon-usbc-cros-ec.c extcon_cros_ec_detect_cable() -> extcon_sync()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | edev | 0,4096-ptr_max |
| PARAM_VALUE | 1 | id | 2 |
| BUF_SIZE | 0 | edev | (-1),1888 |
| BUF_SIZE | 0 | edev | (-1),1888 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| NO_OVERFLOW_SIMPLE | 0 | edev->max_supported |
drivers/extcon/extcon-usbc-cros-ec.c extcon_cros_ec_detect_cable() -> extcon_sync()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | edev | 0,4096-ptr_max |
| PARAM_VALUE | 1 | id | 44 |
| BUF_SIZE | 0 | edev | (-1),1888 |
| BUF_SIZE | 0 | edev | (-1),1888 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| NO_OVERFLOW_SIMPLE | 0 | edev->max_supported |
drivers/extcon/extcon-usbc-cros-ec.c extcon_cros_ec_detect_cable() -> extcon_sync()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | id | 44 |
| RX_PATH | |||
| NOCHECK_CALL | |||
| NO_OVERFLOW_SIMPLE | 0 | edev->max_supported |
drivers/extcon/extcon.c extcon_set_property_sync() -> extcon_sync()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | edev | 4096-ptr_max |
| PARAM_VALUE | 0 | edev->lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | edev->max_supported | 1-s32max |
| CAPPED_DATA | 0 | edev->max_supported | 1 |
| CAPPED_DATA | 1 | id | 1 |
| DATA_SOURCE | 0 | edev | $0 |
| DATA_SOURCE | 1 | id | $1 |
drivers/extcon/extcon.c extcon_set_state_sync() -> extcon_sync()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | edev | 4096-ptr_max |
| PARAM_VALUE | 0 | edev->dev.dma_io_tlb_mem->debugfs | 0-s64max |
| PARAM_VALUE | 0 | edev->dev.kobj.sd->attr.open->nr_mmapped | 0-4294967295 |
| PARAM_VALUE | 0 | edev->lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | edev->max_supported | 1-s32max |
| BUF_SIZE | 0 | edev | (-1)-0,1888 |
| BUF_SIZE | 0 | edev | (-1)-0,1888 |
| CAPPED_DATA | 1 | id | 1 |
| DATA_SOURCE | 0 | edev | $0 |
| DATA_SOURCE | 1 | id | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 0 | edev->max_supported | |
| HALF_LOCKED2 | &info->mutex | ||
| HALF_LOCKED2 | &tu->serialize |
drivers/extcon/extcon-usbc-tusb320.c tusb320_extcon_irq_handler() -> extcon_sync()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | edev | 0,4096-ptr_max |
| PARAM_VALUE | 1 | id | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| NO_OVERFLOW_SIMPLE | 0 | edev->max_supported |
drivers/extcon/extcon-usbc-tusb320.c tusb320_extcon_irq_handler() -> extcon_sync()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | edev | 0,4096-ptr_max |
| PARAM_VALUE | 1 | id | 2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| NO_OVERFLOW_SIMPLE | 0 | edev->max_supported |