Lines Matching refs:gpio_chip_hwgpio

370 	offset = gpio_chip_hwgpio(desc);  in gpiod_get_direction()
2292 offset = gpio_chip_hwgpio(desc); in gpiod_request_commit()
2378 guard.gc->free(guard.gc, gpio_chip_hwgpio(desc)); in gpiod_free_commit()
2543 return gpio_do_set_config(guard.gc, gpio_chip_hwgpio(desc), config); in gpio_set_config_with_argument()
2551 int gpio = gpio_chip_hwgpio(desc); in gpio_set_config_with_argument_optional()
2663 gpio_chip_hwgpio(desc)); in gpiod_direction_input()
2666 gpio_chip_hwgpio(desc)) != 1)) { in gpiod_direction_input()
2705 gpio_chip_hwgpio(desc), val); in gpiod_direction_output_raw_commit()
2709 guard.gc->get_direction(guard.gc, gpio_chip_hwgpio(desc))) { in gpiod_direction_output_raw_commit()
2719 guard.gc->set(guard.gc, gpio_chip_hwgpio(desc), val); in gpiod_direction_output_raw_commit()
2851 gpio_chip_hwgpio(desc), flags); in gpiod_enable_hw_timestamp_ns()
2883 ret = guard.gc->dis_hw_timestamp(guard.gc, gpio_chip_hwgpio(desc), in gpiod_disable_hw_timestamp_ns()
2909 return gpio_do_set_config(guard.gc, gpio_chip_hwgpio(desc), config); in gpiod_set_config()
2981 return gc->get ? gc->get(gc, gpio_chip_hwgpio(desc)) : -EIO; in gpio_chip_get_value()
3126 int hwgpio = gpio_chip_hwgpio(desc); in gpiod_get_array_value_complex()
3148 int hwgpio = gpio_chip_hwgpio(desc); in gpiod_get_array_value_complex()
3285 int ret = 0, offset = gpio_chip_hwgpio(desc); in gpio_set_open_drain_value_commit()
3312 int ret = 0, offset = gpio_chip_hwgpio(desc); in gpio_set_open_source_value_commit()
3339 guard.gc->set(guard.gc, gpio_chip_hwgpio(desc), value); in gpiod_set_raw_value_commit()
3433 int hwgpio = gpio_chip_hwgpio(desc); in gpiod_set_array_value_complex()
3654 offset = gpio_chip_hwgpio(desc); in gpiod_to_irq()
4594 hwnum = gpio_chip_hwgpio(desc); in gpiod_hog()
4674 if (descs->ndescs == 0 && gpio_chip_hwgpio(desc) == 0) { in gpiod_get_array()
4719 else if (gpio_chip_hwgpio(desc) != descs->ndescs) { in gpiod_get_array()