Home
last modified time | relevance | path

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

/linux-4.1.27/drivers/hid/
Dhid-sony.c831 __u8 cable_state; member
937 __u8 cable_state, battery_capacity, battery_charging; in sixaxis_parse_report() local
948 cable_state = 1; in sixaxis_parse_report()
953 cable_state = 0; in sixaxis_parse_report()
957 sc->cable_state = cable_state; in sixaxis_parse_report()
970 __u8 cable_state, battery_capacity, battery_charging; in dualshock4_parse_report() local
982 cable_state = (rd[offset] >> 4) & 0x01; in dualshock4_parse_report()
990 if (!cable_state || battery_capacity > 10) in dualshock4_parse_report()
995 if (!cable_state) in dualshock4_parse_report()
1003 sc->cable_state = cable_state; in dualshock4_parse_report()
[all …]
/linux-4.1.27/include/linux/
Dextcon.h226 bool cable_state);
231 const char *cable_name, bool cable_state);
323 int cable_index, bool cable_state) in extcon_set_cable_state_() argument
/linux-4.1.27/drivers/extcon/
Dextcon.c349 int index, bool cable_state) in extcon_set_cable_state_() argument
356 state = cable_state ? (1 << index) : 0; in extcon_set_cable_state_()
371 const char *cable_name, bool cable_state) in extcon_set_cable_state() argument
374 (edev, cable_name), cable_state); in extcon_set_cable_state()
407 bool cable_state = true; in _call_per_cable() local
412 cable_state = false; in _call_per_cable()
415 cable_state, ptr); in _call_per_cable()