Lines Matching refs:da9052
50 struct da9052 *da9052; member
65 ret = da9052_reg_read(gpio->da9052, in da9052_gpio_get()
80 ret = da9052_reg_read(gpio->da9052, in da9052_gpio_get()
83 ret = da9052_reg_read(gpio->da9052, in da9052_gpio_get()
104 ret = da9052_reg_update(gpio->da9052, (offset >> 1) + in da9052_gpio_set()
109 dev_err(gpio->da9052->dev, in da9052_gpio_set()
113 ret = da9052_reg_update(gpio->da9052, (offset >> 1) + in da9052_gpio_set()
118 dev_err(gpio->da9052->dev, in da9052_gpio_set()
135 ret = da9052_reg_update(gpio->da9052, (offset >> 1) + in da9052_gpio_direction_input()
141 ret = da9052_reg_update(gpio->da9052, (offset >> 1) + in da9052_gpio_direction_input()
161 ret = da9052_reg_update(gpio->da9052, (offset >> 1) + in da9052_gpio_direction_output()
167 ret = da9052_reg_update(gpio->da9052, (offset >> 1) + in da9052_gpio_direction_output()
178 struct da9052 *da9052 = gpio->da9052; in da9052_gpio_to_irq() local
182 irq = regmap_irq_get_virq(da9052->irq_data, DA9052_IRQ_GPI0 + offset); in da9052_gpio_to_irq()
210 gpio->da9052 = dev_get_drvdata(pdev->dev.parent); in da9052_gpio_probe()
211 pdata = dev_get_platdata(gpio->da9052->dev); in da9052_gpio_probe()