Documented in 1 files:
Defined in 1 files as a prototype:
Defined in 2 files as a function:
- drivers/extcon/extcon.c, line 828 (as a function)
- include/linux/extcon-provider.h, line 128 (as a function)
Referenced in 6 files:
- drivers/extcon/extcon-ptn5150.c
- drivers/extcon/extcon-qcom-spmi-misc.c
- drivers/extcon/extcon-rtk-type-c.c
- drivers/extcon/extcon-usbc-cros-ec.c
- drivers/extcon/extcon-usbc-tusb320.c
- drivers/extcon/extcon.c, line 871
Smatch caller information:
drivers/extcon/extcon-ptn5150.c ptn5150_i2c_probe() -> extcon_set_property_capability()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | edev | 4096-ptr_max |
| PARAM_VALUE | 0 | edev->max_supported | 0-32 |
| PARAM_VALUE | 0 | edev->supported_cable | 1507767385483923456 |
| PARAM_VALUE | 1 | id | 1 |
| PARAM_VALUE | 2 | prop | 0 |
| BUF_SIZE | 0 | edev | 1888 |
| BUF_SIZE | 0 | edev | 1888 |
| DATA_SOURCE | 0 | edev | r devm_extcon_dev_allocate |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| NO_OVERFLOW_SIMPLE | 0 | edev->max_supported |
drivers/extcon/extcon-ptn5150.c ptn5150_i2c_probe() -> extcon_set_property_capability()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | edev | 4096-ptr_max |
| PARAM_VALUE | 0 | edev->max_supported | 0-32 |
| PARAM_VALUE | 0 | edev->supported_cable | 1507767385483923456 |
| PARAM_VALUE | 1 | id | 2 |
| PARAM_VALUE | 2 | prop | 0 |
| BUF_SIZE | 0 | edev | 1888 |
| BUF_SIZE | 0 | edev | 1888 |
| DATA_SOURCE | 0 | edev | r devm_extcon_dev_allocate |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| NO_OVERFLOW_SIMPLE | 0 | edev->max_supported |
drivers/extcon/extcon-ptn5150.c ptn5150_i2c_probe() -> extcon_set_property_capability()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | edev | 4096-ptr_max |
| PARAM_VALUE | 0 | edev->max_supported | 0-32 |
| PARAM_VALUE | 0 | edev->supported_cable | 1507767385483923456 |
| PARAM_VALUE | 1 | id | 2 |
| PARAM_VALUE | 2 | prop | 1 |
| BUF_SIZE | 0 | edev | 1888 |
| BUF_SIZE | 0 | edev | 1888 |
| DATA_SOURCE | 0 | edev | r devm_extcon_dev_allocate |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| NO_OVERFLOW_SIMPLE | 0 | edev->max_supported |
drivers/extcon/extcon-rtk-type-c.c extcon_rtk_type_c_edev_register() -> extcon_set_property_capability()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | edev | 4096-ptr_max |
| PARAM_VALUE | 0 | edev->max_supported | 0-s32max |
| PARAM_VALUE | 0 | edev->supported_cable | 2471233773865615360 |
| PARAM_VALUE | 1 | id | 1 |
| PARAM_VALUE | 2 | prop | 0 |
| BUF_SIZE | 0 | edev | 1888 |
| BUF_SIZE | 0 | edev | 1888 |
| DATA_SOURCE | 0 | edev | r devm_extcon_dev_allocate |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| NO_OVERFLOW_SIMPLE | 0 | edev->max_supported |
drivers/extcon/extcon-rtk-type-c.c extcon_rtk_type_c_edev_register() -> extcon_set_property_capability()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | edev | 4096-ptr_max |
| PARAM_VALUE | 0 | edev->max_supported | 0-s32max |
| PARAM_VALUE | 0 | edev->supported_cable | 2471233773865615360 |
| PARAM_VALUE | 1 | id | 1 |
| PARAM_VALUE | 2 | prop | 1 |
| BUF_SIZE | 0 | edev | 1888 |
| BUF_SIZE | 0 | edev | 1888 |
| DATA_SOURCE | 0 | edev | r devm_extcon_dev_allocate |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| NO_OVERFLOW_SIMPLE | 0 | edev->max_supported |
drivers/extcon/extcon-rtk-type-c.c extcon_rtk_type_c_edev_register() -> extcon_set_property_capability()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | edev | 4096-ptr_max |
| PARAM_VALUE | 0 | edev->max_supported | 0-s32max |
| PARAM_VALUE | 0 | edev->supported_cable | 2471233773865615360 |
| PARAM_VALUE | 1 | id | 1 |
| PARAM_VALUE | 2 | prop | 2 |
| BUF_SIZE | 0 | edev | 1888 |
| BUF_SIZE | 0 | edev | 1888 |
| DATA_SOURCE | 0 | edev | r devm_extcon_dev_allocate |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| NO_OVERFLOW_SIMPLE | 0 | edev->max_supported |
drivers/extcon/extcon-rtk-type-c.c extcon_rtk_type_c_edev_register() -> extcon_set_property_capability()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | edev | 4096-ptr_max |
| PARAM_VALUE | 0 | edev->max_supported | 0-s32max |
| PARAM_VALUE | 0 | edev->supported_cable | 2471233773865615360 |
| PARAM_VALUE | 1 | id | 2 |
| PARAM_VALUE | 2 | prop | 0 |
| BUF_SIZE | 0 | edev | 1888 |
| BUF_SIZE | 0 | edev | 1888 |
| DATA_SOURCE | 0 | edev | r devm_extcon_dev_allocate |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| NO_OVERFLOW_SIMPLE | 0 | edev->max_supported |
drivers/extcon/extcon-rtk-type-c.c extcon_rtk_type_c_edev_register() -> extcon_set_property_capability()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | edev | 4096-ptr_max |
| PARAM_VALUE | 0 | edev->max_supported | 0-s32max |
| PARAM_VALUE | 0 | edev->supported_cable | 2471233773865615360 |
| PARAM_VALUE | 1 | id | 2 |
| PARAM_VALUE | 2 | prop | 1 |
| BUF_SIZE | 0 | edev | 1888 |
| BUF_SIZE | 0 | edev | 1888 |
| DATA_SOURCE | 0 | edev | r devm_extcon_dev_allocate |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| NO_OVERFLOW_SIMPLE | 0 | edev->max_supported |
drivers/extcon/extcon-rtk-type-c.c extcon_rtk_type_c_edev_register() -> extcon_set_property_capability()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | edev | 4096-ptr_max |
| PARAM_VALUE | 0 | edev->max_supported | 0-s32max |
| PARAM_VALUE | 0 | edev->supported_cable | 2471233773865615360 |
| PARAM_VALUE | 1 | id | 2 |
| PARAM_VALUE | 2 | prop | 2 |
| BUF_SIZE | 0 | edev | 1888 |
| BUF_SIZE | 0 | edev | 1888 |
| DATA_SOURCE | 0 | edev | r devm_extcon_dev_allocate |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| NO_OVERFLOW_SIMPLE | 0 | edev->max_supported |
drivers/extcon/extcon-usbc-cros-ec.c extcon_cros_ec_probe() -> extcon_set_property_capability()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | edev | 4096-ptr_max |
| PARAM_VALUE | 0 | edev->max_supported | 0-s32max |
| PARAM_VALUE | 0 | edev->supported_cable | 8694870132938813440 |
| PARAM_VALUE | 1 | id | 1 |
| PARAM_VALUE | 2 | prop | 0 |
| BUF_SIZE | 0 | edev | 1888 |
| BUF_SIZE | 0 | edev | 1888 |
| DATA_SOURCE | 0 | edev | r devm_extcon_dev_allocate |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| NO_OVERFLOW_SIMPLE | 0 | edev->max_supported |
drivers/extcon/extcon-usbc-cros-ec.c extcon_cros_ec_probe() -> extcon_set_property_capability()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | edev | 4096-ptr_max |
| PARAM_VALUE | 0 | edev->max_supported | 0-s32max |
| PARAM_VALUE | 0 | edev->supported_cable | 8694870132938813440 |
| PARAM_VALUE | 1 | id | 2 |
| PARAM_VALUE | 2 | prop | 0 |
| BUF_SIZE | 0 | edev | 1888 |
| BUF_SIZE | 0 | edev | 1888 |
| DATA_SOURCE | 0 | edev | r devm_extcon_dev_allocate |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| NO_OVERFLOW_SIMPLE | 0 | edev->max_supported |
drivers/extcon/extcon-usbc-cros-ec.c extcon_cros_ec_probe() -> extcon_set_property_capability()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | edev | 4096-ptr_max |
| PARAM_VALUE | 0 | edev->max_supported | 0-s32max |
| PARAM_VALUE | 0 | edev->supported_cable | 8694870132938813440 |
| PARAM_VALUE | 1 | id | 1 |
| PARAM_VALUE | 2 | prop | 1 |
| BUF_SIZE | 0 | edev | 1888 |
| BUF_SIZE | 0 | edev | 1888 |
| DATA_SOURCE | 0 | edev | r devm_extcon_dev_allocate |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| NO_OVERFLOW_SIMPLE | 0 | edev->max_supported |
drivers/extcon/extcon-usbc-cros-ec.c extcon_cros_ec_probe() -> extcon_set_property_capability()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | edev | 4096-ptr_max |
| PARAM_VALUE | 0 | edev->max_supported | 0-s32max |
| PARAM_VALUE | 0 | edev->supported_cable | 8694870132938813440 |
| PARAM_VALUE | 1 | id | 2 |
| PARAM_VALUE | 2 | prop | 1 |
| BUF_SIZE | 0 | edev | 1888 |
| BUF_SIZE | 0 | edev | 1888 |
| DATA_SOURCE | 0 | edev | r devm_extcon_dev_allocate |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| NO_OVERFLOW_SIMPLE | 0 | edev->max_supported |
drivers/extcon/extcon-usbc-cros-ec.c extcon_cros_ec_probe() -> extcon_set_property_capability()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | edev | 4096-ptr_max |
| PARAM_VALUE | 0 | edev->max_supported | 0-s32max |
| PARAM_VALUE | 0 | edev->supported_cable | 8694870132938813440 |
| PARAM_VALUE | 1 | id | 44 |
| PARAM_VALUE | 2 | prop | 1 |
| BUF_SIZE | 0 | edev | 1888 |
| BUF_SIZE | 0 | edev | 1888 |
| DATA_SOURCE | 0 | edev | r devm_extcon_dev_allocate |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| NO_OVERFLOW_SIMPLE | 0 | edev->max_supported |
drivers/extcon/extcon-usbc-cros-ec.c extcon_cros_ec_probe() -> extcon_set_property_capability()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | edev | 4096-ptr_max |
| PARAM_VALUE | 0 | edev->max_supported | 0-s32max |
| PARAM_VALUE | 0 | edev->supported_cable | 8694870132938813440 |
| PARAM_VALUE | 1 | id | 1 |
| PARAM_VALUE | 2 | prop | 2 |
| BUF_SIZE | 0 | edev | 1888 |
| BUF_SIZE | 0 | edev | 1888 |
| DATA_SOURCE | 0 | edev | r devm_extcon_dev_allocate |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| NO_OVERFLOW_SIMPLE | 0 | edev->max_supported |
drivers/extcon/extcon-usbc-cros-ec.c extcon_cros_ec_probe() -> extcon_set_property_capability()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | edev | 4096-ptr_max |
| PARAM_VALUE | 0 | edev->max_supported | 0-s32max |
| PARAM_VALUE | 0 | edev->supported_cable | 8694870132938813440 |
| PARAM_VALUE | 1 | id | 2 |
| PARAM_VALUE | 2 | prop | 2 |
| BUF_SIZE | 0 | edev | 1888 |
| BUF_SIZE | 0 | edev | 1888 |
| DATA_SOURCE | 0 | edev | r devm_extcon_dev_allocate |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| NO_OVERFLOW_SIMPLE | 0 | edev->max_supported |
drivers/extcon/extcon-usbc-cros-ec.c extcon_cros_ec_probe() -> extcon_set_property_capability()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | edev | 4096-ptr_max |
| PARAM_VALUE | 0 | edev->max_supported | 0-s32max |
| PARAM_VALUE | 0 | edev->supported_cable | 8694870132938813440 |
| PARAM_VALUE | 1 | id | 44 |
| PARAM_VALUE | 2 | prop | 2 |
| BUF_SIZE | 0 | edev | 1888 |
| BUF_SIZE | 0 | edev | 1888 |
| DATA_SOURCE | 0 | edev | r devm_extcon_dev_allocate |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| NO_OVERFLOW_SIMPLE | 0 | edev->max_supported |
drivers/extcon/extcon-usbc-cros-ec.c extcon_cros_ec_probe() -> extcon_set_property_capability()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | edev | 4096-ptr_max |
| PARAM_VALUE | 0 | edev->max_supported | 0-s32max |
| PARAM_VALUE | 0 | edev->supported_cable | 8694870132938813440 |
| PARAM_VALUE | 1 | id | 44 |
| PARAM_VALUE | 2 | prop | 150 |
| BUF_SIZE | 0 | edev | 1888 |
| BUF_SIZE | 0 | edev | 1888 |
| DATA_SOURCE | 0 | edev | r devm_extcon_dev_allocate |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| NO_OVERFLOW_SIMPLE | 0 | edev->max_supported |
drivers/extcon/extcon-qcom-spmi-misc.c qcom_usb_extcon_probe() -> extcon_set_property_capability()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | edev | 4096-ptr_max |
| PARAM_VALUE | 0 | edev->max_supported | 0-s32max |
| PARAM_VALUE | 0 | edev->supported_cable | 5798088057714147328 |
| PARAM_VALUE | 1 | id | 1 |
| PARAM_VALUE | 2 | prop | 2 |
| BUF_SIZE | 0 | edev | 1888 |
| BUF_SIZE | 0 | edev | 1888 |
| DATA_SOURCE | 0 | edev | r devm_extcon_dev_allocate |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 0 | edev->max_supported |
drivers/extcon/extcon-qcom-spmi-misc.c qcom_usb_extcon_probe() -> extcon_set_property_capability()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | edev | 4096-ptr_max |
| PARAM_VALUE | 0 | edev->max_supported | 0-s32max |
| PARAM_VALUE | 0 | edev->supported_cable | 5798088057714147328 |
| PARAM_VALUE | 1 | id | 2 |
| PARAM_VALUE | 2 | prop | 2 |
| BUF_SIZE | 0 | edev | 1888 |
| BUF_SIZE | 0 | edev | 1888 |
| DATA_SOURCE | 0 | edev | r devm_extcon_dev_allocate |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 0 | edev->max_supported |
drivers/extcon/extcon-usbc-tusb320.c tusb320_extcon_probe() -> extcon_set_property_capability()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | edev | 4096-ptr_max |
| PARAM_VALUE | 0 | edev->max_supported | 0-s32max |
| PARAM_VALUE | 0 | edev->supported_cable | 8758359545084067840 |
| PARAM_VALUE | 1 | id | 1 |
| PARAM_VALUE | 2 | prop | 1 |
| BUF_SIZE | 0 | edev | 1888 |
| BUF_SIZE | 0 | edev | 1888 |
| DATA_SOURCE | 0 | edev | r devm_extcon_dev_allocate |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| NO_OVERFLOW_SIMPLE | 0 | edev->max_supported |
drivers/extcon/extcon-usbc-tusb320.c tusb320_extcon_probe() -> extcon_set_property_capability()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | edev | 4096-ptr_max |
| PARAM_VALUE | 0 | edev->max_supported | 0-s32max |
| PARAM_VALUE | 0 | edev->supported_cable | 8758359545084067840 |
| PARAM_VALUE | 1 | id | 2 |
| PARAM_VALUE | 2 | prop | 1 |
| BUF_SIZE | 0 | edev | 1888 |
| BUF_SIZE | 0 | edev | 1888 |
| DATA_SOURCE | 0 | edev | r devm_extcon_dev_allocate |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| NO_OVERFLOW_SIMPLE | 0 | edev->max_supported |