Searched refs:dev_max (Results 1 – 4 of 4) sorted by relevance
/linux-6.3-rc2/drivers/ufs/host/ |
A D | ufshcd-pltfrm.c | 224 const struct ufs_pa_layer_attr *dev_max, in ufshcd_get_pwr_dev_param() argument 232 if (dev_max->pwr_rx == FAST_MODE) in ufshcd_get_pwr_dev_param() 278 agreed_pwr->lane_tx = min_t(u32, dev_max->lane_tx, in ufshcd_get_pwr_dev_param() 280 agreed_pwr->lane_rx = min_t(u32, dev_max->lane_rx, in ufshcd_get_pwr_dev_param() 284 min_dev_gear = min_t(u32, dev_max->gear_rx, dev_max->gear_tx); in ufshcd_get_pwr_dev_param()
|
A D | ufshcd-pltfrm.h | 29 const struct ufs_pa_layer_attr *dev_max,
|
/linux-6.3-rc2/drivers/devfreq/ |
A D | governor_passive.c | 85 unsigned long dev_min, dev_max; in get_target_freq_with_cpufreq() local 114 devfreq_get_freq_range(devfreq, &dev_min, &dev_max); in get_target_freq_with_cpufreq() 121 freq = dev_min + mult_frac(dev_max - dev_min, cpu_percent, 100); in get_target_freq_with_cpufreq()
|
/linux-6.3-rc2/drivers/scsi/ |
A D | sd.c | 3207 unsigned int dev_max) in sd_validate_opt_xfer_size() argument 3218 if (sdkp->opt_xfer_blocks > dev_max) { in sd_validate_opt_xfer_size() 3222 sdkp->opt_xfer_blocks, dev_max); in sd_validate_opt_xfer_size() 3276 unsigned int dev_max, rw_max; in sd_revalidate_disk() local 3338 dev_max = sdp->use_16_for_rw ? SD_MAX_XFER_BLOCKS : SD_DEF_XFER_BLOCKS; in sd_revalidate_disk() 3341 dev_max = min_not_zero(dev_max, sdkp->max_xfer_blocks); in sd_revalidate_disk() 3342 q->limits.max_dev_sectors = logical_to_sectors(sdp, dev_max); in sd_revalidate_disk() 3350 if (sd_validate_opt_xfer_size(sdkp, dev_max)) { in sd_revalidate_disk() 3355 rw_max = min_not_zero(logical_to_sectors(sdp, dev_max), in sd_revalidate_disk()
|
Completed in 14 milliseconds