Lines Matching refs:p_virt_addr
137 void *p_virt_addr; member
298 *p_next_elem = p_chain->p_virt_addr; in qed_chain_advance_page()
489 p_chain->p_cons_elem = p_chain->p_virt_addr; in qed_chain_reset()
490 p_chain->p_prod_elem = p_chain->p_virt_addr; in qed_chain_reset()
535 void *p_virt_addr = NULL; in qed_chain_get_last_elem() local
538 if (!p_chain->p_virt_addr) in qed_chain_get_last_elem()
544 p_virt_addr = p_chain->p_virt_addr; in qed_chain_get_last_elem()
545 p_next = (struct qed_chain_next *)((u8 *)p_virt_addr + size); in qed_chain_get_last_elem()
546 while (p_next->next_virt != p_chain->p_virt_addr) { in qed_chain_get_last_elem()
547 p_virt_addr = p_next->next_virt; in qed_chain_get_last_elem()
548 p_next = (struct qed_chain_next *)((u8 *)p_virt_addr + in qed_chain_get_last_elem()
553 p_virt_addr = p_chain->p_virt_addr; in qed_chain_get_last_elem()
557 p_virt_addr = p_chain->pbl.pp_addr_tbl[last_page_idx].virt_addr; in qed_chain_get_last_elem()
562 p_virt_addr = (u8 *)p_virt_addr + size; in qed_chain_get_last_elem()
564 return p_virt_addr; in qed_chain_get_last_elem()