Searched refs:ccg_write (Results 1 – 1 of 1) sorted by relevance
/linux-5.19.10/drivers/usb/typec/ucsi/ |
D | ucsi_ccg.c | 267 static int ccg_write(struct ucsi_ccg *uc, u16 rab, const u8 *data, u32 len) in ccg_write() function 310 status = ccg_write(uc, CCGX_RAB_UCSI_CONTROL, &data, sizeof(data)); in ucsi_ccg_init() 315 status = ccg_write(uc, CCGX_RAB_UCSI_CONTROL, &data, sizeof(data)); in ucsi_ccg_init() 331 status = ccg_write(uc, CCGX_RAB_INTR_REG, &data, sizeof(data)); in ucsi_ccg_init() 552 return ccg_write(ucsi_get_drvdata(ucsi), reg, val, val_len); in ucsi_ccg_async_write() 625 ccg_write(uc, CCGX_RAB_INTR_REG, &intr_reg, sizeof(intr_reg)); in ccg_irq_handler() 713 status = ccg_write(uc, CCGX_RAB_INTR_REG, &intval, sizeof(intval)); in ccg_read_response() 735 ret = ccg_write(uc, cmd->reg, (u8 *)&cmd->data, cmd->len); in ccg_send_command()
|