Lines Matching refs:wr
973 u64 *wr = (u64 *)&q->desc[index]; in ring_tx_db() local
977 wr); in ring_tx_db()
1147 struct fw_eth_tx_pkt_wr *wr; in t4_eth_xmit() local
1214 wr = (void *)&q->q.desc[q->q.pidx]; in t4_eth_xmit()
1215 wr->equiq_to_len16 = htonl(wr_mid); in t4_eth_xmit()
1216 wr->r3 = cpu_to_be64(0); in t4_eth_xmit()
1217 end = (u64 *)wr + flits; in t4_eth_xmit()
1222 struct cpl_tx_pkt_lso *lso = (void *)wr; in t4_eth_xmit()
1228 wr->op_immdlen = htonl(FW_WR_OP_V(FW_ETH_TX_PKT_WR) | in t4_eth_xmit()
1257 wr->op_immdlen = htonl(FW_WR_OP_V(FW_ETH_TX_PKT_WR) | in t4_eth_xmit()
1259 cpl = (void *)(wr + 1); in t4_eth_xmit()
1354 static void ctrlq_check_stop(struct sge_ctrl_txq *q, struct fw_wr_hdr *wr) in ctrlq_check_stop() argument
1358 wr->lo |= htonl(FW_WR_EQUEQ_F | FW_WR_EQUIQ_F); in ctrlq_check_stop()
1375 struct fw_wr_hdr *wr; in ctrl_xmit() local
1393 wr = (struct fw_wr_hdr *)&q->q.desc[q->q.pidx]; in ctrl_xmit()
1394 inline_tx_skb(skb, &q->q, wr); in ctrl_xmit()
1398 ctrlq_check_stop(q, wr); in ctrl_xmit()
1424 struct fw_wr_hdr *wr; in restart_ctrlq() local
1431 wr = (struct fw_wr_hdr *)&q->q.desc[q->q.pidx]; in restart_ctrlq()
1435 inline_tx_skb(skb, &q->q, wr); in restart_ctrlq()
1441 ctrlq_check_stop(q, wr); in restart_ctrlq()
1537 struct fw_wr_hdr *wr = (struct fw_wr_hdr *)skb->data; in ofldtxq_stop() local
1539 wr->lo |= htonl(FW_WR_EQUEQ_F | FW_WR_EQUIQ_F); in ofldtxq_stop()