/hal_espressif-3.4.0/components/hal/esp32h2/include/hal/ |
D | clk_gate_ll.h | 28 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() 76 static inline uint32_t periph_ll_get_rst_en_mask(periph_module_t periph, bool enable) in periph_ll_get_rst_en_mask() argument 81 switch (periph) { in periph_ll_get_rst_en_mask() 145 static uint32_t periph_ll_get_clk_en_reg(periph_module_t periph) in periph_ll_get_clk_en_reg() argument 147 switch (periph) { in periph_ll_get_clk_en_reg() 160 static uint32_t periph_ll_get_rst_en_reg(periph_module_t periph) in periph_ll_get_rst_en_reg() argument 162 switch (periph) { in periph_ll_get_rst_en_reg() 175 static inline void periph_ll_enable_clk_clear_rst(periph_module_t periph) in periph_ll_enable_clk_clear_rst() argument 177 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 …]
|
/hal_espressif-3.4.0/components/hal/esp32c3/include/hal/ |
D | clk_gate_ll.h | 28 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() 88 static inline uint32_t periph_ll_get_rst_en_mask(periph_module_t periph, bool enable) in periph_ll_get_rst_en_mask() argument 93 switch (periph) { in periph_ll_get_rst_en_mask() 157 static uint32_t periph_ll_get_clk_en_reg(periph_module_t periph) in periph_ll_get_clk_en_reg() argument 159 switch (periph) { in periph_ll_get_clk_en_reg() 180 static uint32_t periph_ll_get_rst_en_reg(periph_module_t periph) in periph_ll_get_rst_en_reg() argument 182 switch (periph) { in periph_ll_get_rst_en_reg() 203 static inline void periph_ll_enable_clk_clear_rst(periph_module_t periph) in periph_ll_enable_clk_clear_rst() argument 205 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 …]
|
/hal_espressif-3.4.0/components/hal/esp32/include/hal/ |
D | clk_gate_ll.h | 28 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() 102 static inline uint32_t periph_ll_get_rst_en_mask(periph_module_t periph, bool enable) in periph_ll_get_rst_en_mask() argument 104 switch (periph) { in periph_ll_get_rst_en_mask() 182 static inline uint32_t periph_ll_get_clk_en_reg(periph_module_t periph) in periph_ll_get_clk_en_reg() argument 184 switch (periph) { in periph_ll_get_clk_en_reg() 204 static inline uint32_t periph_ll_get_rst_en_reg(periph_module_t periph) in periph_ll_get_rst_en_reg() argument 206 switch (periph) { in periph_ll_get_rst_en_reg() 226 static inline void periph_ll_enable_clk_clear_rst(periph_module_t periph) in periph_ll_enable_clk_clear_rst() argument 228 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 …]
|
/hal_espressif-3.4.0/components/hal/esp32s2/include/hal/ |
D | clk_gate_ll.h | 21 static inline uint32_t periph_ll_get_clk_en_mask(periph_module_t periph) in periph_ll_get_clk_en_mask() argument 23 switch (periph) { in periph_ll_get_clk_en_mask() 91 static inline uint32_t periph_ll_get_rst_en_mask(periph_module_t periph, bool enable) in periph_ll_get_rst_en_mask() argument 95 switch (periph) { in periph_ll_get_rst_en_mask() 188 static inline uint32_t periph_ll_get_clk_en_reg(periph_module_t periph) in periph_ll_get_clk_en_reg() argument 190 switch (periph) { in periph_ll_get_clk_en_reg() 209 static inline uint32_t periph_ll_get_rst_en_reg(periph_module_t periph) in periph_ll_get_rst_en_reg() argument 211 switch (periph) { in periph_ll_get_rst_en_reg() 230 static inline void periph_ll_enable_clk_clear_rst(periph_module_t periph) in periph_ll_enable_clk_clear_rst() argument 232 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 …]
|
/hal_espressif-3.4.0/components/hal/esp32s3/include/hal/ |
D | clk_gate_ll.h | 21 static inline uint32_t periph_ll_get_clk_en_mask(periph_module_t periph) in periph_ll_get_clk_en_mask() argument 23 switch (periph) { in periph_ll_get_clk_en_mask() 105 static inline uint32_t periph_ll_get_rst_en_mask(periph_module_t periph, bool enable) in periph_ll_get_rst_en_mask() argument 107 switch (periph) { in periph_ll_get_rst_en_mask() 195 static uint32_t periph_ll_get_clk_en_reg(periph_module_t periph) in periph_ll_get_clk_en_reg() argument 197 switch (periph) { in periph_ll_get_clk_en_reg() 222 static uint32_t periph_ll_get_rst_en_reg(periph_module_t periph) in periph_ll_get_rst_en_reg() argument 224 switch (periph) { in periph_ll_get_rst_en_reg() 249 static inline void periph_ll_enable_clk_clear_rst(periph_module_t periph) in periph_ll_enable_clk_clear_rst() argument 251 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 …]
|
/hal_espressif-3.4.0/components/driver/ |
D | periph_ctrl.c | 15 void periph_module_enable(periph_module_t periph) in periph_module_enable() argument 17 assert(periph < PERIPH_MODULE_MAX); in periph_module_enable() 19 if (ref_counts[periph] == 0) { in periph_module_enable() 20 periph_ll_enable_clk_clear_rst(periph); in periph_module_enable() 22 ref_counts[periph]++; in periph_module_enable() 26 void periph_module_disable(periph_module_t periph) in periph_module_disable() argument 28 assert(periph < PERIPH_MODULE_MAX); in periph_module_disable() 30 ref_counts[periph]--; in periph_module_disable() 31 if (ref_counts[periph] == 0) { in periph_module_disable() 32 periph_ll_disable_clk_set_rst(periph); in periph_module_disable() [all …]
|
D | adc_common.c | 50 #define ADC_GET_IO_NUM(periph, channel) (adc_channel_io_map[periph][channel]) argument 52 #define ADC_CHANNEL_CHECK(periph, channel) ADC_CHECK(channel < SOC_ADC_CHANNEL_NUM(periph), "ADC"#p… argument
|
D | adc_deprecated.c | 44 #define ADC_CHANNEL_CHECK(periph, channel) ADC_CHECK(channel < SOC_ADC_CHANNEL_NUM(periph), "ADC"#p… argument 45 #define ADC_GET_IO_NUM(periph, channel) (adc_channel_io_map[periph][channel]) argument
|
D | gdma.c | 254 …gdma_ll_enable_m2m_mode(group->hal.dev, pair->pair_id, trig_periph.periph == GDMA_TRIG_PERIPH_M2M); in gdma_connect() 258 if (trig_periph.periph != GDMA_TRIG_PERIPH_M2M) { in gdma_connect() 263 if (trig_periph.periph != GDMA_TRIG_PERIPH_M2M) { in gdma_connect()
|
D | adc.c | 48 #define ADC_GET_IO_NUM(periph, channel) (adc_channel_io_map[periph][channel]) argument
|
D | i2s.c | 502 gdma_trigger_t trig = {.periph = GDMA_TRIG_PERIPH_I2S}; in i2s_dma_intr_init()
|
/hal_espressif-3.4.0/components/driver/include/driver/ |
D | periph_ctrl.h | 30 void periph_module_enable(periph_module_t periph); 46 void periph_module_disable(periph_module_t periph); 60 void periph_module_reset(periph_module_t periph);
|
/hal_espressif-3.4.0/components/driver/esp32/ |
D | adc.c | 34 #define ADC_GET_IO_NUM(periph, channel) (adc_channel_io_map[periph][channel]) argument
|
/hal_espressif-3.4.0/components/driver/include/esp_private/ |
D | gdma.h | 126 gdma_trigger_peripheral_t periph; /*!< Target peripheral which will trigger DMA operations */ member 137 (gdma_trigger_t) { .periph = peri, .instance_id = SOC_##peri##id }
|
/hal_espressif-3.4.0/zephyr/esp_shared/components/driver/ |
D | adc_common.c | 51 #define ADC_GET_IO_NUM(periph, channel) (adc_channel_io_map[periph][channel]) argument 53 #define ADC_CHANNEL_CHECK(periph, channel) ADC_CHECK(channel < SOC_ADC_CHANNEL_NUM(periph), \ argument 54 "ADC"#periph" channel error", ESP_ERR_INVALID_ARG)
|
D | adc.c | 38 #define ADC_GET_IO_NUM(periph, channel) (adc_channel_io_map[periph][channel]) argument
|
/hal_espressif-3.4.0/components/driver/test/ |
D | test_adc_common.c | 69 #define ADC_GET_IO_NUM(periph, channel) (adc_channel_io_map[periph][channel]) argument
|