Home
last modified time | relevance | path

Searched refs:spim (Results 1 – 25 of 72) sorted by relevance

123

/Zephyr-latest/tests/drivers/spi/spi_error_cases/src/
Dmain.c18 static struct spi_dt_spec spim = SPI_DT_SPEC_GET(DT_NODELABEL(dut_spi_dt), SPIM_OP, 0); variable
47 static uint8_t *buf_alloc(size_t len, bool spim) in buf_alloc() argument
49 int *idx = spim ? &tdata.spim_alloc_idx : &tdata.spis_alloc_idx; in buf_alloc()
50 uint8_t *buf = spim ? spim_buffer : spis_buffer; in buf_alloc()
51 size_t total = spim ? sizeof(spim_buffer) : sizeof(spis_buffer); in buf_alloc()
70 struct spi_dt_spec spim_invalid = spim; in ZTEST()
86 struct spi_dt_spec spim_invalid = spim; in ZTEST()
104 struct spi_dt_spec spim_invalid = spim; in ZTEST()
120 struct spi_dt_spec spim_invalid = spim; in ZTEST()
131 spim_invalid = spim; in ZTEST()
[all …]
/Zephyr-latest/tests/boards/nrf/dmm/boards/
Dnrf5340dk_nrf5340_cpuapp.overlay42 compatible = "nordic,nrf-spim";
51 compatible = "nordic,nrf-spim";
Dnrf54h20dk_nrf54h20_cpuapp.overlay42 compatible = "nordic,nrf-spim";
56 compatible = "nordic,nrf-spim";
/Zephyr-latest/modules/nrf_wifi/bus/
Ddevice.c30 static struct qspi_dev spim = {.init = spim_init, variable
80 return &spim; in qspi_dev()
/Zephyr-latest/drivers/spi/
Dspi_nrfx_spim.c77 nrfx_spim_t spim; member
148 void *reg = dev_config->spim.p_reg; in finalize_spi_transaction()
282 sck_pin = nrfy_spim_sck_pin_get(dev_config->spim.p_reg); in configure()
289 nrfx_spim_uninit(&dev_config->spim); in configure()
293 result = nrfx_spim_init(&dev_config->spim, &config, in configure()
326 NRF_SPIM_Type *spim = dev_config->spim.p_reg; in anomaly_58_workaround_setup() local
330 uint32_t tep = (uint32_t)&spim->TASKS_STOP; in anomaly_58_workaround_setup()
335 nrf_gpiote_event_configure(gpiote.p_reg, gpiote_ch, spim->PSEL.SCK, in anomaly_58_workaround_setup()
424 !nrf_dma_accessible_check(&dev_config->spim.p_reg, tx_buf)) { in transfer_next_chunk()
440 !nrf_dma_accessible_check(&dev_config->spim.p_reg, rx_buf)) { in transfer_next_chunk()
[all …]
/Zephyr-latest/samples/boards/nordic/nrfx_prs/src/
Dmain.c31 static nrfx_spim_t spim = NRFX_SPIM_INSTANCE(2); variable
159 sck_pin = nrfy_spim_sck_pin_get(spim.p_reg); in switch_to_spim()
165 err = nrfx_spim_init(&spim, &spim_config, spim_handler, NULL); in switch_to_spim()
187 err = nrfx_spim_xfer(&spim, &xfer_desc, 0); in spim_transfer()
228 nrfx_spim_uninit(&spim); in switch_to_uarte()
230 nrfy_spim_int_init(spim.p_reg, 0xFFFFFFFF, 0, false); in switch_to_uarte()
/Zephyr-latest/dts/common/nordic/
Dnrf54l20.dtsi114 * compatible = "nordic,nrf-spim" or
117 compatible = "nordic,nrf-spim";
259 * compatible = "nordic,nrf-spim" or
262 compatible = "nordic,nrf-spim";
298 * compatible = "nordic,nrf-spim" or
301 compatible = "nordic,nrf-spim";
337 * compatible = "nordic,nrf-spim" or
340 compatible = "nordic,nrf-spim";
535 * compatible = "nordic,nrf-spim" or
538 compatible = "nordic,nrf-spim";
[all …]
Dnrf54l_05_10_15.dtsi135 * compatible = "nordic,nrf-spim" or
138 compatible = "nordic,nrf-spim";
299 * compatible = "nordic,nrf-spim" or
302 compatible = "nordic,nrf-spim";
338 * compatible = "nordic,nrf-spim" or
341 compatible = "nordic,nrf-spim";
377 * compatible = "nordic,nrf-spim" or
380 compatible = "nordic,nrf-spim";
596 * compatible = "nordic,nrf-spim" or
599 compatible = "nordic,nrf-spim";
/Zephyr-latest/dts/arm/nordic/
Dnrf91_peripherals.dtsi217 * compatible = "nordic,nrf-spim" or
220 compatible = "nordic,nrf-spim";
233 * compatible = "nordic,nrf-spim" or
236 compatible = "nordic,nrf-spim";
249 * compatible = "nordic,nrf-spim" or
252 compatible = "nordic,nrf-spim";
265 * compatible = "nordic,nrf-spim" or
268 compatible = "nordic,nrf-spim";
Dnrf5340_cpuapp_peripherals.dtsi128 * compatible = "nordic,nrf-spim" or
131 compatible = "nordic,nrf-spim";
169 * compatible = "nordic,nrf-spim" or
172 compatible = "nordic,nrf-spim";
190 compatible = "nordic,nrf-spim";
223 * compatible = "nordic,nrf-spim" or
226 compatible = "nordic,nrf-spim";
264 * compatible = "nordic,nrf-spim" or
267 compatible = "nordic,nrf-spim";
Dnrf52833.dtsi159 * "nordic,nrf-spim" or
162 compatible = "nordic,nrf-spim";
195 * "nordic,nrf-spim" or
198 compatible = "nordic,nrf-spim";
469 * "nordic,nrf-spim" or
472 compatible = "nordic,nrf-spim";
529 compatible = "nordic,nrf-spim";
/Zephyr-latest/tests/drivers/spi/spi_controller_peripheral/src/
Dmain.c28 static struct spi_dt_spec spim = SPI_DT_SPEC_GET(DT_NODELABEL(dut_spi_dt), SPIM_OP, 0); variable
68 static uint8_t *buf_alloc(size_t len, bool spim) in buf_alloc() argument
70 int *idx = spim ? &tdata.spim_alloc_idx : &tdata.spis_alloc_idx; in buf_alloc()
71 uint8_t *buf = spim ? spim_buffer : spis_buffer; in buf_alloc()
72 size_t total = spim ? sizeof(spim_buffer) : sizeof(spis_buffer); in buf_alloc()
94 rv = spi_transceive_dt(&spim, td->mtx_set, td->mrx_set); in work_handler()
99 rv = spi_transceive_signal(spim.bus, &spim.config, td->mtx_set, td->mrx_set, in work_handler()
/Zephyr-latest/samples/boards/nordic/nrfx_prs/boards/
Dnrf5340dk_nrf5340_cpuapp.overlay45 compatible = "nordic,nrf-spim";
67 compatible = "nordic,nrf-spim";
Dnrf9160dk_nrf9160.overlay45 compatible = "nordic,nrf-spim";
67 compatible = "nordic,nrf-spim";
/Zephyr-latest/samples/drivers/led/led_strip/boards/
Dnrf52dk_nrf52832.overlay12 compatible = "nordic,nrf-spim";
/Zephyr-latest/boards/raytac/mdbt53_db_40/
Draytac_mdbt53_db_40_nrf5340_cpuapp_common.dts171 compatible = "nordic,nrf-spim";
181 compatible = "nordic,nrf-spim";
191 compatible = "nordic,nrf-spim";
/Zephyr-latest/boards/particle/argon/dts/
Dmesh_feather_spi1_spi3.dtsi32 compatible = "nordic,nrf-spim";
Dmesh_feather_spi_spi1.dtsi32 compatible = "nordic,nrf-spim";
Dmesh_feather_spi_spi3.dtsi32 compatible = "nordic,nrf-spim";
/Zephyr-latest/boards/particle/boron/dts/
Dmesh_feather_spi1_spi3.dtsi32 compatible = "nordic,nrf-spim";
Dmesh_feather_spi_spi3.dtsi32 compatible = "nordic,nrf-spim";
/Zephyr-latest/boards/particle/xenon/dts/
Dmesh_feather_spi1_spi3.dtsi32 compatible = "nordic,nrf-spim";
Dmesh_feather_spi_spi1.dtsi32 compatible = "nordic,nrf-spim";
Dmesh_feather_spi_spi3.dtsi32 compatible = "nordic,nrf-spim";
/Zephyr-latest/tests/drivers/flash/common/boards/
Dnrf52840dk_mx25r_high_perf.overlay8 compatible = "nordic,nrf-spim";

123