Lines Matching refs:regs
34 SercomI2cm *regs; member
69 static void wait_synchronization(SercomI2cm *regs) in wait_synchronization() argument
73 while ((regs->SYNCBUSY.reg & SERCOM_I2CM_SYNCBUSY_MASK) != 0) { in wait_synchronization()
77 while ((regs->STATUS.reg & SERCOM_I2CM_STATUS_SYNCBUSY) != 0) { in wait_synchronization()
88 SercomI2cm *i2c = cfg->regs; in i2c_sam0_terminate_on_error()
138 SercomI2cm *i2c = cfg->regs; in i2c_sam0_isr()
229 SercomI2cm *i2c = cfg->regs; in i2c_sam0_dma_write_done()
266 SercomI2cm *i2c = cfg->regs; in i2c_sam0_dma_write_start()
320 SercomI2cm *i2c = cfg->regs; in i2c_sam0_dma_read_done()
358 SercomI2cm *i2c = cfg->regs; in i2c_sam0_dma_read_start()
414 SercomI2cm *i2c = cfg->regs; in i2c_sam0_transfer()
549 SercomI2cm *i2c = cfg->regs; in i2c_sam0_set_apply_bitrate()
683 SercomI2cm *i2c = cfg->regs; in i2c_sam0_configure()
711 SercomI2cm *i2c = cfg->regs; in i2c_sam0_initialize()
822 .regs = (SercomI2cm *)DT_INST_REG_ADDR(n), \
834 .regs = (SercomI2cm *)DT_INST_REG_ADDR(n), \