Lines Matching refs:gpio_pin
55 const u32 gpio_pin = ixp4xx_dev - ixp4xxgpioled_devices;
57 if (gpio_pin < GPIO_MAX && ixp4xx_dev->ancestor.name != 0) {
58 /* Set or clear the 'gpio_pin' bit according to the style
68 gpio_line_set(gpio_pin, gpio_value);
134 const u8 gpio_pin = pdev->resource[i].start;
137 if (ixp4xxgpioled_devices[gpio_pin].ancestor.name == 0) {
141 gpio_line_config(gpio_pin, IXP4XX_GPIO_OUT);
149 gpio_line_set(gpio_pin, IXP4XX_GPIO_HIGH);
152 ixp4xxgpioled_devices[gpio_pin].flags =
155 ixp4xxgpioled_devices[gpio_pin].ancestor.name =
162 if (ixp4xxgpioled_devices[gpio_pin].flags != IXP4XX_GPIO_LOW)
163 ixp4xxgpioled_devices[gpio_pin].ancestor.brightness = 100;
165 ixp4xxgpioled_devices[gpio_pin].ancestor.brightness = 0;
167 ixp4xxgpioled_devices[gpio_pin].ancestor.flags = 0;
169 ixp4xxgpioled_devices[gpio_pin].ancestor.brightness_set =
172 ixp4xxgpioled_devices[gpio_pin].ancestor.default_trigger = 0;
176 &ixp4xxgpioled_devices[gpio_pin].ancestor);
178 ixp4xxgpioled_devices[gpio_pin].ancestor.name = 0;