Searched refs:ROUNDUP (Results 1 – 2 of 2) sorted by relevance
44 #define ROUNDUP(x, a) ((((x) + ((a) - 1)) / (a)) * (a)) macro210 length = ROUNDUP(length, 4); in cybt_hci_write_buf()263 uint32_t read_len = ROUNDUP(*p_length, 4); in cybt_hci_read()407 assert(total_read_len == ROUNDUP(hci_read_len, 4)); // check if we're losing data? in cybt_hci_read_packet()
108 #define ROUNDUP(x, a) ((((x) + ((a) - 1)) / (a)) * (a)) macro