Home
last modified time | relevance | path

Searched refs:effective_mode (Results 1 – 2 of 2) sorted by relevance

/linux-6.12.1/drivers/gpu/drm/radeon/
Dradeon_pm.c778 umode_t effective_mode = attr->mode; in hwmon_attributes_visible() local
810 effective_mode &= ~S_IRUGO; in hwmon_attributes_visible()
816 effective_mode &= ~S_IWUSR; in hwmon_attributes_visible()
825 return effective_mode; in hwmon_attributes_visible()
/linux-6.12.1/drivers/gpu/drm/amd/pm/
Damdgpu_pm.c3594 umode_t effective_mode = attr->mode; in hwmon_attributes_visible() local
3600 effective_mode &= ~S_IWUSR; in hwmon_attributes_visible()
3654 effective_mode &= ~S_IRUGO; in hwmon_attributes_visible()
3660 effective_mode &= ~S_IWUSR; in hwmon_attributes_visible()
3765 return effective_mode; in hwmon_attributes_visible()