Lines Matching full:gsc
9 #include <linux/mfd/gsc.h>
26 struct gsc_dev *gsc; member
270 fan = of_find_compatible_node(dev->parent->of_node, NULL, "gw,gsc-fan"); in gsc_hwmon_get_devtree_pdata()
314 struct gsc_dev *gsc = dev_get_drvdata(pdev->dev.parent); in gsc_hwmon_probe() local
331 hwmon->gsc = gsc; in gsc_hwmon_probe()
335 gsc->i2c_hwmon, in gsc_hwmon_probe()
346 dev_err(gsc->dev, "too many temp channels\n"); in gsc_hwmon_probe()
356 dev_err(gsc->dev, "too many fan channels\n"); in gsc_hwmon_probe()
368 dev_err(gsc->dev, "too many input channels\n"); in gsc_hwmon_probe()
377 dev_err(gsc->dev, "invalid mode: %d\n", ch->mode); in gsc_hwmon_probe()
403 { .compatible = "gw,gsc-adc", },
409 .name = "gsc-hwmon",
418 MODULE_DESCRIPTION("GSC hardware monitor driver");