Home
last modified time | relevance | path

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

/drivers/hid/
Dhid-sony.c556 u8 cable_state; member
843 u8 cable_state, battery_capacity, battery_charging; in sixaxis_parse_report() local
856 cable_state = 1; in sixaxis_parse_report()
861 cable_state = 0; in sixaxis_parse_report()
865 sc->cable_state = cable_state; in sixaxis_parse_report()
895 u8 cable_state, battery_capacity, battery_charging; in dualshock4_parse_report() local
999 cable_state = (rd[offset] >> 4) & 0x01; in dualshock4_parse_report()
1007 if (!cable_state || battery_capacity > 10) in dualshock4_parse_report()
1012 if (!cable_state) in dualshock4_parse_report()
1020 sc->cable_state = cable_state; in dualshock4_parse_report()
[all …]
/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()