Lines Matching +defs:dev +defs:id +defs:attrs
33 unsigned int id; member
226 struct attribute *attrs[3]; /* to be fed to attr_g.attrs */ member
264 static int find_cable_index_by_id(struct extcon_dev *edev, const unsigned int id) in find_cable_index_by_id()
305 static bool is_extcon_property_supported(unsigned int id, unsigned int prop) in is_extcon_property_supported()
319 unsigned int id, int index,unsigned int prop) in is_extcon_property_capability()
351 static void init_property(struct extcon_dev *edev, unsigned int id, int index) in init_property()
366 static ssize_t state_show(struct device *dev, struct device_attribute *attr, in state_show()
385 static ssize_t name_show(struct device *dev, struct device_attribute *attr, in name_show()
394 static ssize_t cable_name_show(struct device *dev, in cable_name_show()
405 static ssize_t cable_state_show(struct device *dev, in cable_state_show()
426 int extcon_sync(struct extcon_dev *edev, unsigned int id) in extcon_sync()
507 int extcon_get_state(struct extcon_dev *edev, const unsigned int id) in extcon_get_state()
540 int extcon_set_state(struct extcon_dev *edev, unsigned int id, bool state) in extcon_set_state()
595 int extcon_set_state_sync(struct extcon_dev *edev, unsigned int id, bool state) in extcon_set_state_sync()
633 int extcon_get_property(struct extcon_dev *edev, unsigned int id, in extcon_get_property()
712 int extcon_set_property(struct extcon_dev *edev, unsigned int id, in extcon_set_property()
777 int extcon_set_property_sync(struct extcon_dev *edev, unsigned int id, in extcon_set_property_sync()
800 int extcon_get_property_capability(struct extcon_dev *edev, unsigned int id, in extcon_get_property_capability()
834 int extcon_set_property_capability(struct extcon_dev *edev, unsigned int id, in extcon_set_property_capability()
917 int extcon_register_notifier(struct extcon_dev *edev, unsigned int id, in extcon_register_notifier()
946 int extcon_unregister_notifier(struct extcon_dev *edev, unsigned int id, in extcon_unregister_notifier()
1039 static void extcon_dev_release(struct device *dev) in extcon_dev_release()
1044 static void dummy_sysfs_dev_release(struct device *dev) in dummy_sysfs_dev_release()
1382 struct extcon_dev *extcon_get_edev_by_phandle(struct device *dev, int index) in extcon_get_edev_by_phandle()
1415 struct extcon_dev *extcon_get_edev_by_phandle(struct device *dev, int index) in extcon_get_edev_by_phandle()