Lines Matching defs:poh
100 static void sisfb_delete_node(struct SIS_OH *poh);
101 static void sisfb_insert_node(struct SIS_OH *pohList, struct SIS_OH *poh);
103 static void sisfb_free_node(struct SIS_HEAP *memheap, struct SIS_OH *poh);
3186 struct SIS_OH *poh;
3210 poh = sisfb_poh_new_node(&ivideo->sisfb_heap);
3211 if(poh == NULL)
3214 poh->poh_next = &ivideo->sisfb_heap.oh_free;
3215 poh->poh_prev = &ivideo->sisfb_heap.oh_free;
3216 poh->size = ivideo->sisfb_heap_size;
3217 poh->offset = ivideo->heapstart;
3219 ivideo->sisfb_heap.oh_free.poh_next = poh;
3220 ivideo->sisfb_heap.oh_free.poh_prev = poh;
3222 ivideo->sisfb_heap.max_freesize = poh->size;
3242 struct SIS_OH *poh;
3256 poh = &poha->aoh[0];
3258 poh->poh_next = poh + 1;
3259 poh = poh + 1;
3262 poh->poh_next = NULL;
3266 poh = memheap->poh_freelist;
3267 memheap->poh_freelist = poh->poh_next;
3269 return poh;
3325 sisfb_delete_node(struct SIS_OH *poh)
3327 poh->poh_prev->poh_next = poh->poh_next;
3328 poh->poh_next->poh_prev = poh->poh_prev;
3332 sisfb_insert_node(struct SIS_OH *pohList, struct SIS_OH *poh)
3336 pohList->poh_next = poh;
3337 pohTemp->poh_prev = poh;
3339 poh->poh_prev = pohList;
3340 poh->poh_next = pohTemp;
3414 sisfb_free_node(struct SIS_HEAP *memheap, struct SIS_OH *poh)
3416 if(poh == NULL)
3419 poh->poh_next = memheap->poh_freelist;
3420 memheap->poh_freelist = poh;
3426 struct SIS_OH *poh = NULL;
3429 poh = sisfb_poh_allocate(&ivideo->sisfb_heap, (u32)req->size);
3431 if(poh == NULL) {
3435 req->offset = poh->offset;
3436 req->size = poh->size;
3438 (poh->offset + ivideo->video_vbase));
3466 struct SIS_OH *poh;
3471 poh = sisfb_poh_free(&ivideo->sisfb_heap, base);
3473 if(poh == NULL) {