Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/gpu/drm/radeon/
Ddce3_1_afmt.c122 unsigned int max_ratio = clock / 24000; in dce3_2_audio_set_dto() local
136 if (max_ratio >= 8) { in dce3_2_audio_set_dto()
139 } else if (max_ratio >= 4) { in dce3_2_audio_set_dto()
142 } else if (max_ratio >= 2) { in dce3_2_audio_set_dto()
Devergreen_hdmi.c232 unsigned int max_ratio = clock / 24000; in dce4_hdmi_audio_set_dto() local
237 if (max_ratio >= 8) { in dce4_hdmi_audio_set_dto()
240 } else if (max_ratio >= 4) { in dce4_hdmi_audio_set_dto()
243 } else if (max_ratio >= 2) { in dce4_hdmi_audio_set_dto()
/linux-6.12.1/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()
723 u32 max_ratio; in ccid2_hc_tx_init() local
733 max_ratio = DIV_ROUND_UP(hc->tx_cwnd, 2); in ccid2_hc_tx_init()
734 if (dp->dccps_l_ack_ratio == 0 || dp->dccps_l_ack_ratio > max_ratio) in ccid2_hc_tx_init()
735 dp->dccps_l_ack_ratio = max_ratio; in ccid2_hc_tx_init()
/linux-6.12.1/mm/
Dpage-writeback.c192 unsigned long long max = wb->bdi->max_ratio; in wb_min_max_ratio()
244 *maxp = wb->bdi->max_ratio; in wb_min_max_ratio()
721 if (min_ratio > bdi->max_ratio) { in __bdi_set_min_ratio()
743 static int __bdi_set_max_ratio(struct backing_dev_info *bdi, unsigned int max_ratio) in __bdi_set_max_ratio() argument
747 if (max_ratio > 100 * BDI_RATIO_SCALE) in __bdi_set_max_ratio()
751 if (bdi->min_ratio > max_ratio) { in __bdi_set_max_ratio()
754 bdi->max_ratio = max_ratio; in __bdi_set_max_ratio()
755 bdi->max_prop_frac = (FPROP_FRAC_BASE * max_ratio) / in __bdi_set_max_ratio()
768 int bdi_set_max_ratio_no_scale(struct backing_dev_info *bdi, unsigned int max_ratio) in bdi_set_max_ratio_no_scale() argument
770 return __bdi_set_max_ratio(bdi, max_ratio); in bdi_set_max_ratio_no_scale()
[all …]
Dbacking-dev.c344 BDI_SHOW(max_ratio, bdi->max_ratio / BDI_RATIO_SCALE)
363 BDI_SHOW(max_ratio_fine, bdi->max_ratio)
1007 bdi->max_ratio = 100 * BDI_RATIO_SCALE; in bdi_init()
/linux-6.12.1/drivers/accel/ivpu/
Divpu_hw_btrs.c87 hw->pll.max_ratio = REG_GET_FLD(VPU_HW_BTRS_MTL_FMAX_FUSE, MAX_RATIO, fmax_fuse); in freq_ratios_init_mtl()
100 hw->pll.max_ratio = REG_GET_FLD(VPU_HW_BTRS_LNL_FMAX_FUSE, MAX_RATIO, fmax_fuse); in freq_ratios_init_lnl()
112 hw->pll.min_ratio = clamp_t(u8, ivpu_pll_min_ratio, hw->pll.min_ratio, hw->pll.max_ratio); in ivpu_hw_btrs_freq_ratios_init()
113 hw->pll.max_ratio = clamp_t(u8, ivpu_pll_max_ratio, hw->pll.min_ratio, hw->pll.max_ratio); in ivpu_hw_btrs_freq_ratios_init()
114 hw->pll.pn_ratio = clamp_t(u8, hw->pll.pn_ratio, hw->pll.min_ratio, hw->pll.max_ratio); in ivpu_hw_btrs_freq_ratios_init()
305 wp->max = hw->pll.max_ratio; in prepare_wp_request()
Divpu_hw.h40 u8 max_ratio; member
Divpu_fw.c593 boot_params->max_freq_pll_ratio = vdev->hw->pll.max_ratio; in ivpu_fw_boot_params_setup()
Divpu_drv.c167 args->value = ivpu_hw_ratio_to_freq(vdev, vdev->hw->pll.max_ratio); in ivpu_get_param_ioctl()
/linux-6.12.1/drivers/platform/x86/intel/uncore-frequency/
Duncore-frequency-tpmi.c67 int max_ratio; member
314 uncore_root->max_ratio = input; in uncore_write_control_freq()
321 if (index == UNCORE_INDEX_MAX_FREQ && uncore_root->max_ratio && in uncore_write_control_freq()
322 uncore_root->max_ratio < input) in uncore_write_control_freq()
/linux-6.12.1/include/linux/
Dbacking-dev.h109 int bdi_set_max_ratio(struct backing_dev_info *bdi, unsigned int max_ratio);
111 int bdi_set_max_ratio_no_scale(struct backing_dev_info *bdi, unsigned int max_ratio);
Dbacking-dev-defs.h173 unsigned int max_ratio, max_prop_frac; member
/linux-6.12.1/Documentation/ABI/testing/
Dsysfs-class-bdi62 What: /sys/class/bdi/<bdi>/max_ratio
124 strictlimit on has no visible effect if max_ratio is equal to 100%.
/linux-6.12.1/drivers/gpu/ipu-v3/
Dipu-csi.c688 u32 max_ratio, u32 id) in ipu_csi_set_skip_smfc() argument
693 if (max_ratio > 5 || id > 3) in ipu_csi_set_skip_smfc()
701 temp |= (max_ratio << CSI_MAX_RATIO_SKIP_SMFC_SHIFT) | in ipu_csi_set_skip_smfc()
/linux-6.12.1/drivers/staging/media/imx/
Dimx-media-csi.c52 u8 max_ratio; member
739 priv->skip->max_ratio - 1, 0); in csi_setup()
848 interval->numerator *= skip->max_ratio; in csi_apply_skip_interval()
886 skip->max_ratio, in->denominator * skip->keep); in csi_find_best_skip()
/linux-6.12.1/include/video/
Dimx-ipu-v3.h374 u32 max_ratio, u32 id);