Home
last modified time | relevance | path

Searched refs:cpl (Results 1 – 19 of 19) sorted by relevance

/drivers/net/ethernet/chelsio/cxgb4vf/
Dsge.c1086 struct cpl_tx_pkt_core *cpl; in t4vf_eth_xmit() local
1196 sizeof(*cpl))); in t4vf_eth_xmit()
1217 cpl = (void *)(lso + 1); in t4vf_eth_xmit()
1226 len = is_eth_imm(skb) ? skb->len + sizeof(*cpl) : sizeof(*cpl); in t4vf_eth_xmit()
1235 cpl = (void *)(wr + 1); in t4vf_eth_xmit()
1255 cpl->ctrl0 = cpu_to_be32(TXPKT_OPCODE(CPL_TX_PKT_XT) | in t4vf_eth_xmit()
1258 cpl->pack = cpu_to_be16(0); in t4vf_eth_xmit()
1259 cpl->len = cpu_to_be16(skb->len); in t4vf_eth_xmit()
1260 cpl->ctrl1 = cpu_to_be64(cntrl); in t4vf_eth_xmit()
1277 inline_tx_skb(skb, &txq->q, cpl + 1); in t4vf_eth_xmit()
[all …]
Dcxgb4vf_main.c399 void *cpl = (void *)(rsp + 1); in fwevtq_handler() local
406 const struct cpl_fw6_msg *fw_msg = cpl; in fwevtq_handler()
422 cpl = (void *)p; in fwevtq_handler()
436 const struct cpl_sge_egr_update *p = cpl; in fwevtq_handler()
/drivers/net/ethernet/chelsio/cxgb/
Dsge.c1778 struct cpl_tx_pkt *cpl; in t1_start_xmit() local
1814 cpl = (struct cpl_tx_pkt *)hdr; in t1_start_xmit()
1854 cpl = (struct cpl_tx_pkt *)__skb_push(skb, sizeof(*cpl)); in t1_start_xmit()
1855 cpl->opcode = CPL_TX_PKT; in t1_start_xmit()
1856 cpl->ip_csum_dis = 1; /* SW calculates IP csum */ in t1_start_xmit()
1857 cpl->l4_csum_dis = skb->ip_summed == CHECKSUM_PARTIAL ? 0 : 1; in t1_start_xmit()
1862 cpl->iff = dev->if_port; in t1_start_xmit()
1865 cpl->vlan_valid = 1; in t1_start_xmit()
1866 cpl->vlan = htons(vlan_tx_tag_get(skb)); in t1_start_xmit()
1869 cpl->vlan_valid = 0; in t1_start_xmit()
/drivers/net/ethernet/chelsio/cxgb4/
Dcxgb4_uld.h62 #define INIT_TP_WR_CPL(w, cpl, tid) do { \ argument
64 OPCODE_TID(w) = htonl(MK_OPCODE_TID(cpl, tid)); \
Dsge.c982 struct cpl_tx_pkt_core *cpl; in t4_eth_xmit() local
1050 cpl = (void *)(lso + 1); in t4_eth_xmit()
1059 len = is_eth_imm(skb) ? skb->len + sizeof(*cpl) : sizeof(*cpl); in t4_eth_xmit()
1062 cpl = (void *)(wr + 1); in t4_eth_xmit()
1075 cpl->ctrl0 = htonl(TXPKT_OPCODE(CPL_TX_PKT_XT) | in t4_eth_xmit()
1077 cpl->pack = htons(0); in t4_eth_xmit()
1078 cpl->len = htons(skb->len); in t4_eth_xmit()
1079 cpl->ctrl1 = cpu_to_be64(cntrl); in t4_eth_xmit()
1082 inline_tx_skb(skb, &q->q, cpl + 1); in t4_eth_xmit()
1087 write_sgl(skb, &q->q, (struct ulptx_sgl *)(cpl + 1), end, 0, in t4_eth_xmit()
[all …]
/drivers/net/ethernet/chelsio/cxgb3/
Dsge.c1146 struct cpl_tx_pkt *cpl = (struct cpl_tx_pkt *)d; in write_tx_pkt_wr() local
1148 cpl->len = htonl(skb->len); in write_tx_pkt_wr()
1157 struct cpl_tx_pkt_lso *hdr = (struct cpl_tx_pkt_lso *)cpl; in write_tx_pkt_wr()
1173 cpl->cntrl = htonl(cntrl); in write_tx_pkt_wr()
1175 if (skb->len <= WR_LEN - sizeof(*cpl)) { in write_tx_pkt_wr()
1184 cpl->wr.wr_hi = htonl(V_WR_BCNTLFLT(skb->len & 7) | in write_tx_pkt_wr()
1188 cpl->wr.wr_lo = htonl(V_WR_LEN(flits) | V_WR_GEN(gen) | in write_tx_pkt_wr()
2069 struct cpl_rx_pkt *cpl; in lro_add_page() local
2105 cpl = qs->lro_va = sd->pg_chunk.va + 2; in lro_add_page()
2108 cpl->csum_valid && cpl->csum == htons(0xffff)) { in lro_add_page()
[all …]
/drivers/infiniband/hw/cxgb4/
Dcm.c2847 struct cpl_pass_accept_req *cpl; in passive_ofld_conn_reply() local
2859 cpl = (struct cpl_pass_accept_req *)cplhdr(rpl_skb); in passive_ofld_conn_reply()
2860 OPCODE_TID(cpl) = htonl(MK_OPCODE_TID(CPL_PASS_ACCEPT_REQ, in passive_ofld_conn_reply()
2903 struct cpl_rx_pkt *cpl = cplhdr(skb); in build_cpl_pass_accept_req() local
2910 vlantag = (__force u16) cpl->vlan; in build_cpl_pass_accept_req()
2911 len = (__force u16) cpl->len; in build_cpl_pass_accept_req()
2912 l2info = (__force u32) cpl->l2info; in build_cpl_pass_accept_req()
2913 hdr_len = (__force u16) cpl->hdr_len; in build_cpl_pass_accept_req()
2914 intf = cpl->iff; in build_cpl_pass_accept_req()
2964 struct cpl_pass_accept_req *cpl = cplhdr(skb); in send_fw_pass_open_req() local
[all …]
/drivers/watchdog/
Docteon-wdt-main.c244 static irqreturn_t octeon_wdt_poke_irq(int cpl, void *dev_id) in octeon_wdt_poke_irq() argument
256 disable_irq_nosync(cpl); in octeon_wdt_poke_irq()
/drivers/scsi/cxgbi/cxgb4i/
Dcxgb4i.c836 struct cpl_iscsi_hdr *cpl = (struct cpl_iscsi_hdr *)skb->data; in do_rx_iscsi_hdr() local
837 unsigned short pdu_len_ddp = be16_to_cpu(cpl->pdu_len_ddp); in do_rx_iscsi_hdr()
838 unsigned int tid = GET_TID(cpl); in do_rx_iscsi_hdr()
865 cxgbi_skcb_tcp_seq(skb) = ntohl(cpl->seq); in do_rx_iscsi_hdr()
869 __skb_pull(skb, sizeof(*cpl)); in do_rx_iscsi_hdr()
870 __pskb_trim(skb, ntohs(cpl->len)); in do_rx_iscsi_hdr()
890 hlen = ntohs(cpl->len); in do_rx_iscsi_hdr()
/drivers/input/serio/
Dct82c710.c73 static irqreturn_t ct82c710_interrupt(int cpl, void *dev_id) in ct82c710_interrupt() argument
/drivers/staging/octeon/
Dethernet-spi.c47 static irqreturn_t cvm_oct_spi_rml_interrupt(int cpl, void *dev_id) in cvm_oct_spi_rml_interrupt() argument
Dethernet-rgmii.c200 static irqreturn_t cvm_oct_rgmii_rml_interrupt(int cpl, void *dev_id) in cvm_oct_rgmii_rml_interrupt() argument
Dethernet-rx.c134 static irqreturn_t cvm_oct_do_interrupt(int cpl, void *dev_id) in cvm_oct_do_interrupt() argument
Dethernet-tx.c697 static irqreturn_t cvm_oct_tx_cleanup_watchdog(int cpl, void *dev_id) in cvm_oct_tx_cleanup_watchdog() argument
/drivers/misc/
Dapds990x.c266 u32 cpl; in apds990x_lux_to_threshold() local
292 cpl = ((u32)chip->atime * (u32)again[chip->again_next] * in apds990x_lux_to_threshold()
295 thres = lux * cpl / 64; in apds990x_lux_to_threshold()
/drivers/scsi/csiostor/
Dcsio_scsi.c1130 struct cpl_fw6_msg *cpl; in csio_scsi_cmpl_handler() local
1136 cpl = (struct cpl_fw6_msg *)((uintptr_t)wr + sizeof(__be64)); in csio_scsi_cmpl_handler()
1138 if (unlikely(cpl->opcode != CPL_FW6_MSG)) { in csio_scsi_cmpl_handler()
1140 cpl->opcode); in csio_scsi_cmpl_handler()
1145 tempwr = (uint8_t *)(cpl->data); in csio_scsi_cmpl_handler()
/drivers/pcmcia/
Dpcmcia_resource.c759 static irqreturn_t test_action(int cpl, void *dev_id) in test_action() argument
/drivers/video/
Duvesafb.c250 struct completion *cpl = task->done; in uvesafb_reset() local
253 task->done = cpl; in uvesafb_reset()
/drivers/net/ethernet/octeon/
Docteon_mgmt.c689 static irqreturn_t octeon_mgmt_interrupt(int cpl, void *dev_id) in octeon_mgmt_interrupt() argument