Home
last modified time | relevance | path

Searched refs:bits_per_uint (Results 1 – 1 of 1) sorted by relevance

/Linux-v4.19/drivers/gpu/drm/amd/display/dc/gpio/
Dgpio_service.c83 const uint32_t bits_per_uint = sizeof(uint32_t) << 3; in dal_gpio_service_create() local
93 (number_of_bits + bits_per_uint - 1) / in dal_gpio_service_create()
94 bits_per_uint; in dal_gpio_service_create()
195 const uint32_t bits_per_uint = sizeof(uint32_t) << 3; in is_pin_busy() local
197 const uint32_t *slot = service->busyness[id] + (en / bits_per_uint); in is_pin_busy()
199 return 0 != (*slot & (1 << (en % bits_per_uint))); in is_pin_busy()
207 const uint32_t bits_per_uint = sizeof(uint32_t) << 3; in set_pin_busy() local
209 service->busyness[id][en / bits_per_uint] |= in set_pin_busy()
210 (1 << (en % bits_per_uint)); in set_pin_busy()
218 const uint32_t bits_per_uint = sizeof(uint32_t) << 3; in set_pin_free() local
[all …]