gpch 24 arch/mips/ar7/gpio.c struct ar7_gpio_chip *gpch = gpiochip_get_data(chip); gpch 25 arch/mips/ar7/gpio.c void __iomem *gpio_in = gpch->regs + AR7_GPIO_INPUT; gpch 32 arch/mips/ar7/gpio.c struct ar7_gpio_chip *gpch = gpiochip_get_data(chip); gpch 33 arch/mips/ar7/gpio.c void __iomem *gpio_in0 = gpch->regs + TITAN_GPIO_INPUT_0; gpch 34 arch/mips/ar7/gpio.c void __iomem *gpio_in1 = gpch->regs + TITAN_GPIO_INPUT_1; gpch 42 arch/mips/ar7/gpio.c struct ar7_gpio_chip *gpch = gpiochip_get_data(chip); gpch 43 arch/mips/ar7/gpio.c void __iomem *gpio_out = gpch->regs + AR7_GPIO_OUTPUT; gpch 55 arch/mips/ar7/gpio.c struct ar7_gpio_chip *gpch = gpiochip_get_data(chip); gpch 56 arch/mips/ar7/gpio.c void __iomem *gpio_out0 = gpch->regs + TITAN_GPIO_OUTPUT_0; gpch 57 arch/mips/ar7/gpio.c void __iomem *gpio_out1 = gpch->regs + TITAN_GPIO_OUTPUT_1; gpch 68 arch/mips/ar7/gpio.c struct ar7_gpio_chip *gpch = gpiochip_get_data(chip); gpch 69 arch/mips/ar7/gpio.c void __iomem *gpio_dir = gpch->regs + AR7_GPIO_DIR; gpch 78 arch/mips/ar7/gpio.c struct ar7_gpio_chip *gpch = gpiochip_get_data(chip); gpch 79 arch/mips/ar7/gpio.c void __iomem *gpio_dir0 = gpch->regs + TITAN_GPIO_DIR_0; gpch 80 arch/mips/ar7/gpio.c void __iomem *gpio_dir1 = gpch->regs + TITAN_GPIO_DIR_1; gpch 93 arch/mips/ar7/gpio.c struct ar7_gpio_chip *gpch = gpiochip_get_data(chip); gpch 94 arch/mips/ar7/gpio.c void __iomem *gpio_dir = gpch->regs + AR7_GPIO_DIR; gpch 105 arch/mips/ar7/gpio.c struct ar7_gpio_chip *gpch = gpiochip_get_data(chip); gpch 106 arch/mips/ar7/gpio.c void __iomem *gpio_dir0 = gpch->regs + TITAN_GPIO_DIR_0; gpch 107 arch/mips/ar7/gpio.c void __iomem *gpio_dir1 = gpch->regs + TITAN_GPIO_DIR_1; gpch 300 arch/mips/ar7/gpio.c struct ar7_gpio_chip *gpch; gpch 304 arch/mips/ar7/gpio.c gpch = &ar7_gpio_chip; gpch 307 arch/mips/ar7/gpio.c gpch = &titan_gpio_chip; gpch 311 arch/mips/ar7/gpio.c gpch->regs = ioremap_nocache(AR7_REGS_GPIO, size); gpch 312 arch/mips/ar7/gpio.c if (!gpch->regs) { gpch 314 arch/mips/ar7/gpio.c gpch->chip.label); gpch 318 arch/mips/ar7/gpio.c ret = gpiochip_add_data(&gpch->chip, gpch); gpch 321 arch/mips/ar7/gpio.c gpch->chip.label); gpch 325 arch/mips/ar7/gpio.c gpch->chip.label, gpch->chip.ngpio); gpch 89 arch/mips/rb532/gpio.c struct rb532_gpio_chip *gpch; gpch 91 arch/mips/rb532/gpio.c gpch = gpiochip_get_data(chip); gpch 92 arch/mips/rb532/gpio.c return !!rb532_get_bit(offset, gpch->regbase + GPIOD); gpch 101 arch/mips/rb532/gpio.c struct rb532_gpio_chip *gpch; gpch 103 arch/mips/rb532/gpio.c gpch = gpiochip_get_data(chip); gpch 104 arch/mips/rb532/gpio.c rb532_set_bit(value, offset, gpch->regbase + GPIOD); gpch 112 arch/mips/rb532/gpio.c struct rb532_gpio_chip *gpch; gpch 114 arch/mips/rb532/gpio.c gpch = gpiochip_get_data(chip); gpch 117 arch/mips/rb532/gpio.c rb532_set_bit(0, offset, gpch->regbase + GPIOFUNC); gpch 119 arch/mips/rb532/gpio.c rb532_set_bit(0, offset, gpch->regbase + GPIOCFG); gpch 129 arch/mips/rb532/gpio.c struct rb532_gpio_chip *gpch; gpch 131 arch/mips/rb532/gpio.c gpch = gpiochip_get_data(chip); gpch 134 arch/mips/rb532/gpio.c rb532_set_bit(0, offset, gpch->regbase + GPIOFUNC); gpch 137 arch/mips/rb532/gpio.c rb532_set_bit(value, offset, gpch->regbase + GPIOD); gpch 139 arch/mips/rb532/gpio.c rb532_set_bit(1, offset, gpch->regbase + GPIOCFG); gpch 32 drivers/gpio/gpio-rdc321x.c struct rdc321x_gpio *gpch; gpch 36 drivers/gpio/gpio-rdc321x.c gpch = gpiochip_get_data(chip); gpch 37 drivers/gpio/gpio-rdc321x.c reg = gpio < 32 ? gpch->reg1_data_base : gpch->reg2_data_base; gpch 39 drivers/gpio/gpio-rdc321x.c spin_lock(&gpch->lock); gpch 40 drivers/gpio/gpio-rdc321x.c pci_write_config_dword(gpch->sb_pdev, reg, gpch 41 drivers/gpio/gpio-rdc321x.c gpch->data_reg[gpio < 32 ? 0 : 1]); gpch 42 drivers/gpio/gpio-rdc321x.c pci_read_config_dword(gpch->sb_pdev, reg, &value); gpch 43 drivers/gpio/gpio-rdc321x.c spin_unlock(&gpch->lock); gpch 51 drivers/gpio/gpio-rdc321x.c struct rdc321x_gpio *gpch; gpch 54 drivers/gpio/gpio-rdc321x.c gpch = gpiochip_get_data(chip); gpch 57 drivers/gpio/gpio-rdc321x.c gpch->data_reg[reg] |= 1 << (gpio & 0x1f); gpch 59 drivers/gpio/gpio-rdc321x.c gpch->data_reg[reg] &= ~(1 << (gpio & 0x1f)); gpch 61 drivers/gpio/gpio-rdc321x.c pci_write_config_dword(gpch->sb_pdev, gpch 62 drivers/gpio/gpio-rdc321x.c reg ? gpch->reg2_data_base : gpch->reg1_data_base, gpch 63 drivers/gpio/gpio-rdc321x.c gpch->data_reg[reg]); gpch 70 drivers/gpio/gpio-rdc321x.c struct rdc321x_gpio *gpch; gpch 72 drivers/gpio/gpio-rdc321x.c gpch = gpiochip_get_data(chip); gpch 73 drivers/gpio/gpio-rdc321x.c spin_lock(&gpch->lock); gpch 75 drivers/gpio/gpio-rdc321x.c spin_unlock(&gpch->lock); gpch 81 drivers/gpio/gpio-rdc321x.c struct rdc321x_gpio *gpch; gpch 85 drivers/gpio/gpio-rdc321x.c gpch = gpiochip_get_data(chip); gpch 87 drivers/gpio/gpio-rdc321x.c spin_lock(&gpch->lock); gpch 88 drivers/gpio/gpio-rdc321x.c err = pci_read_config_dword(gpch->sb_pdev, gpio < 32 ? gpch 89 drivers/gpio/gpio-rdc321x.c gpch->reg1_ctrl_base : gpch->reg2_ctrl_base, ®); gpch 95 drivers/gpio/gpio-rdc321x.c err = pci_write_config_dword(gpch->sb_pdev, gpio < 32 ? gpch 96 drivers/gpio/gpio-rdc321x.c gpch->reg1_ctrl_base : gpch->reg2_ctrl_base, reg); gpch 103 drivers/gpio/gpio-rdc321x.c spin_unlock(&gpch->lock);