Lines Matching refs:peripheral
510 struct gpi_i2c_config *peripheral; in geni_i2c_gpi() local
519 peripheral = config->peripheral_config; in geni_i2c_gpi()
537 peripheral->rx_len = msg->len; in geni_i2c_gpi()
538 peripheral->op = op; in geni_i2c_gpi()
546 peripheral->set_config = 0; in geni_i2c_gpi()
547 peripheral->multi_msg = true; in geni_i2c_gpi()
580 struct gpi_i2c_config peripheral = {}; in geni_i2c_gpi_xfer() local
586 config.peripheral_config = &peripheral; in geni_i2c_gpi_xfer()
587 config.peripheral_size = sizeof(peripheral); in geni_i2c_gpi_xfer()
589 peripheral.pack_enable = I2C_PACK_TX | I2C_PACK_RX; in geni_i2c_gpi_xfer()
590 peripheral.cycle_count = itr->t_cycle_cnt; in geni_i2c_gpi_xfer()
591 peripheral.high_count = itr->t_high_cnt; in geni_i2c_gpi_xfer()
592 peripheral.low_count = itr->t_low_cnt; in geni_i2c_gpi_xfer()
593 peripheral.clk_div = itr->clk_div; in geni_i2c_gpi_xfer()
594 peripheral.set_config = 1; in geni_i2c_gpi_xfer()
595 peripheral.multi_msg = false; in geni_i2c_gpi_xfer()
602 peripheral.stretch = 0; in geni_i2c_gpi_xfer()
604 peripheral.stretch = 1; in geni_i2c_gpi_xfer()
606 peripheral.addr = msgs[i].addr; in geni_i2c_gpi_xfer()