Home
last modified time | relevance | path

Searched refs:bus_freq (Results 1 – 7 of 7) sorted by relevance

/Zephyr-Core-3.7.0/drivers/flash/
Dflash_stm32_xspi.h28 #define STM32_XSPI_CLOCK_COMPUTE(bus_freq, prescaler) ((bus_freq) / ((prescaler) + 1U)) argument
Dflash_stm32_ospi.c63 #define STM32_OSPI_CLOCK_COMPUTE(bus_freq, prescaler) ((bus_freq) / ((prescaler) + 1U)) argument
68 #define STM32_OSPI_CLOCK_COMPUTE(bus_freq, prescaler) ((bus_freq) / (prescaler)) argument
/Zephyr-Core-3.7.0/drivers/i2c/
Di2c_npcx_controller.c154 uint32_t bus_freq; /* operation freq of i2c */ member
379 enum npcx_i2c_freq bus_freq) in i2c_ctrl_config_bus_freq() argument
384 data->ptr_speed_confs[bus_freq]; in i2c_ctrl_config_bus_freq()
390 if (bus_freq == NPCX_I2C_BUS_SPEED_100KHZ) { in i2c_ctrl_config_bus_freq()
949 data->bus_freq = NPCX_I2C_BUS_SPEED_100KHZ; in npcx_i2c_ctrl_configure()
952 data->bus_freq = NPCX_I2C_BUS_SPEED_400KHZ; in npcx_i2c_ctrl_configure()
955 data->bus_freq = NPCX_I2C_BUS_SPEED_1MHZ; in npcx_i2c_ctrl_configure()
961 i2c_ctrl_config_bus_freq(i2c_dev, data->bus_freq); in npcx_i2c_ctrl_configure()
975 switch (data->bus_freq) { in npcx_i2c_ctrl_get_speed()
Di2c_ite_it8xxx2.c89 uint32_t bus_freq; member
269 data->bus_freq = I2C_SPEED_GET(dev_config_raw); in i2c_it8xxx2_configure()
271 switch (data->bus_freq) { in i2c_it8xxx2_configure()
299 if (!data->bus_freq) { in i2c_it8xxx2_get_config()
304 switch (data->bus_freq) { in i2c_it8xxx2_get_config()
309 speed = I2C_SPEED_SET(data->bus_freq); in i2c_it8xxx2_get_config()
Di2c_ite_enhance.c128 uint32_t bus_freq; member
363 data->bus_freq = I2C_SPEED_GET(dev_config_raw); in i2c_enhance_configure()
375 if (!data->bus_freq) { in i2c_enhance_get_config()
380 switch (data->bus_freq) { in i2c_enhance_get_config()
385 speed = I2C_SPEED_SET(data->bus_freq); in i2c_enhance_get_config()
/Zephyr-Core-3.7.0/drivers/spi/
Dspi_gd32.c126 uint32_t bus_freq; in spi_gd32_configure() local
177 &bus_freq); in spi_gd32_configure()
180 bus_freq = bus_freq >> 1U; in spi_gd32_configure()
181 if (bus_freq <= config->frequency) { in spi_gd32_configure()
Dspi_psoc6.c169 uint32_t bus_freq = 100000000UL; in spi_psoc6_get_freqdiv() local
177 if ((bus_freq / oversample) <= frequency) { in spi_psoc6_get_freqdiv()