Lines Matching full:gsc
9 #include <linux/mfd/gsc.h>
26 struct gsc_dev *gsc; member
271 fan = of_find_compatible_node(dev->parent->of_node, NULL, "gw,gsc-fan"); in gsc_hwmon_get_devtree_pdata()
318 struct gsc_dev *gsc = dev_get_drvdata(pdev->dev.parent); in gsc_hwmon_probe() local
335 hwmon->gsc = gsc; in gsc_hwmon_probe()
339 gsc->i2c_hwmon, in gsc_hwmon_probe()
350 dev_err(gsc->dev, "too many temp channels\n"); in gsc_hwmon_probe()
360 dev_err(gsc->dev, "too many fan channels\n"); in gsc_hwmon_probe()
372 dev_err(gsc->dev, "too many input channels\n"); in gsc_hwmon_probe()
381 dev_err(gsc->dev, "invalid mode: %d\n", ch->mode); in gsc_hwmon_probe()
407 { .compatible = "gw,gsc-adc", },
413 .name = "gsc-hwmon",
422 MODULE_DESCRIPTION("GSC hardware monitor driver");