/linux-6.12.1/drivers/gpu/drm/radeon/ |
D | dce3_1_afmt.c | 122 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()
|
D | evergreen_hdmi.c | 232 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/ |
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() 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/ |
D | page-writeback.c | 192 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 …]
|
D | backing-dev.c | 344 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/ |
D | ivpu_hw_btrs.c | 87 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()
|
D | ivpu_hw.h | 40 u8 max_ratio; member
|
D | ivpu_fw.c | 593 boot_params->max_freq_pll_ratio = vdev->hw->pll.max_ratio; in ivpu_fw_boot_params_setup()
|
D | ivpu_drv.c | 167 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/ |
D | uncore-frequency-tpmi.c | 67 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/ |
D | backing-dev.h | 109 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);
|
D | backing-dev-defs.h | 173 unsigned int max_ratio, max_prop_frac; member
|
/linux-6.12.1/Documentation/ABI/testing/ |
D | sysfs-class-bdi | 62 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/ |
D | ipu-csi.c | 688 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/ |
D | imx-media-csi.c | 52 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/ |
D | imx-ipu-v3.h | 374 u32 max_ratio, u32 id);
|