iodev 23 drivers/clk/clk-s2mps11.c struct sec_pmic_dev *iodev; iodev 41 drivers/clk/clk-s2mps11.c return regmap_update_bits(s2mps11->iodev->regmap_pmic, iodev 50 drivers/clk/clk-s2mps11.c regmap_update_bits(s2mps11->iodev->regmap_pmic, s2mps11->reg, iodev 60 drivers/clk/clk-s2mps11.c ret = regmap_read(s2mps11->iodev->regmap_pmic, iodev 100 drivers/clk/clk-s2mps11.c struct sec_pmic_dev *iodev = dev_get_drvdata(pdev->dev.parent); iodev 104 drivers/clk/clk-s2mps11.c if (!iodev->dev->of_node) iodev 107 drivers/clk/clk-s2mps11.c clk_np = of_get_child_by_name(iodev->dev->of_node, "clocks"); iodev 122 drivers/clk/clk-s2mps11.c struct sec_pmic_dev *iodev = dev_get_drvdata(pdev->dev.parent); iodev 166 drivers/clk/clk-s2mps11.c s2mps11_clks[i].iodev = iodev; iodev 146 drivers/iio/adc/lpc32xx_adc.c struct iio_dev *iodev = NULL; iodev 155 drivers/iio/adc/lpc32xx_adc.c iodev = devm_iio_device_alloc(&pdev->dev, sizeof(*st)); iodev 156 drivers/iio/adc/lpc32xx_adc.c if (!iodev) iodev 159 drivers/iio/adc/lpc32xx_adc.c st = iio_priv(iodev); iodev 187 drivers/iio/adc/lpc32xx_adc.c iodev->channels = lpc32xx_adc_iio_channels; iodev 191 drivers/iio/adc/lpc32xx_adc.c iodev->channels = lpc32xx_adc_iio_scale_channels; iodev 194 drivers/iio/adc/lpc32xx_adc.c platform_set_drvdata(pdev, iodev); iodev 198 drivers/iio/adc/lpc32xx_adc.c iodev->name = LPC32XXAD_NAME; iodev 199 drivers/iio/adc/lpc32xx_adc.c iodev->dev.parent = &pdev->dev; iodev 200 drivers/iio/adc/lpc32xx_adc.c iodev->info = &lpc32xx_adc_iio_info; iodev 201 drivers/iio/adc/lpc32xx_adc.c iodev->modes = INDIO_DIRECT_MODE; iodev 202 drivers/iio/adc/lpc32xx_adc.c iodev->num_channels = ARRAY_SIZE(lpc32xx_adc_iio_channels); iodev 204 drivers/iio/adc/lpc32xx_adc.c retval = devm_iio_device_register(&pdev->dev, iodev); iodev 241 drivers/input/misc/max8997_haptic.c struct max8997_dev *iodev = dev_get_drvdata(pdev->dev.parent); iodev 243 drivers/input/misc/max8997_haptic.c dev_get_platdata(iodev->dev); iodev 268 drivers/input/misc/max8997_haptic.c chip->client = iodev->haptic; iodev 848 drivers/leds/leds-max77693.c struct max77693_dev *iodev = dev_get_drvdata(dev->parent); iodev 849 drivers/leds/leds-max77693.c struct i2c_client *i2c = iodev->i2c; iodev 948 drivers/leds/leds-max77693.c struct max77693_dev *iodev = dev_get_drvdata(dev->parent); iodev 960 drivers/leds/leds-max77693.c led->regmap = iodev->regmap; iodev 39 drivers/leds/leds-max8997.c struct max8997_dev *iodev; iodev 51 drivers/leds/leds-max8997.c struct i2c_client *client = led->iodev->i2c; iodev 90 drivers/leds/leds-max8997.c dev_err(led->iodev->dev, iodev 100 drivers/leds/leds-max8997.c struct i2c_client *client = led->iodev->i2c; iodev 110 drivers/leds/leds-max8997.c dev_err(led->iodev->dev, iodev 120 drivers/leds/leds-max8997.c struct i2c_client *client = led->iodev->i2c; iodev 143 drivers/leds/leds-max8997.c dev_err(led->iodev->dev, iodev 235 drivers/leds/leds-max8997.c struct max8997_dev *iodev = dev_get_drvdata(pdev->dev.parent); iodev 236 drivers/leds/leds-max8997.c struct max8997_platform_data *pdata = dev_get_platdata(iodev->dev); iodev 258 drivers/leds/leds-max8997.c led->iodev = iodev; iodev 18 drivers/power/supply/max8997_charger.c struct max8997_dev *iodev; iodev 34 drivers/power/supply/max8997_charger.c struct i2c_client *i2c = charger->iodev->i2c; iodev 86 drivers/power/supply/max8997_charger.c struct max8997_dev *iodev = dev_get_drvdata(pdev->dev.parent); iodev 87 drivers/power/supply/max8997_charger.c struct max8997_platform_data *pdata = dev_get_platdata(iodev->dev); iodev 100 drivers/power/supply/max8997_charger.c ret = max8997_update_reg(iodev->i2c, iodev 110 drivers/power/supply/max8997_charger.c ret = max8997_update_reg(iodev->i2c, MAX8997_REG_MBCCTRL1, iodev 114 drivers/power/supply/max8997_charger.c ret = max8997_update_reg(iodev->i2c, MAX8997_REG_MBCCTRL1, iodev 118 drivers/power/supply/max8997_charger.c ret = max8997_update_reg(iodev->i2c, MAX8997_REG_MBCCTRL1, iodev 122 drivers/power/supply/max8997_charger.c ret = max8997_update_reg(iodev->i2c, MAX8997_REG_MBCCTRL1, iodev 143 drivers/power/supply/max8997_charger.c charger->iodev = iodev; iodev 19 drivers/power/supply/max8998_charger.c struct max8998_dev *iodev; iodev 34 drivers/power/supply/max8998_charger.c struct i2c_client *i2c = max8998->iodev->i2c; iodev 74 drivers/power/supply/max8998_charger.c struct max8998_dev *iodev = dev_get_drvdata(pdev->dev.parent); iodev 75 drivers/power/supply/max8998_charger.c struct max8998_platform_data *pdata = iodev->pdata; iodev 92 drivers/power/supply/max8998_charger.c max8998->iodev = iodev; iodev 94 drivers/power/supply/max8998_charger.c i2c = max8998->iodev->i2c; iodev 506 drivers/regulator/max77686-regulator.c struct max77686_dev *iodev = dev_get_drvdata(pdev->dev.parent); iodev 519 drivers/regulator/max77686-regulator.c config.dev = iodev->dev; iodev 520 drivers/regulator/max77686-regulator.c config.regmap = iodev->regmap; iodev 231 drivers/regulator/max77693-regulator.c struct max77693_dev *iodev = dev_get_drvdata(pdev->dev.parent); iodev 237 drivers/regulator/max77693-regulator.c config.dev = iodev->dev; iodev 258 drivers/regulator/max77693-regulator.c config.regmap = max77693_get_regmap(type, iodev, iodev 526 drivers/regulator/max77802-regulator.c struct max77686_dev *iodev = dev_get_drvdata(pdev->dev.parent); iodev 537 drivers/regulator/max77802-regulator.c config.dev = iodev->dev; iodev 538 drivers/regulator/max77802-regulator.c config.regmap = iodev->regmap; iodev 548 drivers/regulator/max77802-regulator.c ret = regmap_read(iodev->regmap, regulators[i].enable_reg, &val); iodev 25 drivers/regulator/max8997-regulator.c struct max8997_dev *iodev; iodev 245 drivers/regulator/max8997-regulator.c struct i2c_client *i2c = max8997->iodev->i2c; iodev 263 drivers/regulator/max8997-regulator.c struct i2c_client *i2c = max8997->iodev->i2c; iodev 276 drivers/regulator/max8997-regulator.c struct i2c_client *i2c = max8997->iodev->i2c; iodev 355 drivers/regulator/max8997-regulator.c struct i2c_client *i2c = max8997->iodev->i2c; iodev 400 drivers/regulator/max8997-regulator.c struct i2c_client *i2c = max8997->iodev->i2c; iodev 452 drivers/regulator/max8997-regulator.c struct i2c_client *i2c = max8997->iodev->i2c; iodev 694 drivers/regulator/max8997-regulator.c struct i2c_client *i2c = max8997->iodev->i2c; iodev 711 drivers/regulator/max8997-regulator.c struct i2c_client *i2c = max8997->iodev->i2c; iodev 897 drivers/regulator/max8997-regulator.c struct max8997_dev *iodev = dev_get_drvdata(pdev->dev.parent); iodev 902 drivers/regulator/max8997-regulator.c pmic_np = iodev->dev->of_node; iodev 1012 drivers/regulator/max8997-regulator.c struct max8997_dev *iodev = dev_get_drvdata(pdev->dev.parent); iodev 1013 drivers/regulator/max8997-regulator.c struct max8997_platform_data *pdata = iodev->pdata; iodev 1026 drivers/regulator/max8997-regulator.c if (iodev->dev->of_node) { iodev 1038 drivers/regulator/max8997-regulator.c max8997->iodev = iodev; iodev 1041 drivers/regulator/max8997-regulator.c i2c = max8997->iodev->i2c; iodev 27 drivers/regulator/max8998.c struct max8998_dev *iodev; iodev 76 drivers/regulator/max8998.c struct i2c_client *i2c = max8998->iodev->i2c; iodev 94 drivers/regulator/max8998.c struct i2c_client *i2c = max8998->iodev->i2c; iodev 107 drivers/regulator/max8998.c struct i2c_client *i2c = max8998->iodev->i2c; iodev 183 drivers/regulator/max8998.c struct i2c_client *i2c = max8998->iodev->i2c; iodev 205 drivers/regulator/max8998.c struct i2c_client *i2c = max8998->iodev->i2c; iodev 232 drivers/regulator/max8998.c struct max8998_platform_data *pdata = max8998->iodev->pdata; iodev 233 drivers/regulator/max8998.c struct i2c_client *i2c = max8998->iodev->i2c; iodev 336 drivers/regulator/max8998.c struct i2c_client *i2c = max8998->iodev->i2c; iodev 351 drivers/regulator/max8998.c if (max8998->iodev->type == TYPE_MAX8998 && !(val & MAX8998_ENRAMP)) iodev 437 drivers/regulator/max8998.c static int max8998_pmic_dt_parse_dvs_gpio(struct max8998_dev *iodev, iodev 445 drivers/regulator/max8998.c dev_err(iodev->dev, "invalid buck1 gpio[0]: %d\n", gpio); iodev 452 drivers/regulator/max8998.c dev_err(iodev->dev, "invalid buck1 gpio[1]: %d\n", gpio); iodev 459 drivers/regulator/max8998.c dev_err(iodev->dev, "invalid buck 2 gpio: %d\n", gpio); iodev 467 drivers/regulator/max8998.c static int max8998_pmic_dt_parse_pdata(struct max8998_dev *iodev, iodev 470 drivers/regulator/max8998.c struct device_node *pmic_np = iodev->dev->of_node; iodev 478 drivers/regulator/max8998.c dev_err(iodev->dev, "could not find regulators sub-node\n"); iodev 485 drivers/regulator/max8998.c rdata = devm_kcalloc(iodev->dev, iodev 501 drivers/regulator/max8998.c rdata->initdata = of_get_regulator_init_data(iodev->dev, iodev 512 drivers/regulator/max8998.c ret = max8998_pmic_dt_parse_dvs_gpio(iodev, pdata, pmic_np); iodev 524 drivers/regulator/max8998.c dev_warn(iodev->dev, "invalid value for default dvs index, using 0 instead\n"); iodev 532 drivers/regulator/max8998.c dev_warn(iodev->dev, "invalid value for default dvs index, using 0 instead\n"); iodev 540 drivers/regulator/max8998.c dev_err(iodev->dev, "buck1 voltages not specified\n"); iodev 549 drivers/regulator/max8998.c dev_err(iodev->dev, "buck2 voltages not specified\n"); iodev 558 drivers/regulator/max8998.c struct max8998_dev *iodev = dev_get_drvdata(pdev->dev.parent); iodev 559 drivers/regulator/max8998.c struct max8998_platform_data *pdata = iodev->pdata; iodev 572 drivers/regulator/max8998.c if (IS_ENABLED(CONFIG_OF) && iodev->dev->of_node) { iodev 573 drivers/regulator/max8998.c ret = max8998_pmic_dt_parse_pdata(iodev, pdata); iodev 584 drivers/regulator/max8998.c max8998->iodev = iodev; iodev 587 drivers/regulator/max8998.c i2c = max8998->iodev->i2c; iodev 342 drivers/regulator/s2mpa01.c struct sec_pmic_dev *iodev = dev_get_drvdata(pdev->dev.parent); iodev 343 drivers/regulator/s2mpa01.c struct sec_platform_data *pdata = dev_get_platdata(iodev->dev); iodev 352 drivers/regulator/s2mpa01.c config.dev = iodev->dev; iodev 353 drivers/regulator/s2mpa01.c config.regmap = iodev->regmap_pmic; iodev 1123 drivers/regulator/s2mps11.c struct sec_pmic_dev *iodev = dev_get_drvdata(pdev->dev.parent); iodev 1175 drivers/regulator/s2mps11.c if (!iodev->dev->of_node) { iodev 1176 drivers/regulator/s2mps11.c if (iodev->pdata) { iodev 1177 drivers/regulator/s2mps11.c pdata = iodev->pdata; iodev 1201 drivers/regulator/s2mps11.c config.regmap = iodev->regmap_pmic; iodev 22 drivers/regulator/s5m8767.c struct sec_pmic_dev *iodev; iodev 477 drivers/regulator/s5m8767.c return regmap_update_bits(s5m8767->iodev->regmap_pmic, iodev 484 drivers/regulator/s5m8767.c static int s5m8767_pmic_dt_parse_dvs_gpio(struct sec_pmic_dev *iodev, iodev 494 drivers/regulator/s5m8767.c dev_err(iodev->dev, "invalid gpio[%d]: %d\n", i, gpio); iodev 502 drivers/regulator/s5m8767.c static int s5m8767_pmic_dt_parse_ds_gpio(struct sec_pmic_dev *iodev, iodev 512 drivers/regulator/s5m8767.c dev_err(iodev->dev, "invalid gpio[%d]: %d\n", i, gpio); iodev 523 drivers/regulator/s5m8767.c struct sec_pmic_dev *iodev = dev_get_drvdata(pdev->dev.parent); iodev 529 drivers/regulator/s5m8767.c pmic_np = iodev->dev->of_node; iodev 531 drivers/regulator/s5m8767.c dev_err(iodev->dev, "could not find pmic sub-node\n"); iodev 537 drivers/regulator/s5m8767.c dev_err(iodev->dev, "could not find regulators sub-node\n"); iodev 564 drivers/regulator/s5m8767.c dev_warn(iodev->dev, iodev 591 drivers/regulator/s5m8767.c dev_warn(iodev->dev, iodev 608 drivers/regulator/s5m8767.c dev_err(iodev->dev, "buck2 voltages not specified\n"); iodev 619 drivers/regulator/s5m8767.c dev_err(iodev->dev, "buck3 voltages not specified\n"); iodev 630 drivers/regulator/s5m8767.c dev_err(iodev->dev, "buck4 voltages not specified\n"); iodev 637 drivers/regulator/s5m8767.c ret = s5m8767_pmic_dt_parse_dvs_gpio(iodev, pdata, pmic_np); iodev 648 drivers/regulator/s5m8767.c dev_info(iodev->dev, iodev 654 drivers/regulator/s5m8767.c ret = s5m8767_pmic_dt_parse_ds_gpio(iodev, pdata, pmic_np); iodev 686 drivers/regulator/s5m8767.c struct sec_pmic_dev *iodev = dev_get_drvdata(pdev->dev.parent); iodev 687 drivers/regulator/s5m8767.c struct sec_platform_data *pdata = iodev->pdata; iodev 697 drivers/regulator/s5m8767.c if (iodev->dev->of_node) { iodev 730 drivers/regulator/s5m8767.c s5m8767->iodev = iodev; iodev 754 drivers/regulator/s5m8767.c regmap_write(s5m8767->iodev->regmap_pmic, S5M8767_REG_BUCK2DVS2, iodev 760 drivers/regulator/s5m8767.c regmap_write(s5m8767->iodev->regmap_pmic, S5M8767_REG_BUCK3DVS2, iodev 766 drivers/regulator/s5m8767.c regmap_write(s5m8767->iodev->regmap_pmic, S5M8767_REG_BUCK4DVS2, iodev 849 drivers/regulator/s5m8767.c regmap_update_bits(s5m8767->iodev->regmap_pmic, iodev 852 drivers/regulator/s5m8767.c regmap_update_bits(s5m8767->iodev->regmap_pmic, iodev 855 drivers/regulator/s5m8767.c regmap_update_bits(s5m8767->iodev->regmap_pmic, iodev 863 drivers/regulator/s5m8767.c regmap_write(s5m8767->iodev->regmap_pmic, iodev 869 drivers/regulator/s5m8767.c regmap_write(s5m8767->iodev->regmap_pmic, iodev 875 drivers/regulator/s5m8767.c regmap_write(s5m8767->iodev->regmap_pmic, iodev 882 drivers/regulator/s5m8767.c regmap_update_bits(s5m8767->iodev->regmap_pmic, iodev 886 drivers/regulator/s5m8767.c regmap_update_bits(s5m8767->iodev->regmap_pmic, iodev 890 drivers/regulator/s5m8767.c regmap_update_bits(s5m8767->iodev->regmap_pmic, iodev 915 drivers/regulator/s5m8767.c regmap_update_bits(s5m8767->iodev->regmap_pmic, iodev 954 drivers/regulator/s5m8767.c config.regmap = iodev->regmap_pmic; iodev 170 include/kvm/arm_vgic.h struct vgic_io_device iodev; iodev 689 virt/kvm/arm/vgic/vgic-its.c struct vgic_io_device *iodev; iodev 706 virt/kvm/arm/vgic/vgic-its.c iodev = container_of(kvm_io_dev, struct vgic_io_device, dev); iodev 707 virt/kvm/arm/vgic/vgic-its.c if (iodev->iodev_type != IODEV_ITS) iodev 710 virt/kvm/arm/vgic/vgic-its.c return iodev->its; iodev 1799 virt/kvm/arm/vgic/vgic-its.c struct vgic_io_device *iodev = &its->iodev; iodev 1809 virt/kvm/arm/vgic/vgic-its.c iodev->regions = its_registers; iodev 1810 virt/kvm/arm/vgic/vgic-its.c iodev->nr_regions = ARRAY_SIZE(its_registers); iodev 1811 virt/kvm/arm/vgic/vgic-its.c kvm_iodevice_init(&iodev->dev, &kvm_io_gic_ops); iodev 1813 virt/kvm/arm/vgic/vgic-its.c iodev->base_addr = its->vgic_its_base; iodev 1814 virt/kvm/arm/vgic/vgic-its.c iodev->iodev_type = IODEV_ITS; iodev 1815 virt/kvm/arm/vgic/vgic-its.c iodev->its = its; iodev 1816 virt/kvm/arm/vgic/vgic-its.c ret = kvm_io_bus_register_dev(kvm, KVM_MMIO_BUS, iodev->base_addr, iodev 1817 virt/kvm/arm/vgic/vgic-its.c KVM_VGIC_V3_ITS_SIZE, &iodev->dev); iodev 485 virt/kvm/arm/vgic/vgic-mmio-v2.c struct vgic_io_device iodev; iodev 500 virt/kvm/arm/vgic/vgic-mmio-v2.c iodev.regions = vgic_v2_dist_registers; iodev 501 virt/kvm/arm/vgic/vgic-mmio-v2.c iodev.nr_regions = ARRAY_SIZE(vgic_v2_dist_registers); iodev 502 virt/kvm/arm/vgic/vgic-mmio-v2.c iodev.base_addr = 0; iodev 505 virt/kvm/arm/vgic/vgic-mmio-v2.c iodev.regions = vgic_v2_cpu_registers; iodev 506 virt/kvm/arm/vgic/vgic-mmio-v2.c iodev.nr_regions = ARRAY_SIZE(vgic_v2_cpu_registers); iodev 507 virt/kvm/arm/vgic/vgic-mmio-v2.c iodev.base_addr = 0; iodev 517 virt/kvm/arm/vgic/vgic-mmio-v2.c region = vgic_get_mmio_region(vcpu, &iodev, addr, sizeof(u32)); iodev 788 virt/kvm/arm/vgic/vgic-mmio-v3.c struct vgic_io_device iodev; iodev 803 virt/kvm/arm/vgic/vgic-mmio-v3.c iodev.regions = vgic_v3_dist_registers; iodev 804 virt/kvm/arm/vgic/vgic-mmio-v3.c iodev.nr_regions = ARRAY_SIZE(vgic_v3_dist_registers); iodev 805 virt/kvm/arm/vgic/vgic-mmio-v3.c iodev.base_addr = 0; iodev 808 virt/kvm/arm/vgic/vgic-mmio-v3.c iodev.regions = vgic_v3_rd_registers; iodev 809 virt/kvm/arm/vgic/vgic-mmio-v3.c iodev.nr_regions = ARRAY_SIZE(vgic_v3_rd_registers); iodev 810 virt/kvm/arm/vgic/vgic-mmio-v3.c iodev.base_addr = 0; iodev 827 virt/kvm/arm/vgic/vgic-mmio-v3.c region = vgic_get_mmio_region(vcpu, &iodev, addr, sizeof(u32)); iodev 787 virt/kvm/arm/vgic/vgic-mmio.c vgic_get_mmio_region(struct kvm_vcpu *vcpu, struct vgic_io_device *iodev, iodev 792 virt/kvm/arm/vgic/vgic-mmio.c region = vgic_find_mmio_region(iodev->regions, iodev->nr_regions, iodev 793 virt/kvm/arm/vgic/vgic-mmio.c addr - iodev->base_addr); iodev 803 virt/kvm/arm/vgic/vgic-mmio.c struct vgic_io_device *iodev = kvm_to_vgic_iodev(dev); iodev 807 virt/kvm/arm/vgic/vgic-mmio.c region = vgic_get_mmio_region(vcpu, iodev, addr, sizeof(u32)); iodev 813 virt/kvm/arm/vgic/vgic-mmio.c r_vcpu = iodev->redist_vcpu ? iodev->redist_vcpu : vcpu; iodev 825 virt/kvm/arm/vgic/vgic-mmio.c struct vgic_io_device *iodev = kvm_to_vgic_iodev(dev); iodev 829 virt/kvm/arm/vgic/vgic-mmio.c region = vgic_get_mmio_region(vcpu, iodev, addr, sizeof(u32)); iodev 833 virt/kvm/arm/vgic/vgic-mmio.c r_vcpu = iodev->redist_vcpu ? iodev->redist_vcpu : vcpu; iodev 856 virt/kvm/arm/vgic/vgic-mmio.c struct vgic_io_device *iodev = kvm_to_vgic_iodev(dev); iodev 860 virt/kvm/arm/vgic/vgic-mmio.c region = vgic_get_mmio_region(vcpu, iodev, addr, len); iodev 866 virt/kvm/arm/vgic/vgic-mmio.c switch (iodev->iodev_type) { iodev 874 virt/kvm/arm/vgic/vgic-mmio.c data = region->read(iodev->redist_vcpu, addr, len); iodev 877 virt/kvm/arm/vgic/vgic-mmio.c data = region->its_read(vcpu->kvm, iodev->its, addr, len); iodev 888 virt/kvm/arm/vgic/vgic-mmio.c struct vgic_io_device *iodev = kvm_to_vgic_iodev(dev); iodev 892 virt/kvm/arm/vgic/vgic-mmio.c region = vgic_get_mmio_region(vcpu, iodev, addr, len); iodev 896 virt/kvm/arm/vgic/vgic-mmio.c switch (iodev->iodev_type) { iodev 904 virt/kvm/arm/vgic/vgic-mmio.c region->write(iodev->redist_vcpu, addr, len, data); iodev 907 virt/kvm/arm/vgic/vgic-mmio.c region->its_write(vcpu->kvm, iodev->its, addr, len, data); iodev 160 virt/kvm/arm/vgic/vgic.h vgic_get_mmio_region(struct kvm_vcpu *vcpu, struct vgic_io_device *iodev, iodev 4051 virt/kvm/kvm_main.c struct kvm_io_device *iodev = NULL; iodev 4063 virt/kvm/kvm_main.c iodev = bus->range[dev_idx].dev; iodev 4068 virt/kvm/kvm_main.c return iodev;