Searched refs:claimed (Results 1 - 2 of 2) sorted by relevance

/u-boot/drivers/gpio/
H A Dgpio-uclass.c81 * gpio_is_claimed() - Test whether GPIO is claimed by consumer
83 * Test whether GPIO is claimed by consumer already.
87 * @return: true if claimed, false if not claimed
91 return !!(uc_priv->claimed[offset / GPIO_ALLOC_BITS] & BIT(offset % GPIO_ALLOC_BITS));
95 * gpio_set_claim() - Set GPIO claimed by consumer
97 * Set a bit which indicate the GPIO is claimed by consumer
104 uc_priv->claimed[offset / GPIO_ALLOC_BITS] |= BIT(offset % GPIO_ALLOC_BITS);
108 * gpio_clear_claim() - Clear GPIO claimed by consumer
110 * Clear a bit which indicate the GPIO is claimed b
[all...]
/u-boot/include/asm-generic/
H A Dgpio.h110 GPIOF_UNUSED, /* Not claimed */
417 * @claimed: Array of bits indicating which GPIOs in the bank are claimed.
419 * value of the pointer will be NULL if the GPIO has not been claimed.
425 u32 *claimed; member in struct:gpio_dev_priv
629 * @label: Label to attach to the GPIO while claimed

Completed in 162 milliseconds