Lines Matching refs:p_virt_addr
156 void *p_virt_addr; member
277 *p_next_elem = p_chain->p_virt_addr; in qed_chain_advance_page()
466 p_chain->p_cons_elem = p_chain->p_virt_addr; in qed_chain_reset()
467 p_chain->p_prod_elem = p_chain->p_virt_addr; in qed_chain_reset()
520 p_chain->p_virt_addr = NULL; in qed_chain_init_params()
554 void *p_virt_addr, dma_addr_t p_phys_addr) in qed_chain_init_mem() argument
556 p_chain->p_virt_addr = p_virt_addr; in qed_chain_init_mem()
625 void *p_virt_addr = NULL; in qed_chain_get_last_elem() local
628 if (!p_chain->p_virt_addr) in qed_chain_get_last_elem()
634 p_virt_addr = p_chain->p_virt_addr; in qed_chain_get_last_elem()
635 p_next = (struct qed_chain_next *)((u8 *)p_virt_addr + size); in qed_chain_get_last_elem()
636 while (p_next->next_virt != p_chain->p_virt_addr) { in qed_chain_get_last_elem()
637 p_virt_addr = p_next->next_virt; in qed_chain_get_last_elem()
638 p_next = (struct qed_chain_next *)((u8 *)p_virt_addr + in qed_chain_get_last_elem()
643 p_virt_addr = p_chain->p_virt_addr; in qed_chain_get_last_elem()
647 p_virt_addr = p_chain->pbl.pp_virt_addr_tbl[last_page_idx]; in qed_chain_get_last_elem()
652 p_virt_addr = (u8 *)p_virt_addr + size; in qed_chain_get_last_elem()
654 return p_virt_addr; in qed_chain_get_last_elem()