Home
last modified time | relevance | path

Searched refs:f_min (Results 1 - 25 of 107) sorted by relevance

12345

/kernel/linux/linux-5.10/drivers/hwmon/
H A Dlm80.c108 f_min, enumerator
197 data->fan[f_min][0] = rv; in lm80_update_device()
207 data->fan[f_min][1] = rv; in lm80_update_device()
359 min = FAN_FROM_REG(data->fan[f_min][nr], in fan_div_store()
393 data->fan[f_min][nr] = FAN_TO_REG(min, DIV_FROM_REG(data->fan_div[nr])); in fan_div_store()
395 data->fan[f_min][nr]); in fan_div_store()
471 static SENSOR_DEVICE_ATTR_2_RW(fan1_min, fan, f_min, 0);
472 static SENSOR_DEVICE_ATTR_2_RW(fan2_min, fan, f_min, 1);
611 data->fan[f_min][0] = lm80_read_value(client, LM80_REG_FAN_MIN(1)); in lm80_probe()
612 data->fan[f_min][ in lm80_probe()
[all...]
/kernel/linux/linux-6.6/drivers/hwmon/
H A Dlm80.c108 f_min, enumerator
197 data->fan[f_min][0] = rv; in lm80_update_device()
207 data->fan[f_min][1] = rv; in lm80_update_device()
359 min = FAN_FROM_REG(data->fan[f_min][nr], in fan_div_store()
393 data->fan[f_min][nr] = FAN_TO_REG(min, DIV_FROM_REG(data->fan_div[nr])); in fan_div_store()
395 data->fan[f_min][nr]); in fan_div_store()
471 static SENSOR_DEVICE_ATTR_2_RW(fan1_min, fan, f_min, 0);
472 static SENSOR_DEVICE_ATTR_2_RW(fan2_min, fan, f_min, 1);
611 data->fan[f_min][0] = lm80_read_value(client, LM80_REG_FAN_MIN(1)); in lm80_probe()
612 data->fan[f_min][ in lm80_probe()
[all...]
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/pm/powerplay/hwmgr/
H A Dppevvmath.h79 static fInt fDecodeLinearFuse(uint32_t fuse_value, fInt f_min, fInt f_range, uint32_t bitlength);
81 static fInt fDecodeLeakageID (uint32_t leakageID_fuse, fInt ln_max_div_min, fInt f_min, uint32_t bitlength);
172 static fInt fDecodeLinearFuse(uint32_t fuse_value, fInt f_min, fInt f_range, uint32_t bitlength) in fDecodeLinearFuse() argument
181 f_decoded_value = fAdd(f_decoded_value, f_min); in fDecodeLinearFuse()
205 static fInt fDecodeLeakageID (uint32_t leakageID_fuse, fInt ln_max_div_min, fInt f_min, uint32_t bitlength) in fDecodeLeakageID() argument
213 fLeakage = fMultiply(fLeakage, f_min); in fDecodeLeakageID()
/kernel/linux/linux-6.6/drivers/gpu/drm/amd/pm/powerplay/hwmgr/
H A Dppevvmath.h79 static fInt fDecodeLinearFuse(uint32_t fuse_value, fInt f_min, fInt f_range, uint32_t bitlength);
81 static fInt fDecodeLeakageID (uint32_t leakageID_fuse, fInt ln_max_div_min, fInt f_min, uint32_t bitlength);
172 static fInt fDecodeLinearFuse(uint32_t fuse_value, fInt f_min, fInt f_range, uint32_t bitlength) in fDecodeLinearFuse() argument
181 f_decoded_value = fAdd(f_decoded_value, f_min); in fDecodeLinearFuse()
205 static fInt fDecodeLeakageID (uint32_t leakageID_fuse, fInt ln_max_div_min, fInt f_min, uint32_t bitlength) in fDecodeLeakageID() argument
213 fLeakage = fMultiply(fLeakage, f_min); in fDecodeLeakageID()
/kernel/linux/linux-5.10/drivers/mmc/host/
H A Dwmt-sdmmc.c176 unsigned int f_min; member
734 .f_min = 390425,
789 mmc->f_min = wmt_caps->f_min; in wmt_mci_probe()
H A Dsh_mmcif.c997 unsigned int f_max, f_min = 0, f_min_old; in sh_mmcif_clk_setup() local
1001 f_min = clk_round_rate(host->clk, f_min_old / 2); in sh_mmcif_clk_setup()
1002 if (f_min == f_min_old) in sh_mmcif_clk_setup()
1004 f_min_old = f_min; in sh_mmcif_clk_setup()
1013 host->mmc->f_min = f_min / (1 << fls(host->clkdiv_map)); in sh_mmcif_clk_setup()
1018 host->mmc->f_min = clk / 512; in sh_mmcif_clk_setup()
1022 host->mmc->f_max, host->mmc->f_min); in sh_mmcif_clk_setup()
H A Dtmio_mmc.c165 host->mmc->f_min = pdata->hclk / 512; in tmio_mmc_probe()
H A Dcavium.c911 clock = max(clock, mmc->f_min); in cvm_mmc_set_clock()
926 cvm_mmc_set_clock(slot, slot->mmc->f_min); in cvm_mmc_init_lowlevel()
999 mmc->f_min = 400000; in cvm_mmc_of_parse()
1057 slot->clock = mmc->f_min; in cvm_mmc_of_slot_probe()
H A Duniphier-sd.c381 mmc->f_min = priv->clk_rate / 1024; in uniphier_sd_clk_enable()
383 mmc->f_min = priv->clk_rate / 512; in uniphier_sd_clk_enable()
H A Dmmci.c2041 mmc->f_min = DIV_ROUND_UP(host->mclk, 257); in mmci_probe()
2043 mmc->f_min = DIV_ROUND_UP(host->mclk, 2046); in mmci_probe()
2045 mmc->f_min = clk_round_rate(host->clk, 100000); in mmci_probe()
2047 mmc->f_min = DIV_ROUND_UP(host->mclk, 512); in mmci_probe()
/kernel/linux/linux-6.6/drivers/mmc/host/
H A Dwmt-sdmmc.c175 unsigned int f_min; member
733 .f_min = 390425,
785 mmc->f_min = wmt_caps->f_min; in wmt_mci_probe()
H A Dsh_mmcif.c998 unsigned int f_max, f_min = 0, f_min_old; in sh_mmcif_clk_setup() local
1002 f_min = clk_round_rate(host->clk, f_min_old / 2); in sh_mmcif_clk_setup()
1003 if (f_min == f_min_old) in sh_mmcif_clk_setup()
1005 f_min_old = f_min; in sh_mmcif_clk_setup()
1014 host->mmc->f_min = f_min >> fls(host->clkdiv_map); in sh_mmcif_clk_setup()
1019 host->mmc->f_min = clk / 512; in sh_mmcif_clk_setup()
1023 host->mmc->f_max, host->mmc->f_min); in sh_mmcif_clk_setup()
H A Dsunplus-mmc.c234 int f_min = host->mmc->f_min; in spmmc_set_bus_clk() local
238 if (clk < f_min) in spmmc_set_bus_clk()
239 clk = f_min; in spmmc_set_bus_clk()
906 mmc->f_min = SPMMC_MIN_CLK; in spmmc_drv_probe()
H A Dcavium.c909 clock = max(clock, mmc->f_min); in cvm_mmc_set_clock()
924 cvm_mmc_set_clock(slot, slot->mmc->f_min); in cvm_mmc_init_lowlevel()
997 mmc->f_min = 400000; in cvm_mmc_of_parse()
1055 slot->clock = mmc->f_min; in cvm_mmc_of_slot_probe()
H A Duniphier-sd.c388 mmc->f_min = priv->clk_rate / 1024; in uniphier_sd_clk_enable()
390 mmc->f_min = priv->clk_rate / 512; in uniphier_sd_clk_enable()
/kernel/linux/linux-5.10/drivers/cpufreq/
H A Dlonghaul.c411 int f_max, f_min; in guess_fsb() local
416 f_min = f_max - ROUNDING; in guess_fsb()
417 if ((speed <= f_max) && (speed >= f_min)) in guess_fsb()
/kernel/linux/linux-6.6/drivers/cpufreq/
H A Dlonghaul.c411 int f_max, f_min; in guess_fsb() local
416 f_min = f_max - ROUNDING; in guess_fsb()
417 if ((speed <= f_max) && (speed >= f_min)) in guess_fsb()
/kernel/linux/linux-5.10/drivers/mmc/core/
H A Ddebugfs.c212 if (val != 0 && (val > host->f_max || val < host->f_min)) in mmc_clock_opt_set()
H A Dcore.c916 WARN_ON(hz && hz < host->f_min); in mmc_set_clock()
2319 if (!mmc_rescan_try_freq(host, max(freq, host->f_min))) in mmc_rescan()
2321 if (freqs[i] <= host->f_min) in mmc_rescan()
2333 host->f_init = max(min(freqs[0], host->f_max), host->f_min); in mmc_start_host()
/kernel/linux/linux-5.10/drivers/media/tuners/
H A Dmt2063.c421 * If the range (f_min, f_max) is totally outside the
423 * If the range (f_min, f_max) is negative, ignore the entry.
426 u32 f_min, u32 f_max) in MT2063_AddExclZone()
436 && (f_min < (pAS_Info->f_if1_Center + (pAS_Info->f_if1_bw / 2))) in MT2063_AddExclZone()
437 && (f_min < f_max)) { in MT2063_AddExclZone()
447 while ((pNode != NULL) && (pNode->max_ < f_min)) { in MT2063_AddExclZone()
454 if (f_min < pNode->min_) in MT2063_AddExclZone()
455 pNode->min_ = f_min; in MT2063_AddExclZone()
460 pNode->min_ = f_min; in MT2063_AddExclZone()
425 MT2063_AddExclZone(struct MT2063_AvoidSpursData_t *pAS_Info, u32 f_min, u32 f_max) MT2063_AddExclZone() argument
/kernel/linux/linux-6.6/drivers/media/tuners/
H A Dmt2063.c421 * If the range (f_min, f_max) is totally outside the
423 * If the range (f_min, f_max) is negative, ignore the entry.
426 u32 f_min, u32 f_max) in MT2063_AddExclZone()
436 && (f_min < (pAS_Info->f_if1_Center + (pAS_Info->f_if1_bw / 2))) in MT2063_AddExclZone()
437 && (f_min < f_max)) { in MT2063_AddExclZone()
447 while ((pNode != NULL) && (pNode->max_ < f_min)) { in MT2063_AddExclZone()
454 if (f_min < pNode->min_) in MT2063_AddExclZone()
455 pNode->min_ = f_min; in MT2063_AddExclZone()
460 pNode->min_ = f_min; in MT2063_AddExclZone()
425 MT2063_AddExclZone(struct MT2063_AvoidSpursData_t *pAS_Info, u32 f_min, u32 f_max) MT2063_AddExclZone() argument
/kernel/linux/linux-6.6/drivers/mmc/core/
H A Ddebugfs.c213 if (val != 0 && (val > host->f_max || val < host->f_min)) in mmc_clock_opt_set()
/kernel/linux/linux-5.10/drivers/scsi/ufs/
H A Dufs-exynos.c263 u32 f_min, f_max; in exynos_ufs_get_clk_info() local
287 f_min = ufs->pclk_avail_min; in exynos_ufs_get_clk_info()
297 } while (pclk_rate >= f_min); in exynos_ufs_get_clk_info()
300 if (unlikely(pclk_rate < f_min || pclk_rate > f_max)) { in exynos_ufs_get_clk_info()
/kernel/linux/linux-5.10/drivers/staging/greybus/
H A Dsdio.c154 mmc->f_min = le32_to_cpu(response.f_min); in gb_sdio_get_caps()
/kernel/linux/linux-6.6/drivers/staging/greybus/
H A Dsdio.c153 mmc->f_min = le32_to_cpu(response.f_min); in gb_sdio_get_caps()

Completed in 36 milliseconds

12345