Searched refs:i2c (Results 1 – 3 of 3) sorted by relevance
128 mutex_init(&i2c->lock); in stm32_i2c_early_init()183 i2c->regs->CR2 = cr2; in stm32_i2c_do_repeated_start()204 switch (i2c->state) { in stm32_i2c_irq()207 i2c->regs->TXDR = i2c->reg; in stm32_i2c_irq()215 i2c->regs->TXDR = stm32_i2c_buf_pop(&i2c->tx_buf); in stm32_i2c_irq()231 stm32_i2c_buf_push(&i2c->rx_buf, i2c->regs->RXDR); in stm32_i2c_irq()246 i2c->regs->ICR = isr; in stm32_i2c_irq()285 i2c->reg = *reg_addr; in stm32_i2c_txn()334 if (i2c == NULL) { in i2c_transmit()344 if (i2c == NULL) { in i2c_receive()[all …]
39 $(LOCAL_DIR)/i2c.c \
2 DEFIRQ(i2c)
Completed in 6 milliseconds