Home
last modified time | relevance | path

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

/hal_espressif-3.4.0/components/hal/esp32/include/hal/
Dspi_flash_ll.h395 static inline void spi_flash_ll_set_dummy(spi_dev_t *dev, uint32_t dummy_n) in spi_flash_ll_set_dummy() argument
397 dev->user.usr_dummy = dummy_n ? 1 : 0; in spi_flash_ll_set_dummy()
398 HAL_FORCE_MODIFY_U32_REG_FIELD(dev->user1, usr_dummy_cyclelen, dummy_n - 1); in spi_flash_ll_set_dummy()
Dspi_ll.h705 static inline void spi_ll_set_dummy(spi_dev_t *hw, int dummy_n) in spi_ll_set_dummy() argument
707 hw->user.usr_dummy = dummy_n ? 1 : 0; in spi_ll_set_dummy()
708 HAL_FORCE_MODIFY_U32_REG_FIELD(hw->user1, usr_dummy_cyclelen, dummy_n - 1); in spi_ll_set_dummy()
/hal_espressif-3.4.0/components/hal/esp32c3/include/hal/
Dgpspi_flash_ll.h365 static inline void gpspi_flash_ll_set_dummy(spi_dev_t *dev, uint32_t dummy_n) in gpspi_flash_ll_set_dummy() argument
367 dev->user.usr_dummy = dummy_n ? 1 : 0; in gpspi_flash_ll_set_dummy()
368 HAL_FORCE_MODIFY_U32_REG_FIELD(dev->user1, usr_dummy_cyclelen, dummy_n - 1); in gpspi_flash_ll_set_dummy()
Dspimem_flash_ll.h521 static inline void spimem_flash_ll_set_dummy(spi_mem_dev_t *dev, uint32_t dummy_n) in spimem_flash_ll_set_dummy() argument
523 dev->user.usr_dummy = dummy_n ? 1 : 0; in spimem_flash_ll_set_dummy()
524 dev->user1.usr_dummy_cyclelen = dummy_n - 1; in spimem_flash_ll_set_dummy()
Dspi_ll.h920 static inline void spi_ll_set_dummy(spi_dev_t *hw, int dummy_n) in spi_ll_set_dummy() argument
922 hw->user.usr_dummy = dummy_n ? 1 : 0; in spi_ll_set_dummy()
923 HAL_FORCE_MODIFY_U32_REG_FIELD(hw->user1, usr_dummy_cyclelen, dummy_n - 1); in spi_ll_set_dummy()
/hal_espressif-3.4.0/components/hal/esp32h2/include/hal/
Dgpspi_flash_ll.h365 static inline void gpspi_flash_ll_set_dummy(spi_dev_t *dev, uint32_t dummy_n) in gpspi_flash_ll_set_dummy() argument
367 dev->user.usr_dummy = dummy_n ? 1 : 0; in gpspi_flash_ll_set_dummy()
368 HAL_FORCE_MODIFY_U32_REG_FIELD(dev->user1, usr_dummy_cyclelen, dummy_n - 1); in gpspi_flash_ll_set_dummy()
Dspimem_flash_ll.h521 static inline void spimem_flash_ll_set_dummy(spi_mem_dev_t *dev, uint32_t dummy_n) in spimem_flash_ll_set_dummy() argument
523 dev->user.usr_dummy = dummy_n ? 1 : 0; in spimem_flash_ll_set_dummy()
524 dev->user1.usr_dummy_cyclelen = dummy_n - 1; in spimem_flash_ll_set_dummy()
Dspi_ll.h923 static inline void spi_ll_set_dummy(spi_dev_t *hw, int dummy_n) in spi_ll_set_dummy() argument
925 hw->user.usr_dummy = dummy_n ? 1 : 0; in spi_ll_set_dummy()
926 HAL_FORCE_MODIFY_U32_REG_FIELD(hw->user1, usr_dummy_cyclelen, dummy_n - 1); in spi_ll_set_dummy()
/hal_espressif-3.4.0/components/hal/esp32s2/include/hal/
Dgpspi_flash_ll.h359 static inline void gpspi_flash_ll_set_dummy(spi_dev_t *dev, uint32_t dummy_n) in gpspi_flash_ll_set_dummy() argument
361 dev->user.usr_dummy = dummy_n ? 1 : 0; in gpspi_flash_ll_set_dummy()
362 HAL_FORCE_MODIFY_U32_REG_FIELD(dev->user1, usr_dummy_cyclelen, dummy_n - 1); in gpspi_flash_ll_set_dummy()
Dspimem_flash_ll.h517 static inline void spimem_flash_ll_set_dummy(spi_mem_dev_t *dev, uint32_t dummy_n) in spimem_flash_ll_set_dummy() argument
519 dev->user.usr_dummy = dummy_n ? 1 : 0; in spimem_flash_ll_set_dummy()
520 HAL_FORCE_MODIFY_U32_REG_FIELD(dev->user1, usr_dummy_cyclelen, dummy_n - 1); in spimem_flash_ll_set_dummy()
Dspi_ll.h731 static inline void spi_ll_set_dummy(spi_dev_t *hw, int dummy_n) in spi_ll_set_dummy() argument
733 hw->user.usr_dummy = dummy_n ? 1 : 0; in spi_ll_set_dummy()
734 HAL_FORCE_MODIFY_U32_REG_FIELD(hw->user1, usr_dummy_cyclelen, dummy_n - 1); in spi_ll_set_dummy()
/hal_espressif-3.4.0/components/hal/esp32s3/include/hal/
Dgpspi_flash_ll.h371 static inline void gpspi_flash_ll_set_dummy(spi_dev_t *dev, uint32_t dummy_n) in gpspi_flash_ll_set_dummy() argument
373 dev->user.usr_dummy = dummy_n ? 1 : 0; in gpspi_flash_ll_set_dummy()
374 HAL_FORCE_MODIFY_U32_REG_FIELD(dev->user1, usr_dummy_cyclelen, dummy_n - 1) in gpspi_flash_ll_set_dummy()
Dspimem_flash_ll.h531 static inline void spimem_flash_ll_set_dummy(spi_mem_dev_t *dev, uint32_t dummy_n) in spimem_flash_ll_set_dummy() argument
533 dev->user.usr_dummy = dummy_n ? 1 : 0; in spimem_flash_ll_set_dummy()
534 dev->user1.usr_dummy_cyclelen = dummy_n - 1; in spimem_flash_ll_set_dummy()
Dspi_ll.h931 static inline void spi_ll_set_dummy(spi_dev_t *hw, int dummy_n) in spi_ll_set_dummy() argument
933 hw->user.usr_dummy = dummy_n ? 1 : 0; in spi_ll_set_dummy()
934 HAL_FORCE_MODIFY_U32_REG_FIELD(hw->user1, usr_dummy_cyclelen, dummy_n - 1); in spi_ll_set_dummy()
/hal_espressif-3.4.0/components/hal/
Dspi_hal.c119 void spi_hal_cal_timing(int eff_clk, bool gpio_is_used, int input_delay_ns, int *dummy_n, int *miso… in spi_hal_cal_timing() argument
145 *dummy_n = dummy_required; in spi_hal_cal_timing()
/hal_espressif-3.4.0/components/hal/include/hal/
Dspi_hal.h261 void spi_hal_cal_timing(int eff_clk, bool gpio_is_used, int input_delay_ns, int *dummy_n, int *miso…
/hal_espressif-3.4.0/components/driver/test/
Dtest_spi_master.c945 void test_dummy(spi_device_handle_t spi, int dummy_n, uint8_t *data_to_send, int len) in test_dummy() argument
947 ESP_LOGI(TAG, "testing dummy n=%d", dummy_n); in test_dummy()
948 WORD_ALIGNED_ATTR uint8_t slave_buffer[len + (dummy_n + 7) / 8]; in test_dummy()
952 ….length = len * 8 + ((dummy_n + 7) & (~8)) + 32, //receive more bytes to avoid slave discarding da… in test_dummy()
964 .dummy_bits = dummy_n, in test_dummy()
973 int skip_cnt = dummy_n / 8; in test_dummy()
974 int dummy_remain = dummy_n % 8; in test_dummy()