Lines Matching defs:controller
2109 DRM_INFO("Possible %s thermal controller at 0x%02x\n",
2286 ATOM_PPLIB_THERMALCONTROLLER *controller)
2291 if (controller->ucType > 0) {
2292 if (controller->ucFanParameters & ATOM_PP_FANPARAMETERS_NOFAN)
2295 controller->ucFanParameters & ATOM_PP_FANPARAMETERS_TACHOMETER_PULSES_PER_REVOLUTION_MASK;
2297 rdev->pm.fan_min_rpm = controller->ucFanMinRPM;
2298 rdev->pm.fan_max_rpm = controller->ucFanMaxRPM;
2300 if (controller->ucType == ATOM_PP_THERMALCONTROLLER_RV6xx) {
2301 DRM_INFO("Internal thermal controller %s fan control\n",
2302 (controller->ucFanParameters &
2305 } else if (controller->ucType == ATOM_PP_THERMALCONTROLLER_RV770) {
2306 DRM_INFO("Internal thermal controller %s fan control\n",
2307 (controller->ucFanParameters &
2310 } else if (controller->ucType == ATOM_PP_THERMALCONTROLLER_EVERGREEN) {
2311 DRM_INFO("Internal thermal controller %s fan control\n",
2312 (controller->ucFanParameters &
2315 } else if (controller->ucType == ATOM_PP_THERMALCONTROLLER_SUMO) {
2316 DRM_INFO("Internal thermal controller %s fan control\n",
2317 (controller->ucFanParameters &
2320 } else if (controller->ucType == ATOM_PP_THERMALCONTROLLER_NISLANDS) {
2321 DRM_INFO("Internal thermal controller %s fan control\n",
2322 (controller->ucFanParameters &
2325 } else if (controller->ucType == ATOM_PP_THERMALCONTROLLER_SISLANDS) {
2326 DRM_INFO("Internal thermal controller %s fan control\n",
2327 (controller->ucFanParameters &
2330 } else if (controller->ucType == ATOM_PP_THERMALCONTROLLER_CISLANDS) {
2331 DRM_INFO("Internal thermal controller %s fan control\n",
2332 (controller->ucFanParameters &
2335 } else if (controller->ucType == ATOM_PP_THERMALCONTROLLER_KAVERI) {
2336 DRM_INFO("Internal thermal controller %s fan control\n",
2337 (controller->ucFanParameters &
2340 } else if (controller->ucType ==
2342 DRM_INFO("External GPIO thermal controller %s fan control\n",
2343 (controller->ucFanParameters &
2346 } else if (controller->ucType ==
2348 DRM_INFO("ADT7473 with internal thermal controller %s fan control\n",
2349 (controller->ucFanParameters &
2352 } else if (controller->ucType ==
2354 DRM_INFO("EMC2103 with internal thermal controller %s fan control\n",
2355 (controller->ucFanParameters &
2358 } else if (controller->ucType < ARRAY_SIZE(pp_lib_thermal_controller_names)) {
2359 DRM_INFO("Possible %s thermal controller at 0x%02x %s fan control\n",
2360 pp_lib_thermal_controller_names[controller->ucType],
2361 controller->ucI2cAddress >> 1,
2362 (controller->ucFanParameters &
2365 i2c_bus = radeon_lookup_i2c_gpio(rdev, controller->ucI2cLine);
2370 const char *name = pp_lib_thermal_controller_names[controller->ucType];
2371 info.addr = controller->ucI2cAddress >> 1;
2377 DRM_INFO("Unknown thermal controller type %d at 0x%02x %s fan control\n",
2378 controller->ucType,
2379 controller->ucI2cAddress >> 1,
2380 (controller->ucFanParameters &