Lines Matching refs:p_curp

1590 					     struct qed_ll2_rx_packet *p_curp)  in qed_ll2_post_rx_buffer_notify_fw()  argument
1608 if (p_curp) { in qed_ll2_post_rx_buffer_notify_fw()
1609 list_add_tail(&p_curp->list_entry, &p_rx->active_descq); in qed_ll2_post_rx_buffer_notify_fw()
1634 struct qed_ll2_rx_packet *p_curp = NULL; in qed_ll2_post_rx_buffer() local
1648 p_curp = list_first_entry(&p_rx->free_descq, in qed_ll2_post_rx_buffer()
1650 if (p_curp) { in qed_ll2_post_rx_buffer()
1660 if (!p_curp || !p_curb) { in qed_ll2_post_rx_buffer()
1662 p_curp = NULL; in qed_ll2_post_rx_buffer()
1669 p_curp->rx_buf_addr = addr; in qed_ll2_post_rx_buffer()
1670 p_curp->cookie = cookie; in qed_ll2_post_rx_buffer()
1671 p_curp->rxq_bd = p_curb; in qed_ll2_post_rx_buffer()
1672 p_curp->buf_length = buf_len; in qed_ll2_post_rx_buffer()
1673 list_del(&p_curp->list_entry); in qed_ll2_post_rx_buffer()
1677 list_add_tail(&p_curp->list_entry, &p_rx->posting_descq); in qed_ll2_post_rx_buffer()
1682 qed_ll2_post_rx_buffer_notify_fw(p_hwfn, p_rx, p_curp); in qed_ll2_post_rx_buffer()
1690 struct qed_ll2_tx_packet *p_curp, in qed_ll2_prepare_tx_packet_set() argument
1694 list_del(&p_curp->list_entry); in qed_ll2_prepare_tx_packet_set()
1695 p_curp->cookie = pkt->cookie; in qed_ll2_prepare_tx_packet_set()
1696 p_curp->bd_used = pkt->num_of_bds; in qed_ll2_prepare_tx_packet_set()
1697 p_curp->notify_fw = notify_fw; in qed_ll2_prepare_tx_packet_set()
1698 p_tx->cur_send_packet = p_curp; in qed_ll2_prepare_tx_packet_set()
1701 p_curp->bds_set[p_tx->cur_send_frag_num].tx_frag = pkt->first_frag; in qed_ll2_prepare_tx_packet_set()
1702 p_curp->bds_set[p_tx->cur_send_frag_num].frag_len = pkt->first_frag_len; in qed_ll2_prepare_tx_packet_set()
1709 struct qed_ll2_tx_packet *p_curp, in qed_ll2_prepare_tx_packet_set_bd() argument
1784 struct core_tx_bd **p_bd = &p_curp->bds_set[frag_idx].txq_bd; in qed_ll2_prepare_tx_packet_set_bd()
1789 p_curp->bds_set[frag_idx].tx_frag = 0; in qed_ll2_prepare_tx_packet_set_bd()
1790 p_curp->bds_set[frag_idx].frag_len = 0; in qed_ll2_prepare_tx_packet_set_bd()
1850 struct qed_ll2_tx_packet *p_curp = NULL; in qed_ll2_prepare_tx_packet() local
1874 p_curp = list_first_entry(&p_tx->free_descq, in qed_ll2_prepare_tx_packet()
1876 if (p_curp && qed_chain_get_elem_left(p_tx_chain) < pkt->num_of_bds) in qed_ll2_prepare_tx_packet()
1877 p_curp = NULL; in qed_ll2_prepare_tx_packet()
1879 if (!p_curp) { in qed_ll2_prepare_tx_packet()
1885 qed_ll2_prepare_tx_packet_set(p_hwfn, p_tx, p_curp, pkt, notify_fw); in qed_ll2_prepare_tx_packet()
1887 qed_ll2_prepare_tx_packet_set_bd(p_hwfn, p_ll2_conn, p_curp, pkt); in qed_ll2_prepare_tx_packet()