Home
last modified time | relevance | path

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

/drivers/hdf_core/framework/model/input/driver/
Dhdf_hid_adapter.h14 #ifdef DIV_ROUND_UP
15 #undef DIV_ROUND_UP
17 #define DIV_ROUND_UP(nr, d) (((nr) + (d) - 1) / (d)) macro
27 #define BITS_TO_LONG(count) DIV_ROUND_UP(count, BYTE_HAS_BITS * sizeof(unsigned long))
Dhdf_input_device_manager.h29 #ifdef DIV_ROUND_UP
30 #undef DIV_ROUND_UP
32 #define DIV_ROUND_UP(nr, d) (((nr) + (d) - 1) / (d)) macro
35 #define BITS_TO_UINT64(count) DIV_ROUND_UP(count, BYTE_HAS_BITS * sizeof(unsigned long))
/drivers/peripheral/input/interfaces/include/
Dinput_type.h67 #ifdef DIV_ROUND_UP
68 #undef DIV_ROUND_UP
71 #define DIV_ROUND_UP(nr, d) (((nr) + (d) - 1) / (d)) macro
75 #define BITS_TO_UINT64(count) DIV_ROUND_UP(count, BYTE_HAS_BITS * sizeof(uint64_t))
/drivers/peripheral/display/hal/default/
Ddisplay_gralloc.c37 #define DIV_ROUND_UP(n, d) (((n) + (d) - 1) / (d)) macro
133 width = DIV_ROUND_UP((width * sum), fmtInfo->planes->radio[0]); in AdjustStrideFromFormat()
/drivers/hdf_core/framework/model/audio/usb/src/
Daudio_usb_endpoints.c865 maxPacksPerPeriod = DIV_ROUND_UP(periodBytes, minsize); in AudioUsbSetRenderEpParams()
866 urbsPerPeriod = DIV_ROUND_UP(maxPacksPerPeriod, maxPacksPerUrb); in AudioUsbSetRenderEpParams()
867 urbPacks = DIV_ROUND_UP(maxPacksPerPeriod, urbsPerPeriod); in AudioUsbSetRenderEpParams()
868 endpoint->maxUrbFrames = DIV_ROUND_UP(framesPerPeriod, urbsPerPeriod); in AudioUsbSetRenderEpParams()