Lines Matching defs:uc

227 static int ccg_read(struct ucsi_ccg *uc, u16 rab, u8 *data, u32 len)  in ccg_read()
272 static int ccg_write(struct ucsi_ccg *uc, u16 rab, const u8 *data, u32 len) in ccg_write()
308 static int ucsi_ccg_init(struct ucsi_ccg *uc) in ucsi_ccg_init()
346 static void ucsi_ccg_update_get_current_cam_cmd(struct ucsi_ccg *uc, u8 *data) in ucsi_ccg_update_get_current_cam_cmd()
360 struct ucsi_ccg *uc = ucsi_get_drvdata(ucsi); in ucsi_ccg_update_altmodes() local
432 static void ucsi_ccg_update_set_new_cam_cmd(struct ucsi_ccg *uc, in ucsi_ccg_update_set_new_cam_cmd()
497 static void ucsi_ccg_nvidia_altmode(struct ucsi_ccg *uc, in ucsi_ccg_nvidia_altmode()
519 struct ucsi_ccg *uc = ucsi_get_drvdata(ucsi); in ucsi_ccg_read() local
570 struct ucsi_ccg *uc = ucsi_get_drvdata(ucsi); in ucsi_ccg_sync_write() local
616 struct ucsi_ccg *uc = data; in ccg_irq_handler() local
642 static int ccg_request_irq(struct ucsi_ccg *uc) in ccg_request_irq()
657 static int get_fw_info(struct ucsi_ccg *uc) in get_fw_info()
682 static void ccg_process_response(struct ucsi_ccg *uc) in ccg_process_response()
706 static int ccg_read_response(struct ucsi_ccg *uc) in ccg_read_response()
743 static int ccg_send_command(struct ucsi_ccg *uc, struct ccg_cmd *cmd) in ccg_send_command()
781 static int ccg_cmd_enter_flashing(struct ucsi_ccg *uc) in ccg_cmd_enter_flashing()
805 static int ccg_cmd_reset(struct ucsi_ccg *uc) in ccg_cmd_reset()
836 static int ccg_cmd_port_control(struct ucsi_ccg *uc, bool enable) in ccg_cmd_port_control()
863 static int ccg_cmd_jump_boot_mode(struct ucsi_ccg *uc, int bl_mode) in ccg_cmd_jump_boot_mode()
897 ccg_cmd_write_flash_row(struct ucsi_ccg *uc, u16 row, in ccg_cmd_write_flash_row()
945 static int ccg_cmd_validate_fw(struct ucsi_ccg *uc, unsigned int fwid) in ccg_cmd_validate_fw()
967 static bool ccg_check_vendor_version(struct ucsi_ccg *uc, in ccg_check_vendor_version()
987 static bool ccg_check_fw_version(struct ucsi_ccg *uc, const char *fw_name, in ccg_check_fw_version()
1035 static int ccg_fw_update_needed(struct ucsi_ccg *uc, in ccg_fw_update_needed()
1080 static int do_flash(struct ucsi_ccg *uc, enum enum_flash_mode mode) in do_flash()
1247 static int ccg_fw_update(struct ucsi_ccg *uc, enum enum_flash_mode flash_mode) in ccg_fw_update()
1264 static int ccg_restart(struct ucsi_ccg *uc) in ccg_restart()
1293 struct ucsi_ccg *uc = container_of(work, struct ucsi_ccg, work); in ccg_update_firmware() local
1315 struct ucsi_ccg *uc = i2c_get_clientdata(to_i2c_client(dev)); in do_flash_store() local
1344 struct ucsi_ccg *uc; in ucsi_ccg_probe() local
1426 struct ucsi_ccg *uc = i2c_get_clientdata(client); in ucsi_ccg_remove() local
1457 struct ucsi_ccg *uc = i2c_get_clientdata(client); in ucsi_ccg_resume() local
1470 struct ucsi_ccg *uc = i2c_get_clientdata(client); in ucsi_ccg_runtime_resume() local