Home
last modified time | relevance | path

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

/Zephyr-Core-3.5.0/drivers/spi/
Dspi_b91.c33 uint8_t peripheral_id; member
58 if (config->peripheral_id == PSPI_MODULE) { in spi_b91_hw_cs_disable()
104 if (b91_config->peripheral_id == PSPI_MODULE) { in spi_b91_config_cs()
113 if (b91_config->peripheral_id == PSPI_MODULE) { in spi_b91_config_cs()
152 static void spi_b91_tx(uint8_t peripheral_id, struct spi_context *ctx, uint8_t len) in spi_b91_tx() argument
163 while (reg_spi_fifo_state(peripheral_id) & FLD_SPI_TXF_FULL) { in spi_b91_tx()
165 reg_spi_wr_rd_data(peripheral_id, i % 4) = tx; in spi_b91_tx()
171 static void spi_b91_rx(uint8_t peripheral_id, struct spi_context *ctx, uint8_t len) in spi_b91_rx() argument
176 while (reg_spi_fifo_state(peripheral_id) & FLD_SPI_RXF_EMPTY) { in spi_b91_rx()
178 rx = reg_spi_wr_rd_data(peripheral_id, i % 4); in spi_b91_rx()
[all …]
Dspi_gecko.c32 #if DT_NODE_HAS_PROP(n, peripheral_id)
34 #define GET_GECKO_USART_CLOCK(n) CLOCK_USART(DT_INST_PROP(n, peripheral_id))
Dspi_psoc6.c414 .periph_id = DT_INST_PROP(n, peripheral_id), \
/Zephyr-Core-3.5.0/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-Core-3.5.0/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-Core-3.5.0/drivers/pinctrl/
Dpinctrl_sam.c67 soc_pin.periph_id = sam_port_clocks[port_idx].peripheral_id; in pinctrl_configure_pin()
/Zephyr-Core-3.5.0/drivers/ipm/
Dipm_sedi.c276 .ipc_device = DT_INST_PROP(n, peripheral_id), \
284 DT_INST_PROP(n, peripheral_id), \
/Zephyr-Core-3.5.0/drivers/gpio/
Dgpio_gecko.c25 #if DT_NODE_HAS_PROP(id, peripheral_id)
26 #define GET_GECKO_GPIO_INDEX(id) DT_INST_PROP(id, peripheral_id)
Dgpio_sedi.c326 .device = DT_INST_PROP(n, peripheral_id), \
/Zephyr-Core-3.5.0/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.c21 #if DT_NODE_HAS_PROP(id, peripheral_id)
26 #define GET_GECKO_USART_CLOCK(id) CLOCK_USART(DT_INST_PROP(id, peripheral_id))
27 #define GET_GECKO_UART_CLOCK(id) CLOCK_UART(DT_INST_PROP(id, peripheral_id))
Duart_psoc6.c351 .periph_id = DT_INST_PROP(n, peripheral_id), \
Duart_sedi.c57 .instance = DT_INST_PROP(n, peripheral_id), \
/Zephyr-Core-3.5.0/drivers/watchdog/
Dwdt_gecko.c288 .clock = CLOCK_ID(DT_INST_PROP(index, peripheral_id)), \
/Zephyr-Core-3.5.0/drivers/i2c/
Di2c_sedi.c210 .sedi_device = DT_INST_PROP(n, peripheral_id), \