Home
last modified time | relevance | path

Searched refs:supported_cable (Results 1 – 3 of 3) sorted by relevance

/linux/drivers/extcon/
H A Dextcon.c272 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()
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()
1255 if (!edev || !edev->supported_cable) in extcon_dev_register()
1258 for (index = 0; edev->supported_cable[index] != EXTCON_NONE; index++); in extcon_dev_register()
H A Ddevres.c66 const unsigned int *supported_cable) in devm_extcon_dev_allocate() argument
74 edev = extcon_dev_allocate(supported_cable); in devm_extcon_dev_allocate()
H A Dextcon.h45 const unsigned int *supported_cable; member