Lines Matching refs:__u8

60 static __u8 sixaxis_rdesc[] = {
608 static __u8 ps3remote_rdesc[] = {
772 __u8 time_enabled; /* the total time the led is active (0xff means forever) */
773 __u8 duty_length; /* how long a cycle is in deciseconds (0 means "really fast") */
774 __u8 enabled;
775 __u8 duty_off; /* % of duty_length the led is off (0xff means 100%) */
776 __u8 duty_on; /* % of duty_length the led is on (0xff mean 100%) */
780 __u8 padding;
781 __u8 right_duration; /* Right motor duration (0xff means forever) */
782 __u8 right_motor_on; /* Right (small) motor on/off, only supports values of 0 or 1 (off/on) */
783 __u8 left_duration; /* Left motor duration (0xff means forever) */
784 __u8 left_motor_force; /* left (large) motor, supports force values from 0 to 255 */
788 __u8 report_id;
790 __u8 padding[4];
791 __u8 leds_bitmap; /* bitmap of enabled LEDs: LED_1 = 0x02, LED_2 = 0x04, ... */
798 __u8 buf[36];
822 __u8 *output_report_dmabuf;
825 __u8 left;
826 __u8 right;
829 __u8 mac_address[6];
830 __u8 worker_initialized;
831 __u8 cable_state;
832 __u8 battery_charging;
833 __u8 battery_capacity;
834 __u8 led_state[MAX_LEDS];
835 __u8 led_delay_on[MAX_LEDS];
836 __u8 led_delay_off[MAX_LEDS];
837 __u8 led_count;
840 static __u8 *sixaxis_fixup(struct hid_device *hdev, __u8 *rdesc, in sixaxis_fixup()
847 static __u8 *ps3remote_fixup(struct hid_device *hdev, __u8 *rdesc, in ps3remote_fixup()
888 static __u8 *sony_report_fixup(struct hid_device *hdev, __u8 *rdesc, in sony_report_fixup()
933 static void sixaxis_parse_report(struct sony_sc *sc, __u8 *rd, int size) in sixaxis_parse_report()
935 static const __u8 sixaxis_battery_capacity[] = { 0, 1, 25, 50, 75, 100 }; in sixaxis_parse_report()
937 __u8 cable_state, battery_capacity, battery_charging; in sixaxis_parse_report()
950 __u8 index = rd[30] <= 5 ? rd[30] : 5; in sixaxis_parse_report()
963 static void dualshock4_parse_report(struct sony_sc *sc, __u8 *rd, int size) in dualshock4_parse_report()
970 __u8 cable_state, battery_capacity, battery_charging; in dualshock4_parse_report()
1036 __u8 *rd, int size) in sony_raw_event()
1137 __u8 *buf; in sixaxis_set_operational_usb()
1174 static const __u8 report[] = { 0xf4, 0x42, 0x03, 0x00, 0x00 }; in sixaxis_set_operational_bt()
1175 __u8 *buf; in sixaxis_set_operational_bt()
1196 __u8 *buf; in dualshock4_set_operational_bt()
1211 static void sixaxis_set_leds_from_id(int id, __u8 values[MAX_LEDS]) in sixaxis_set_leds_from_id()
1213 static const __u8 sixaxis_leds[10][4] = { in sixaxis_set_leds_from_id()
1235 static void dualshock4_set_leds_from_id(int id, __u8 values[MAX_LEDS]) in dualshock4_set_leds_from_id()
1238 static const __u8 color_code[7][3] = { in dualshock4_set_leds_from_id()
1257 static void buzz_set_leds(struct hid_device *hdev, const __u8 *leds) in buzz_set_leds()
1275 static void sony_set_leds(struct sony_sc *sc, const __u8 *leds, int count) in sony_set_leds()
1363 __u8 new_on, new_off; in sony_led_blink_set()
1434 __u8 initial_values[MAX_LEDS] = { 0 }; in sony_leds_init()
1435 __u8 max_brightness[MAX_LEDS] = { [0 ... (MAX_LEDS - 1)] = 1 }; in sony_leds_init()
1436 __u8 use_hw_blink[MAX_LEDS] = { 0 }; in sony_leds_init()
1573 hid_hw_raw_request(sc->hdev, report->report_id, (__u8 *)report, in sixaxis_state_worker()
1582 __u8 *buf = sc->output_report_dmabuf; in dualshock4_state_worker()
1838 __u8 *buf = NULL; in sony_check_add()