Searched refs:aligned_size (Results 1 – 8 of 8) sorted by relevance
/drivers/staging/media/atomisp/pci/runtime/isys/src/ |
D | ibuf_ctrl_rmgr.c | 52 u32 aligned_size; in ia_css_isys_ibuf_rmgr_acquire() local 59 aligned_size = (size + (IBUF_ALIGN - 1)) & ~(IBUF_ALIGN - 1); in ia_css_isys_ibuf_rmgr_acquire() 68 if (handle->size >= aligned_size) { in ia_css_isys_ibuf_rmgr_acquire() 83 (ibuf_rsrc.free_size >= aligned_size)) { in ia_css_isys_ibuf_rmgr_acquire() 86 handle->size = aligned_size; in ia_css_isys_ibuf_rmgr_acquire() 89 ibuf_rsrc.free_start_addr += aligned_size; in ia_css_isys_ibuf_rmgr_acquire() 90 ibuf_rsrc.free_size -= aligned_size; in ia_css_isys_ibuf_rmgr_acquire()
|
/drivers/gpu/drm/amd/amdgpu/ |
D | amdgpu_fb.c | 131 int aligned_size, size; in amdgpufb_create_pinned_object() local 147 aligned_size = ALIGN(size, PAGE_SIZE); in amdgpufb_create_pinned_object() 148 ret = amdgpu_gem_object_create(adev, aligned_size, 0, domain, flags, in amdgpufb_create_pinned_object() 151 pr_err("failed to allocate framebuffer (%d)\n", aligned_size); in amdgpufb_create_pinned_object()
|
/drivers/gpu/drm/radeon/ |
D | radeon_fb.c | 137 int aligned_size, size; in radeonfb_create_pinned_object() local 151 aligned_size = ALIGN(size, PAGE_SIZE); in radeonfb_create_pinned_object() 152 ret = radeon_gem_object_create(rdev, aligned_size, 0, in radeonfb_create_pinned_object() 156 pr_err("failed to allocate framebuffer (%d)\n", aligned_size); in radeonfb_create_pinned_object()
|
/drivers/gpu/drm/gma500/ |
D | framebuffer.c | 240 static struct gtt_range *psbfb_alloc(struct drm_device *dev, int aligned_size) in psbfb_alloc() argument 244 backing = psb_gtt_alloc_range(dev, aligned_size, "fb", 1, PAGE_SIZE); in psbfb_alloc() 247 drm_gem_private_object_init(dev, &backing->gem, aligned_size); in psbfb_alloc()
|
/drivers/net/phy/ |
D | mdio_bus.c | 145 size_t aligned_size = ALIGN(sizeof(*bus), NETDEV_ALIGN); in mdiobus_alloc_size() local 151 alloc_size = aligned_size + size; in mdiobus_alloc_size() 161 bus->priv = (void *)bus + aligned_size; in mdiobus_alloc_size()
|
/drivers/net/wwan/iosm/ |
D | iosm_ipc_mux_codec.c | 665 int aligned_size = 0; in ipc_mux_ul_adgh_encode() local 706 aligned_size = ALIGN((pad_len + src_skb->len), 4); in ipc_mux_ul_adgh_encode() 708 ipc_mux->size_needed = sizeof(struct mux_adgh) + aligned_size; in ipc_mux_ul_adgh_encode()
|
/drivers/iommu/ |
D | dma-iommu.c | 863 size_t padding_size, aligned_size; in iommu_dma_map_page() local 867 aligned_size = iova_align(iovad, size); in iommu_dma_map_page() 868 phys = swiotlb_tbl_map_single(dev, phys, size, aligned_size, in iommu_dma_map_page() 876 padding_size = aligned_size; in iommu_dma_map_page()
|
/drivers/infiniband/hw/qedr/ |
D | verbs.c | 733 u64 size, aligned_size; in qedr_align_cq_entries() local 737 aligned_size = ALIGN(size, PAGE_SIZE); in qedr_align_cq_entries() 739 return aligned_size / QEDR_CQE_SIZE; in qedr_align_cq_entries()
|