Home
last modified time | relevance | path

Searched refs:periph (Results 1 – 17 of 17) sorted by relevance

/device/soc/esp/esp32/components/hal/esp32/include/hal/
Dclk_gate_ll.h28 static inline uint32_t periph_ll_get_clk_en_mask(periph_module_t periph) in periph_ll_get_clk_en_mask() argument
30 switch (periph) { in periph_ll_get_clk_en_mask()
106 static inline uint32_t periph_ll_get_rst_en_mask(periph_module_t periph, bool enable) in periph_ll_get_rst_en_mask() argument
108 switch (periph) { in periph_ll_get_rst_en_mask()
190 static inline uint32_t periph_ll_get_clk_en_reg(periph_module_t periph) in periph_ll_get_clk_en_reg() argument
192 switch (periph) { in periph_ll_get_clk_en_reg()
212 static inline uint32_t periph_ll_get_rst_en_reg(periph_module_t periph) in periph_ll_get_rst_en_reg() argument
214 switch (periph) { in periph_ll_get_rst_en_reg()
234 static inline void periph_ll_enable_clk_clear_rst(periph_module_t periph) in periph_ll_enable_clk_clear_rst() argument
236 DPORT_SET_PERI_REG_MASK(periph_ll_get_clk_en_reg(periph), periph_ll_get_clk_en_mask(periph)); in periph_ll_enable_clk_clear_rst()
[all …]
/device/soc/esp/esp32/components/driver/
Dperiph_ctrl.c23 void periph_module_enable(periph_module_t periph) in periph_module_enable() argument
25 assert(periph < PERIPH_MODULE_MAX); in periph_module_enable()
27 if (ref_counts[periph] == 0) { in periph_module_enable()
28 periph_ll_enable_clk_clear_rst(periph); in periph_module_enable()
30 ref_counts[periph]++; in periph_module_enable()
34 void periph_module_disable(periph_module_t periph) in periph_module_disable() argument
36 assert(periph < PERIPH_MODULE_MAX); in periph_module_disable()
38 ref_counts[periph]--; in periph_module_disable()
39 if (ref_counts[periph] == 0) { in periph_module_disable()
40 periph_ll_disable_clk_set_rst(periph); in periph_module_disable()
[all …]
Dadc_common.c55 #define ADC_GET_IO_NUM(periph, channel) (adc_channel_io_map[periph][channel]) argument
57 #define ADC_CHANNEL_CHECK(periph, channel) ADC_CHECK(channel < SOC_ADC_CHANNEL_NUM(periph), "ADC"#p… argument
Dgdma.c251 …gdma_ll_enable_m2m_mode(group->hal.dev, pair->pair_id, trig_periph.periph == GDMA_TRIG_PERIPH_M2M); in gdma_connect()
255 if (trig_periph.periph != GDMA_TRIG_PERIPH_M2M) { in gdma_connect()
260 if (trig_periph.periph != GDMA_TRIG_PERIPH_M2M) { in gdma_connect()
/device/soc/esp/esp32/components/driver/include/driver/
Dperiph_ctrl.h38 void periph_module_enable(periph_module_t periph);
54 void periph_module_disable(periph_module_t periph);
68 void periph_module_reset(periph_module_t periph);
/device/soc/esp/esp32/components/driver/esp32/
Dadc.c64 #define ADC_GET_IO_NUM(periph, channel) (adc_channel_io_map[periph][channel]) argument
66 #define ADC_CHANNEL_CHECK(periph, channel) ADC_CHECK(channel < SOC_ADC_CHANNEL_NUM(periph), "ADC"#p… argument
/device/soc/bestechnic/bes2600/liteos_m/sdk/bsp/platform/hal/
Dhal_dma.c55 const enum HAL_DMA_PERIPH_T *periph; member
109 .periph = audma_fifo_periph,
117 .periph = gpdma_fifo_periph,
207 static inline int get_index_from_periph(enum HAL_DMA_PERIPH_T periph, enum HAL_DMA_INST_T *pinst, u… in get_index_from_periph() argument
214 if (fifo_periph[inst].periph[i] == periph) { in get_index_from_periph()
226 … get_remap_index_from_periph(enum HAL_DMA_INST_T inst, enum HAL_DMA_PERIPH_T periph, uint8_t *pidx) in get_remap_index_from_periph() argument
235 if (fifo_periph[inst].periph_remap[i] == periph) { in get_remap_index_from_periph()
245 static inline uint32_t hal_dma_get_periph_addr(enum HAL_DMA_PERIPH_T periph) in hal_dma_get_periph_addr() argument
251 ret = get_index_from_periph(periph, &inst, &index); in hal_dma_get_periph_addr()
650 uint8_t hal_dma_get_chan(enum HAL_DMA_PERIPH_T periph, enum HAL_DMA_GET_CHAN_T policy) in hal_dma_get_chan() argument
[all …]
Dhal_dma.h210 uint8_t hal_dma_get_chan(enum HAL_DMA_PERIPH_T periph, enum HAL_DMA_GET_CHAN_T policy);
247 void hal_dma_remap_periph(enum HAL_DMA_PERIPH_T periph, int enable);
Dhal_uart.c955 enum HAL_DMA_PERIPH_T periph; in start_recv_dma_with_mask() local
1043 periph = uart[id].rx_periph; in start_recv_dma_with_mask()
1069 dma_cfg.src_periph = periph; in start_recv_dma_with_mask()
1105 dma_cfg.ch = hal_gpdma_get_chan(periph, HAL_DMA_HIGH_PRIO); in start_recv_dma_with_mask()
1298 enum HAL_DMA_PERIPH_T periph; in hal_uart_dma_send() local
1327 periph = uart[id].tx_periph; in hal_uart_dma_send()
1334 send_dma_chan[id] = hal_gpdma_get_chan(periph, HAL_DMA_HIGH_PRIO); in hal_uart_dma_send()
1347 dma_cfg.dst_periph = periph; in hal_uart_dma_send()
/device/soc/esp/esp32/components/driver/include/esp_private/
Dgdma.h117 gdma_trigger_peripheral_t periph; /*!< Target peripheral which will trigger DMA operations */ member
128 (gdma_trigger_t) { .periph = peri, .instance_id = SOC_##peri##id }
/device/board/isoftstone/zhiyuan/bootloader/configs/zhiyuan/linux-5.10/
Dboard.dts491 compatible = "allwinner,periph-clock";
500 compatible = "allwinner,periph-clock";
506 compatible = "allwinner,periph-clock";
512 compatible = "allwinner,periph-clock";
517 compatible = "allwinner,periph-clock";
524 compatible = "allwinner,periph-clock";
529 compatible = "allwinner,periph-clock";
535 compatible = "allwinner,periph-clock";
542 compatible = "allwinner,periph-clock";
548 compatible = "allwinner,periph-clock";
[all …]
/device/soc/chipsea/cst85/liteos_m/sdk/bsp/driver/dma/
Ddma_api_bt.h53 uint32_t dma_cx_get_periph_addr(DMA_CX_PERIPH_ENUM periph);
/device/soc/bestechnic/bes2600/liteos_m/sdk/bsp/platform/hal/best2003/
Dhal_cmu_best2003.c2769 enum HAL_DMA_PERIPH_T periph; member
2814 enum CMU_DMA_REQ_T BOOT_TEXT_FLASH_LOC hal_dma_periph_2_idx(enum HAL_DMA_PERIPH_T periph) in hal_dma_periph_2_idx() argument
2818 if (periph_map[i].periph == periph) in hal_dma_periph_2_idx()
/device/soc/rockchip/rk3588/kernel/arch/arm64/boot/dts/rockchip/
Drk3588s.dtsi4170 arm,pl330-periph-burst;
4181 arm,pl330-periph-burst;
4812 arm,pl330-periph-burst;
D.rk3588-bearkey-bq3588c1-linux.dtb.dts.tmp4211 arm,pl330-periph-burst;
4222 arm,pl330-periph-burst;
4853 arm,pl330-periph-burst;
/device/board/isoftstone/zhiyuan/bootloader/configs/default/linux-5.10/
Dsun50iw9.dtsi949 clock-names = "hosc", "losc", "iosc", "pll-periph";
/device/board/kaihong/khdvk_3566b/kernel/
Drk3566-rp-kh.dts3096 arm,pl330-periph-burst;
3107 arm,pl330-periph-burst;