/Zephyr-latest/samples/bluetooth/bap_unicast_client/src/ |
D | stream_lc3.c | 45 (stream->lc3_tx.frame_duration_us * stream->lc3_tx.freq_hz) / USEC_PER_SEC; in fill_audio_buf_sin() 46 const int sine_period_samples = stream->lc3_tx.freq_hz / AUDIO_TONE_FREQUENCY_HZ; in fill_audio_buf_sin() 69 lc3_tx->freq_hz = (uint32_t)ret; in extract_lc3_config() 194 lc3_setup_encoder(stream->lc3_tx.frame_duration_us, stream->lc3_tx.freq_hz, 0, in stream_lc3_init()
|
D | stream_lc3.h | 24 uint32_t freq_hz; member
|
/Zephyr-latest/tests/arch/common/timing/src/ |
D | main.c | 30 uint64_t diff1, diff2, diff_all, freq_hz; in perform_tests() local 57 freq_hz = arch_timing_freq_get(); in perform_tests() 59 zassert_equal(freq_mhz, (uint32_t)(freq_hz / 1000000ULL), NULL); in perform_tests()
|
/Zephyr-latest/drivers/memc/ |
D | memc_mcux_flexspi.h | 51 flexspi_port_t port, uint32_t freq_hz);
|
D | memc_mcux_flexspi.c | 90 flexspi_port_t port, uint32_t freq_hz) in memc_flexspi_update_clock() argument 108 (clock_control_subsys_rate_t)freq_hz); in memc_flexspi_update_clock() 120 device_config->flexspiRootClk = freq_hz; in memc_flexspi_update_clock()
|
/Zephyr-latest/samples/bluetooth/bap_broadcast_source/src/ |
D | main.c | 162 static int freq_hz; variable 243 freq_hz = bt_audio_codec_cfg_freq_to_freq_hz(ret); in init_lc3_thread() 259 if (freq_hz < 0) { in init_lc3_thread() 276 fill_audio_buf_sin(send_pcm_data, frame_duration_us, AUDIO_TONE_FREQUENCY_HZ, freq_hz); in init_lc3_thread() 282 streams[i].lc3_encoder = lc3_setup_encoder(frame_duration_us, freq_hz, 0, in init_lc3_thread()
|
/Zephyr-latest/tests/bluetooth/audio/codec/src/ |
D | main.c | 117 uint32_t freq_hz; in ZTEST() member 119 {.freq = BT_AUDIO_CODEC_CFG_FREQ_8KHZ, .freq_hz = 8000U}, in ZTEST() 120 {.freq = BT_AUDIO_CODEC_CFG_FREQ_11KHZ, .freq_hz = 11025U}, in ZTEST() 121 {.freq = BT_AUDIO_CODEC_CFG_FREQ_16KHZ, .freq_hz = 16000U}, in ZTEST() 122 {.freq = BT_AUDIO_CODEC_CFG_FREQ_22KHZ, .freq_hz = 22050U}, in ZTEST() 123 {.freq = BT_AUDIO_CODEC_CFG_FREQ_24KHZ, .freq_hz = 24000U}, in ZTEST() 124 {.freq = BT_AUDIO_CODEC_CFG_FREQ_32KHZ, .freq_hz = 32000U}, in ZTEST() 125 {.freq = BT_AUDIO_CODEC_CFG_FREQ_44KHZ, .freq_hz = 44100U}, in ZTEST() 126 {.freq = BT_AUDIO_CODEC_CFG_FREQ_48KHZ, .freq_hz = 48000U}, in ZTEST() 127 {.freq = BT_AUDIO_CODEC_CFG_FREQ_88KHZ, .freq_hz = 88200U}, in ZTEST() [all …]
|
/Zephyr-latest/drivers/spi/ |
D | spi_xec_qmspi_ldma.c | 166 static uint32_t qmspi_encoded_fdiv(const struct device *dev, uint32_t freq_hz) in qmspi_encoded_fdiv() argument 170 if (freq_hz == 0u) { in qmspi_encoded_fdiv() 174 return (qdata->base_freq_hz / freq_hz); in qmspi_encoded_fdiv() 187 uint32_t freq_hz) in qmspi_set_frequency() argument 196 if (freq_hz) { in qmspi_set_frequency() 198 if (freq_hz < clk) { in qmspi_set_frequency() 199 fdiv = clk / freq_hz; in qmspi_set_frequency()
|
D | spi_xec_qmspi.c | 72 static void qmspi_set_frequency(QMSPI_Type *regs, uint32_t freq_hz) in qmspi_set_frequency() argument 76 if (freq_hz == 0) { in qmspi_set_frequency() 79 div = MCHP_QMSPI_INPUT_CLOCK_FREQ_HZ / freq_hz; in qmspi_set_frequency()
|
/Zephyr-latest/boards/qemu/arc/ |
D | board.cmake | 37 -global cpu.freq_hz=10000000
|
/Zephyr-latest/samples/bluetooth/bap_broadcast_sink/src/ |
D | main.c | 345 int freq_hz; in lc3_enable() local 352 freq_hz = bt_audio_codec_cfg_freq_to_freq_hz(ret); in lc3_enable() 407 frame_duration_us, freq_hz, sink_stream->chan_allocation, in lc3_enable() 411 sink_stream->lc3_decoder = lc3_setup_decoder(frame_duration_us, freq_hz, USB_SAMPLE_RATE, in lc3_enable() 414 sink_stream->lc3_decoder = lc3_setup_decoder(frame_duration_us, freq_hz, 0, in lc3_enable()
|
/Zephyr-latest/drivers/i2c/ |
D | i2c_ite_enhance.c | 296 int freq_hz) in i2c_enhanced_port_set_frequency() argument 313 if (freq_hz) { in i2c_enhanced_port_set_frequency() 317 psr = (pll_clock / (clk_div * (2U * freq_hz))) - 2U; in i2c_enhanced_port_set_frequency()
|
D | i2c_ite_it8xxx2.c | 236 int freq_hz, int freq_set) in i2c_standard_port_set_frequency() argument 245 if (freq_hz == I2C_BITRATE_FAST) { in i2c_standard_port_set_frequency()
|
/Zephyr-latest/include/zephyr/bluetooth/audio/ |
D | audio.h | 840 int bt_audio_codec_cfg_freq_hz_to_freq(uint32_t freq_hz);
|
/Zephyr-latest/subsys/bluetooth/audio/ |
D | codec.c | 65 int bt_audio_codec_cfg_freq_hz_to_freq(uint32_t freq_hz) in bt_audio_codec_cfg_freq_hz_to_freq() argument 67 switch (freq_hz) { in bt_audio_codec_cfg_freq_hz_to_freq()
|