Lines Matching refs:da9052
45 struct da9052 *da9052; member
60 ret = da9052_reg_read(gpio->da9052, in da9052_gpio_get()
75 ret = da9052_reg_read(gpio->da9052, in da9052_gpio_get()
78 ret = da9052_reg_read(gpio->da9052, in da9052_gpio_get()
99 ret = da9052_reg_update(gpio->da9052, (offset >> 1) + in da9052_gpio_set()
104 dev_err(gpio->da9052->dev, in da9052_gpio_set()
108 ret = da9052_reg_update(gpio->da9052, (offset >> 1) + in da9052_gpio_set()
113 dev_err(gpio->da9052->dev, in da9052_gpio_set()
130 ret = da9052_reg_update(gpio->da9052, (offset >> 1) + in da9052_gpio_direction_input()
136 ret = da9052_reg_update(gpio->da9052, (offset >> 1) + in da9052_gpio_direction_input()
156 ret = da9052_reg_update(gpio->da9052, (offset >> 1) + in da9052_gpio_direction_output()
162 ret = da9052_reg_update(gpio->da9052, (offset >> 1) + in da9052_gpio_direction_output()
173 struct da9052 *da9052 = gpio->da9052; in da9052_gpio_to_irq() local
177 irq = regmap_irq_get_virq(da9052->irq_data, DA9052_IRQ_GPI0 + offset); in da9052_gpio_to_irq()
204 gpio->da9052 = dev_get_drvdata(pdev->dev.parent); in da9052_gpio_probe()
205 pdata = dev_get_platdata(gpio->da9052->dev); in da9052_gpio_probe()