Searched refs:peripheral_id (Results 1 – 15 of 15) sorted by relevance
/Zephyr-Core-3.5.0/drivers/spi/ |
D | spi_b91.c | 33 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 …]
|
D | spi_gecko.c | 32 #if DT_NODE_HAS_PROP(n, peripheral_id) 34 #define GET_GECKO_USART_CLOCK(n) CLOCK_USART(DT_INST_PROP(n, peripheral_id))
|
D | spi_psoc6.c | 414 .periph_id = DT_INST_PROP(n, peripheral_id), \
|
/Zephyr-Core-3.5.0/drivers/clock_control/ |
D | clock_control_sam_pmc.c | 33 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/ |
D | atmel_sam_pmc.h | 17 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/ |
D | pinctrl_sam.c | 67 soc_pin.periph_id = sam_port_clocks[port_idx].peripheral_id; in pinctrl_configure_pin()
|
/Zephyr-Core-3.5.0/drivers/ipm/ |
D | ipm_sedi.c | 276 .ipc_device = DT_INST_PROP(n, peripheral_id), \ 284 DT_INST_PROP(n, peripheral_id), \
|
/Zephyr-Core-3.5.0/drivers/gpio/ |
D | gpio_gecko.c | 25 #if DT_NODE_HAS_PROP(id, peripheral_id) 26 #define GET_GECKO_GPIO_INDEX(id) DT_INST_PROP(id, peripheral_id)
|
D | gpio_sedi.c | 326 .device = DT_INST_PROP(n, peripheral_id), \
|
/Zephyr-Core-3.5.0/drivers/serial/ |
D | leuart_gecko.c | 333 .clock = CLOCK_LEUART(DT_INST_PROP(0, peripheral_id)), 386 .clock = CLOCK_LEUART(DT_INST_PROP(1, peripheral_id)),
|
D | uart_gecko.c | 21 #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))
|
D | uart_psoc6.c | 351 .periph_id = DT_INST_PROP(n, peripheral_id), \
|
D | uart_sedi.c | 57 .instance = DT_INST_PROP(n, peripheral_id), \
|
/Zephyr-Core-3.5.0/drivers/watchdog/ |
D | wdt_gecko.c | 288 .clock = CLOCK_ID(DT_INST_PROP(index, peripheral_id)), \
|
/Zephyr-Core-3.5.0/drivers/i2c/ |
D | i2c_sedi.c | 210 .sedi_device = DT_INST_PROP(n, peripheral_id), \
|