Searched refs:gpch (Results 1 - 2 of 2) sorted by relevance

/linux-master/drivers/gpio/
H A Dgpio-rdc321x.c32 struct rdc321x_gpio *gpch; local
36 gpch = gpiochip_get_data(chip);
37 reg = gpio < 32 ? gpch->reg1_data_base : gpch->reg2_data_base;
39 spin_lock(&gpch->lock);
40 pci_write_config_dword(gpch->sb_pdev, reg,
41 gpch->data_reg[gpio < 32 ? 0 : 1]);
42 pci_read_config_dword(gpch->sb_pdev, reg, &value);
43 spin_unlock(&gpch->lock);
51 struct rdc321x_gpio *gpch; local
70 struct rdc321x_gpio *gpch; local
81 struct rdc321x_gpio *gpch; local
[all...]
/linux-master/arch/mips/rb532/
H A Dgpio.c99 struct rb532_gpio_chip *gpch; local
101 gpch = gpiochip_get_data(chip);
102 return !!rb532_get_bit(offset, gpch->regbase + GPIOD);
111 struct rb532_gpio_chip *gpch; local
113 gpch = gpiochip_get_data(chip);
114 rb532_set_bit(value, offset, gpch->regbase + GPIOD);
122 struct rb532_gpio_chip *gpch; local
124 gpch = gpiochip_get_data(chip);
127 rb532_set_bit(0, offset, gpch->regbase + GPIOFUNC);
129 rb532_set_bit(0, offset, gpch
139 struct rb532_gpio_chip *gpch; local
[all...]

Completed in 197 milliseconds