Home
last modified time | relevance | path

Searched refs:aligned_size (Results 1 – 8 of 8) sorted by relevance

/drivers/staging/media/atomisp/pci/atomisp2/css2400/runtime/isys/src/
Dibuf_ctrl_rmgr.c69 uint32_t aligned_size; in ia_css_isys_ibuf_rmgr_acquire() local
76 aligned_size = (size + (IBUF_ALIGN - 1)) & ~(IBUF_ALIGN - 1); in ia_css_isys_ibuf_rmgr_acquire()
85 if (handle->size >= aligned_size) { in ia_css_isys_ibuf_rmgr_acquire()
100 (ibuf_rsrc.free_size >= aligned_size)) { in ia_css_isys_ibuf_rmgr_acquire()
103 handle->size = aligned_size; in ia_css_isys_ibuf_rmgr_acquire()
106 ibuf_rsrc.free_start_addr += aligned_size; in ia_css_isys_ibuf_rmgr_acquire()
107 ibuf_rsrc.free_size -= aligned_size; in ia_css_isys_ibuf_rmgr_acquire()
/drivers/gpu/drm/amd/amdgpu/
Damdgpu_fb.c134 int aligned_size, size; in amdgpufb_create_pinned_object() local
146 aligned_size = ALIGN(size, PAGE_SIZE); in amdgpufb_create_pinned_object()
147 ret = amdgpu_gem_object_create(adev, aligned_size, 0, in amdgpufb_create_pinned_object()
154 pr_err("failed to allocate framebuffer (%d)\n", aligned_size); in amdgpufb_create_pinned_object()
/drivers/gpu/drm/radeon/
Dradeon_fb.c134 int aligned_size, size; in radeonfb_create_pinned_object() local
147 aligned_size = ALIGN(size, PAGE_SIZE); in radeonfb_create_pinned_object()
148 ret = radeon_gem_object_create(rdev, aligned_size, 0, in radeonfb_create_pinned_object()
152 pr_err("failed to allocate framebuffer (%d)\n", aligned_size); in radeonfb_create_pinned_object()
/drivers/gpu/drm/qxl/
Dqxl_fb.c124 int aligned_size, size; in qxlfb_create_pinned_object() local
128 aligned_size = ALIGN(size, PAGE_SIZE); in qxlfb_create_pinned_object()
131 ret = qxl_gem_object_create(qdev, aligned_size, 0, in qxlfb_create_pinned_object()
139 aligned_size); in qxlfb_create_pinned_object()
/drivers/net/wimax/i2400m/
Dtx.c618 size_t aligned_size, padding, hdr_size; in i2400m_tx_close() local
654 aligned_size = ALIGN(tx_msg_moved->size, i2400m->bus_tx_block_size); in i2400m_tx_close()
655 padding = aligned_size - tx_msg_moved->size; in i2400m_tx_close()
669 aligned_size, i2400m->tx_buf, i2400m->tx_in, in i2400m_tx_close()
/drivers/net/phy/
Dmdio_bus.c102 size_t aligned_size = ALIGN(sizeof(*bus), NETDEV_ALIGN); in mdiobus_alloc_size() local
108 alloc_size = aligned_size + size; in mdiobus_alloc_size()
118 bus->priv = (void *)bus + aligned_size; in mdiobus_alloc_size()
/drivers/gpu/drm/gma500/
Dframebuffer.c302 static struct gtt_range *psbfb_alloc(struct drm_device *dev, int aligned_size) in psbfb_alloc() argument
306 backing = psb_gtt_alloc_range(dev, aligned_size, "fb", 1, PAGE_SIZE); in psbfb_alloc()
308 drm_gem_private_object_init(dev, &backing->gem, aligned_size); in psbfb_alloc()
/drivers/infiniband/hw/qedr/
Dverbs.c753 u64 size, aligned_size; in qedr_align_cq_entries() local
757 aligned_size = ALIGN(size, PAGE_SIZE); in qedr_align_cq_entries()
759 return aligned_size / QEDR_CQE_SIZE; in qedr_align_cq_entries()