Home
last modified time | relevance | path

Searched refs:freq (Results 101 – 125 of 303) sorted by relevance

12345678910>>...13

/Zephyr-latest/drivers/sensor/st/lps2xdf/
Dlps2xdf.c40 static int lps2xdf_odr_set(const struct device *dev, uint16_t freq) in lps2xdf_odr_set() argument
47 if (freq == lps2xdf_map[odr]) { in lps2xdf_odr_set()
/Zephyr-latest/drivers/sensor/st/lis2dh/
Dlis2dh.c191 static int lis2dh_freq_to_odr_val(uint16_t freq) in lis2dh_freq_to_odr_val() argument
196 if (freq == lis2dh_odr_map[i]) { in lis2dh_freq_to_odr_val()
204 static int lis2dh_acc_odr_set(const struct device *dev, uint16_t freq) in lis2dh_acc_odr_set() argument
211 odr = lis2dh_freq_to_odr_val(freq); in lis2dh_acc_odr_set()
/Zephyr-latest/dts/xtensa/intel/
Dintel_adsp_cavs25_tgph.dtsi80 adsp-clkctl-freq-enc = <0x1a 0x20000002 0x80000002>;
81 adsp-clkctl-freq-mask = <0x10 0x20000000 0x80000000>;
82 adsp-clkctl-freq-default = <2>;
83 adsp-clkctl-freq-lowest = <0>;
/Zephyr-latest/dts/arm/atmel/
Dsamr34.dtsi7 #include <freq.h>
/Zephyr-latest/dts/common/nordic/
Dnrf_common.dtsi14 #include <freq.h>
/Zephyr-latest/drivers/sensor/ti/fdc2x1x/
Dfdc2x1x.c31 uint8_t ch, double *freq) in fdc2x1x_raw_to_freq() argument
37 *freq = (cfg->ch_cfg->fin_sel * (cfg->fref / 1000.0) * in fdc2x1x_raw_to_freq()
40 *freq = cfg->ch_cfg->fin_sel * (cfg->fref / 1000.0) * in fdc2x1x_raw_to_freq()
55 uint8_t ch, double freq, double *capacitance) in fdc2x1x_raw_to_capacitance() argument
60 pow((2 * PI * freq), 2)); in fdc2x1x_raw_to_capacitance()
/Zephyr-latest/drivers/sensor/st/lsm6dsl/
Dlsm6dsl_shub.c246 uint16_t freq; in lsm6dsl_shub_wait_completed() local
248 freq = (data->accel_freq == 0U) ? 26 : data->accel_freq; in lsm6dsl_shub_wait_completed()
249 k_msleep((2000U / freq) + 1); in lsm6dsl_shub_wait_completed()
/Zephyr-latest/soc/nxp/kinetis/k6x/
Dsoc.c39 .freq = CONFIG_OSC_XTAL0_FREQ,
/Zephyr-latest/dts/arm/ti/
Dam62x_m4.dtsi8 #include <freq.h>
Dam64x_m4.dtsi8 #include <freq.h>
/Zephyr-latest/drivers/clock_control/
Dclock_control_nrf2_global_hsfll.c153 static const char *global_hsfll_gdfs_freq_to_str(enum gdfs_frequency_setting freq) in global_hsfll_gdfs_freq_to_str() argument
155 switch (freq) { in global_hsfll_gdfs_freq_to_str()
/Zephyr-latest/subsys/debug/
Dmipi_stp_decoder.c348 static void freq_cb(uint64_t freq, uint64_t ts) in freq_cb() argument
352 union mipi_stp_decoder_data data = {.freq = freq}; in freq_cb()
357 static void freq_ts_cb(uint64_t freq, uint64_t ts) in freq_ts_cb() argument
359 union mipi_stp_decoder_data data = {.freq = freq}; in freq_ts_cb()
/Zephyr-latest/tests/bsim/bluetooth/audio/src/
Dbap_broadcast_sink_test.c114 const int freq = bt_audio_codec_cfg_freq_to_freq_hz(ret); in valid_base_subgroup() local
116 if (freq < 0) { in valid_base_subgroup()
117 printk("Invalid subgroup frequency value: %d (%d)\n", ret, freq); in valid_base_subgroup()
459 const int freq = bt_audio_codec_cfg_freq_to_freq_hz(ret); in validate_stream_codec_cfg() local
461 if (freq < 0) { in validate_stream_codec_cfg()
462 FAIL("Invalid frequency value: %d (%d)\n", ret, freq); in validate_stream_codec_cfg()
/Zephyr-latest/drivers/sensor/st/lsm6dsv16x/
Dlsm6dsv16x.c48 static int lsm6dsv16x_freq_to_odr_val(const struct device *dev, uint16_t freq) in lsm6dsv16x_freq_to_odr_val() argument
63 if (freq <= lsm6dsv16x_odr_map[mode][i]) { in lsm6dsv16x_freq_to_odr_val()
188 static int lsm6dsv16x_accel_odr_set(const struct device *dev, uint16_t freq) in lsm6dsv16x_accel_odr_set() argument
192 odr = lsm6dsv16x_freq_to_odr_val(dev, freq); in lsm6dsv16x_accel_odr_set()
274 static int lsm6dsv16x_gyro_odr_set(const struct device *dev, uint16_t freq) in lsm6dsv16x_gyro_odr_set() argument
278 if (freq < 8) { in lsm6dsv16x_gyro_odr_set()
282 odr = lsm6dsv16x_freq_to_odr_val(dev, freq); in lsm6dsv16x_gyro_odr_set()
/Zephyr-latest/drivers/sensor/st/iis2iclx/
Diis2iclx.c28 static int iis2iclx_freq_to_odr_val(uint16_t freq) in iis2iclx_freq_to_odr_val() argument
33 if (freq <= iis2iclx_odr_map[i]) { in iis2iclx_freq_to_odr_val()
110 static int iis2iclx_accel_odr_set(const struct device *dev, uint16_t freq) in iis2iclx_accel_odr_set() argument
114 odr = iis2iclx_freq_to_odr_val(freq); in iis2iclx_accel_odr_set()
/Zephyr-latest/soc/nxp/imxrt/imxrt11xx/
Dsoc.c678 uint32_t freq; in mipi_csi2rx_clock_set_freq() local
696 freq = CLOCK_GetFreq(clk_source); in mipi_csi2rx_clock_set_freq()
697 if (rate > freq) { in mipi_csi2rx_clock_set_freq()
702 rootCfg.div = (uint32_t)freq / rate; in mipi_csi2rx_clock_set_freq()
/Zephyr-latest/drivers/watchdog/
DKconfig.stm3227 max. prescaler value (256) * max. reload ticks (4096) / LSI freq.
/Zephyr-latest/soc/espressif/common/
DKconfig.defconfig26 default $(dt_node_int_prop_int,/cpus/cpu@0,xtal-freq)
/Zephyr-latest/drivers/sensor/st/lps22hh/
Dlps22hh.c128 static int lps22hh_odr_set(const struct device *dev, uint16_t freq) in lps22hh_odr_set() argument
133 if (freq == lps22hh_map[odr]) { in lps22hh_odr_set()
/Zephyr-latest/drivers/counter/
Dcounter_gd32_timer.c37 uint32_t freq; member
360 return data->freq; in counter_gd32_timer_get_freq()
438 data->freq = pclk / (cfg->prescaler + 1); in counter_gd32_timer_init()
516 .freq = 0, \
/Zephyr-latest/drivers/usb/device/
Dusb_dc_stm32.c218 uint32_t freq; in usb_dc_stm32u5_phy_clock_select() member
228 uint32_t freq; in usb_dc_stm32u5_phy_clock_select() local
232 &freq) != 0) { in usb_dc_stm32u5_phy_clock_select()
238 if (clk_select[i].freq == freq) { in usb_dc_stm32u5_phy_clock_select()
244 LOG_ERR("Unsupported PHY clock source frequency (%"PRIu32")", freq); in usb_dc_stm32u5_phy_clock_select()
/Zephyr-latest/dts/arm/microchip/
Dmec172xnsz.dtsi15 #include <freq.h>
/Zephyr-latest/boards/shields/seeed_xiao_round_display/
Dseeed_xiao_round_display.overlay7 #include <freq.h>
/Zephyr-latest/drivers/dai/intel/ssp/
Dssp.h117 uint32_t freq; member
/Zephyr-latest/dts/arm64/broadcom/
Dbcm2711.dtsi8 #include <freq.h>

12345678910>>...13