Lines Matching refs:htonl
862 sgl->len0 = htonl(len); in write_sgl()
866 sgl->len0 = htonl(skb_frag_size(&si->frags[0])); in write_sgl()
870 sgl->cmd_nsge = htonl(ULPTX_CMD_V(ULP_TX_SC_DSGL) | in write_sgl()
1215 wr->equiq_to_len16 = htonl(wr_mid); in t4_eth_xmit()
1228 wr->op_immdlen = htonl(FW_WR_OP_V(FW_ETH_TX_PKT_WR) | in t4_eth_xmit()
1230 lso->c.lso_ctrl = htonl(LSO_OPCODE_V(CPL_TX_PKT_LSO) | in t4_eth_xmit()
1238 lso->c.seqno_offset = htonl(0); in t4_eth_xmit()
1240 lso->c.len = htonl(skb->len); in t4_eth_xmit()
1242 lso->c.len = htonl(LSO_T5_XFER_SIZE_V(skb->len)); in t4_eth_xmit()
1257 wr->op_immdlen = htonl(FW_WR_OP_V(FW_ETH_TX_PKT_WR) | in t4_eth_xmit()
1285 cpl->ctrl0 = htonl(ctrl0); in t4_eth_xmit()
1358 wr->lo |= htonl(FW_WR_EQUEQ_F | FW_WR_EQUIQ_F); in ctrlq_check_stop()
1539 wr->lo |= htonl(FW_WR_EQUEQ_F | FW_WR_EQUIQ_F); in ofldtxq_stop()
1915 if ((pkt->l2info & htonl(RXF_TCP_F)) && in t4_ethrx_handler()
1942 if (csum_ok && (pkt->l2info & htonl(RXF_UDP_F | RXF_TCP_F))) { in t4_ethrx_handler()
1946 } else if (pkt->l2info & htonl(RXF_IP_F)) { in t4_ethrx_handler()
2468 c.op_to_vfn = htonl(FW_CMD_OP_V(FW_IQ_CMD) | FW_CMD_REQUEST_F | in t4_sge_alloc_rxq()
2471 c.alloc_to_len16 = htonl(FW_IQ_CMD_ALLOC_F | FW_IQ_CMD_IQSTART_F | in t4_sge_alloc_rxq()
2473 c.type_to_iqandstindex = htonl(FW_IQ_CMD_TYPE_V(FW_IQ_TYPE_FL_INT_CAP) | in t4_sge_alloc_rxq()
2486 c.iqns_to_fl0congen = htonl(FW_IQ_CMD_IQFLINTCONGEN_F); in t4_sge_alloc_rxq()
2508 c.iqns_to_fl0congen |= htonl(FW_IQ_CMD_FL0PACKEN_F | in t4_sge_alloc_rxq()
2514 htonl(FW_IQ_CMD_FL0CNGCHMAP_V(cong) | in t4_sge_alloc_rxq()
2657 c.op_to_vfn = htonl(FW_CMD_OP_V(FW_EQ_ETH_CMD) | FW_CMD_REQUEST_F | in t4_sge_alloc_eth_txq()
2661 c.alloc_to_len16 = htonl(FW_EQ_ETH_CMD_ALLOC_F | in t4_sge_alloc_eth_txq()
2663 c.viid_pkd = htonl(FW_EQ_ETH_CMD_AUTOEQUEQE_F | in t4_sge_alloc_eth_txq()
2666 htonl(FW_EQ_ETH_CMD_HOSTFCMODE_V(HOSTFCMODE_STATUS_PAGE_X) | in t4_sge_alloc_eth_txq()
2670 htonl(FW_EQ_ETH_CMD_FBMIN_V(FETCHBURSTMIN_64B_X) | in t4_sge_alloc_eth_txq()
2712 c.op_to_vfn = htonl(FW_CMD_OP_V(FW_EQ_CTRL_CMD) | FW_CMD_REQUEST_F | in t4_sge_alloc_ctrl_txq()
2716 c.alloc_to_len16 = htonl(FW_EQ_CTRL_CMD_ALLOC_F | in t4_sge_alloc_ctrl_txq()
2718 c.cmpliqid_eqid = htonl(FW_EQ_CTRL_CMD_CMPLIQID_V(cmplqid)); in t4_sge_alloc_ctrl_txq()
2719 c.physeqid_pkd = htonl(0); in t4_sge_alloc_ctrl_txq()
2721 htonl(FW_EQ_CTRL_CMD_HOSTFCMODE_V(HOSTFCMODE_STATUS_PAGE_X) | in t4_sge_alloc_ctrl_txq()
2725 htonl(FW_EQ_CTRL_CMD_FBMIN_V(FETCHBURSTMIN_64B_X) | in t4_sge_alloc_ctrl_txq()
2767 c.op_to_vfn = htonl(FW_CMD_OP_V(FW_EQ_OFLD_CMD) | FW_CMD_REQUEST_F | in t4_sge_alloc_ofld_txq()
2771 c.alloc_to_len16 = htonl(FW_EQ_OFLD_CMD_ALLOC_F | in t4_sge_alloc_ofld_txq()
2774 htonl(FW_EQ_OFLD_CMD_HOSTFCMODE_V(HOSTFCMODE_STATUS_PAGE_X) | in t4_sge_alloc_ofld_txq()
2778 htonl(FW_EQ_OFLD_CMD_FBMIN_V(FETCHBURSTMIN_64B_X) | in t4_sge_alloc_ofld_txq()