| /linux/drivers/phy/mediatek/ |
| H A D | phy-mtk-hdmi-mt8195.c | 223 if (tmds_clk < 25 * MEGA || tmds_clk > 594 * MEGA) in mtk_hdmi_pll_calc() 226 if (tmds_clk >= 340 * MEGA) in mtk_hdmi_pll_calc() 232 da_hdmitx21_ref_ck = 26 * MEGA; in mtk_hdmi_pll_calc() 240 if (tmds_clk < 54 * MEGA) in mtk_hdmi_pll_calc() 242 else if (tmds_clk >= 54 * MEGA && (tmds_clk * 100) < 14835 * MEGA) in mtk_hdmi_pll_calc() 244 else if ((tmds_clk * 100) >= 14835 * MEGA && (tmds_clk * 10) < 2967 * MEGA) in mtk_hdmi_pll_calc() 246 else if ((tmds_clk * 10) >= 2967 * MEGA && tmds_clk <= 594 * MEGA) in mtk_hdmi_pll_calc() 324 if (tmds_clk > 300 * MEGA && tmds_clk <= 594 * MEGA) { in mtk_hdmi_pll_drv_setting() 329 } else if (((u64)pixel_clk * 1000) >= 74175 * MEGA && pixel_clk <= 300 * MEGA) { in mtk_hdmi_pll_drv_setting() 334 } else if (pixel_clk >= 27 * MEGA && ((u64)pixel_clk * 1000) < 74175 * MEGA) { in mtk_hdmi_pll_drv_setting()
|
| /linux/drivers/net/can/rockchip/ |
| H A D | rockchip_canfd-timestamp.c | 79 priv->can.clock.freq / MEGA, in rkcanfd_timestamp_init() 80 priv->can.clock.freq % MEGA / KILO / 10, in rkcanfd_timestamp_init() 81 bitrate / MEGA, in rkcanfd_timestamp_init() 82 bitrate % MEGA / KILO / 100, in rkcanfd_timestamp_init() 84 rate / MEGA, in rkcanfd_timestamp_init() 85 rate % MEGA / KILO / 10, in rkcanfd_timestamp_init()
|
| /linux/include/linux/clk/ |
| H A D | renesas.h | 159 .fout = { .min = 25 * MEGA, .max = 375 * MEGA }, \ 160 .fvco = { .min = 1600 * MEGA, .max = 3200 * MEGA }, \
|
| /linux/drivers/iio/adc/ |
| H A D | ad4000.c | 215 .max_rate_hz = 2 * MEGA, 225 .max_rate_hz = 2 * MEGA, 235 .max_rate_hz = 2 * MEGA, 245 .max_rate_hz = 2 * MEGA, 255 .max_rate_hz = 1 * MEGA, 265 .max_rate_hz = 1 * MEGA, 275 .max_rate_hz = 1 * MEGA, 285 .max_rate_hz = 1 * MEGA, 335 .max_rate_hz = 1 * MEGA, 356 .max_rate_hz = 2 * MEGA, [all …]
|
| H A D | ad7380.c | 617 .max_conversion_rate_hz = 4 * MEGA, 631 .max_conversion_rate_hz = 4 * MEGA, 647 .max_conversion_rate_hz = 4 * MEGA, 663 .max_conversion_rate_hz = 4 * MEGA, 678 .max_conversion_rate_hz = 4 * MEGA, 693 .max_conversion_rate_hz = 4 * MEGA, 708 .max_conversion_rate_hz = 4 * MEGA, 722 .max_conversion_rate_hz = 4 * MEGA, 736 .max_conversion_rate_hz = 4 * MEGA, 752 .max_conversion_rate_hz = 4 * MEGA, [all …]
|
| H A D | ad7625.c | 28 #define AD7960_MAX_NBW_FREQ (2 * MEGA) 130 .max_sample_freq_hz = 6 * MEGA, 140 .max_sample_freq_hz = 10 * MEGA, 150 .max_sample_freq_hz = 5 * MEGA, 160 .max_sample_freq_hz = 5 * MEGA,
|
| H A D | ad7944.c | 180 AD7944_DEFINE_CHIP_INFO(ad7944, ad7944, 2.5 * MEGA, 14, 0); 181 AD7944_DEFINE_CHIP_INFO(ad7985, ad7944, 2.5 * MEGA, 16, 0); 183 AD7944_DEFINE_CHIP_INFO(ad7986, ad7986, 2 * MEGA, 18, 1); 826 ret = ad7944_set_sample_freq(adc, 2 * MEGA); in ad7944_probe()
|
| H A D | ad4851.c | 1089 .max_sample_rate_hz = 1 * MEGA, 1098 .max_sample_rate_hz = 1 * MEGA, 1125 .max_sample_rate_hz = 1 * MEGA, 1134 .max_sample_rate_hz = 1 * MEGA, 1143 .max_sample_rate_hz = 1 * MEGA,
|
| /linux/drivers/iio/dac/ |
| H A D | adi-axi-dac.c | 251 scale = DIV_ROUND_CLOSEST_ULL((u64)raw * MEGA, in axi_dac_scale_get() 254 vals[0] = scale / MEGA; in axi_dac_scale_get() 255 vals[1] = scale % MEGA; in axi_dac_scale_get() 289 vals[0] = phase / MEGA; in axi_dac_phase_get() 290 vals[1] = phase % MEGA; in axi_dac_phase_get() 365 scale = integer * MEGA + frac; in axi_dac_scale_set() 366 if (scale <= -2 * (int)MEGA || scale >= 2 * (int)MEGA) in axi_dac_scale_set() 375 raw |= div_u64((u64)scale * AXI_DAC_CHAN_CNTRL_3_SCALE_INT, MEGA); in axi_dac_scale_set() 411 phase = integer * MEGA + frac; in axi_dac_phase_set()
|
| H A D | ad9739a.c | 67 #define AD9739A_MIN_DAC_CLK (1600 * MEGA) 68 #define AD9739A_MAX_DAC_CLK (2500 * MEGA)
|
| /linux/include/linux/ |
| H A D | units.h | 12 #define MEGA 1000000UL macro 64 #define BYTES_PER_MBIT (MEGA / BITS_PER_BYTE)
|
| /linux/drivers/net/can/dev/ |
| H A D | calc_bittiming.c | 28 if (bt->bitrate > 15 * MEGA /* BPS */) in can_calc_sample_point_pwm() 31 if (bt->bitrate > 9 * MEGA /* BPS */) in can_calc_sample_point_pwm() 34 if (bt->bitrate > 4 * MEGA /* BPS */) in can_calc_sample_point_pwm()
|
| /linux/drivers/iio/imu/bmi323/ |
| H A D | bmi323.h | 200 ((val2) * (scale)) / MEGA) 202 #define BMI323_RAW_TO_MICRO(raw, scale) ((((raw) % (scale)) * MEGA) / scale)
|
| H A D | bmi323_core.c | 324 1280 * MEGA, 325 640 * MEGA, 326 320 * MEGA, 327 160 * MEGA, 328 80 * MEGA, 329 40 * MEGA, 330 20 * MEGA, 331 10 * MEGA, 332 5 * MEGA, 1785 *val = BMI323_TEMP_SCALE / MEGA; in bmi323_read_raw() [all …]
|
| /linux/drivers/gpu/drm/mgag200/ |
| H A D | mgag200_g200eh5.c | 24 const unsigned long long VCO_MIN = 2500 * MEGA; // Hz in mgag200_g200eh5_pixpllc_atomic_check() 25 const unsigned long long PLL_FREQ_REF = 25 * MEGA; // Hz in mgag200_g200eh5_pixpllc_atomic_check()
|
| /linux/drivers/iio/accel/ |
| H A D | kionix-kx022a.c | 393 320 * MEGA, 394 160 * MEGA, 395 80 * MEGA, 396 40 * MEGA, 397 20 * MEGA, 398 10 * MEGA, 399 5 * MEGA,
|
| /linux/drivers/media/i2c/ |
| H A D | vd55g1.c | 135 #define VD55G1_MIPI_RATE_MIN (250 * MEGA) 136 #define VD55G1_MIPI_RATE_MAX (1200 * MEGA) 670 (sensor->mipi_rate / MEGA); in vd55g1_get_hblank_min() 776 VD55G1_MIPI_RATE_MIN / MEGA, in vd55g1_prepare_clock_tree() 777 VD55G1_MIPI_RATE_MAX / MEGA, in vd55g1_prepare_clock_tree() 778 sensor->mipi_rate / MEGA); in vd55g1_prepare_clock_tree() 782 if (sensor->mipi_rate <= 300 * MEGA) in vd55g1_prepare_clock_tree() 784 else if (sensor->mipi_rate <= 600 * MEGA) in vd55g1_prepare_clock_tree() 932 unsigned int line_time_us = DIV_ROUND_UP(line_length * MEGA, in vd55g1_apply_cold_start()
|
| /linux/drivers/phy/qualcomm/ |
| H A D | phy-qcom-uniphy-pcie-28lp.c | 130 .pipe_clk_rate = 125 * MEGA, 138 .pipe_clk_rate = 250 * MEGA,
|
| /linux/drivers/net/can/ |
| H A D | dummy_can.c | 247 priv->can.bitrate_max = 20 * MEGA /* BPS */; in dummy_can_init() 248 priv->can.clock.freq = 160 * MEGA /* Hz */; in dummy_can_init()
|
| /linux/drivers/iio/common/ssp_sensors/ |
| H A D | ssp_iio.c | 87 (int64_t)get_unaligned_le32(buf + len) * MEGA; in ssp_common_process_data()
|
| /linux/drivers/crypto/intel/qat/qat_common/ |
| H A D | adf_tl_debugfs.c | 233 vals->curr = div_u64(hist_vals[sample_cnt - 1] * bw_hw_2_bits, MEGA); in tl_bw_hw_units_to_mbps() 234 vals->min = div_u64(min_array(hist_vals, sample_cnt) * bw_hw_2_bits, MEGA); in tl_bw_hw_units_to_mbps() 235 vals->max = div_u64(max_array(hist_vals, sample_cnt) * bw_hw_2_bits, MEGA); in tl_bw_hw_units_to_mbps() 236 vals->avg = div_u64(avg_array(hist_vals, sample_cnt) * bw_hw_2_bits, MEGA); in tl_bw_hw_units_to_mbps()
|
| /linux/drivers/gpu/drm/renesas/rz-du/ |
| H A D | rzg2l_mipi_dsi.c | 99 .fout = { .min = 80 * MEGA, .max = 1500 * MEGA }, 100 .fvco = { .min = 1050 * MEGA, .max = 2100 * MEGA }, 433 unsigned long hsfreq = timings->hsfreq[i] * 10 * MEGA; in rzv2h_dphy_find_timings_val()
|
| /linux/drivers/phy/freescale/ |
| H A D | phy-fsl-imx8qm-lvds-phy.c | 47 #define MIN_CLKIN_FREQ (25 * MEGA) 48 #define MAX_CLKIN_FREQ (165 * MEGA)
|
| /linux/drivers/net/can/usb/kvaser_usb/ |
| H A D | kvaser_usb_leaf.c | 509 .freq = 8 * MEGA /* Hz */, 517 .freq = 16 * MEGA /* Hz */, 525 .freq = 16 * MEGA /* Hz */, 533 .freq = 16 * MEGA /* Hz */, 541 .freq = 16 * MEGA /* Hz */, 549 .freq = 24 * MEGA /* Hz */, 557 .freq = 32 * MEGA /* Hz */,
|
| /linux/drivers/net/can/usb/etas_es58x/ |
| H A D | es581_4.c | 473 .bitrate_max = 1 * MEGA /* BPS */, 474 .clock = {.freq = 50 * MEGA /* Hz */},
|