Searched refs:ccg_write (Results 1 – 1 of 1) sorted by relevance
/linux-6.12.1/drivers/usb/typec/ucsi/ |
D | ucsi_ccg.c | 283 static int ccg_write(struct ucsi_ccg *uc, u16 rab, const u8 *data, u32 len) in ccg_write() function 356 status = ccg_write(uc, CCGX_RAB_UCSI_CONTROL, &data, sizeof(data)); in ucsi_ccg_init() 361 status = ccg_write(uc, CCGX_RAB_UCSI_CONTROL, &data, sizeof(data)); in ucsi_ccg_init() 377 status = ccg_write(uc, CCGX_RAB_INTR_REG, &data, sizeof(data)); in ucsi_ccg_init() 628 return ccg_write(uc, reg, (u8 *)&command, sizeof(command)); in ucsi_ccg_async_control() 698 ccg_write(uc, CCGX_RAB_INTR_REG, &intr_reg, sizeof(intr_reg)); in ccg_irq_handler() 799 status = ccg_write(uc, CCGX_RAB_INTR_REG, &intval, sizeof(intval)); in ccg_read_response() 821 ret = ccg_write(uc, cmd->reg, (u8 *)&cmd->data, cmd->len); in ccg_send_command()
|