Lines Matching refs:fsp_config
35 struct st_spi_cfg fsp_config; member
100 data->fsp_config.operating_mode = SPI_MODE_SLAVE; in ra_spi_configure()
102 data->fsp_config.operating_mode = SPI_MODE_MASTER; in ra_spi_configure()
106 data->fsp_config.clk_polarity = SPI_CLK_POLARITY_HIGH; in ra_spi_configure()
108 data->fsp_config.clk_polarity = SPI_CLK_POLARITY_LOW; in ra_spi_configure()
112 data->fsp_config.clk_phase = SPI_CLK_PHASE_EDGE_EVEN; in ra_spi_configure()
114 if (data->fsp_config.operating_mode == SPI_MODE_MASTER) { in ra_spi_configure()
115 data->fsp_config.clk_phase = SPI_CLK_PHASE_EDGE_ODD; in ra_spi_configure()
123 data->fsp_config.bit_order = SPI_BIT_ORDER_LSB_FIRST; in ra_spi_configure()
125 data->fsp_config.bit_order = SPI_BIT_ORDER_MSB_FIRST; in ra_spi_configure()
152 data->fsp_config.p_extend = &data->fsp_config_extend; in ra_spi_configure()
154 data->fsp_config.p_callback = spi_cb; in ra_spi_configure()
155 data->fsp_config.p_context = dev; in ra_spi_configure()
156 fsp_err = R_SPI_Open(&data->spi, &data->fsp_config); in ra_spi_configure()
601 R_BSP_IrqDisable(data->fsp_config.tei_irq); in ra_spi_rxi_isr()
606 R_BSP_IrqDisable(data->fsp_config.txi_irq); in ra_spi_rxi_isr()
612 R_BSP_IrqEnable(data->fsp_config.txi_irq); in ra_spi_rxi_isr()
653 R_ICU->IELSR_b[data->fsp_config.tei_irq].IR = 0U; in ra_spi_tei_isr()
723 ra_spi_data_##index.fsp_config.p_transfer_rx = \
727 ra_spi_data_##index.fsp_config.p_transfer_tx = \
797 .fsp_config = \