Home
last modified time | relevance | path

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

/linux-6.1.9/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.1.9/drivers/gpu/drm/amd/amdgpu/
Damdgpu_amdkfd.c568 bool is_min) in amdgpu_amdkfd_get_xgmi_bandwidth_mbytes() argument
580 num_links = is_min ? 1 : amdgpu_xgmi_get_num_links(adev, peer_adev); in amdgpu_amdkfd_get_xgmi_bandwidth_mbytes()
592 int amdgpu_amdkfd_get_pcie_bandwidth_mbytes(struct amdgpu_device *adev, bool is_min) in amdgpu_amdkfd_get_pcie_bandwidth_mbytes() argument
594 int num_lanes_shift = (is_min ? ffs(adev->pm.pcie_mlw_mask) : in amdgpu_amdkfd_get_pcie_bandwidth_mbytes()
596 int gen_speed_shift = (is_min ? ffs(adev->pm.pcie_gen_mask & in amdgpu_amdkfd_get_pcie_bandwidth_mbytes()
Damdgpu_amdkfd.h237 bool is_min);
238 int amdgpu_amdkfd_get_pcie_bandwidth_mbytes(struct amdgpu_device *adev, bool is_min);