Home
last modified time | relevance | path

Searched refs:iodev (Results 1 – 23 of 23) sorted by relevance

/linux-6.3-rc2/drivers/iio/adc/
A Dlpc32xx_adc.c150 struct iio_dev *iodev = NULL; in lpc32xx_adc_probe() local
159 iodev = devm_iio_device_alloc(&pdev->dev, sizeof(*st)); in lpc32xx_adc_probe()
160 if (!iodev) in lpc32xx_adc_probe()
163 st = iio_priv(iodev); in lpc32xx_adc_probe()
191 iodev->channels = lpc32xx_adc_iio_channels; in lpc32xx_adc_probe()
195 iodev->channels = lpc32xx_adc_iio_scale_channels; in lpc32xx_adc_probe()
198 platform_set_drvdata(pdev, iodev); in lpc32xx_adc_probe()
202 iodev->name = LPC32XXAD_NAME; in lpc32xx_adc_probe()
203 iodev->info = &lpc32xx_adc_iio_info; in lpc32xx_adc_probe()
204 iodev->modes = INDIO_DIRECT_MODE; in lpc32xx_adc_probe()
[all …]
/linux-6.3-rc2/drivers/regulator/
A Ds5m8767.c22 struct sec_pmic_dev *iodev; member
529 pmic_np = iodev->dev->of_node; in s5m8767_pmic_dt_parse_pdata()
568 dev_warn(iodev->dev, in s5m8767_pmic_dt_parse_pdata()
597 dev_warn(iodev->dev, in s5m8767_pmic_dt_parse_pdata()
654 dev_info(iodev->dev, in s5m8767_pmic_dt_parse_pdata()
703 if (iodev->dev->of_node) { in s5m8767_pmic_probe()
736 s5m8767->iodev = iodev; in s5m8767_pmic_probe()
866 regmap_write(s5m8767->iodev->regmap_pmic, in s5m8767_pmic_probe()
872 regmap_write(s5m8767->iodev->regmap_pmic, in s5m8767_pmic_probe()
878 regmap_write(s5m8767->iodev->regmap_pmic, in s5m8767_pmic_probe()
[all …]
A Dmax8998.c27 struct max8998_dev *iodev; member
84 struct i2c_client *i2c = max8998->iodev->i2c; in max8998_ldo_is_enabled()
107 struct i2c_client *i2c = max8998->iodev->i2c; in max8998_ldo_enable()
120 struct i2c_client *i2c = max8998->iodev->i2c; in max8998_ldo_disable()
196 struct i2c_client *i2c = max8998->iodev->i2c; in max8998_get_voltage_sel()
218 struct i2c_client *i2c = max8998->iodev->i2c; in max8998_set_voltage_ldo_sel()
246 struct i2c_client *i2c = max8998->iodev->i2c; in max8998_set_voltage_buck_sel()
349 struct i2c_client *i2c = max8998->iodev->i2c; in max8998_set_voltage_buck_time_sel()
590 rdata = devm_kcalloc(iodev->dev, in max8998_pmic_dt_parse_pdata()
689 max8998->iodev = iodev; in max8998_pmic_probe()
[all …]
A Dmax8997-regulator.c25 struct max8997_dev *iodev; member
245 struct i2c_client *i2c = max8997->iodev->i2c; in max8997_reg_is_enabled()
263 struct i2c_client *i2c = max8997->iodev->i2c; in max8997_reg_enable()
276 struct i2c_client *i2c = max8997->iodev->i2c; in max8997_reg_disable()
355 struct i2c_client *i2c = max8997->iodev->i2c; in max8997_get_voltage_sel()
400 struct i2c_client *i2c = max8997->iodev->i2c; in max8997_set_voltage_charger_cv()
452 struct i2c_client *i2c = max8997->iodev->i2c; in max8997_set_voltage_ldobuck()
902 pmic_np = iodev->dev->of_node; in max8997_pmic_dt_parse_pdata()
1026 if (iodev->dev->of_node) { in max8997_pmic_probe()
1038 max8997->iodev = iodev; in max8997_pmic_probe()
[all …]
A Dmax77693-regulator.c231 struct max77693_dev *iodev = dev_get_drvdata(pdev->dev.parent); in max77693_pmic_probe() local
237 config.dev = iodev->dev; in max77693_pmic_probe()
258 config.regmap = max77693_get_regmap(type, iodev, in max77693_pmic_probe()
A Ds2mpa01.c342 struct sec_pmic_dev *iodev = dev_get_drvdata(pdev->dev.parent); in s2mpa01_pmic_probe() local
351 config.dev = iodev->dev; in s2mpa01_pmic_probe()
352 config.regmap = iodev->regmap_pmic; in s2mpa01_pmic_probe()
A Dmax77802-regulator.c492 struct max77686_dev *iodev = dev_get_drvdata(pdev->dev.parent); in max77802_pmic_probe() local
503 config.dev = iodev->dev; in max77802_pmic_probe()
504 config.regmap = iodev->regmap; in max77802_pmic_probe()
514 ret = regmap_read(iodev->regmap, regulators[i].enable_reg, &val); in max77802_pmic_probe()
A Dmax77686-regulator.c483 struct max77686_dev *iodev = dev_get_drvdata(pdev->dev.parent); in max77686_pmic_probe() local
496 config.dev = iodev->dev; in max77686_pmic_probe()
497 config.regmap = iodev->regmap; in max77686_pmic_probe()
A Ds2mps11.c1122 struct sec_pmic_dev *iodev = dev_get_drvdata(pdev->dev.parent); in s2mps11_pmic_probe() local
1187 config.regmap = iodev->regmap_pmic; in s2mps11_pmic_probe()
/linux-6.3-rc2/drivers/clk/
A Dclk-s2mps11.c23 struct sec_pmic_dev *iodev; member
41 return regmap_update_bits(s2mps11->iodev->regmap_pmic, in s2mps11_clk_prepare()
50 regmap_update_bits(s2mps11->iodev->regmap_pmic, s2mps11->reg, in s2mps11_clk_unprepare()
60 ret = regmap_read(s2mps11->iodev->regmap_pmic, in s2mps11_clk_is_prepared()
100 struct sec_pmic_dev *iodev = dev_get_drvdata(pdev->dev.parent); in s2mps11_clk_parse_dt() local
104 if (!iodev->dev->of_node) in s2mps11_clk_parse_dt()
107 clk_np = of_get_child_by_name(iodev->dev->of_node, "clocks"); in s2mps11_clk_parse_dt()
122 struct sec_pmic_dev *iodev = dev_get_drvdata(pdev->dev.parent); in s2mps11_clk_probe() local
166 s2mps11_clks[i].iodev = iodev; in s2mps11_clk_probe()
/linux-6.3-rc2/drivers/leds/
A Dleds-max8997.c39 struct max8997_dev *iodev; member
51 struct i2c_client *client = led->iodev->i2c; in max8997_led_set_mode()
90 dev_err(led->iodev->dev, in max8997_led_set_mode()
100 struct i2c_client *client = led->iodev->i2c; in max8997_led_enable()
110 dev_err(led->iodev->dev, in max8997_led_enable()
120 struct i2c_client *client = led->iodev->i2c; in max8997_led_set_current()
143 dev_err(led->iodev->dev, in max8997_led_set_current()
235 struct max8997_dev *iodev = dev_get_drvdata(pdev->dev.parent); in max8997_led_probe() local
236 struct max8997_platform_data *pdata = dev_get_platdata(iodev->dev); in max8997_led_probe()
253 led->iodev = iodev; in max8997_led_probe()
/linux-6.3-rc2/drivers/power/supply/
A Dmax8998_charger.c19 struct max8998_dev *iodev; member
35 struct i2c_client *i2c = max8998->iodev->i2c; in max8998_battery_get_property()
93 struct max8998_dev *iodev = dev_get_drvdata(pdev->dev.parent); in max8998_battery_probe() local
94 struct max8998_platform_data *pdata = iodev->pdata; in max8998_battery_probe()
111 max8998->iodev = iodev; in max8998_battery_probe()
113 i2c = max8998->iodev->i2c; in max8998_battery_probe()
A Dmax8997_charger.c35 struct max8997_dev *iodev; member
55 struct i2c_client *i2c = charger->iodev->i2c; in max8997_battery_get_property()
164 struct max8997_dev *iodev = dev_get_drvdata(pdev->dev.parent); in max8997_battery_probe() local
166 struct i2c_client *i2c = iodev->i2c; in max8997_battery_probe()
167 struct max8997_platform_data *pdata = iodev->pdata; in max8997_battery_probe()
223 charger->iodev = iodev; in max8997_battery_probe()
236 pdev->dev.of_node = iodev->dev->of_node; in max8997_battery_probe()
/linux-6.3-rc2/arch/arm64/kvm/vgic/
A Dvgic-mmio.c970 region = vgic_find_mmio_region(iodev->regions, iodev->nr_regions, in vgic_get_mmio_region()
971 addr - iodev->base_addr); in vgic_get_mmio_region()
990 r_vcpu = iodev->redist_vcpu ? iodev->redist_vcpu : vcpu; in vgic_uaccess_read()
1009 r_vcpu = iodev->redist_vcpu ? iodev->redist_vcpu : vcpu; in vgic_uaccess_write()
1032 struct vgic_io_device *iodev = kvm_to_vgic_iodev(dev); in dispatch_mmio_read() local
1036 region = vgic_get_mmio_region(vcpu, iodev, addr, len); in dispatch_mmio_read()
1042 switch (iodev->iodev_type) { in dispatch_mmio_read()
1050 data = region->read(iodev->redist_vcpu, addr, len); in dispatch_mmio_read()
1064 struct vgic_io_device *iodev = kvm_to_vgic_iodev(dev); in dispatch_mmio_write() local
1072 switch (iodev->iodev_type) { in dispatch_mmio_write()
[all …]
A Dvgic-mmio-v2.c500 struct vgic_io_device iodev; in vgic_v2_has_attr_regs() local
515 iodev.regions = vgic_v2_dist_registers; in vgic_v2_has_attr_regs()
516 iodev.nr_regions = ARRAY_SIZE(vgic_v2_dist_registers); in vgic_v2_has_attr_regs()
517 iodev.base_addr = 0; in vgic_v2_has_attr_regs()
520 iodev.regions = vgic_v2_cpu_registers; in vgic_v2_has_attr_regs()
521 iodev.nr_regions = ARRAY_SIZE(vgic_v2_cpu_registers); in vgic_v2_has_attr_regs()
522 iodev.base_addr = 0; in vgic_v2_has_attr_regs()
532 region = vgic_get_mmio_region(vcpu, &iodev, addr, sizeof(u32)); in vgic_v2_has_attr_regs()
A Dvgic-mmio-v3.c964 struct vgic_io_device iodev; in vgic_v3_has_attr_regs() local
979 iodev.regions = vgic_v3_dist_registers; in vgic_v3_has_attr_regs()
980 iodev.nr_regions = ARRAY_SIZE(vgic_v3_dist_registers); in vgic_v3_has_attr_regs()
981 iodev.base_addr = 0; in vgic_v3_has_attr_regs()
984 iodev.regions = vgic_v3_rd_registers; in vgic_v3_has_attr_regs()
985 iodev.nr_regions = ARRAY_SIZE(vgic_v3_rd_registers); in vgic_v3_has_attr_regs()
986 iodev.base_addr = 0; in vgic_v3_has_attr_regs()
999 region = vgic_get_mmio_region(vcpu, &iodev, addr, sizeof(u32)); in vgic_v3_has_attr_regs()
A Dvgic-its.c699 struct vgic_io_device *iodev; in vgic_msi_to_its() local
717 if (iodev->iodev_type != IODEV_ITS) in vgic_msi_to_its()
720 return iodev->its; in vgic_msi_to_its()
1860 struct vgic_io_device *iodev = &its->iodev; in vgic_register_its_iodev() local
1870 iodev->regions = its_registers; in vgic_register_its_iodev()
1871 iodev->nr_regions = ARRAY_SIZE(its_registers); in vgic_register_its_iodev()
1872 kvm_iodevice_init(&iodev->dev, &kvm_io_gic_ops); in vgic_register_its_iodev()
1874 iodev->base_addr = its->vgic_its_base; in vgic_register_its_iodev()
1875 iodev->iodev_type = IODEV_ITS; in vgic_register_its_iodev()
1876 iodev->its = its; in vgic_register_its_iodev()
[all …]
A Dvgic.h179 vgic_get_mmio_region(struct kvm_vcpu *vcpu, struct vgic_io_device *iodev,
/linux-6.3-rc2/drivers/input/misc/
A Dmax8997_haptic.c236 struct max8997_dev *iodev = dev_get_drvdata(pdev->dev.parent); in max8997_haptic_probe() local
238 dev_get_platdata(iodev->dev); in max8997_haptic_probe()
263 chip->client = iodev->haptic; in max8997_haptic_probe()
/linux-6.3-rc2/drivers/leds/flash/
A Dleds-max77693.c848 struct max77693_dev *iodev = dev_get_drvdata(dev->parent); in max77693_init_v4l2_flash_config() local
849 struct i2c_client *i2c = iodev->i2c; in max77693_init_v4l2_flash_config()
948 struct max77693_dev *iodev = dev_get_drvdata(dev->parent); in max77693_led_probe() local
960 led->regmap = iodev->regmap; in max77693_led_probe()
/linux-6.3-rc2/include/kvm/
A Darm_vgic.h192 struct vgic_io_device iodev; member
/linux-6.3-rc2/virt/kvm/
A Dkvm_main.c5549 struct kvm_io_device *iodev = NULL; in kvm_io_bus_get_dev() local
5561 iodev = bus->range[dev_idx].dev; in kvm_io_bus_get_dev()
5566 return iodev; in kvm_io_bus_get_dev()
/linux-6.3-rc2/
A DMAINTAINERS11256 F: include/kvm/iodev.h
19357 M: Ismael Luceno <ismael@iodev.co.uk>

Completed in 68 milliseconds