Lines Matching refs:poh
99 static void sisfb_delete_node(struct SIS_OH *poh);
100 static void sisfb_insert_node(struct SIS_OH *pohList, struct SIS_OH *poh);
102 static void sisfb_free_node(struct SIS_HEAP *memheap, struct SIS_OH *poh);
3174 struct SIS_OH *poh;
3198 poh = sisfb_poh_new_node(&ivideo->sisfb_heap);
3199 if(poh == NULL)
3202 poh->poh_next = &ivideo->sisfb_heap.oh_free;
3203 poh->poh_prev = &ivideo->sisfb_heap.oh_free;
3204 poh->size = ivideo->sisfb_heap_size;
3205 poh->offset = ivideo->heapstart;
3207 ivideo->sisfb_heap.oh_free.poh_next = poh;
3208 ivideo->sisfb_heap.oh_free.poh_prev = poh;
3210 ivideo->sisfb_heap.max_freesize = poh->size;
3230 struct SIS_OH *poh;
3244 poh = &poha->aoh[0];
3246 poh->poh_next = poh + 1;
3247 poh = poh + 1;
3250 poh->poh_next = NULL;
3254 poh = memheap->poh_freelist;
3255 memheap->poh_freelist = poh->poh_next;
3257 return poh;
3313 sisfb_delete_node(struct SIS_OH *poh)
3315 poh->poh_prev->poh_next = poh->poh_next;
3316 poh->poh_next->poh_prev = poh->poh_prev;
3320 sisfb_insert_node(struct SIS_OH *pohList, struct SIS_OH *poh)
3324 pohList->poh_next = poh;
3325 pohTemp->poh_prev = poh;
3327 poh->poh_prev = pohList;
3328 poh->poh_next = pohTemp;
3402 sisfb_free_node(struct SIS_HEAP *memheap, struct SIS_OH *poh)
3404 if(poh == NULL)
3407 poh->poh_next = memheap->poh_freelist;
3408 memheap->poh_freelist = poh;
3414 struct SIS_OH *poh = NULL;
3417 poh = sisfb_poh_allocate(&ivideo->sisfb_heap, (u32)req->size);
3419 if(poh == NULL) {
3423 req->offset = poh->offset;
3424 req->size = poh->size;
3426 (poh->offset + ivideo->video_vbase));
3454 struct SIS_OH *poh;
3459 poh = sisfb_poh_free(&ivideo->sisfb_heap, base);
3461 if(poh == NULL) {