Home
last modified time | relevance | path

Searched refs:segid (Results 1 – 6 of 6) sorted by relevance

/linux-2.6.39/drivers/staging/tidspbridge/rmgr/
Drmm.c88 static bool alloc_block(struct rmm_target_obj *target, u32 segid, u32 size,
90 static bool free_block(struct rmm_target_obj *target, u32 segid, u32 addr,
96 int rmm_alloc(struct rmm_target_obj *target, u32 segid, u32 size, in rmm_alloc() argument
111 if (!alloc_block(target, segid, size, align, dsp_address)) { in rmm_alloc()
116 target->seg_tab[segid].number++; in rmm_alloc()
146 new_sect->page = segid; in rmm_alloc()
294 bool rmm_free(struct rmm_target_obj *target, u32 segid, u32 dsp_addr, u32 size, in rmm_free() argument
302 DBC_REQUIRE(reserved || segid < target->num_segs); in rmm_free()
303 DBC_REQUIRE(reserved || (dsp_addr >= target->seg_tab[segid].base && in rmm_free()
304 (dsp_addr + size) <= (target->seg_tab[segid]. in rmm_free()
[all …]
Dnldr.c138 u32 segid; /* Dynamic loading memory segment number */ member
1619 u16 segid = 0; in remote_alloc() local
1639 rmm_addr_obj->segid = segmnt_id; in remote_alloc()
1640 segid = segmnt_id; in remote_alloc()
1661 segid = hnode->seg_id[mem_phase_bit]; in remote_alloc()
1671 if (segid == NULLID) { in remote_alloc()
1676 if (segid <= MAXSEGID) { in remote_alloc()
1677 DBC_ASSERT(segid < nldr_obj->dload_segs); in remote_alloc()
1679 rmm_addr_obj->segid = segid; in remote_alloc()
1681 rmm_alloc(rmm, segid, word_size, align, dsp_address, false); in remote_alloc()
[all …]
Ddisp.c372 pmsg_args->segid = node_msg_args.seg_id; in disp_node_create()
612 strm_def_obj->segid = strm_def.seg_id; in fill_stream_def()
/linux-2.6.39/drivers/staging/tidspbridge/include/dspbridge/
Drmm.h30 s32 segid; member
76 extern int rmm_alloc(struct rmm_target_obj *target, u32 segid, u32 size,
147 extern bool rmm_free(struct rmm_target_obj *target, u32 segid, u32 dsp_addr,
178 extern bool rmm_stat(struct rmm_target_obj *target, enum dsp_memtype segid,
Drms_sh.h53 rms_word segid; /* Segment to allocate buffers */ member
62 rms_word segid; /* Mem segment for NODE_allocMsgBuf */ member
/linux-2.6.39/drivers/staging/tidspbridge/pmgr/
Ddbll.c1282 info->context = (u32) rmm_addr_obj.segid; in dbll_rmm_alloc()
1300 u32 segid; in rmm_dealloc() local
1314 segid = (u32) info->context; in rmm_dealloc()
1322 sym_handle, segid, in rmm_dealloc()