Lines Matching defs:pcu
183 static void ims_pcu_buttons_report(struct ims_pcu *pcu, u32 data) in ims_pcu_buttons_report()
199 static int ims_pcu_setup_buttons(struct ims_pcu *pcu, in ims_pcu_setup_buttons()
250 static void ims_pcu_destroy_buttons(struct ims_pcu *pcu) in ims_pcu_destroy_buttons()
262 static void ims_pcu_gamepad_report(struct ims_pcu *pcu, u32 data) in ims_pcu_gamepad_report()
284 static int ims_pcu_setup_gamepad(struct ims_pcu *pcu) in ims_pcu_setup_gamepad()
341 static void ims_pcu_destroy_gamepad(struct ims_pcu *pcu) in ims_pcu_destroy_gamepad()
408 static void ims_pcu_report_events(struct ims_pcu *pcu) in ims_pcu_report_events()
417 static void ims_pcu_handle_response(struct ims_pcu *pcu) in ims_pcu_handle_response()
442 static void ims_pcu_process_data(struct ims_pcu *pcu, struct urb *urb) in ims_pcu_process_data()
509 static int ims_pcu_send_cmd_chunk(struct ims_pcu *pcu, in ims_pcu_send_cmd_chunk()
529 static int ims_pcu_send_command(struct ims_pcu *pcu, in ims_pcu_send_command()
595 static int __ims_pcu_execute_command(struct ims_pcu *pcu, in __ims_pcu_execute_command()
618 #define ims_pcu_execute_command(pcu, code, data, len) \ argument
624 #define ims_pcu_execute_query(pcu, code) \ argument
649 static int __ims_pcu_execute_bl_command(struct ims_pcu *pcu, in __ims_pcu_execute_bl_command()
680 #define ims_pcu_execute_bl_command(pcu, code, data, len, timeout) \ argument
691 static int ims_pcu_get_info(struct ims_pcu *pcu) in ims_pcu_get_info()
715 static int ims_pcu_set_info(struct ims_pcu *pcu) in ims_pcu_set_info()
739 static int ims_pcu_switch_to_bootloader(struct ims_pcu *pcu) in ims_pcu_switch_to_bootloader()
780 static int ims_pcu_verify_block(struct ims_pcu *pcu, in ims_pcu_verify_block()
819 static int ims_pcu_flash_firmware(struct ims_pcu *pcu, in ims_pcu_flash_firmware()
885 static int ims_pcu_handle_firmware_update(struct ims_pcu *pcu, in ims_pcu_handle_firmware_update()
915 struct ims_pcu *pcu = context; in ims_pcu_process_async_firmware() local
952 struct ims_pcu *pcu = in ims_pcu_backlight_set_brightness() local
976 struct ims_pcu *pcu = in ims_pcu_backlight_get_brightness() local
1000 static int ims_pcu_setup_backlight(struct ims_pcu *pcu) in ims_pcu_setup_backlight()
1025 static void ims_pcu_destroy_backlight(struct ims_pcu *pcu) in ims_pcu_destroy_backlight()
1048 struct ims_pcu *pcu = usb_get_intfdata(intf); in ims_pcu_attribute_show() local
1062 struct ims_pcu *pcu = usb_get_intfdata(intf); in ims_pcu_attribute_store() local
1124 struct ims_pcu *pcu = usb_get_intfdata(intf); in ims_pcu_reset_device() local
1155 struct ims_pcu *pcu = usb_get_intfdata(intf); in ims_pcu_update_firmware_store() local
1207 struct ims_pcu *pcu = usb_get_intfdata(intf); in ims_pcu_update_firmware_status_show() local
1233 struct ims_pcu *pcu = usb_get_intfdata(intf); in ims_pcu_is_attr_visible() local
1259 static int ims_pcu_read_ofn_config(struct ims_pcu *pcu, u8 addr, u8 *data) in ims_pcu_read_ofn_config()
1278 static int ims_pcu_write_ofn_config(struct ims_pcu *pcu, u8 addr, u8 data) in ims_pcu_write_ofn_config()
1301 struct ims_pcu *pcu = usb_get_intfdata(intf); in ims_pcu_ofn_reg_data_show() local
1320 struct ims_pcu *pcu = usb_get_intfdata(intf); in ims_pcu_ofn_reg_data_store() local
1343 struct ims_pcu *pcu = usb_get_intfdata(intf); in ims_pcu_ofn_reg_addr_show() local
1358 struct ims_pcu *pcu = usb_get_intfdata(intf); in ims_pcu_ofn_reg_addr_store() local
1387 struct ims_pcu *pcu = usb_get_intfdata(intf); in ims_pcu_ofn_bit_show() local
1408 struct ims_pcu *pcu = usb_get_intfdata(intf); in ims_pcu_ofn_bit_store() local
1476 struct ims_pcu *pcu = urb->context; in ims_pcu_irq() local
1511 static int ims_pcu_buffers_alloc(struct ims_pcu *pcu) in ims_pcu_buffers_alloc()
1590 static void ims_pcu_buffers_free(struct ims_pcu *pcu) in ims_pcu_buffers_free()
1653 static int ims_pcu_parse_cdc_data(struct usb_interface *intf, struct ims_pcu *pcu) in ims_pcu_parse_cdc_data()
1721 static int ims_pcu_start_io(struct ims_pcu *pcu) in ims_pcu_start_io()
1745 static void ims_pcu_stop_io(struct ims_pcu *pcu) in ims_pcu_stop_io()
1751 static int ims_pcu_line_setup(struct ims_pcu *pcu) in ims_pcu_line_setup()
1787 static int ims_pcu_get_device_info(struct ims_pcu *pcu) in ims_pcu_get_device_info()
1841 static int ims_pcu_identify_type(struct ims_pcu *pcu, u8 *device_id) in ims_pcu_identify_type()
1858 static int ims_pcu_init_application_mode(struct ims_pcu *pcu) in ims_pcu_init_application_mode()
1929 static void ims_pcu_destroy_application_mode(struct ims_pcu *pcu) in ims_pcu_destroy_application_mode()
1946 static int ims_pcu_init_bootloader_mode(struct ims_pcu *pcu) in ims_pcu_init_bootloader_mode()
1978 static void ims_pcu_destroy_bootloader_mode(struct ims_pcu *pcu) in ims_pcu_destroy_bootloader_mode()
1993 struct ims_pcu *pcu; in ims_pcu_probe() local
2061 struct ims_pcu *pcu = usb_get_intfdata(intf); in ims_pcu_disconnect() local
2090 struct ims_pcu *pcu = usb_get_intfdata(intf); in ims_pcu_suspend() local
2101 struct ims_pcu *pcu = usb_get_intfdata(intf); in ims_pcu_resume() local