Lines Matching refs:gpio_chip_hwgpio

241 	offset = gpio_chip_hwgpio(desc);  in gpiod_get_direction()
2115 offset = gpio_chip_hwgpio(desc); in gpiod_request_commit()
2216 gc->free(gc, gpio_chip_hwgpio(desc)); in gpiod_free_commit()
2380 return gpio_do_set_config(gc, gpio_chip_hwgpio(desc), config); in gpio_set_config_with_argument()
2388 int gpio = gpio_chip_hwgpio(desc); in gpio_set_config_with_argument_optional()
2492 ret = gc->direction_input(gc, gpio_chip_hwgpio(desc)); in gpiod_direction_input()
2494 (gc->get_direction(gc, gpio_chip_hwgpio(desc)) != 1)) { in gpiod_direction_input()
2530 ret = gc->direction_output(gc, gpio_chip_hwgpio(desc), val); in gpiod_direction_output_raw_commit()
2534 gc->get_direction(gc, gpio_chip_hwgpio(desc))) { in gpiod_direction_output_raw_commit()
2544 gc->set(gc, gpio_chip_hwgpio(desc), val); in gpiod_direction_output_raw_commit()
2666 ret = gc->en_hw_timestamp(gc, gpio_chip_hwgpio(desc), flags); in gpiod_enable_hw_timestamp_ns()
2695 ret = gc->dis_hw_timestamp(gc, gpio_chip_hwgpio(desc), flags); in gpiod_disable_hw_timestamp_ns()
2719 return gpio_do_set_config(gc, gpio_chip_hwgpio(desc), config); in gpiod_set_config()
2791 return gc->get ? gc->get(gc, gpio_chip_hwgpio(desc)) : -EIO; in gpio_chip_get_value()
2916 int hwgpio = gpio_chip_hwgpio(desc); in gpiod_get_array_value_complex()
2938 int hwgpio = gpio_chip_hwgpio(desc); in gpiod_get_array_value_complex()
3070 int offset = gpio_chip_hwgpio(desc); in gpio_set_open_drain_value_commit()
3095 int offset = gpio_chip_hwgpio(desc); in gpio_set_open_source_value_commit()
3117 gc->set(gc, gpio_chip_hwgpio(desc), value); in gpiod_set_raw_value_commit()
3208 int hwgpio = gpio_chip_hwgpio(desc); in gpiod_set_array_value_complex()
3419 offset = gpio_chip_hwgpio(desc); in gpiod_to_irq()
4322 hwnum = gpio_chip_hwgpio(desc); in gpiod_hog()
4402 if (descs->ndescs == 0 && gpio_chip_hwgpio(desc) == 0) { in gpiod_get_array()
4447 else if (gpio_chip_hwgpio(desc) != descs->ndescs) { in gpiod_get_array()