Lines Matching defs:usb_xpad
600 struct usb_xpad {
638 static int xpad_init_input(struct usb_xpad *xpad);
639 static void xpad_deinit_input(struct usb_xpad *xpad);
640 static void xpadone_ack_mode_report(struct usb_xpad *xpad, u8 seq_num);
651 static void xpad_process_packet(struct usb_xpad *xpad, u16 cmd, unsigned char *data)
721 static void xpad360_process_packet(struct usb_xpad *xpad, struct input_dev *dev,
796 struct usb_xpad *xpad = container_of(work, struct usb_xpad, work);
833 static void xpad360w_process_packet(struct usb_xpad *xpad, u16 cmd, unsigned char *data)
868 static void xpadone_process_packet(struct usb_xpad *xpad, u16 cmd, unsigned char *data)
954 struct usb_xpad *xpad = urb->context;
999 static bool xpad_prepare_next_init_packet(struct usb_xpad *xpad)
1031 static bool xpad_prepare_next_out_packet(struct usb_xpad *xpad)
1065 static int xpad_try_sending_next_out_packet(struct usb_xpad *xpad)
1088 struct usb_xpad *xpad = urb->context;
1132 static int xpad_init_output(struct usb_interface *intf, struct usb_xpad *xpad,
1169 static void xpad_stop_output(struct usb_xpad *xpad)
1181 static void xpad_deinit_output(struct usb_xpad *xpad)
1190 static int xpad_inquiry_pad_presence(struct usb_xpad *xpad)
1223 static int xpad_start_xbox_one(struct usb_xpad *xpad)
1243 static void xpadone_ack_mode_report(struct usb_xpad *xpad, u8 seq_num)
1270 struct usb_xpad *xpad = input_get_drvdata(dev);
1360 static int xpad_init_ff(struct usb_xpad *xpad)
1371 static int xpad_init_ff(struct usb_xpad *xpad) { return 0; }
1383 struct usb_xpad *xpad;
1406 static void xpad_send_led_command(struct usb_xpad *xpad, int command)
1452 static void xpad_identify_controller(struct usb_xpad *xpad)
1466 static int xpad_led_probe(struct usb_xpad *xpad)
1509 static void xpad_led_disconnect(struct usb_xpad *xpad)
1520 static int xpad_led_probe(struct usb_xpad *xpad) { return 0; }
1521 static void xpad_led_disconnect(struct usb_xpad *xpad) { }
1524 static int xpad_start_input(struct usb_xpad *xpad)
1542 static void xpad_stop_input(struct usb_xpad *xpad)
1547 static void xpad360w_poweroff_controller(struct usb_xpad *xpad)
1577 static int xpad360w_start_input(struct usb_xpad *xpad)
1601 static void xpad360w_stop_input(struct usb_xpad *xpad)
1611 struct usb_xpad *xpad = input_get_drvdata(dev);
1618 struct usb_xpad *xpad = input_get_drvdata(dev);
1625 struct usb_xpad *xpad = input_get_drvdata(input_dev);
1651 static void xpad_deinit_input(struct usb_xpad *xpad)
1660 static int xpad_init_input(struct usb_xpad *xpad)
1762 struct usb_xpad *xpad;
1775 xpad = kzalloc(sizeof(struct usb_xpad), GFP_KERNEL);
1904 struct usb_xpad *xpad = usb_get_intfdata(intf);
1930 struct usb_xpad *xpad = usb_get_intfdata(intf);
1963 struct usb_xpad *xpad = usb_get_intfdata(intf);