Searched refs:input_delay_ns (Results 1 – 8 of 8) sorted by relevance
/device/soc/esp/esp32/components/hal/ |
D | spi_hal.c | 91 …spi_hal_cal_timing(eff_clk_n, timing_param->use_gpio, timing_param->input_delay_ns, &temp_conf.tim… in spi_hal_cal_clock_conf() 94 …onst int freq_limit = spi_hal_get_freq_limit(timing_param->use_gpio, timing_param->input_delay_ns); in spi_hal_cal_clock_conf() 118 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 126 int delay_apb_n = (1 + input_delay_ns + gpio_delay_ns) * apbclk_kHz / 1000 / 1000; in spi_hal_cal_timing() 149 int spi_hal_get_freq_limit(bool gpio_is_used, int input_delay_ns) in spi_hal_get_freq_limit() argument 155 int delay_apb_n = (1 + input_delay_ns + gpio_delay_ns) * apbclk_kHz / 1000 / 1000; in spi_hal_get_freq_limit()
|
D | spi_flash_hal.c | 58 static inline int get_dummy_n(bool gpio_is_used, int input_delay_ns, int eff_clk) in get_dummy_n() argument 66 int apb_period_n = (1 + input_delay_ns + gpio_delay_ns) * apbclk_kHz / 1000 / 1000; in get_dummy_n() 90 .extra_dummy = get_dummy_n(!cfg->iomux, cfg->input_delay_ns, APB_CLK_FREQ/clock_cfg->div), in spi_flash_hal_init()
|
/device/soc/esp/esp32/components/spi_flash/ |
D | esp_flash_spi_init.c | 73 .input_delay_ns = 0,\ 82 .input_delay_ns = 0,\ 92 .input_delay_ns = 0,\ 103 .input_delay_ns = 0,\ 112 .input_delay_ns = 0,\ 212 .input_delay_ns = config->input_delay_ns, in spi_bus_add_flash_device()
|
/device/soc/esp/esp32/components/hal/include/hal/ |
D | spi_hal.h | 50 …uint32_t input_delay_ns; /**< Maximum delay between SPI launch clock and the data to be… member 259 void spi_hal_cal_timing(int eff_clk, bool gpio_is_used, int input_delay_ns, int *dummy_n, int *miso… 269 int spi_hal_get_freq_limit(bool gpio_is_used, int input_delay_ns);
|
D | spi_flash_hal.h | 63 …int input_delay_ns; ///< Input delay on the MISO pin after the launch clock, used for timing c… member
|
/device/soc/esp/esp32/components/driver/include/driver/ |
D | spi_master.h | 76 …int input_delay_ns; /**< Maximum data valid time of slave. The time required between S… member 377 void spi_get_timing(bool gpio_is_used, int input_delay_ns, int eff_clk, int* dummy_o, int* cycles_r… 388 int spi_get_freq_limit(bool gpio_is_used, int input_delay_ns);
|
/device/soc/esp/esp32/components/spi_flash/include/ |
D | esp_flash_spi_init.h | 30 int input_delay_ns; ///< Input delay of the data pins, in ns. Set to 0 if unknown. member
|
/device/soc/esp/esp32/components/driver/ |
D | spi_master.c | 293 void spi_get_timing(bool gpio_is_used, int input_delay_ns, int eff_clk, int* dummy_o, int* cycles_r… in spi_get_timing() argument 298 spi_hal_cal_timing(eff_clk, gpio_is_used, input_delay_ns, &timing_dummy, &timing_miso_delay); in spi_get_timing() 303 int spi_get_freq_limit(bool gpio_is_used, int input_delay_ns) in spi_get_freq_limit() argument 305 return spi_hal_get_freq_limit(gpio_is_used, input_delay_ns); in spi_get_freq_limit() 360 .input_delay_ns = dev_config->input_delay_ns, in spi_bus_add_device()
|