Searched refs:cable_state (Results 1 – 2 of 2) sorted by relevance
556 u8 cable_state; member843 u8 cable_state, battery_capacity, battery_charging; in sixaxis_parse_report() local856 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() local999 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 …]
404 bool cable_state) in extcon_set_cable_state_() argument419 state = cable_state ? (1 << index) : 0; in extcon_set_cable_state_()434 const char *cable_name, bool cable_state) in extcon_set_cable_state() argument442 return extcon_set_cable_state_(edev, id, cable_state); in extcon_set_cable_state()