/kernel/linux/linux-5.10/drivers/memory/tegra/ |
H A D | tegra210-emc-table.c | 34 /* only the nominal and derated tables are expected */ in tegra210_emc_table_device_init() 40 if (emc->nominal) { in tegra210_emc_table_device_init() 42 dev_warn(dev, "%u derated vs. %u nominal entries\n", in tegra210_emc_table_device_init() 51 emc->nominal = timings; in tegra210_emc_table_device_init() 67 if ((emc->nominal && timings != emc->nominal) && in tegra210_emc_table_device_release()
|
H A D | tegra210-emc-core.c | 631 dev_dbg(emc->dev, "switching to nominal refresh...\n"); in tegra210_emc_poll_refresh() 788 timings = emc->nominal; in tegra210_emc_set_refresh() 1883 /* attach to the nominal and (optional) derated tables */ in tegra210_emc_probe() 1884 err = of_reserved_mem_device_init_by_name(emc->dev, np, "nominal"); in tegra210_emc_probe() 1886 dev_err(emc->dev, "failed to get nominal EMC table: %d\n", err); in tegra210_emc_probe() 1897 if (emc->nominal) { in tegra210_emc_probe() 1898 err = tegra210_emc_validate_timings(emc, emc->nominal, in tegra210_emc_probe() 1911 /* default to the nominal table */ in tegra210_emc_probe() 1912 emc->timings = emc->nominal; in tegra210_emc_probe()
|
H A D | tegra210-emc.h | 891 /* nominal EMC frequency table */ 892 struct tegra210_emc_timing *nominal; member 896 /* currently selected table (nominal or derated) */
|
/kernel/linux/linux-6.6/drivers/memory/tegra/ |
H A D | tegra210-emc-table.c | 32 /* only the nominal and derated tables are expected */ in tegra210_emc_table_device_init() 38 if (emc->nominal) { in tegra210_emc_table_device_init() 40 dev_warn(dev, "%u derated vs. %u nominal entries\n", in tegra210_emc_table_device_init() 49 emc->nominal = timings; in tegra210_emc_table_device_init() 65 if ((emc->nominal && timings != emc->nominal) && in tegra210_emc_table_device_release()
|
H A D | tegra210-emc-core.c | 631 dev_dbg(emc->dev, "switching to nominal refresh...\n"); in tegra210_emc_poll_refresh() 788 timings = emc->nominal; in tegra210_emc_set_refresh() 1849 /* attach to the nominal and (optional) derated tables */ in tegra210_emc_probe() 1850 err = of_reserved_mem_device_init_by_name(emc->dev, np, "nominal"); in tegra210_emc_probe() 1852 dev_err(emc->dev, "failed to get nominal EMC table: %d\n", err); in tegra210_emc_probe() 1863 if (emc->nominal) { in tegra210_emc_probe() 1864 err = tegra210_emc_validate_timings(emc, emc->nominal, in tegra210_emc_probe() 1877 /* default to the nominal table */ in tegra210_emc_probe() 1878 emc->timings = emc->nominal; in tegra210_emc_probe()
|
H A D | tegra210-emc.h | 891 /* nominal EMC frequency table */ 892 struct tegra210_emc_timing *nominal; member 896 /* currently selected table (nominal or derated) */
|
/kernel/linux/linux-5.10/drivers/cpufreq/ |
H A D | powernv-cpufreq.c | 150 * max, min and nominal frequencies. It also stores number of 153 * powernv_pstate_info.nominal indicates the index to the highest 159 unsigned int nominal; member 181 * corresponding to the nominal frequency. 187 return powernv_freqs[powernv_pstate_info.nominal].driver_data; in idx_to_pstate() 199 * this will return the index of the nominal 213 return powernv_pstate_info.nominal; in pstate_to_idx() 257 if (of_property_read_u32(power_mgt, "ibm,pstate-nominal", in init_powernv_pstates() 259 pr_warn("ibm,pstate-nominal not found\n"); in init_powernv_pstates() 281 pr_info("cpufreq pstate min 0x%x nominal in init_powernv_pstates() [all...] |
H A D | pcc-cpufreq.c | 87 u32 nominal; member 174 curr_freq = (((ioread32(&pcch_hdr->nominal) * (output_buffer & 0xff)) in pcc_get_freq() 221 / (ioread32(&pcch_hdr->nominal) * 1000)) << 8); in pcc_cpufreq_target() 461 " status field: 0x%x, nominal latency: %d us\n", in pcc_cpufreq_probe() 470 " nominal CPU frequency: %d MHz," in pcc_cpufreq_probe() 475 ioread32(&pcch_hdr->nominal), in pcc_cpufreq_probe() 527 ioread32(&pcch_hdr->nominal)); in pcc_cpufreq_probe() 554 ioread32(&pcch_hdr->nominal) * 1000; in pcc_cpufreq_cpu_init()
|
/kernel/linux/linux-6.6/drivers/cpufreq/ |
H A D | powernv-cpufreq.c | 150 * max, min and nominal frequencies. It also stores number of 153 * powernv_pstate_info.nominal indicates the index to the highest 159 unsigned int nominal; member 181 * corresponding to the nominal frequency. 187 return powernv_freqs[powernv_pstate_info.nominal].driver_data; in idx_to_pstate() 199 * this will return the index of the nominal 213 return powernv_pstate_info.nominal; in pstate_to_idx() 257 if (of_property_read_u32(power_mgt, "ibm,pstate-nominal", in init_powernv_pstates() 259 pr_warn("ibm,pstate-nominal not found\n"); in init_powernv_pstates() 281 pr_info("cpufreq pstate min 0x%x nominal in init_powernv_pstates() [all...] |
H A D | pcc-cpufreq.c | 88 u32 nominal; member 175 curr_freq = (((ioread32(&pcch_hdr->nominal) * (output_buffer & 0xff)) in pcc_get_freq() 222 / (ioread32(&pcch_hdr->nominal) * 1000)) << 8); in pcc_cpufreq_target() 462 " status field: 0x%x, nominal latency: %d us\n", in pcc_cpufreq_evaluate() 471 " nominal CPU frequency: %d MHz," in pcc_cpufreq_evaluate() 476 ioread32(&pcch_hdr->nominal), in pcc_cpufreq_evaluate() 528 ioread32(&pcch_hdr->nominal)); in pcc_cpufreq_evaluate() 555 ioread32(&pcch_hdr->nominal) * 1000; in pcc_cpufreq_cpu_init()
|
/kernel/linux/linux-6.6/drivers/staging/media/imx/ |
H A D | imx-media-fim.c | 65 unsigned long nominal; /* usec */ member 85 fim->nominal = DIV_ROUND_CLOSEST_ULL(1000000ULL * (u64)fi->numerator, in update_fim_nominal() 88 dev_dbg(fim->sd->dev, "FI=%lu usec\n", fim->nominal); in update_fim_nominal() 142 * from the nominal frame rate, send the frame interval error event. The 158 error = abs(interval - NSEC_PER_USEC * (u64)fim->nominal); in frame_interval_monitor()
|
/kernel/linux/linux-5.10/drivers/net/wireless/ath/ath9k/ |
H A D | ar9002_phy.c | 359 ah->nf_2g.nominal = AR_PHY_CCA_NOM_VAL_9285_2GHZ; in ar9002_hw_set_nf_limits() 363 ah->nf_2g.nominal = AR_PHY_CCA_NOM_VAL_9287_2GHZ; in ar9002_hw_set_nf_limits() 367 ah->nf_2g.nominal = AR_PHY_CCA_NOM_VAL_9271_2GHZ; in ar9002_hw_set_nf_limits() 371 ah->nf_2g.nominal = AR_PHY_CCA_NOM_VAL_9280_2GHZ; in ar9002_hw_set_nf_limits() 374 ah->nf_5g.nominal = AR_PHY_CCA_NOM_VAL_9280_5GHZ; in ar9002_hw_set_nf_limits()
|
H A D | calib.c | 69 return ath9k_hw_get_nf_limits(ah, chan)->nominal; in ath9k_hw_get_default_nf() 253 s16 default_nf = ath9k_hw_get_nf_limits(ah, chan)->nominal; in ath9k_hw_loadnf() 399 nf[i] = limit->nominal; in ath9k_hw_nf_sanitize()
|
H A D | ar9003_phy.c | 1380 ah->nf_2g.nominal = AR_PHY_CCA_NOM_VAL_9300_2GHZ; in ar9003_hw_set_nf_limits() 1383 ah->nf_5g.nominal = AR_PHY_CCA_NOM_VAL_9300_5GHZ; in ar9003_hw_set_nf_limits() 1386 ah->nf_2g.nominal = AR_PHY_CCA_NOM_VAL_9330_2GHZ; in ar9003_hw_set_nf_limits() 1390 ah->nf_2g.nominal = AR_PHY_CCA_NOM_VAL_9462_2GHZ; in ar9003_hw_set_nf_limits() 1392 ah->nf_5g.nominal = AR_PHY_CCA_NOM_VAL_9462_5GHZ; in ar9003_hw_set_nf_limits()
|
H A D | ar5008_phy.c | 1233 ah->nf_2g.nominal = AR_PHY_CCA_NOM_VAL_5416_2GHZ; in ar5008_hw_set_nf_limits() 1236 ah->nf_5g.nominal = AR_PHY_CCA_NOM_VAL_5416_5GHZ; in ar5008_hw_set_nf_limits()
|
H A D | hw.h | 758 s16 nominal; member
|
/kernel/linux/linux-6.6/drivers/net/wireless/ath/ath9k/ |
H A D | ar9002_phy.c | 359 ah->nf_2g.nominal = AR_PHY_CCA_NOM_VAL_9285_2GHZ; in ar9002_hw_set_nf_limits() 363 ah->nf_2g.nominal = AR_PHY_CCA_NOM_VAL_9287_2GHZ; in ar9002_hw_set_nf_limits() 367 ah->nf_2g.nominal = AR_PHY_CCA_NOM_VAL_9271_2GHZ; in ar9002_hw_set_nf_limits() 371 ah->nf_2g.nominal = AR_PHY_CCA_NOM_VAL_9280_2GHZ; in ar9002_hw_set_nf_limits() 374 ah->nf_5g.nominal = AR_PHY_CCA_NOM_VAL_9280_5GHZ; in ar9002_hw_set_nf_limits()
|
H A D | calib.c | 69 return ath9k_hw_get_nf_limits(ah, chan)->nominal; in ath9k_hw_get_default_nf() 253 s16 default_nf = ath9k_hw_get_nf_limits(ah, chan)->nominal; in ath9k_hw_loadnf() 399 nf[i] = limit->nominal; in ath9k_hw_nf_sanitize()
|
H A D | ar9003_phy.c | 1371 ah->nf_2g.nominal = AR_PHY_CCA_NOM_VAL_9300_2GHZ; in ar9003_hw_set_nf_limits() 1374 ah->nf_5g.nominal = AR_PHY_CCA_NOM_VAL_9300_5GHZ; in ar9003_hw_set_nf_limits() 1377 ah->nf_2g.nominal = AR_PHY_CCA_NOM_VAL_9330_2GHZ; in ar9003_hw_set_nf_limits() 1381 ah->nf_2g.nominal = AR_PHY_CCA_NOM_VAL_9462_2GHZ; in ar9003_hw_set_nf_limits() 1383 ah->nf_5g.nominal = AR_PHY_CCA_NOM_VAL_9462_5GHZ; in ar9003_hw_set_nf_limits()
|
H A D | ar5008_phy.c | 1224 ah->nf_2g.nominal = AR_PHY_CCA_NOM_VAL_5416_2GHZ; in ar5008_hw_set_nf_limits() 1227 ah->nf_5g.nominal = AR_PHY_CCA_NOM_VAL_5416_5GHZ; in ar5008_hw_set_nf_limits()
|
/kernel/linux/linux-5.10/drivers/staging/media/imx/ |
H A D | imx-media-fim.c | 65 unsigned long nominal; /* usec */ member 82 fim->nominal = DIV_ROUND_CLOSEST_ULL(1000000ULL * (u64)fi->numerator, in update_fim_nominal() 85 dev_dbg(fim->sd->dev, "FI=%lu usec\n", fim->nominal); in update_fim_nominal() 139 * from the nominal frame rate, send the frame interval error event. The 155 error = abs(interval - NSEC_PER_USEC * (u64)fim->nominal); in frame_interval_monitor()
|
/kernel/linux/linux-5.10/sound/firewire/dice/ |
H A D | dice-stream.c | 66 __be32 reg, nominal; in ensure_phase_lock() local 104 &nominal, sizeof(nominal)); in ensure_phase_lock() 107 if (!(be32_to_cpu(nominal) & STATUS_SOURCE_LOCKED)) in ensure_phase_lock()
|
/kernel/linux/linux-6.6/drivers/net/can/ctucanfd/ |
H A D | ctucanfd_base.c | 201 * @nominal: True - Nominal bit timing, False - Data bit timing 205 static int ctucan_set_btr(struct net_device *ndev, struct can_bittiming *bt, bool nominal) in ctucan_set_btr() argument 218 if (nominal) in ctucan_set_btr() 233 if (nominal) { in ctucan_set_btr() 255 * ctucan_set_bittiming() - CAN set nominal bit timing routine
|
/kernel/linux/linux-5.10/drivers/hwmon/ |
H A D | dme1737.c | 262 static inline int IN_FROM_REG(int reg, int nominal, int res) in IN_FROM_REG() argument 264 return (reg * nominal + (3 << (res - 3))) / (3 << (res - 2)); in IN_FROM_REG() 267 static inline int IN_TO_REG(long val, int nominal) in IN_TO_REG() argument 269 val = clamp_val(val, 0, 255 * nominal / 192); in IN_TO_REG() 270 return DIV_ROUND_CLOSEST(val * 192, nominal); in IN_TO_REG() 2239 /* Point to the right nominal voltages array */ in dme1737_init_device()
|
/kernel/linux/linux-6.6/drivers/hwmon/ |
H A D | dme1737.c | 262 static inline int IN_FROM_REG(int reg, int nominal, int res) in IN_FROM_REG() argument 264 return (reg * nominal + (3 << (res - 3))) / (3 << (res - 2)); in IN_FROM_REG() 267 static inline int IN_TO_REG(long val, int nominal) in IN_TO_REG() argument 269 val = clamp_val(val, 0, 255 * nominal / 192); in IN_TO_REG() 270 return DIV_ROUND_CLOSEST(val * 192, nominal); in IN_TO_REG() 2239 /* Point to the right nominal voltages array */ in dme1737_init_device()
|