Searched refs:max_ratio (Results 1 – 12 of 12) sorted by relevance
/Linux-v5.4/drivers/gpu/drm/radeon/ |
D | dce3_1_afmt.c | 121 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()
|
D | evergreen_hdmi.c | 230 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/ |
D | ccid2.c | 76 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/ |
D | pcm3168a.c | 424 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/ |
D | page-writeback.c | 195 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()
|
D | backing-dev.c | 201 BDI_SHOW(max_ratio, bdi->max_ratio) 856 bdi->max_ratio = 100; in bdi_init()
|
/Linux-v5.4/include/linux/ |
D | backing-dev-defs.h | 202 unsigned int max_ratio, max_prop_frac; member
|
D | backing-dev.h | 111 int bdi_set_max_ratio(struct backing_dev_info *bdi, unsigned int max_ratio);
|
/Linux-v5.4/Documentation/ABI/testing/ |
D | sysfs-class-bdi | 43 max_ratio (read-write)
|
/Linux-v5.4/drivers/gpu/ipu-v3/ |
D | ipu-csi.c | 667 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/ |
D | imx-media-csi.c | 52 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/ |
D | imx-ipu-v3.h | 372 u32 max_ratio, u32 id);
|