Searched refs:DIV_ROUND_UP (Results 1 – 5 of 5) sorted by relevance
/drivers/hdf_core/framework/model/input/driver/ |
D | hdf_hid_adapter.h | 14 #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))
|
D | hdf_input_device_manager.h | 29 #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/ |
D | input_type.h | 67 #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/ |
D | display_gralloc.c | 37 #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/ |
D | audio_usb_endpoints.c | 865 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()
|