Lines Matching refs:p_curp

1659 					     struct qed_ll2_rx_packet *p_curp)  in qed_ll2_post_rx_buffer_notify_fw()  argument
1677 if (p_curp) { in qed_ll2_post_rx_buffer_notify_fw()
1678 list_add_tail(&p_curp->list_entry, &p_rx->active_descq); in qed_ll2_post_rx_buffer_notify_fw()
1717 struct qed_ll2_rx_packet *p_curp = NULL; in qed_ll2_post_rx_buffer() local
1731 p_curp = list_first_entry(&p_rx->free_descq, in qed_ll2_post_rx_buffer()
1733 if (p_curp) { in qed_ll2_post_rx_buffer()
1743 if (!p_curp || !p_curb) { in qed_ll2_post_rx_buffer()
1745 p_curp = NULL; in qed_ll2_post_rx_buffer()
1752 p_curp->rx_buf_addr = addr; in qed_ll2_post_rx_buffer()
1753 p_curp->cookie = cookie; in qed_ll2_post_rx_buffer()
1754 p_curp->rxq_bd = p_curb; in qed_ll2_post_rx_buffer()
1755 p_curp->buf_length = buf_len; in qed_ll2_post_rx_buffer()
1756 list_del(&p_curp->list_entry); in qed_ll2_post_rx_buffer()
1760 list_add_tail(&p_curp->list_entry, &p_rx->posting_descq); in qed_ll2_post_rx_buffer()
1765 qed_ll2_post_rx_buffer_notify_fw(p_hwfn, p_rx, p_curp); in qed_ll2_post_rx_buffer()
1773 struct qed_ll2_tx_packet *p_curp, in qed_ll2_prepare_tx_packet_set() argument
1777 list_del(&p_curp->list_entry); in qed_ll2_prepare_tx_packet_set()
1778 p_curp->cookie = pkt->cookie; in qed_ll2_prepare_tx_packet_set()
1779 p_curp->bd_used = pkt->num_of_bds; in qed_ll2_prepare_tx_packet_set()
1780 p_curp->notify_fw = notify_fw; in qed_ll2_prepare_tx_packet_set()
1781 p_tx->cur_send_packet = p_curp; in qed_ll2_prepare_tx_packet_set()
1784 p_curp->bds_set[p_tx->cur_send_frag_num].tx_frag = pkt->first_frag; in qed_ll2_prepare_tx_packet_set()
1785 p_curp->bds_set[p_tx->cur_send_frag_num].frag_len = pkt->first_frag_len; in qed_ll2_prepare_tx_packet_set()
1792 struct qed_ll2_tx_packet *p_curp, in qed_ll2_prepare_tx_packet_set_bd() argument
1870 struct core_tx_bd **p_bd = &p_curp->bds_set[frag_idx].txq_bd; in qed_ll2_prepare_tx_packet_set_bd()
1875 p_curp->bds_set[frag_idx].tx_frag = 0; in qed_ll2_prepare_tx_packet_set_bd()
1876 p_curp->bds_set[frag_idx].frag_len = 0; in qed_ll2_prepare_tx_packet_set_bd()
1936 struct qed_ll2_tx_packet *p_curp = NULL; in qed_ll2_prepare_tx_packet() local
1960 p_curp = list_first_entry(&p_tx->free_descq, in qed_ll2_prepare_tx_packet()
1962 if (p_curp && qed_chain_get_elem_left(p_tx_chain) < pkt->num_of_bds) in qed_ll2_prepare_tx_packet()
1963 p_curp = NULL; in qed_ll2_prepare_tx_packet()
1965 if (!p_curp) { in qed_ll2_prepare_tx_packet()
1971 qed_ll2_prepare_tx_packet_set(p_hwfn, p_tx, p_curp, pkt, notify_fw); in qed_ll2_prepare_tx_packet()
1973 qed_ll2_prepare_tx_packet_set_bd(p_hwfn, p_ll2_conn, p_curp, pkt); in qed_ll2_prepare_tx_packet()