Searched refs:efm32_i2c_write32 (Results 1 - 1 of 1) sorted by relevance
/linux-4.4.14/drivers/i2c/busses/ |
H A D | i2c-efm32.c | 136 static void efm32_i2c_write32(struct efm32_i2c_ddata *ddata, efm32_i2c_write32() function 146 efm32_i2c_write32(ddata, REG_CMD, REG_CMD_START); efm32_i2c_send_next_msg() 147 efm32_i2c_write32(ddata, REG_TXDATA, cur_msg->addr << 1 | efm32_i2c_send_next_msg() 161 efm32_i2c_write32(ddata, REG_CMD, REG_CMD_STOP); efm32_i2c_send_next_byte() 167 efm32_i2c_write32(ddata, REG_TXDATA, efm32_i2c_send_next_byte() 183 efm32_i2c_write32(ddata, REG_CMD, REG_CMD_NACK); efm32_i2c_recv_next_byte() 186 efm32_i2c_write32(ddata, REG_CMD, REG_CMD_STOP); efm32_i2c_recv_next_byte() 192 efm32_i2c_write32(ddata, REG_CMD, REG_CMD_ACK); efm32_i2c_recv_next_byte() 203 efm32_i2c_write32(ddata, REG_IFC, irqflag & REG_IFC__MASK); efm32_i2c_irq() 217 efm32_i2c_write32(ddata, REG_CMD, efm32_i2c_irq() 230 efm32_i2c_write32(ddata, REG_CMD, REG_CMD_STOP); efm32_i2c_irq() 248 efm32_i2c_write32(ddata, REG_CMD, REG_CMD_STOP); efm32_i2c_irq() 417 efm32_i2c_write32(ddata, REG_CLKDIV, REG_CLKDIV_DIV(clkdiv)); efm32_i2c_probe() 419 efm32_i2c_write32(ddata, REG_ROUTE, REG_ROUTE_SDAPEN | efm32_i2c_probe() 423 efm32_i2c_write32(ddata, REG_CTRL, REG_CTRL_EN | efm32_i2c_probe() 426 efm32_i2c_write32(ddata, REG_IFC, REG_IFC__MASK); efm32_i2c_probe() 427 efm32_i2c_write32(ddata, REG_IEN, REG_IF_TXC | REG_IF_ACK | REG_IF_NACK efm32_i2c_probe() 431 efm32_i2c_write32(ddata, REG_CMD, REG_CMD_ABORT); efm32_i2c_probe()
|
Completed in 672 milliseconds