Home
last modified time | relevance | path

Searched refs:reg_set (Results 1 – 2 of 2) sorted by relevance

/Zephyr-latest/drivers/i2c/
Di2c_andes_atciic100.c515 uint32_t reg_set = 0, reg_ctrl = 0, reg = 0; in i2c_cmpl_handler() local
517 reg_set = sys_read32(I2C_SET(dev)); in i2c_cmpl_handler()
549 reg_set = sys_read32(I2C_SET(dev)); in i2c_cmpl_handler()
597 uint32_t reg_set = 0; in andes_i2c_target_event() local
622 reg_set |= (CMD_ACK); in andes_i2c_target_event()
623 sys_write32(reg_set, I2C_CMD(dev)); in andes_i2c_target_event()
631 reg_set = 0; in andes_i2c_target_event()
633 reg_set |= (CMD_ACK); in andes_i2c_target_event()
634 sys_write32(reg_set, I2C_CMD(dev)); in andes_i2c_target_event()
636 reg_set |= (CMD_NACK); in andes_i2c_target_event()
[all …]
/Zephyr-latest/drivers/usb/udc/
Dudc_smartbond.c1633 struct smartbond_ep_reg_set *reg_set = (struct smartbond_ep_reg_set *)&(USB->USB_EPC0_REG); in udc_smartbond_init() local
1664 data->ep_state[0][i].regs = reg_set + i; in udc_smartbond_init()
1685 data->ep_state[1][i].regs = reg_set + i; in udc_smartbond_init()