Home
last modified time | relevance | path

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

/linux/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()
/linux/drivers/gpu/drm/amd/amdgpu/
H A Damdgpu_amdkfd.c576 bool is_min) in amdgpu_amdkfd_get_xgmi_bandwidth_mbytes() argument
588 num_links = is_min ? 1 : amdgpu_xgmi_get_num_links(adev, peer_adev); in amdgpu_amdkfd_get_xgmi_bandwidth_mbytes()
600 int amdgpu_amdkfd_get_pcie_bandwidth_mbytes(struct amdgpu_device *adev, bool is_min) in amdgpu_amdkfd_get_pcie_bandwidth_mbytes() argument
602 int num_lanes_shift = (is_min ? ffs(adev->pm.pcie_mlw_mask) : in amdgpu_amdkfd_get_pcie_bandwidth_mbytes()
604 int gen_speed_shift = (is_min ? ffs(adev->pm.pcie_gen_mask & in amdgpu_amdkfd_get_pcie_bandwidth_mbytes()
H A Damdgpu_amdkfd.h261 bool is_min);
262 int amdgpu_amdkfd_get_pcie_bandwidth_mbytes(struct amdgpu_device *adev, bool is_min);