Lines Matching defs:rk808
15 #include <linux/mfd/rk808.h>
65 struct rk808 *rk808;
277 ret = regmap_read(pci->rk808->regmap, pci->pin_cfg[offset].reg, &val);
293 ret = regmap_update_bits(pci->rk808->regmap, pci->pin_cfg[offset].reg, pci->pin_cfg[offset].val_msk,
322 ret = regmap_read(pci->rk808->regmap, pci->pin_cfg[offset].reg, &val);
446 ret = regmap_update_bits(pci->rk808->regmap, pci->pin_cfg[offset].reg, pci->pin_cfg[offset].fun_msk,
453 ret = regmap_update_bits(pci->rk808->regmap, pci->pin_cfg[offset].reg, pci->pin_cfg[offset].fun_msk, 0);
476 ret = regmap_update_bits(pci->rk808->regmap, pci->pin_cfg[offset].reg, pci->pin_cfg[offset].fun_msk, mux);
490 switch (pci->rk808->variant) {
515 ret = regmap_update_bits(pci->rk808->regmap, pci->pin_cfg[offset].reg, pci->pin_cfg[offset].dir_msk,
531 switch (pci->rk808->variant) {
647 pci->rk808 = dev_get_drvdata(pdev->dev.parent);
651 switch (pci->rk808->variant) {
697 if (pci->rk808->variant == RK809_ID) {
706 dev_err(&pdev->dev, "unsupported RK805 ID %lu\n", pci->rk808->variant);