Searched refs:bus_freq (Results 1 – 7 of 7) sorted by relevance
28 #define STM32_XSPI_CLOCK_COMPUTE(bus_freq, prescaler) ((bus_freq) / ((prescaler) + 1U)) argument
63 #define STM32_OSPI_CLOCK_COMPUTE(bus_freq, prescaler) ((bus_freq) / ((prescaler) + 1U)) argument68 #define STM32_OSPI_CLOCK_COMPUTE(bus_freq, prescaler) ((bus_freq) / (prescaler)) argument
154 uint32_t bus_freq; /* operation freq of i2c */ member379 enum npcx_i2c_freq bus_freq) in i2c_ctrl_config_bus_freq() argument384 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()
89 uint32_t bus_freq; member269 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()
128 uint32_t bus_freq; member363 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()
126 uint32_t bus_freq; in spi_gd32_configure() local177 &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()
169 uint32_t bus_freq = 100000000UL; in spi_psoc6_get_freqdiv() local177 if ((bus_freq / oversample) <= frequency) { in spi_psoc6_get_freqdiv()