Lines Matching refs:p_curp

1723 					     struct qed_ll2_rx_packet *p_curp)  in qed_ll2_post_rx_buffer_notify_fw()  argument
1741 if (p_curp) { in qed_ll2_post_rx_buffer_notify_fw()
1742 list_add_tail(&p_curp->list_entry, &p_rx->active_descq); in qed_ll2_post_rx_buffer_notify_fw()
1781 struct qed_ll2_rx_packet *p_curp = NULL; in qed_ll2_post_rx_buffer() local
1797 p_curp = list_first_entry(&p_rx->free_descq, in qed_ll2_post_rx_buffer()
1799 if (p_curp) { in qed_ll2_post_rx_buffer()
1809 if (!p_curp || !p_curb) { in qed_ll2_post_rx_buffer()
1811 p_curp = NULL; in qed_ll2_post_rx_buffer()
1818 p_curp->rx_buf_addr = addr; in qed_ll2_post_rx_buffer()
1819 p_curp->cookie = cookie; in qed_ll2_post_rx_buffer()
1820 p_curp->rxq_bd = p_curb; in qed_ll2_post_rx_buffer()
1821 p_curp->buf_length = buf_len; in qed_ll2_post_rx_buffer()
1822 list_del(&p_curp->list_entry); in qed_ll2_post_rx_buffer()
1826 list_add_tail(&p_curp->list_entry, &p_rx->posting_descq); in qed_ll2_post_rx_buffer()
1831 qed_ll2_post_rx_buffer_notify_fw(p_hwfn, p_rx, p_curp); in qed_ll2_post_rx_buffer()
1839 struct qed_ll2_tx_packet *p_curp, in qed_ll2_prepare_tx_packet_set() argument
1843 list_del(&p_curp->list_entry); in qed_ll2_prepare_tx_packet_set()
1844 p_curp->cookie = pkt->cookie; in qed_ll2_prepare_tx_packet_set()
1845 p_curp->bd_used = pkt->num_of_bds; in qed_ll2_prepare_tx_packet_set()
1846 p_curp->notify_fw = notify_fw; in qed_ll2_prepare_tx_packet_set()
1847 p_tx->cur_send_packet = p_curp; in qed_ll2_prepare_tx_packet_set()
1850 p_curp->bds_set[p_tx->cur_send_frag_num].tx_frag = pkt->first_frag; in qed_ll2_prepare_tx_packet_set()
1851 p_curp->bds_set[p_tx->cur_send_frag_num].frag_len = pkt->first_frag_len; in qed_ll2_prepare_tx_packet_set()
1858 struct qed_ll2_tx_packet *p_curp, in qed_ll2_prepare_tx_packet_set_bd() argument
1936 struct core_tx_bd **p_bd = &p_curp->bds_set[frag_idx].txq_bd; in qed_ll2_prepare_tx_packet_set_bd()
1941 p_curp->bds_set[frag_idx].tx_frag = 0; in qed_ll2_prepare_tx_packet_set_bd()
1942 p_curp->bds_set[frag_idx].frag_len = 0; in qed_ll2_prepare_tx_packet_set_bd()
2002 struct qed_ll2_tx_packet *p_curp = NULL; in qed_ll2_prepare_tx_packet() local
2026 p_curp = list_first_entry(&p_tx->free_descq, in qed_ll2_prepare_tx_packet()
2028 if (unlikely(p_curp && in qed_ll2_prepare_tx_packet()
2030 p_curp = NULL; in qed_ll2_prepare_tx_packet()
2032 if (unlikely(!p_curp)) { in qed_ll2_prepare_tx_packet()
2038 qed_ll2_prepare_tx_packet_set(p_hwfn, p_tx, p_curp, pkt, notify_fw); in qed_ll2_prepare_tx_packet()
2040 qed_ll2_prepare_tx_packet_set_bd(p_hwfn, p_ll2_conn, p_curp, pkt); in qed_ll2_prepare_tx_packet()