tc3589x_gpio       39 drivers/gpio/gpio-tc3589x.c 	struct tc3589x_gpio *tc3589x_gpio = gpiochip_get_data(chip);
tc3589x_gpio       40 drivers/gpio/gpio-tc3589x.c 	struct tc3589x *tc3589x = tc3589x_gpio->tc3589x;
tc3589x_gpio       54 drivers/gpio/gpio-tc3589x.c 	struct tc3589x_gpio *tc3589x_gpio = gpiochip_get_data(chip);
tc3589x_gpio       55 drivers/gpio/gpio-tc3589x.c 	struct tc3589x *tc3589x = tc3589x_gpio->tc3589x;
tc3589x_gpio       66 drivers/gpio/gpio-tc3589x.c 	struct tc3589x_gpio *tc3589x_gpio = gpiochip_get_data(chip);
tc3589x_gpio       67 drivers/gpio/gpio-tc3589x.c 	struct tc3589x *tc3589x = tc3589x_gpio->tc3589x;
tc3589x_gpio       79 drivers/gpio/gpio-tc3589x.c 	struct tc3589x_gpio *tc3589x_gpio = gpiochip_get_data(chip);
tc3589x_gpio       80 drivers/gpio/gpio-tc3589x.c 	struct tc3589x *tc3589x = tc3589x_gpio->tc3589x;
tc3589x_gpio       90 drivers/gpio/gpio-tc3589x.c 	struct tc3589x_gpio *tc3589x_gpio = gpiochip_get_data(chip);
tc3589x_gpio       91 drivers/gpio/gpio-tc3589x.c 	struct tc3589x *tc3589x = tc3589x_gpio->tc3589x;
tc3589x_gpio      106 drivers/gpio/gpio-tc3589x.c 	struct tc3589x_gpio *tc3589x_gpio = gpiochip_get_data(chip);
tc3589x_gpio      107 drivers/gpio/gpio-tc3589x.c 	struct tc3589x *tc3589x = tc3589x_gpio->tc3589x;
tc3589x_gpio      157 drivers/gpio/gpio-tc3589x.c 	struct tc3589x_gpio *tc3589x_gpio = gpiochip_get_data(gc);
tc3589x_gpio      163 drivers/gpio/gpio-tc3589x.c 		tc3589x_gpio->regs[REG_IBE][regoffset] |= mask;
tc3589x_gpio      167 drivers/gpio/gpio-tc3589x.c 	tc3589x_gpio->regs[REG_IBE][regoffset] &= ~mask;
tc3589x_gpio      170 drivers/gpio/gpio-tc3589x.c 		tc3589x_gpio->regs[REG_IS][regoffset] |= mask;
tc3589x_gpio      172 drivers/gpio/gpio-tc3589x.c 		tc3589x_gpio->regs[REG_IS][regoffset] &= ~mask;
tc3589x_gpio      175 drivers/gpio/gpio-tc3589x.c 		tc3589x_gpio->regs[REG_IEV][regoffset] |= mask;
tc3589x_gpio      177 drivers/gpio/gpio-tc3589x.c 		tc3589x_gpio->regs[REG_IEV][regoffset] &= ~mask;
tc3589x_gpio      185 drivers/gpio/gpio-tc3589x.c 	struct tc3589x_gpio *tc3589x_gpio = gpiochip_get_data(gc);
tc3589x_gpio      187 drivers/gpio/gpio-tc3589x.c 	mutex_lock(&tc3589x_gpio->irq_lock);
tc3589x_gpio      193 drivers/gpio/gpio-tc3589x.c 	struct tc3589x_gpio *tc3589x_gpio = gpiochip_get_data(gc);
tc3589x_gpio      194 drivers/gpio/gpio-tc3589x.c 	struct tc3589x *tc3589x = tc3589x_gpio->tc3589x;
tc3589x_gpio      205 drivers/gpio/gpio-tc3589x.c 			u8 old = tc3589x_gpio->oldregs[i][j];
tc3589x_gpio      206 drivers/gpio/gpio-tc3589x.c 			u8 new = tc3589x_gpio->regs[i][j];
tc3589x_gpio      211 drivers/gpio/gpio-tc3589x.c 			tc3589x_gpio->oldregs[i][j] = new;
tc3589x_gpio      216 drivers/gpio/gpio-tc3589x.c 	mutex_unlock(&tc3589x_gpio->irq_lock);
tc3589x_gpio      222 drivers/gpio/gpio-tc3589x.c 	struct tc3589x_gpio *tc3589x_gpio = gpiochip_get_data(gc);
tc3589x_gpio      227 drivers/gpio/gpio-tc3589x.c 	tc3589x_gpio->regs[REG_IE][regoffset] &= ~mask;
tc3589x_gpio      233 drivers/gpio/gpio-tc3589x.c 	struct tc3589x_gpio *tc3589x_gpio = gpiochip_get_data(gc);
tc3589x_gpio      238 drivers/gpio/gpio-tc3589x.c 	tc3589x_gpio->regs[REG_IE][regoffset] |= mask;
tc3589x_gpio      252 drivers/gpio/gpio-tc3589x.c 	struct tc3589x_gpio *tc3589x_gpio = dev;
tc3589x_gpio      253 drivers/gpio/gpio-tc3589x.c 	struct tc3589x *tc3589x = tc3589x_gpio->tc3589x;
tc3589x_gpio      271 drivers/gpio/gpio-tc3589x.c 			int irq = irq_find_mapping(tc3589x_gpio->chip.irq.domain,
tc3589x_gpio      288 drivers/gpio/gpio-tc3589x.c 	struct tc3589x_gpio *tc3589x_gpio;
tc3589x_gpio      301 drivers/gpio/gpio-tc3589x.c 	tc3589x_gpio = devm_kzalloc(&pdev->dev, sizeof(struct tc3589x_gpio),
tc3589x_gpio      303 drivers/gpio/gpio-tc3589x.c 	if (!tc3589x_gpio)
tc3589x_gpio      306 drivers/gpio/gpio-tc3589x.c 	mutex_init(&tc3589x_gpio->irq_lock);
tc3589x_gpio      308 drivers/gpio/gpio-tc3589x.c 	tc3589x_gpio->dev = &pdev->dev;
tc3589x_gpio      309 drivers/gpio/gpio-tc3589x.c 	tc3589x_gpio->tc3589x = tc3589x;
tc3589x_gpio      311 drivers/gpio/gpio-tc3589x.c 	tc3589x_gpio->chip = template_chip;
tc3589x_gpio      312 drivers/gpio/gpio-tc3589x.c 	tc3589x_gpio->chip.ngpio = tc3589x->num_gpio;
tc3589x_gpio      313 drivers/gpio/gpio-tc3589x.c 	tc3589x_gpio->chip.parent = &pdev->dev;
tc3589x_gpio      314 drivers/gpio/gpio-tc3589x.c 	tc3589x_gpio->chip.base = -1;
tc3589x_gpio      315 drivers/gpio/gpio-tc3589x.c 	tc3589x_gpio->chip.of_node = np;
tc3589x_gpio      326 drivers/gpio/gpio-tc3589x.c 					tc3589x_gpio);
tc3589x_gpio      332 drivers/gpio/gpio-tc3589x.c 	ret = devm_gpiochip_add_data(&pdev->dev, &tc3589x_gpio->chip,
tc3589x_gpio      333 drivers/gpio/gpio-tc3589x.c 				     tc3589x_gpio);
tc3589x_gpio      339 drivers/gpio/gpio-tc3589x.c 	ret =  gpiochip_irqchip_add_nested(&tc3589x_gpio->chip,
tc3589x_gpio      350 drivers/gpio/gpio-tc3589x.c 	gpiochip_set_nested_irqchip(&tc3589x_gpio->chip,
tc3589x_gpio      354 drivers/gpio/gpio-tc3589x.c 	platform_set_drvdata(pdev, tc3589x_gpio);