Home
last modified time | relevance | path

Searched refs:alloc_block (Results 1 – 15 of 15) sorted by relevance

/linux-2.6.39/drivers/staging/intel_sst/
Dintel_sst_pvt.c57 if (sst_drv_ctx->alloc_block[i].sst_id == BLOCK_UNINIT) { in sst_get_block_stream()
58 sst_drv_ctx->alloc_block[i].ops_block.condition = false; in sst_get_block_stream()
59 sst_drv_ctx->alloc_block[i].ops_block.ret_code = 0; in sst_get_block_stream()
60 sst_drv_ctx->alloc_block[i].sst_id = 0; in sst_get_block_stream()
273 if (sst_id == sst_drv_ctx->alloc_block[i].sst_id) { in sst_wake_up_alloc_block()
274 sst_drv_ctx->alloc_block[i].ops_block.condition = true; in sst_wake_up_alloc_block()
275 sst_drv_ctx->alloc_block[i].ops_block.ret_code = status; in sst_wake_up_alloc_block()
276 sst_drv_ctx->alloc_block[i].ops_block.data = data; in sst_wake_up_alloc_block()
Dintel_sst_dsp.c273 sst_drv_ctx->alloc_block[i].sst_id = pvt_id; in sst_download_library()
284 retval = sst_wait_timeout(sst_drv_ctx, &sst_drv_ctx->alloc_block[i]); in sst_download_library()
287 sst_drv_ctx->alloc_block[i].sst_id = BLOCK_UNINIT; in sst_download_library()
318 sst_drv_ctx->alloc_block[i].sst_id = BLOCK_UNINIT; in sst_download_library()
323 sst_drv_ctx->alloc_block[i].sst_id = pvt_id; in sst_download_library()
333 sst_drv_ctx->alloc_block[i].ops_block.condition = false; in sst_download_library()
334 retval = sst_wait_timeout(sst_drv_ctx, &sst_drv_ctx->alloc_block[i]); in sst_download_library()
340 sst_drv_ctx->alloc_block[i].sst_id = BLOCK_UNINIT; in sst_download_library()
345 sst_drv_ctx->alloc_block[i].sst_id = BLOCK_UNINIT; in sst_download_library()
Dintel_sst_drv_interface.c65 sst_drv_ctx->alloc_block[0].sst_id = FW_DWNL_ID; in sst_download_fw()
66 sst_drv_ctx->alloc_block[0].ops_block.condition = false; in sst_download_fw()
71 retval = sst_wait_timeout(sst_drv_ctx, &sst_drv_ctx->alloc_block[0]); in sst_download_fw()
76 sst_drv_ctx->alloc_block[0].sst_id = BLOCK_UNINIT; in sst_download_fw()
209 response = sst_drv_ctx->alloc_block[i].ops_block.data; in sst_get_stream()
218 sst_drv_ctx->alloc_block[i].sst_id = BLOCK_UNINIT; in sst_get_stream()
Dintel_sst.c226 sst_drv_ctx->alloc_block[i].sst_id = BLOCK_UNINIT; in intel_sst_probe()
227 sst_drv_ctx->alloc_block[i].ops_block.condition = false; in intel_sst_probe()
Dintel_sst_common.h394 struct stream_alloc_block alloc_block[MAX_ACTIVE_STREAM]; member
/linux-2.6.39/drivers/staging/tidspbridge/rmgr/
Drmm.c88 static bool alloc_block(struct rmm_target_obj *target, u32 segid, u32 size,
111 if (!alloc_block(target, segid, size, align, dsp_address)) { in rmm_alloc()
398 static bool alloc_block(struct rmm_target_obj *target, u32 segid, u32 size, in alloc_block() function
/linux-2.6.39/drivers/gpu/drm/radeon/
Dradeon_mem.c83 static struct mem_block *alloc_block(struct mem_block *heap, int size, in alloc_block() function
241 block = alloc_block(*heap, alloc->size, alloc->alignment, file_priv); in radeon_mem_alloc()
/linux-2.6.39/drivers/gpu/drm/i915/
Di915_mem.c134 static struct mem_block *alloc_block(struct mem_block *heap, int size, in alloc_block() function
294 block = alloc_block(*heap, alloc->size, alloc->alignment, file_priv); in i915_mem_alloc()
/linux-2.6.39/fs/hfs/
Dextent.c206 u16 alloc_block, u16 block_count) in hfs_add_extent() argument
216 if (alloc_block != start + count) { in hfs_add_extent()
220 extent->block = cpu_to_be16(alloc_block); in hfs_add_extent()
/linux-2.6.39/fs/hfsplus/
Dextents.c285 u32 alloc_block, u32 block_count) in hfsplus_add_extent() argument
295 if (alloc_block != start + count) { in hfsplus_add_extent()
299 extent->start_block = cpu_to_be32(alloc_block); in hfsplus_add_extent()
/linux-2.6.39/fs/xfs/
Dxfs_ialloc_btree.c280 .alloc_block = xfs_inobt_alloc_block,
Dxfs_btree.h158 int (*alloc_block)(struct xfs_btree_cur *cur, member
Dxfs_alloc_btree.c394 .alloc_block = xfs_allocbt_alloc_block,
Dxfs_bmap_btree.c830 .alloc_block = xfs_bmbt_alloc_block,
Dxfs_btree.c2179 error = cur->bc_ops->alloc_block(cur, &lptr, &rptr, 1, stat); in xfs_btree_split()
2352 error = cur->bc_ops->alloc_block(cur, pp, &nptr, 1, stat); in xfs_btree_new_iroot()
2446 error = cur->bc_ops->alloc_block(cur, &rptr, &lptr, 1, stat); in xfs_btree_new_root()