Home
last modified time | relevance | path

Searched refs:peripheral_id (Results 1 – 16 of 16) sorted by relevance

/Zephyr-latest/drivers/spi/
Dspi_b91.c34 uint8_t peripheral_id; member
59 if (config->peripheral_id == PSPI_MODULE) { in spi_b91_hw_cs_disable()
105 if (b91_config->peripheral_id == PSPI_MODULE) { in spi_b91_config_cs()
114 if (b91_config->peripheral_id == PSPI_MODULE) { in spi_b91_config_cs()
153 static void spi_b91_tx(uint8_t peripheral_id, struct spi_context *ctx, uint8_t len) in spi_b91_tx() argument
164 while (reg_spi_fifo_state(peripheral_id) & FLD_SPI_TXF_FULL) { in spi_b91_tx()
166 reg_spi_wr_rd_data(peripheral_id, i % 4) = tx; in spi_b91_tx()
172 static void spi_b91_rx(uint8_t peripheral_id, struct spi_context *ctx, uint8_t len) in spi_b91_rx() argument
177 while (reg_spi_fifo_state(peripheral_id) & FLD_SPI_RXF_EMPTY) { in spi_b91_rx()
179 rx = reg_spi_wr_rd_data(peripheral_id, i % 4); in spi_b91_rx()
[all …]
Dspi_gecko_usart.c39 #elif DT_NODE_HAS_PROP(n, peripheral_id)
42 .clock = CLOCK_USART(DT_INST_PROP(n, peripheral_id)),
Dspi_psoc6.c424 .periph_id = DT_INST_PROP(n, peripheral_id), \
/Zephyr-latest/drivers/clock_control/
Dclock_control_sam_pmc.c33 LOG_DBG("Type: %x, Id: %d", cfg->clock_type, cfg->peripheral_id); in atmel_sam_clock_control_on()
37 soc_pmc_peripheral_enable(cfg->peripheral_id); in atmel_sam_clock_control_on()
59 LOG_DBG("Type: %x, Id: %d", cfg->clock_type, cfg->peripheral_id); in atmel_sam_clock_control_off()
63 soc_pmc_peripheral_disable(cfg->peripheral_id); in atmel_sam_clock_control_off()
86 LOG_DBG("Type: %x, Id: %d", cfg->clock_type, cfg->peripheral_id); in atmel_sam_clock_control_get_rate()
116 LOG_DBG("Type: %x, Id: %d", cfg->clock_type, cfg->peripheral_id); in atmel_sam_clock_control_get_status()
120 status = soc_pmc_peripheral_is_enabled(cfg->peripheral_id) > 0 in atmel_sam_clock_control_get_status()
/Zephyr-latest/include/zephyr/drivers/clock_control/
Datmel_sam_pmc.h17 uint32_t peripheral_id; member
23 .peripheral_id = DT_CLOCKS_CELL_BY_IDX(node_id, clock_id, peripheral_id)\
/Zephyr-latest/drivers/dma/
Ddma_sedi.c29 sedi_dma_t peripheral_id; /* Controller instance. */ member
263 sedi_dma_init(info->peripheral_id, (int)channel, cb, (void *)dev); in dma_sedi_chan_config()
317 ret = dma_sedi_apply_single_config(info->peripheral_id, in dma_sedi_start()
325 ret = sedi_dma_start_transfer(info->peripheral_id, channel, in dma_sedi_start()
348 sedi_dma_abort_transfer(info->peripheral_id, channel); in dma_sedi_stop()
375 .peripheral_id = DT_INST_PROP(inst, peripheral_id), \
387 (void *)DT_INST_PROP(inst, peripheral_id), \
/Zephyr-latest/drivers/pinctrl/
Dpinctrl_sam.c67 soc_pin.periph_id = sam_port_clocks[port_idx].peripheral_id; in pinctrl_configure_pin()
/Zephyr-latest/drivers/ipm/
Dipm_sedi.c276 .ipc_device = DT_INST_PROP(n, peripheral_id), \
284 DT_INST_PROP(n, peripheral_id), \
/Zephyr-latest/drivers/gpio/
Dgpio_gecko.c26 #if DT_NODE_HAS_PROP(id, peripheral_id)
27 #define GET_GECKO_GPIO_INDEX(id) DT_INST_PROP(id, peripheral_id)
Dgpio_sedi.c328 .device = DT_INST_PROP(n, peripheral_id), \
/Zephyr-latest/drivers/serial/
Dleuart_gecko.c333 .clock = CLOCK_LEUART(DT_INST_PROP(0, peripheral_id)),
386 .clock = CLOCK_LEUART(DT_INST_PROP(1, peripheral_id)),
Duart_gecko.c28 #elif DT_NODE_HAS_PROP(id, peripheral_id)
34 .clock = CLOCK_USART(DT_INST_PROP(id, peripheral_id)),
36 .clock = CLOCK_UART(DT_INST_PROP(id, peripheral_id)),
Duart_psoc6.c353 .periph_id = DT_INST_PROP(n, peripheral_id), \
Duart_sedi.c57 .instance = DT_INST_PROP(n, peripheral_id), \
/Zephyr-latest/drivers/watchdog/
Dwdt_gecko.c288 .clock = CLOCK_ID(DT_INST_PROP(index, peripheral_id)), \
/Zephyr-latest/drivers/i2c/
Di2c_sedi.c215 .sedi_device = DT_INST_PROP(n, peripheral_id), \