Home
last modified time | relevance | path

Searched refs:cable_name (Results 1 – 2 of 2) sorted by relevance

/drivers/extcon/
Dextcon-class.c314 int extcon_find_cable_index(struct extcon_dev *edev, const char *cable_name) in extcon_find_cable_index() argument
321 cable_name, CABLE_NAME_MAX)) in extcon_find_cable_index()
351 int extcon_get_cable_state(struct extcon_dev *edev, const char *cable_name) in extcon_get_cable_state() argument
354 (edev, cable_name)); in extcon_get_cable_state()
388 const char *cable_name, bool cable_state) in extcon_set_cable_state() argument
391 (edev, cable_name), cable_state); in extcon_set_cable_state()
462 const char *extcon_name, const char *cable_name, in extcon_register_interest() argument
465 if (!obj || !cable_name || !nb) in extcon_register_interest()
473 obj->cable_index = extcon_find_cable_index(obj->edev, cable_name); in extcon_register_interest()
493 if (extcon_find_cable_index(extd, cable_name) < 0) in extcon_register_interest()
[all …]
Dextcon-max77693.c641 char cable_name[32]; in max77693_muic_jig_handler() local
652 strcpy(cable_name, "JIG-USB-OFF"); in max77693_muic_jig_handler()
657 strcpy(cable_name, "JIG-USB-ON"); in max77693_muic_jig_handler()
662 strcpy(cable_name, "JIG-UART-OFF"); in max77693_muic_jig_handler()
675 extcon_set_cable_state(info->edev, cable_name, attached); in max77693_muic_jig_handler()