Lines Matching refs:iomode
698 u32 config, iomode, control; in spi_qup_io_config() local
767 iomode = readl_relaxed(controller->base + QUP_IO_M_MODES); in spi_qup_io_config()
769 iomode &= ~(QUP_IO_M_INPUT_MODE_MASK | QUP_IO_M_OUTPUT_MODE_MASK); in spi_qup_io_config()
772 iomode &= ~(QUP_IO_M_PACK_EN | QUP_IO_M_UNPACK_EN); in spi_qup_io_config()
774 iomode |= QUP_IO_M_PACK_EN | QUP_IO_M_UNPACK_EN; in spi_qup_io_config()
776 iomode |= (controller->mode << QUP_IO_M_OUTPUT_MODE_MASK_SHIFT); in spi_qup_io_config()
777 iomode |= (controller->mode << QUP_IO_M_INPUT_MODE_MASK_SHIFT); in spi_qup_io_config()
779 writel_relaxed(iomode, controller->base + QUP_IO_M_MODES); in spi_qup_io_config()
1003 u32 max_freq, iomode, num_cs; in spi_qup_probe() local
1095 iomode = readl_relaxed(base + QUP_IO_M_MODES); in spi_qup_probe()
1097 size = QUP_IO_M_OUTPUT_BLOCK_SIZE(iomode); in spi_qup_probe()
1103 size = QUP_IO_M_INPUT_BLOCK_SIZE(iomode); in spi_qup_probe()
1109 size = QUP_IO_M_OUTPUT_FIFO_SIZE(iomode); in spi_qup_probe()
1112 size = QUP_IO_M_INPUT_FIFO_SIZE(iomode); in spi_qup_probe()