Home
last modified time | relevance | path

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

/linux-4.4.14/include/linux/
Dextcon.h208 bool cable_state);
213 const char *cable_name, bool cable_state);
304 unsigned int id, bool cable_state) in extcon_set_cable_state_() argument
/linux-4.4.14/drivers/hid/
Dhid-sony.c1043 __u8 cable_state; member
1170 __u8 cable_state, battery_capacity, battery_charging; in sixaxis_parse_report() local
1183 cable_state = 1; in sixaxis_parse_report()
1188 cable_state = 0; in sixaxis_parse_report()
1192 sc->cable_state = cable_state; in sixaxis_parse_report()
1205 __u8 cable_state, battery_capacity, battery_charging; in dualshock4_parse_report() local
1217 cable_state = (rd[offset] >> 4) & 0x01; in dualshock4_parse_report()
1225 if (!cable_state || battery_capacity > 10) in dualshock4_parse_report()
1230 if (!cable_state) in dualshock4_parse_report()
1238 sc->cable_state = cable_state; in dualshock4_parse_report()
[all …]
/linux-4.4.14/drivers/extcon/
Dextcon.c404 bool cable_state) in extcon_set_cable_state_() argument
419 state = cable_state ? (1 << index) : 0; in extcon_set_cable_state_()
434 const char *cable_name, bool cable_state) in extcon_set_cable_state() argument
442 return extcon_set_cable_state_(edev, id, cable_state); in extcon_set_cable_state()