Searched refs:ccg_read (Results 1 – 1 of 1) sorted by relevance
/linux-5.19.10/drivers/usb/typec/ucsi/ |
D | ucsi_ccg.c | 222 static int ccg_read(struct ucsi_ccg *uc, u16 rab, u8 *data, u32 len) in ccg_read() function 324 status = ccg_read(uc, CCGX_RAB_INTR_REG, &data, sizeof(data)); in ucsi_ccg_init() 519 ret = ccg_read(uc, reg, val, val_len); in ucsi_ccg_read() 609 ret = ccg_read(uc, CCGX_RAB_INTR_REG, &intr_reg, sizeof(intr_reg)); in ccg_irq_handler() 613 ret = ccg_read(uc, reg, (void *)&cci, sizeof(cci)); in ccg_irq_handler() 639 err = ccg_read(uc, CCGX_RAB_READ_ALL_VER, (u8 *)(&uc->version), in get_fw_info() 647 err = ccg_read(uc, CCGX_RAB_DEVICE_MODE, (u8 *)(&uc->info), in get_fw_info() 693 status = ccg_read(uc, CCGX_RAB_INTR_REG, &intval, in ccg_read_response() 708 status = ccg_read(uc, CCGX_RAB_RESPONSE, (u8 *)&uc->dev_resp, in ccg_read_response() 1020 err = ccg_read(uc, CCGX_RAB_DEVICE_MODE, (u8 *)(&uc->info), in ccg_fw_update_needed() [all …]
|