egpio 348 arch/arm/mach-pxa/hx4700.c static struct platform_device egpio = { egpio 843 arch/arm/mach-pxa/hx4700.c &egpio, egpio 231 arch/arm/mach-pxa/magician.c static struct platform_device egpio = { egpio 961 arch/arm/mach-pxa/magician.c &egpio, egpio 137 drivers/gpio/gpio-htc-egpio.c struct egpio_chip *egpio; egpio 145 drivers/gpio/gpio-htc-egpio.c egpio = gpiochip_get_data(chip); egpio 146 drivers/gpio/gpio-htc-egpio.c ei = dev_get_drvdata(egpio->dev); egpio 148 drivers/gpio/gpio-htc-egpio.c reg = egpio->reg_start + egpio_pos(ei, offset); egpio 150 drivers/gpio/gpio-htc-egpio.c if (test_bit(offset, &egpio->is_out)) { egpio 151 drivers/gpio/gpio-htc-egpio.c return !!(egpio->cached_values & (1 << offset)); egpio 162 drivers/gpio/gpio-htc-egpio.c struct egpio_chip *egpio; egpio 164 drivers/gpio/gpio-htc-egpio.c egpio = gpiochip_get_data(chip); egpio 165 drivers/gpio/gpio-htc-egpio.c return test_bit(offset, &egpio->is_out) ? -EINVAL : 0; egpio 176 drivers/gpio/gpio-htc-egpio.c struct egpio_chip *egpio; egpio 185 drivers/gpio/gpio-htc-egpio.c egpio = gpiochip_get_data(chip); egpio 186 drivers/gpio/gpio-htc-egpio.c ei = dev_get_drvdata(egpio->dev); egpio 188 drivers/gpio/gpio-htc-egpio.c reg = egpio->reg_start + pos; egpio 192 drivers/gpio/gpio-htc-egpio.c reg, (egpio->cached_values >> shift) & ei->reg_mask); egpio 196 drivers/gpio/gpio-htc-egpio.c egpio->cached_values |= (1 << offset); egpio 198 drivers/gpio/gpio-htc-egpio.c egpio->cached_values &= ~(1 << offset); egpio 199 drivers/gpio/gpio-htc-egpio.c egpio_writew((egpio->cached_values >> shift) & ei->reg_mask, ei, reg); egpio 206 drivers/gpio/gpio-htc-egpio.c struct egpio_chip *egpio; egpio 208 drivers/gpio/gpio-htc-egpio.c egpio = gpiochip_get_data(chip); egpio 209 drivers/gpio/gpio-htc-egpio.c if (test_bit(offset, &egpio->is_out)) { egpio 219 drivers/gpio/gpio-htc-egpio.c struct egpio_chip *egpio; egpio 221 drivers/gpio/gpio-htc-egpio.c egpio = gpiochip_get_data(chip); egpio 223 drivers/gpio/gpio-htc-egpio.c return !test_bit(offset, &egpio->is_out); egpio 229 drivers/gpio/gpio-htc-egpio.c struct egpio_chip *egpio; egpio 233 drivers/gpio/gpio-htc-egpio.c egpio = &(ei->chip[i]); egpio 234 drivers/gpio/gpio-htc-egpio.c if (!egpio->is_out) egpio 237 drivers/gpio/gpio-htc-egpio.c for (shift = 0; shift < egpio->chip.ngpio; egpio 240 drivers/gpio/gpio-htc-egpio.c int reg = egpio->reg_start + egpio_pos(ei, shift); egpio 242 drivers/gpio/gpio-htc-egpio.c if (!((egpio->is_out >> shift) & ei->reg_mask)) egpio 246 drivers/gpio/gpio-htc-egpio.c (egpio->cached_values >> shift) & ei->reg_mask, egpio 249 drivers/gpio/gpio-htc-egpio.c egpio_writew((egpio->cached_values >> shift)