/openbmc/linux/drivers/hwmon/ |
H A D | sbrmi.c | 303 struct device *hwmon_dev; in sbrmi_probe() local 324 hwmon_dev = devm_hwmon_device_register_with_info(dev, client->name, data, in sbrmi_probe() 327 return PTR_ERR_OR_ZERO(hwmon_dev); in sbrmi_probe()
|
H A D | lm90.c | 687 struct device *hwmon_dev; member 1052 struct device *hwmon_dev = data->hwmon_dev; in lm90_report_alarms() local 1084 hwmon_notify_event(hwmon_dev, hwmon_temp, hwmon_temp_min_alarm, 0); in lm90_report_alarms() 1086 hwmon_notify_event(hwmon_dev, hwmon_temp, hwmon_temp_min_alarm, 1); in lm90_report_alarms() 1088 hwmon_notify_event(hwmon_dev, hwmon_temp, hwmon_temp_min_alarm, 2); in lm90_report_alarms() 1091 hwmon_notify_event(hwmon_dev, hwmon_temp, hwmon_temp_max_alarm, 0); in lm90_report_alarms() 1093 hwmon_notify_event(hwmon_dev, hwmon_temp, hwmon_temp_max_alarm, 1); in lm90_report_alarms() 2748 struct device *hwmon_dev; in lm90_probe() local 2897 if (IS_ERR(hwmon_dev)) in lm90_probe() 2898 return PTR_ERR(hwmon_dev); in lm90_probe() [all …]
|
H A D | max6642.c | 271 struct device *hwmon_dev; in max6642_probe() local 283 hwmon_dev = devm_hwmon_device_register_with_groups(&client->dev, in max6642_probe() 286 return PTR_ERR_OR_ZERO(hwmon_dev); in max6642_probe()
|
H A D | aht10.c | 337 struct device *hwmon_dev; in aht10_probe() local 372 hwmon_dev = devm_hwmon_device_register_with_info(device, in aht10_probe() 378 return PTR_ERR_OR_ZERO(hwmon_dev); in aht10_probe()
|
H A D | max127.c | 309 struct device *hwmon_dev; in max127_probe() local 323 hwmon_dev = devm_hwmon_device_register_with_info(dev, client->name, in max127_probe() 328 return PTR_ERR_OR_ZERO(hwmon_dev); in max127_probe()
|
H A D | sfctemp.c | 257 struct device *hwmon_dev; in sfctemp_probe() local 308 hwmon_dev = devm_hwmon_device_register_with_info(dev, "sfctemp", sfctemp, in sfctemp_probe() 310 return PTR_ERR_OR_ZERO(hwmon_dev); in sfctemp_probe()
|
H A D | xgene-hwmon.c | 109 struct device *hwmon_dev; member 465 if (IS_ERR_OR_NULL(ctx->hwmon_dev) && !ctx->resp_pending) { in xgene_hwmon_rx_ready() 730 ctx->hwmon_dev = hwmon_device_register_with_groups(ctx->dev, in xgene_hwmon_probe() 734 if (IS_ERR(ctx->hwmon_dev)) { in xgene_hwmon_probe() 736 rc = PTR_ERR(ctx->hwmon_dev); in xgene_hwmon_probe() 765 hwmon_device_unregister(ctx->hwmon_dev); in xgene_hwmon_remove()
|
H A D | max1619.c | 267 struct device *hwmon_dev; in max1619_probe() local 280 hwmon_dev = devm_hwmon_device_register_with_groups(&new_client->dev, in max1619_probe() 284 return PTR_ERR_OR_ZERO(hwmon_dev); in max1619_probe()
|
H A D | smsc47b397.c | 223 struct device *hwmon_dev; in smsc47b397_probe() local 243 hwmon_dev = devm_hwmon_device_register_with_groups(dev, "smsc47b397", in smsc47b397_probe() 246 return PTR_ERR_OR_ZERO(hwmon_dev); in smsc47b397_probe()
|
H A D | lm92.c | 297 struct device *hwmon_dev; in lm92_probe() local 311 hwmon_dev = devm_hwmon_device_register_with_groups(&new_client->dev, in lm92_probe() 314 return PTR_ERR_OR_ZERO(hwmon_dev); in lm92_probe()
|
H A D | ad7418.c | 240 struct device *hwmon_dev; in ad7418_probe() local 282 hwmon_dev = devm_hwmon_device_register_with_groups(dev, in ad7418_probe() 285 return PTR_ERR_OR_ZERO(hwmon_dev); in ad7418_probe()
|
H A D | emc1403.c | 394 struct device *hwmon_dev; in emc1403_probe() local 422 hwmon_dev = devm_hwmon_device_register_with_groups(&client->dev, in emc1403_probe() 425 if (IS_ERR(hwmon_dev)) in emc1403_probe() 426 return PTR_ERR(hwmon_dev); in emc1403_probe()
|
H A D | ina238.c | 537 struct device *hwmon_dev; in ina238_probe() local 606 hwmon_dev = devm_hwmon_device_register_with_info(dev, client->name, data, in ina238_probe() 609 if (IS_ERR(hwmon_dev)) in ina238_probe() 610 return PTR_ERR(hwmon_dev); in ina238_probe()
|
H A D | sch5627.c | 438 struct device *hwmon_dev; in sch5627_probe() local 521 hwmon_dev = devm_hwmon_device_register_with_info(&pdev->dev, DEVNAME, data, in sch5627_probe() 523 if (IS_ERR(hwmon_dev)) in sch5627_probe() 524 return PTR_ERR(hwmon_dev); in sch5627_probe()
|
H A D | adm1029.c | 359 struct device *hwmon_dev; in adm1029_probe() local 375 hwmon_dev = devm_hwmon_device_register_with_groups(dev, client->name, in adm1029_probe() 378 return PTR_ERR_OR_ZERO(hwmon_dev); in adm1029_probe()
|
H A D | max31827.c | 412 struct device *hwmon_dev; in max31827_probe() local 434 hwmon_dev = devm_hwmon_device_register_with_info(dev, client->name, st, in max31827_probe() 438 return PTR_ERR_OR_ZERO(hwmon_dev); in max31827_probe()
|
H A D | i5k_amb.c | 94 struct device *hwmon_dev; member 380 data->hwmon_dev = hwmon_device_register(&pdev->dev); in i5k_amb_hwmon_init() 381 if (IS_ERR(data->hwmon_dev)) { in i5k_amb_hwmon_init() 382 res = PTR_ERR(data->hwmon_dev); in i5k_amb_hwmon_init() 563 hwmon_device_unregister(data->hwmon_dev); in i5k_amb_remove()
|
H A D | ibmpex.c | 66 struct device *hwmon_dev; member 482 data->hwmon_dev = hwmon_device_register(data->bmc_device); in ibmpex_register_bmc() 484 if (IS_ERR(data->hwmon_dev)) { in ibmpex_register_bmc() 506 hwmon_device_unregister(data->hwmon_dev); in ibmpex_register_bmc() 531 hwmon_device_unregister(data->hwmon_dev); in ibmpex_bmc_delete()
|
H A D | ds1621.c | 350 struct device *hwmon_dev; in ds1621_probe() local 365 hwmon_dev = devm_hwmon_device_register_with_groups(&client->dev, in ds1621_probe() 368 return PTR_ERR_OR_ZERO(hwmon_dev); in ds1621_probe()
|
H A D | lm83.c | 430 struct device *hwmon_dev; in lm83_probe() local 443 hwmon_dev = devm_hwmon_device_register_with_info(dev, client->name, in lm83_probe() 445 return PTR_ERR_OR_ZERO(hwmon_dev); in lm83_probe()
|
H A D | ltc4245.c | 447 struct device *hwmon_dev; in ltc4245_probe() local 464 hwmon_dev = devm_hwmon_device_register_with_info(&client->dev, in ltc4245_probe() 468 return PTR_ERR_OR_ZERO(hwmon_dev); in ltc4245_probe()
|
H A D | max6621.c | 484 struct device *hwmon_dev; in max6621_probe() local 531 hwmon_dev = devm_hwmon_device_register_with_info(dev, client->name, in max6621_probe() 536 return PTR_ERR_OR_ZERO(hwmon_dev); in max6621_probe()
|
H A D | lochnagar-hwmon.c | 373 struct device *hwmon_dev; in lochnagar_hwmon_probe() local 392 hwmon_dev = devm_hwmon_device_register_with_info(dev, "Lochnagar", priv, in lochnagar_hwmon_probe() 396 return PTR_ERR_OR_ZERO(hwmon_dev); in lochnagar_hwmon_probe()
|
H A D | lm77.c | 321 struct device *hwmon_dev; in lm77_probe() local 334 hwmon_dev = devm_hwmon_device_register_with_groups(dev, client->name, in lm77_probe() 336 return PTR_ERR_OR_ZERO(hwmon_dev); in lm77_probe()
|
/openbmc/linux/drivers/net/ethernet/qlogic/qlcnic/ |
H A D | qlcnic_sysfs.c | 1292 struct device *hwmon_dev; in qlcnic_register_hwmon_dev() local 1296 adapter->ahw->hwmon_dev = NULL; in qlcnic_register_hwmon_dev() 1299 hwmon_dev = hwmon_device_register_with_groups(dev, qlcnic_driver_name, in qlcnic_register_hwmon_dev() 1302 if (IS_ERR(hwmon_dev)) { in qlcnic_register_hwmon_dev() 1304 PTR_ERR(hwmon_dev)); in qlcnic_register_hwmon_dev() 1305 hwmon_dev = NULL; in qlcnic_register_hwmon_dev() 1307 adapter->ahw->hwmon_dev = hwmon_dev; in qlcnic_register_hwmon_dev() 1312 struct device *hwmon_dev = adapter->ahw->hwmon_dev; in qlcnic_unregister_hwmon_dev() local 1313 if (hwmon_dev) { in qlcnic_unregister_hwmon_dev() 1314 hwmon_device_unregister(hwmon_dev); in qlcnic_unregister_hwmon_dev() [all …]
|