Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/gpio/
H A Dgpio-rdc321x.c32 struct rdc321x_gpio *gpch; in rdc_gpio_get_value() local
36 gpch = gpiochip_get_data(chip); in rdc_gpio_get_value()
37 reg = gpio < 32 ? gpch->reg1_data_base : gpch->reg2_data_base; in rdc_gpio_get_value()
39 spin_lock(&gpch->lock); in rdc_gpio_get_value()
40 pci_write_config_dword(gpch->sb_pdev, reg, in rdc_gpio_get_value()
41 gpch->data_reg[gpio < 32 ? 0 : 1]); in rdc_gpio_get_value()
42 pci_read_config_dword(gpch->sb_pdev, reg, &value); in rdc_gpio_get_value()
43 spin_unlock(&gpch->lock); in rdc_gpio_get_value()
51 struct rdc321x_gpio *gpch; in rdc_gpio_set_value_impl() local
70 struct rdc321x_gpio *gpch; rdc_gpio_set_value() local
81 struct rdc321x_gpio *gpch; rdc_gpio_config() local
[all...]
/kernel/linux/linux-6.6/drivers/gpio/
H A Dgpio-rdc321x.c32 struct rdc321x_gpio *gpch; in rdc_gpio_get_value() local
36 gpch = gpiochip_get_data(chip); in rdc_gpio_get_value()
37 reg = gpio < 32 ? gpch->reg1_data_base : gpch->reg2_data_base; in rdc_gpio_get_value()
39 spin_lock(&gpch->lock); in rdc_gpio_get_value()
40 pci_write_config_dword(gpch->sb_pdev, reg, in rdc_gpio_get_value()
41 gpch->data_reg[gpio < 32 ? 0 : 1]); in rdc_gpio_get_value()
42 pci_read_config_dword(gpch->sb_pdev, reg, &value); in rdc_gpio_get_value()
43 spin_unlock(&gpch->lock); in rdc_gpio_get_value()
51 struct rdc321x_gpio *gpch; in rdc_gpio_set_value_impl() local
70 struct rdc321x_gpio *gpch; rdc_gpio_set_value() local
81 struct rdc321x_gpio *gpch; rdc_gpio_config() local
[all...]
/kernel/linux/linux-6.6/arch/mips/ar7/
H A Dgpio.c24 struct ar7_gpio_chip *gpch = gpiochip_get_data(chip); in ar7_gpio_get_value() local
25 void __iomem *gpio_in = gpch->regs + AR7_GPIO_INPUT; in ar7_gpio_get_value()
32 struct ar7_gpio_chip *gpch = gpiochip_get_data(chip); in titan_gpio_get_value() local
33 void __iomem *gpio_in0 = gpch->regs + TITAN_GPIO_INPUT_0; in titan_gpio_get_value()
34 void __iomem *gpio_in1 = gpch->regs + TITAN_GPIO_INPUT_1; in titan_gpio_get_value()
42 struct ar7_gpio_chip *gpch = gpiochip_get_data(chip); in ar7_gpio_set_value() local
43 void __iomem *gpio_out = gpch->regs + AR7_GPIO_OUTPUT; in ar7_gpio_set_value()
55 struct ar7_gpio_chip *gpch = gpiochip_get_data(chip); in titan_gpio_set_value() local
56 void __iomem *gpio_out0 = gpch->regs + TITAN_GPIO_OUTPUT_0; in titan_gpio_set_value()
57 void __iomem *gpio_out1 = gpch in titan_gpio_set_value()
68 struct ar7_gpio_chip *gpch = gpiochip_get_data(chip); ar7_gpio_direction_input() local
78 struct ar7_gpio_chip *gpch = gpiochip_get_data(chip); titan_gpio_direction_input() local
93 struct ar7_gpio_chip *gpch = gpiochip_get_data(chip); ar7_gpio_direction_output() local
105 struct ar7_gpio_chip *gpch = gpiochip_get_data(chip); titan_gpio_direction_output() local
300 struct ar7_gpio_chip *gpch; ar7_gpio_init() local
[all...]
/kernel/linux/linux-5.10/arch/mips/ar7/
H A Dgpio.c24 struct ar7_gpio_chip *gpch = gpiochip_get_data(chip); in ar7_gpio_get_value() local
25 void __iomem *gpio_in = gpch->regs + AR7_GPIO_INPUT; in ar7_gpio_get_value()
32 struct ar7_gpio_chip *gpch = gpiochip_get_data(chip); in titan_gpio_get_value() local
33 void __iomem *gpio_in0 = gpch->regs + TITAN_GPIO_INPUT_0; in titan_gpio_get_value()
34 void __iomem *gpio_in1 = gpch->regs + TITAN_GPIO_INPUT_1; in titan_gpio_get_value()
42 struct ar7_gpio_chip *gpch = gpiochip_get_data(chip); in ar7_gpio_set_value() local
43 void __iomem *gpio_out = gpch->regs + AR7_GPIO_OUTPUT; in ar7_gpio_set_value()
55 struct ar7_gpio_chip *gpch = gpiochip_get_data(chip); in titan_gpio_set_value() local
56 void __iomem *gpio_out0 = gpch->regs + TITAN_GPIO_OUTPUT_0; in titan_gpio_set_value()
57 void __iomem *gpio_out1 = gpch in titan_gpio_set_value()
68 struct ar7_gpio_chip *gpch = gpiochip_get_data(chip); ar7_gpio_direction_input() local
78 struct ar7_gpio_chip *gpch = gpiochip_get_data(chip); titan_gpio_direction_input() local
93 struct ar7_gpio_chip *gpch = gpiochip_get_data(chip); ar7_gpio_direction_output() local
105 struct ar7_gpio_chip *gpch = gpiochip_get_data(chip); titan_gpio_direction_output() local
300 struct ar7_gpio_chip *gpch; ar7_gpio_init() local
[all...]
/kernel/linux/linux-5.10/arch/mips/rb532/
H A Dgpio.c89 struct rb532_gpio_chip *gpch; in rb532_gpio_get() local
91 gpch = gpiochip_get_data(chip); in rb532_gpio_get()
92 return !!rb532_get_bit(offset, gpch->regbase + GPIOD); in rb532_gpio_get()
101 struct rb532_gpio_chip *gpch; in rb532_gpio_set() local
103 gpch = gpiochip_get_data(chip); in rb532_gpio_set()
104 rb532_set_bit(value, offset, gpch->regbase + GPIOD); in rb532_gpio_set()
112 struct rb532_gpio_chip *gpch; in rb532_gpio_direction_input() local
114 gpch = gpiochip_get_data(chip); in rb532_gpio_direction_input()
117 rb532_set_bit(0, offset, gpch->regbase + GPIOFUNC); in rb532_gpio_direction_input()
119 rb532_set_bit(0, offset, gpch in rb532_gpio_direction_input()
129 struct rb532_gpio_chip *gpch; rb532_gpio_direction_output() local
[all...]
/kernel/linux/linux-6.6/arch/mips/rb532/
H A Dgpio.c99 struct rb532_gpio_chip *gpch; in rb532_gpio_get() local
101 gpch = gpiochip_get_data(chip); in rb532_gpio_get()
102 return !!rb532_get_bit(offset, gpch->regbase + GPIOD); in rb532_gpio_get()
111 struct rb532_gpio_chip *gpch; in rb532_gpio_set() local
113 gpch = gpiochip_get_data(chip); in rb532_gpio_set()
114 rb532_set_bit(value, offset, gpch->regbase + GPIOD); in rb532_gpio_set()
122 struct rb532_gpio_chip *gpch; in rb532_gpio_direction_input() local
124 gpch = gpiochip_get_data(chip); in rb532_gpio_direction_input()
127 rb532_set_bit(0, offset, gpch->regbase + GPIOFUNC); in rb532_gpio_direction_input()
129 rb532_set_bit(0, offset, gpch in rb532_gpio_direction_input()
139 struct rb532_gpio_chip *gpch; rb532_gpio_direction_output() local
[all...]

Completed in 3 milliseconds