Searched defs:DIV_ROUND_UP (Results 1 - 2 of 2) sorted by relevance
/drivers/gpu/drm/vmwgfx/ |
H A D | svga3d_surfacedefs.h | 39 #define DIV_ROUND_UP(x, y) (((x) + (y) - 1) / (y)) macro 756 block_size->width = DIV_ROUND_UP(pixel_size->width, 758 block_size->height = DIV_ROUND_UP(pixel_size->height, 760 block_size->depth = DIV_ROUND_UP(pixel_size->depth, 872 const u32 rowstride = DIV_ROUND_UP(width, bw) * desc->bytes_per_block; 873 const u32 imgstride = DIV_ROUND_UP(height, bh) * rowstride;
|
/drivers/scsi/cxgbi/cxgb4i/ |
H A D | cxgb4i.c | 155 #define DIV_ROUND_UP(n, d) (((n) + (d) - 1) / (d)) macro 484 return DIV_ROUND_UP(skb->len, 8); 504 htonl(FW_WR_LEN16(DIV_ROUND_UP(72, 16)) | 600 credits_needed = DIV_ROUND_UP(dlen + 603 credits_needed = DIV_ROUND_UP(8*calc_tx_flits_ofld(skb) 1363 DIV_ROUND_UP(sizeof(struct cpl_abort_req), 16); 1454 req->len16 = htonl(DIV_ROUND_UP(wr_len - sizeof(req->wr), 16));
|
Completed in 582 milliseconds