Lines Matching refs:addr
21 struct gpio_desc **addr;
68 static void gpio_ext_set_addr(struct netxbig_gpio_ext *gpio_ext, int addr)
73 gpiod_set_value(gpio_ext->addr[pin], (addr >> pin) & 1);
92 int addr, int value)
97 gpio_ext_set_addr(gpio_ext, addr);
330 gpiod_put(gpio_ext->addr[i]);
350 struct gpio_desc **addr, **data;
356 ret = gpiod_count(gpio_ext_dev, "addr");
359 "Failed to count GPIOs in DT property addr-gpios\n");
363 addr = devm_kcalloc(dev, num_addr, sizeof(*addr), GFP_KERNEL);
364 if (!addr)
375 gpiod = gpiod_get_index(gpio_ext_dev, "addr", i,
379 gpiod_set_consumer_name(gpiod, "GPIO extension addr");
380 addr[i] = gpiod;
382 gpio_ext->addr = addr;
515 ret = of_property_read_u32(child, "mode-addr",
520 ret = of_property_read_u32(child, "bright-addr",