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
594 config.peripheral_config = &peripheral; in geni_i2c_gpi_xfer()
595 config.peripheral_size = sizeof(peripheral); in geni_i2c_gpi_xfer()
597 peripheral.pack_enable = I2C_PACK_TX | I2C_PACK_RX; in geni_i2c_gpi_xfer()
598 peripheral.cycle_count = itr->t_cycle_cnt; in geni_i2c_gpi_xfer()
599 peripheral.high_count = itr->t_high_cnt; in geni_i2c_gpi_xfer()
600 peripheral.low_count = itr->t_low_cnt; in geni_i2c_gpi_xfer()
601 peripheral.clk_div = itr->clk_div; in geni_i2c_gpi_xfer()
602 peripheral.set_config = 1; in geni_i2c_gpi_xfer()
603 peripheral.multi_msg = false; in geni_i2c_gpi_xfer()
610 peripheral.stretch = 0; in geni_i2c_gpi_xfer()
612 peripheral.stretch = 1; in geni_i2c_gpi_xfer()
614 peripheral.addr = msgs[i].addr; in geni_i2c_gpi_xfer()