Lines Matching defs:base
12 #define OFS_FAN_INST 0 /* Is 0 because plreg base will be set at INST */
13 #define OFS_FAN_FAIL 2 /* Is 2 bytes after base */
14 #define OFS_SEVSTAT 0 /* Is 0 because fn2 base will be set at SEVSTAT */
18 void __iomem *base;
66 writeb(val, drvdata->base + channel);
112 *val = fan_installed(dev, channel) ? readb(drvdata->base + channel) : 0;
210 drvdata->base = devm_platform_get_and_ioremap_resource(pdev, 0, NULL);
211 if (IS_ERR(drvdata->base))
212 return dev_err_probe(dev, PTR_ERR(drvdata->base),
213 "failed to map base\n");