Home
last modified time | relevance | path

Searched refs:clock_val (Results 1 – 13 of 13) sorted by relevance

/hal_espressif-latest/components/hal/esp32c6/include/hal/
Dspimem_flash_ll.h409 …c inline void spimem_flash_ll_set_clock(spi_mem_dev_t *dev, spimem_flash_ll_clock_reg_t *clock_val) in spimem_flash_ll_set_clock() argument
411 dev->clock.val = *clock_val; in spimem_flash_ll_set_clock()
557 uint8_t clock_val = 0; in spimem_flash_ll_get_source_freq_mhz() local
562 clock_val = 120; in spimem_flash_ll_get_source_freq_mhz()
565 clock_val = 96; in spimem_flash_ll_get_source_freq_mhz()
568 clock_val = 80; in spimem_flash_ll_get_source_freq_mhz()
577 clock_val = 40; in spimem_flash_ll_get_source_freq_mhz()
580 clock_val = 20; in spimem_flash_ll_get_source_freq_mhz()
583 clock_val = 10; in spimem_flash_ll_get_source_freq_mhz()
590 return clock_val; in spimem_flash_ll_get_source_freq_mhz()
Dgpspi_flash_ll.h246 static inline void gpspi_flash_ll_set_clock(spi_dev_t *dev, gpspi_flash_ll_clock_reg_t *clock_val) in gpspi_flash_ll_set_clock() argument
248 dev->clock.val = *clock_val; in gpspi_flash_ll_set_clock()
/hal_espressif-latest/components/hal/esp32s3/include/hal/
Dspimem_flash_ll.h418 …c inline void spimem_flash_ll_set_clock(spi_mem_dev_t *dev, spimem_flash_ll_clock_reg_t *clock_val) in spimem_flash_ll_set_clock() argument
420 dev->clock.val = *clock_val; in spimem_flash_ll_set_clock()
568 uint8_t clock_val = 0; in spimem_flash_ll_get_source_freq_mhz() local
571 clock_val = 80; in spimem_flash_ll_get_source_freq_mhz()
574 clock_val = 120; in spimem_flash_ll_get_source_freq_mhz()
577 clock_val = 160; in spimem_flash_ll_get_source_freq_mhz()
580 clock_val = 240; in spimem_flash_ll_get_source_freq_mhz()
585 return clock_val; in spimem_flash_ll_get_source_freq_mhz()
Dgpspi_flash_ll.h251 static inline void gpspi_flash_ll_set_clock(spi_dev_t *dev, gpspi_flash_ll_clock_reg_t *clock_val) in gpspi_flash_ll_set_clock() argument
253 dev->clock.val = *clock_val; in gpspi_flash_ll_set_clock()
/hal_espressif-latest/components/hal/esp32h2/include/hal/
Dspimem_flash_ll.h431 …c inline void spimem_flash_ll_set_clock(spi_mem_dev_t *dev, spimem_flash_ll_clock_reg_t *clock_val) in spimem_flash_ll_set_clock() argument
433 dev->clock.val = *clock_val; in spimem_flash_ll_set_clock()
576 uint8_t clock_val = 0; in spimem_flash_ll_get_source_freq_mhz() local
579 clock_val = 32; in spimem_flash_ll_get_source_freq_mhz()
582 clock_val = 8; in spimem_flash_ll_get_source_freq_mhz()
585 clock_val = 64; in spimem_flash_ll_get_source_freq_mhz()
588 clock_val = 32; in spimem_flash_ll_get_source_freq_mhz()
593 return clock_val; in spimem_flash_ll_get_source_freq_mhz()
Dgpspi_flash_ll.h246 static inline void gpspi_flash_ll_set_clock(spi_dev_t *dev, gpspi_flash_ll_clock_reg_t *clock_val) in gpspi_flash_ll_set_clock() argument
248 dev->clock.val = *clock_val; in gpspi_flash_ll_set_clock()
/hal_espressif-latest/components/hal/esp32s2/include/hal/
Dspimem_flash_ll.h404 …c inline void spimem_flash_ll_set_clock(spi_mem_dev_t *dev, spimem_flash_ll_clock_reg_t *clock_val) in spimem_flash_ll_set_clock() argument
406 dev->clock.val = *clock_val; in spimem_flash_ll_set_clock()
547 uint8_t clock_val = 0; in spimem_flash_ll_get_source_freq_mhz() local
550 clock_val = 80; in spimem_flash_ll_get_source_freq_mhz()
553 clock_val = 120; in spimem_flash_ll_get_source_freq_mhz()
556 clock_val = 160; in spimem_flash_ll_get_source_freq_mhz()
561 return clock_val; in spimem_flash_ll_get_source_freq_mhz()
Dgpspi_flash_ll.h244 static inline void gpspi_flash_ll_set_clock(spi_dev_t *dev, gpspi_flash_ll_clock_reg_t *clock_val) in gpspi_flash_ll_set_clock() argument
246 dev->clock.val = *clock_val; in gpspi_flash_ll_set_clock()
/hal_espressif-latest/components/hal/esp32c3/include/hal/
Dspimem_flash_ll.h408 …c inline void spimem_flash_ll_set_clock(spi_mem_dev_t *dev, spimem_flash_ll_clock_reg_t *clock_val) in spimem_flash_ll_set_clock() argument
410 dev->clock.val = *clock_val; in spimem_flash_ll_set_clock()
557 uint8_t clock_val = 0; in spimem_flash_ll_get_source_freq_mhz() local
560 clock_val = 80; in spimem_flash_ll_get_source_freq_mhz()
563 clock_val = 120; in spimem_flash_ll_get_source_freq_mhz()
566 clock_val = 160; in spimem_flash_ll_get_source_freq_mhz()
571 return clock_val; in spimem_flash_ll_get_source_freq_mhz()
Dgpspi_flash_ll.h246 static inline void gpspi_flash_ll_set_clock(spi_dev_t *dev, gpspi_flash_ll_clock_reg_t *clock_val) in gpspi_flash_ll_set_clock() argument
248 dev->clock.val = *clock_val; in gpspi_flash_ll_set_clock()
/hal_espressif-latest/components/hal/esp32/include/hal/
Dspi_flash_ll.h279 static inline void spi_flash_ll_set_clock(spi_dev_t *dev, spi_flash_ll_clock_reg_t *clock_val) in spi_flash_ll_set_clock() argument
281 dev->clock.val = *clock_val; in spi_flash_ll_set_clock()
/hal_espressif-latest/components/hal/esp32c2/include/hal/
Dgpspi_flash_ll.h246 static inline void gpspi_flash_ll_set_clock(spi_dev_t *dev, gpspi_flash_ll_clock_reg_t *clock_val) in gpspi_flash_ll_set_clock() argument
248 dev->clock = *clock_val; in gpspi_flash_ll_set_clock()
Dspimem_flash_ll.h408 …c inline void spimem_flash_ll_set_clock(spi_mem_dev_t *dev, spimem_flash_ll_clock_reg_t *clock_val) in spimem_flash_ll_set_clock() argument
410 dev->clock.val = *clock_val; in spimem_flash_ll_set_clock()