Home
last modified time | relevance | path

Searched refs:is_min (Results 1 - 6 of 6) sorted by relevance

/kernel/linux/linux-5.10/drivers/hwmon/
H A Dmax197.c94 bool is_min = attr->nr; in max197_show_range() local
102 if (is_min) { in max197_show_range()
122 bool is_min = attr->nr; in max197_store_range() local
130 if (is_min) { in max197_store_range()
H A Demc1403.c100 bool is_min) in show_hyst_common()
117 return sprintf(buf, "%d000\n", is_min ? limit + hyst : limit - hyst); in show_hyst_common()
98 show_hyst_common(struct device *dev, struct device_attribute *attr, char *buf, bool is_min) show_hyst_common() argument
/kernel/linux/linux-6.6/drivers/hwmon/
H A Dmax197.c94 bool is_min = attr->nr; in max197_show_range() local
102 if (is_min) { in max197_show_range()
122 bool is_min = attr->nr; in max197_store_range() local
130 if (is_min) { in max197_store_range()
H A Demc1403.c100 bool is_min) in show_hyst_common()
117 return sprintf(buf, "%d000\n", is_min ? limit + hyst : limit - hyst); in show_hyst_common()
98 show_hyst_common(struct device *dev, struct device_attribute *attr, char *buf, bool is_min) show_hyst_common() argument
/kernel/linux/linux-6.6/drivers/gpu/drm/amd/amdgpu/
H A Damdgpu_amdkfd.c566 bool is_min) in amdgpu_amdkfd_get_xgmi_bandwidth_mbytes()
578 num_links = is_min ? 1 : amdgpu_xgmi_get_num_links(adev, peer_adev); in amdgpu_amdkfd_get_xgmi_bandwidth_mbytes()
590 int amdgpu_amdkfd_get_pcie_bandwidth_mbytes(struct amdgpu_device *adev, bool is_min) in amdgpu_amdkfd_get_pcie_bandwidth_mbytes() argument
592 int num_lanes_shift = (is_min ? ffs(adev->pm.pcie_mlw_mask) : in amdgpu_amdkfd_get_pcie_bandwidth_mbytes()
594 int gen_speed_shift = (is_min ? ffs(adev->pm.pcie_gen_mask & in amdgpu_amdkfd_get_pcie_bandwidth_mbytes()
564 amdgpu_amdkfd_get_xgmi_bandwidth_mbytes(struct amdgpu_device *dst, struct amdgpu_device *src, bool is_min) amdgpu_amdkfd_get_xgmi_bandwidth_mbytes() argument
H A Damdgpu_amdkfd.h249 bool is_min);
250 int amdgpu_amdkfd_get_pcie_bandwidth_mbytes(struct amdgpu_device *adev, bool is_min);

Completed in 5 milliseconds