Lines Matching refs:__u8
77 static __u8 sixaxis_rdesc[] = {
155 static __u8 motion_rdesc[] = {
252 static __u8 navigation_rdesc[] = {
812 static __u8 ps3remote_rdesc[] = {
976 __u8 time_enabled; /* the total time the led is active (0xff means forever) */
977 __u8 duty_length; /* how long a cycle is in deciseconds (0 means "really fast") */
978 __u8 enabled;
979 __u8 duty_off; /* % of duty_length the led is off (0xff means 100%) */
980 __u8 duty_on; /* % of duty_length the led is on (0xff mean 100%) */
984 __u8 padding;
985 __u8 right_duration; /* Right motor duration (0xff means forever) */
986 __u8 right_motor_on; /* Right (small) motor on/off, only supports values of 0 or 1 (off/on) */
987 __u8 left_duration; /* Left motor duration (0xff means forever) */
988 __u8 left_motor_force; /* left (large) motor, supports force values from 0 to 255 */
992 __u8 report_id;
994 __u8 padding[4];
995 __u8 leds_bitmap; /* bitmap of enabled LEDs: LED_1 = 0x02, LED_2 = 0x04, ... */
1002 __u8 buf[36];
1034 __u8 *output_report_dmabuf;
1037 __u8 left;
1038 __u8 right;
1041 __u8 mac_address[6];
1042 __u8 worker_initialized;
1043 __u8 cable_state;
1044 __u8 battery_charging;
1045 __u8 battery_capacity;
1046 __u8 led_state[MAX_LEDS];
1047 __u8 led_delay_on[MAX_LEDS];
1048 __u8 led_delay_off[MAX_LEDS];
1049 __u8 led_count;
1052 static __u8 *sixaxis_fixup(struct hid_device *hdev, __u8 *rdesc, in sixaxis_fixup()
1073 static __u8 *ps3remote_fixup(struct hid_device *hdev, __u8 *rdesc, in ps3remote_fixup()
1114 static __u8 *sony_report_fixup(struct hid_device *hdev, __u8 *rdesc, in sony_report_fixup()
1165 static void sixaxis_parse_report(struct sony_sc *sc, __u8 *rd, int size) in sixaxis_parse_report()
1167 static const __u8 sixaxis_battery_capacity[] = { 0, 1, 25, 50, 75, 100 }; in sixaxis_parse_report()
1170 __u8 cable_state, battery_capacity, battery_charging; in sixaxis_parse_report()
1185 __u8 index = rd[offset] <= 5 ? rd[offset] : 5; in sixaxis_parse_report()
1198 static void dualshock4_parse_report(struct sony_sc *sc, __u8 *rd, int size) in dualshock4_parse_report()
1205 __u8 cable_state, battery_capacity, battery_charging; in dualshock4_parse_report()
1271 __u8 *rd, int size) in sony_raw_event()
1395 __u8 *buf; in sixaxis_set_operational_usb()
1432 static const __u8 report[] = { 0xf4, 0x42, 0x03, 0x00, 0x00 }; in sixaxis_set_operational_bt()
1433 __u8 *buf; in sixaxis_set_operational_bt()
1454 __u8 *buf; in dualshock4_set_operational_bt()
1471 static const __u8 sixaxis_leds[10][4] = { in sixaxis_set_leds_from_id()
1498 static const __u8 color_code[7][3] = { in dualshock4_set_leds_from_id()
1620 __u8 new_on, new_off; in sony_led_blink_set()
1691 __u8 max_brightness[MAX_LEDS] = { [0 ... (MAX_LEDS - 1)] = 1 }; in sony_leds_init()
1692 __u8 use_hw_blink[MAX_LEDS] = { 0 }; in sony_leds_init()
1720 static const __u8 navigation_leds[4] = {0x01, 0x00, 0x00, 0x00}; in sony_leds_init()
1844 hid_hw_raw_request(sc->hdev, report->report_id, (__u8 *)report, in sixaxis_state_worker()
1853 __u8 *buf = sc->output_report_dmabuf; in dualshock4_state_worker()
1914 hid_hw_output_report(hdev, (__u8 *)report, MOTION_REPORT_0x02_SIZE); in motion_state_worker()
2134 __u8 *buf = NULL; in sony_check_add()