Lines Matching refs:peripheral
518 struct gpi_i2c_config *peripheral; in geni_i2c_gpi() local
527 peripheral = config->peripheral_config; in geni_i2c_gpi()
545 peripheral->rx_len = msg->len; in geni_i2c_gpi()
546 peripheral->op = op; in geni_i2c_gpi()
554 peripheral->set_config = 0; in geni_i2c_gpi()
555 peripheral->multi_msg = true; in geni_i2c_gpi()
588 struct gpi_i2c_config peripheral = {}; in geni_i2c_gpi_xfer() local
595 config.peripheral_config = &peripheral; in geni_i2c_gpi_xfer()
596 config.peripheral_size = sizeof(peripheral); in geni_i2c_gpi_xfer()
598 peripheral.pack_enable = I2C_PACK_TX | I2C_PACK_RX; in geni_i2c_gpi_xfer()
599 peripheral.cycle_count = itr->t_cycle_cnt; in geni_i2c_gpi_xfer()
600 peripheral.high_count = itr->t_high_cnt; in geni_i2c_gpi_xfer()
601 peripheral.low_count = itr->t_low_cnt; in geni_i2c_gpi_xfer()
602 peripheral.clk_div = itr->clk_div; in geni_i2c_gpi_xfer()
603 peripheral.set_config = 1; in geni_i2c_gpi_xfer()
604 peripheral.multi_msg = false; in geni_i2c_gpi_xfer()
611 peripheral.stretch = 0; in geni_i2c_gpi_xfer()
613 peripheral.stretch = 1; in geni_i2c_gpi_xfer()
615 peripheral.addr = msgs[i].addr; in geni_i2c_gpi_xfer()