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

/linux-4.4.14/drivers/extcon/
H A Dextcon.c121 /* Find the the index of extcon cable in edev->supported_cable */ find_cable_index_by_id()
123 if (edev->supported_cable[i] == id) find_cable_index_by_id()
183 extcon_name[edev->supported_cable[i]], state_show()
227 extcon_name[cable->edev->supported_cable[i]]); cable_name_show()
240 cable->edev->supported_cable[i])); cable_state_show()
659 * @supported_cable: Array of supported extcon ending with EXTCON_NONE.
660 * If supported_cable is NULL, cable name related APIs
669 struct extcon_dev *extcon_dev_allocate(const unsigned int *supported_cable) extcon_dev_allocate() argument
673 if (!supported_cable) extcon_dev_allocate()
681 edev->supported_cable = supported_cable; extcon_dev_allocate()
714 * @supported_cable: Array of supported extcon ending with EXTCON_NONE.
715 * If supported_cable is NULL, cable name related APIs
726 const unsigned int *supported_cable) devm_extcon_dev_allocate()
734 edev = extcon_dev_allocate(supported_cable); devm_extcon_dev_allocate()
776 if (!edev || !edev->supported_cable) extcon_dev_register()
779 for (; edev->supported_cable[index] != EXTCON_NONE; index++); extcon_dev_register()
725 devm_extcon_dev_allocate(struct device *dev, const unsigned int *supported_cable) devm_extcon_dev_allocate() argument
/linux-4.4.14/include/linux/
H A Dextcon.h77 * @supported_cable: Array of supported cable names ending with EXTCON_NONE.
78 * If supported_cable is NULL, cable name related APIs
108 const unsigned int *supported_cable; member in struct:extcon_dev

Completed in 72 milliseconds