Home
last modified time | relevance | path

Searched refs:max_ratio (Results 1 – 12 of 12) sorted by relevance

/Linux-v5.4/drivers/gpu/drm/radeon/
Ddce3_1_afmt.c121 unsigned int max_ratio = clock / 24000; in dce3_2_audio_set_dto() local
135 if (max_ratio >= 8) { in dce3_2_audio_set_dto()
138 } else if (max_ratio >= 4) { in dce3_2_audio_set_dto()
141 } else if (max_ratio >= 2) { in dce3_2_audio_set_dto()
Devergreen_hdmi.c230 unsigned int max_ratio = clock / 24000; in dce4_hdmi_audio_set_dto() local
235 if (max_ratio >= 8) { in dce4_hdmi_audio_set_dto()
238 } else if (max_ratio >= 4) { in dce4_hdmi_audio_set_dto()
241 } else if (max_ratio >= 2) { in dce4_hdmi_audio_set_dto()
/Linux-v5.4/net/dccp/ccids/
Dccid2.c76 u32 max_ratio = DIV_ROUND_UP(ccid2_hc_tx_sk(sk)->tx_cwnd, 2); in ccid2_change_l_ack_ratio() local
84 if (val == 0 || val > max_ratio) { in ccid2_change_l_ack_ratio()
85 DCCP_WARN("Limiting Ack Ratio (%u) to %u\n", val, max_ratio); in ccid2_change_l_ack_ratio()
86 val = max_ratio; in ccid2_change_l_ack_ratio()
717 u32 max_ratio; in ccid2_hc_tx_init() local
727 max_ratio = DIV_ROUND_UP(hc->tx_cwnd, 2); in ccid2_hc_tx_init()
728 if (dp->dccps_l_ack_ratio == 0 || dp->dccps_l_ack_ratio > max_ratio) in ccid2_hc_tx_init()
729 dp->dccps_l_ack_ratio = max_ratio; in ccid2_hc_tx_init()
/Linux-v5.4/sound/soc/codecs/
Dpcm3168a.c424 unsigned int rate, fmt, ratio, max_ratio; in pcm3168a_hw_params() local
433 max_ratio = PCM3168A_NUM_SCKI_RATIOS_DAC; in pcm3168a_hw_params()
438 max_ratio = PCM3168A_NUM_SCKI_RATIOS_ADC; in pcm3168a_hw_params()
447 for (i = 0; i < max_ratio; i++) { in pcm3168a_hw_params()
452 if (i == max_ratio) { in pcm3168a_hw_params()
/Linux-v5.4/mm/
Dpage-writeback.c195 unsigned long long max = wb->bdi->max_ratio; in wb_min_max_ratio()
247 *maxp = wb->bdi->max_ratio; in wb_min_max_ratio()
680 if (min_ratio > bdi->max_ratio) { in bdi_set_min_ratio()
696 int bdi_set_max_ratio(struct backing_dev_info *bdi, unsigned max_ratio) in bdi_set_max_ratio() argument
700 if (max_ratio > 100) in bdi_set_max_ratio()
704 if (bdi->min_ratio > max_ratio) { in bdi_set_max_ratio()
707 bdi->max_ratio = max_ratio; in bdi_set_max_ratio()
708 bdi->max_prop_frac = (FPROP_FRAC_BASE * max_ratio) / 100; in bdi_set_max_ratio()
Dbacking-dev.c201 BDI_SHOW(max_ratio, bdi->max_ratio)
856 bdi->max_ratio = 100; in bdi_init()
/Linux-v5.4/include/linux/
Dbacking-dev-defs.h202 unsigned int max_ratio, max_prop_frac; member
Dbacking-dev.h111 int bdi_set_max_ratio(struct backing_dev_info *bdi, unsigned int max_ratio);
/Linux-v5.4/Documentation/ABI/testing/
Dsysfs-class-bdi43 max_ratio (read-write)
/Linux-v5.4/drivers/gpu/ipu-v3/
Dipu-csi.c667 u32 max_ratio, u32 id) in ipu_csi_set_skip_smfc() argument
672 if (max_ratio > 5 || id > 3) in ipu_csi_set_skip_smfc()
680 temp |= (max_ratio << CSI_MAX_RATIO_SKIP_SMFC_SHIFT) | in ipu_csi_set_skip_smfc()
/Linux-v5.4/drivers/staging/media/imx/
Dimx-media-csi.c52 u8 max_ratio; member
747 priv->skip->max_ratio - 1, 0); in csi_setup()
847 interval->numerator *= skip->max_ratio; in csi_apply_skip_interval()
885 skip->max_ratio, in->denominator * skip->keep); in csi_find_best_skip()
/Linux-v5.4/include/video/
Dimx-ipu-v3.h372 u32 max_ratio, u32 id);