Home
last modified time | relevance | path

Searched refs:is_min (Results 1 – 4 of 4) sorted by relevance

/linux-6.6.21/drivers/hwmon/
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()
Demc1403.c100 bool is_min) in show_hyst_common() argument
117 return sprintf(buf, "%d000\n", is_min ? limit + hyst : limit - hyst); in show_hyst_common()
/linux-6.6.21/drivers/gpu/drm/amd/amdgpu/
Damdgpu_amdkfd.c566 bool is_min) in amdgpu_amdkfd_get_xgmi_bandwidth_mbytes() argument
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()
Damdgpu_amdkfd.h249 bool is_min);
250 int amdgpu_amdkfd_get_pcie_bandwidth_mbytes(struct amdgpu_device *adev, bool is_min);