Searched refs:ccg_read (Results 1 – 1 of 1) sorted by relevance
/linux-6.12.1/drivers/usb/typec/ucsi/ |
D | ucsi_ccg.c | 238 static int ccg_read(struct ucsi_ccg *uc, u16 rab, u8 *data, u32 len) in ccg_read() function 330 int ret = ccg_read(uc, reg, (void *)buf, size); in ccg_op_region_update() 370 status = ccg_read(uc, CCGX_RAB_INTR_REG, &data, sizeof(data)); in ucsi_ccg_init() 564 return ccg_read(uc, reg, (u8 *)version, sizeof(*version)); in ucsi_ccg_read_version() 676 ret = ccg_read(uc, CCGX_RAB_INTR_REG, &intr_reg, sizeof(intr_reg)); in ccg_irq_handler() 685 ret = ccg_read(uc, reg, (void *)&cci, sizeof(cci)); in ccg_irq_handler() 725 err = ccg_read(uc, CCGX_RAB_READ_ALL_VER, (u8 *)(&uc->version), in get_fw_info() 733 err = ccg_read(uc, CCGX_RAB_DEVICE_MODE, (u8 *)(&uc->info), in get_fw_info() 779 status = ccg_read(uc, CCGX_RAB_INTR_REG, &intval, in ccg_read_response() 794 status = ccg_read(uc, CCGX_RAB_RESPONSE, (u8 *)&uc->dev_resp, in ccg_read_response() [all …]
|