Lines Matching refs:gpio_chip_hwgpio
240 offset = gpio_chip_hwgpio(desc);
2114 offset = gpio_chip_hwgpio(desc);
2215 gc->free(gc, gpio_chip_hwgpio(desc));
2379 return gpio_do_set_config(gc, gpio_chip_hwgpio(desc), config);
2387 int gpio = gpio_chip_hwgpio(desc);
2491 ret = gc->direction_input(gc, gpio_chip_hwgpio(desc));
2493 (gc->get_direction(gc, gpio_chip_hwgpio(desc)) != 1)) {
2529 ret = gc->direction_output(gc, gpio_chip_hwgpio(desc), val);
2533 gc->get_direction(gc, gpio_chip_hwgpio(desc))) {
2543 gc->set(gc, gpio_chip_hwgpio(desc), val);
2665 ret = gc->en_hw_timestamp(gc, gpio_chip_hwgpio(desc), flags);
2694 ret = gc->dis_hw_timestamp(gc, gpio_chip_hwgpio(desc), flags);
2718 return gpio_do_set_config(gc, gpio_chip_hwgpio(desc), config);
2790 return gc->get ? gc->get(gc, gpio_chip_hwgpio(desc)) : -EIO;
2915 int hwgpio = gpio_chip_hwgpio(desc);
2937 int hwgpio = gpio_chip_hwgpio(desc);
3069 int offset = gpio_chip_hwgpio(desc);
3094 int offset = gpio_chip_hwgpio(desc);
3116 gc->set(gc, gpio_chip_hwgpio(desc), value);
3207 int hwgpio = gpio_chip_hwgpio(desc);
3418 offset = gpio_chip_hwgpio(desc);
4321 hwnum = gpio_chip_hwgpio(desc);
4401 if (descs->ndescs == 0 && gpio_chip_hwgpio(desc) == 0) {
4446 else if (gpio_chip_hwgpio(desc) != descs->ndescs) {