Home
last modified time | relevance | path

Searched refs:min_ratio (Results 1 – 10 of 10) sorted by relevance

/openbmc/linux/mm/
H A Dpage-writeback.c241 *minp = wb->bdi->min_ratio; in wb_min_max_ratio()
717 min_ratio *= BDI_RATIO_SCALE; in __bdi_set_min_ratio()
720 if (min_ratio > bdi->max_ratio) { in __bdi_set_min_ratio()
723 if (min_ratio < bdi->min_ratio) { in __bdi_set_min_ratio()
724 delta = bdi->min_ratio - min_ratio; in __bdi_set_min_ratio()
726 bdi->min_ratio = min_ratio; in __bdi_set_min_ratio()
728 delta = min_ratio - bdi->min_ratio; in __bdi_set_min_ratio()
731 bdi->min_ratio = min_ratio; in __bdi_set_min_ratio()
750 if (bdi->min_ratio > max_ratio) { in __bdi_set_max_ratio()
784 return bdi_get_bytes(bdi->min_ratio); in bdi_get_min_bytes()
[all …]
H A Dbacking-dev.c179 BDI_SHOW(min_ratio, bdi->min_ratio / BDI_RATIO_SCALE)
198 BDI_SHOW(min_ratio_fine, bdi->min_ratio)
917 bdi->min_ratio = 0; in bdi_init()
1076 if (bdi->min_ratio) in bdi_unregister()
/openbmc/linux/drivers/platform/x86/intel/uncore-frequency/
H A Duncore-frequency-tpmi.c65 int min_ratio; member
175 uncore_root->min_ratio = input; in uncore_write_control_freq()
183 if (!min_max && uncore_root->min_ratio && uncore_root->min_ratio > input) in uncore_write_control_freq()
/openbmc/linux/include/linux/
H A Dbacking-dev.h109 int bdi_set_min_ratio(struct backing_dev_info *bdi, unsigned int min_ratio);
111 int bdi_set_min_ratio_no_scale(struct backing_dev_info *bdi, unsigned int min_ratio);
H A Dbacking-dev-defs.h172 unsigned int min_ratio; member
/openbmc/linux/drivers/accel/ivpu/
H A Divpu_hw_37xx.c141 static int ivpu_pll_cmd_send(struct ivpu_device *vdev, u16 min_ratio, u16 max_ratio, in ivpu_pll_cmd_send() argument
154 val = REG_SET_FLD_NUM(VPU_37XX_BUTTRESS_WP_REQ_PAYLOAD0, MIN_RATIO, min_ratio, val); in ivpu_pll_cmd_send()
209 hw->pll.min_ratio = clamp_t(u8, ivpu_pll_min_ratio, fuse_min_ratio, fuse_max_ratio); in ivpu_pll_init_frequency_ratios()
210 hw->pll.max_ratio = clamp_t(u8, ivpu_pll_max_ratio, hw->pll.min_ratio, fuse_max_ratio); in ivpu_pll_init_frequency_ratios()
211 hw->pll.pn_ratio = clamp_t(u8, fuse_pn_ratio, hw->pll.min_ratio, hw->pll.max_ratio); in ivpu_pll_init_frequency_ratios()
243 ret = ivpu_pll_cmd_send(vdev, hw->pll.min_ratio, hw->pll.max_ratio, target_ratio, config); in ivpu_pll_drive()
H A Divpu_hw_40xx.c159 static int ivpu_pll_cmd_send(struct ivpu_device *vdev, u16 min_ratio, u16 max_ratio, in ivpu_pll_cmd_send() argument
172 val = REG_SET_FLD_NUM(VPU_40XX_BUTTRESS_WP_REQ_PAYLOAD0, MIN_RATIO, min_ratio, val); in ivpu_pll_cmd_send()
223 hw->pll.min_ratio = clamp_t(u8, ivpu_pll_min_ratio, fuse_min_ratio, fuse_max_ratio); in ivpu_pll_init_frequency_ratios()
224 hw->pll.max_ratio = clamp_t(u8, ivpu_pll_max_ratio, hw->pll.min_ratio, fuse_max_ratio); in ivpu_pll_init_frequency_ratios()
225 hw->pll.pn_ratio = clamp_t(u8, fuse_pn_ratio, hw->pll.min_ratio, hw->pll.max_ratio); in ivpu_pll_init_frequency_ratios()
240 ret = ivpu_pll_cmd_send(vdev, hw->pll.min_ratio, hw->pll.max_ratio, in ivpu_pll_drive()
H A Divpu_hw.h48 u8 min_ratio; member
H A Divpu_fw.c484 boot_params->min_freq_pll_ratio = vdev->hw->pll.min_ratio; in ivpu_fw_boot_params_setup()
/openbmc/linux/Documentation/ABI/testing/
H A Dsysfs-class-bdi33 What: /sys/class/bdi/<bdi>/min_ratio
41 The 'min_ratio' parameter allows assigning a minimum