Home
last modified time | relevance | path

Searched refs:supported_cable (Results 1 - 6 of 6) sorted by relevance

/kernel/linux/linux-5.10/drivers/extcon/
H A Dextcon.c268 /* Find the the index of extcon cable in edev->supported_cable */ in find_cable_index_by_id()
270 if (edev->supported_cable[i] == id) in find_cable_index_by_id()
377 extcon_info[edev->supported_cable[i]].name, in state_show()
402 extcon_info[cable->edev->supported_cable[i]].name); in cable_name_show()
414 extcon_get_state(cable->edev, cable->edev->supported_cable[i])); in cable_state_show()
1050 * @supported_cable: the array of the supported external connectors
1059 struct extcon_dev *extcon_dev_allocate(const unsigned int *supported_cable) in extcon_dev_allocate() argument
1063 if (!supported_cable) in extcon_dev_allocate()
1071 edev->supported_cable = supported_cable; in extcon_dev_allocate()
[all...]
H A Ddevres.c55 * @supported_cable: the array of the supported external connectors
66 const unsigned int *supported_cable) in devm_extcon_dev_allocate()
74 edev = extcon_dev_allocate(supported_cable); in devm_extcon_dev_allocate()
65 devm_extcon_dev_allocate(struct device *dev, const unsigned int *supported_cable) devm_extcon_dev_allocate() argument
H A Dextcon.h11 * @supported_cable: Array of supported cable names ending with EXTCON_NONE.
12 * If supported_cable is NULL, cable name related APIs
44 const unsigned int *supported_cable; member
/kernel/linux/linux-6.6/drivers/extcon/
H A Dextcon.c270 /* Find the index of extcon cable in edev->supported_cable */ in find_cable_index_by_id()
272 if (edev->supported_cable[i] == id) in find_cable_index_by_id()
379 extcon_info[edev->supported_cable[i]].name, in state_show()
404 extcon_info[cable->edev->supported_cable[i]].name); in cable_name_show()
416 extcon_get_state(cable->edev, cable->edev->supported_cable[i])); in cable_state_show()
1047 * @supported_cable: the array of the supported external connectors
1056 struct extcon_dev *extcon_dev_allocate(const unsigned int *supported_cable) in extcon_dev_allocate() argument
1060 if (!supported_cable) in extcon_dev_allocate()
1068 edev->supported_cable = supported_cable; in extcon_dev_allocate()
[all...]
H A Ddevres.c55 * @supported_cable: the array of the supported external connectors
66 const unsigned int *supported_cable) in devm_extcon_dev_allocate()
74 edev = extcon_dev_allocate(supported_cable); in devm_extcon_dev_allocate()
65 devm_extcon_dev_allocate(struct device *dev, const unsigned int *supported_cable) devm_extcon_dev_allocate() argument
H A Dextcon.h11 * @supported_cable: Array of supported cable names ending with EXTCON_NONE.
12 * If supported_cable is NULL, cable name related APIs
45 const unsigned int *supported_cable; member

Completed in 5 milliseconds