Lines Matching refs:p_curp

1721 					     struct qed_ll2_rx_packet *p_curp)  in qed_ll2_post_rx_buffer_notify_fw()  argument
1739 if (p_curp) { in qed_ll2_post_rx_buffer_notify_fw()
1740 list_add_tail(&p_curp->list_entry, &p_rx->active_descq); in qed_ll2_post_rx_buffer_notify_fw()
1779 struct qed_ll2_rx_packet *p_curp = NULL; in qed_ll2_post_rx_buffer() local
1795 p_curp = list_first_entry(&p_rx->free_descq, in qed_ll2_post_rx_buffer()
1797 if (p_curp) { in qed_ll2_post_rx_buffer()
1807 if (!p_curp || !p_curb) { in qed_ll2_post_rx_buffer()
1809 p_curp = NULL; in qed_ll2_post_rx_buffer()
1816 p_curp->rx_buf_addr = addr; in qed_ll2_post_rx_buffer()
1817 p_curp->cookie = cookie; in qed_ll2_post_rx_buffer()
1818 p_curp->rxq_bd = p_curb; in qed_ll2_post_rx_buffer()
1819 p_curp->buf_length = buf_len; in qed_ll2_post_rx_buffer()
1820 list_del(&p_curp->list_entry); in qed_ll2_post_rx_buffer()
1824 list_add_tail(&p_curp->list_entry, &p_rx->posting_descq); in qed_ll2_post_rx_buffer()
1829 qed_ll2_post_rx_buffer_notify_fw(p_hwfn, p_rx, p_curp); in qed_ll2_post_rx_buffer()
1837 struct qed_ll2_tx_packet *p_curp, in qed_ll2_prepare_tx_packet_set() argument
1841 list_del(&p_curp->list_entry); in qed_ll2_prepare_tx_packet_set()
1842 p_curp->cookie = pkt->cookie; in qed_ll2_prepare_tx_packet_set()
1843 p_curp->bd_used = pkt->num_of_bds; in qed_ll2_prepare_tx_packet_set()
1844 p_curp->notify_fw = notify_fw; in qed_ll2_prepare_tx_packet_set()
1845 p_tx->cur_send_packet = p_curp; in qed_ll2_prepare_tx_packet_set()
1848 p_curp->bds_set[p_tx->cur_send_frag_num].tx_frag = pkt->first_frag; in qed_ll2_prepare_tx_packet_set()
1849 p_curp->bds_set[p_tx->cur_send_frag_num].frag_len = pkt->first_frag_len; in qed_ll2_prepare_tx_packet_set()
1856 struct qed_ll2_tx_packet *p_curp, in qed_ll2_prepare_tx_packet_set_bd() argument
1934 struct core_tx_bd **p_bd = &p_curp->bds_set[frag_idx].txq_bd; in qed_ll2_prepare_tx_packet_set_bd()
1939 p_curp->bds_set[frag_idx].tx_frag = 0; in qed_ll2_prepare_tx_packet_set_bd()
1940 p_curp->bds_set[frag_idx].frag_len = 0; in qed_ll2_prepare_tx_packet_set_bd()
2000 struct qed_ll2_tx_packet *p_curp = NULL; in qed_ll2_prepare_tx_packet() local
2024 p_curp = list_first_entry(&p_tx->free_descq, in qed_ll2_prepare_tx_packet()
2026 if (unlikely(p_curp && in qed_ll2_prepare_tx_packet()
2028 p_curp = NULL; in qed_ll2_prepare_tx_packet()
2030 if (unlikely(!p_curp)) { in qed_ll2_prepare_tx_packet()
2036 qed_ll2_prepare_tx_packet_set(p_hwfn, p_tx, p_curp, pkt, notify_fw); in qed_ll2_prepare_tx_packet()
2038 qed_ll2_prepare_tx_packet_set_bd(p_hwfn, p_ll2_conn, p_curp, pkt); in qed_ll2_prepare_tx_packet()