/linux/drivers/net/ethernet/chelsio/inline_crypto/ch_ktls/ |
H A D | chcr_ktls.c | 181 struct cpl_act_open_req *cpl; in chcr_ktls_act_open_req() local 195 cpl = (struct cpl_act_open_req *)cpl6; in chcr_ktls_act_open_req() 199 OPCODE_TID(cpl) = htonl(MK_OPCODE_TID(CPL_ACT_OPEN_REQ, qid_atid)); in chcr_ktls_act_open_req() 200 cpl->local_port = inet->inet_sport; in chcr_ktls_act_open_req() 201 cpl->peer_port = inet->inet_dport; in chcr_ktls_act_open_req() 202 cpl->local_ip = inet->inet_rcv_saddr; in chcr_ktls_act_open_req() 203 cpl->peer_ip = inet->inet_daddr; in chcr_ktls_act_open_req() 208 cpl->opt0 = cpu_to_be64(options); in chcr_ktls_act_open_req() 213 cpl->opt2 = htonl(options); in chcr_ktls_act_open_req() 232 struct cpl_act_open_req6 *cpl; in chcr_ktls_act_open_req6() local [all …]
|
/linux/drivers/target/iscsi/cxgbit/ |
H A D | cxgbit_main.c | 202 struct cpl_rx_iscsi_ddp *cpl = (struct cpl_rx_iscsi_ddp *)(rsp + 1); in cxgbit_lro_add_packet_rsp() local 204 cxgbit_process_ddpvld(lro_cb->csk, pdu_cb, be32_to_cpu(cpl->ddpvld)); in cxgbit_lro_add_packet_rsp() 207 pdu_cb->ddigest = ntohl(cpl->ulp_crc); in cxgbit_lro_add_packet_rsp() 208 pdu_cb->pdulen = ntohs(cpl->len); in cxgbit_lro_add_packet_rsp() 250 struct cpl_iscsi_hdr *cpl = (struct cpl_iscsi_hdr *)gl->va; in cxgbit_lro_add_packet_gl() local 254 pdu_cb->seq = ntohl(cpl->seq); in cxgbit_lro_add_packet_gl() 255 len = ntohs(cpl->len); in cxgbit_lro_add_packet_gl() 265 struct cpl_iscsi_data *cpl = (struct cpl_iscsi_data *)gl->va; in cxgbit_lro_add_packet_gl() local 269 len = ntohs(cpl->len); in cxgbit_lro_add_packet_gl() 276 struct cpl_rx_iscsi_cmp *cpl; in cxgbit_lro_add_packet_gl() local [all …]
|
H A D | cxgbit_target.c | 130 struct cpl_tx_data_iso *cpl; in cxgbit_cpl_tx_data_iso() local 135 cpl = __skb_push(skb, sizeof(*cpl)); in cxgbit_cpl_tx_data_iso() 137 cpl->op_to_scsi = htonl(CPL_TX_DATA_ISO_OP_V(CPL_TX_DATA_ISO) | in cxgbit_cpl_tx_data_iso() 146 cpl->ahs_len = 0; in cxgbit_cpl_tx_data_iso() 147 cpl->mpdu = htons(DIV_ROUND_UP(iso_info->mpdu, 4)); in cxgbit_cpl_tx_data_iso() 148 cpl->burst_size = htonl(DIV_ROUND_UP(iso_info->burst_len, 4)); in cxgbit_cpl_tx_data_iso() 149 cpl->len = htonl(iso_info->len); in cxgbit_cpl_tx_data_iso() 150 cpl->reserved2_seglen_offset = htonl(0); in cxgbit_cpl_tx_data_iso() 151 cpl->datasn_offset = htonl(0); in cxgbit_cpl_tx_data_iso() 152 cpl->buffer_offset = htonl(0); in cxgbit_cpl_tx_data_iso() [all …]
|
/linux/drivers/scsi/cxgbi/cxgb4i/ |
H A D | cxgb4i.c | 679 cxgb4i_make_tx_iso_cpl(struct sk_buff *skb, struct cpl_tx_data_iso *cpl) in cxgb4i_make_tx_iso_cpl() argument 688 cpl->op_to_scsi = cpu_to_be32(CPL_TX_DATA_ISO_OP_V(CPL_TX_DATA_ISO) | in cxgb4i_make_tx_iso_cpl() 697 cpl->ahs_len = info->ahs; in cxgb4i_make_tx_iso_cpl() 698 cpl->mpdu = cpu_to_be16(DIV_ROUND_UP(info->mpdu, 4)); in cxgb4i_make_tx_iso_cpl() 699 cpl->burst_size = cpu_to_be32(info->burst_size); in cxgb4i_make_tx_iso_cpl() 700 cpl->len = cpu_to_be32(info->len); in cxgb4i_make_tx_iso_cpl() 701 cpl->reserved2_seglen_offset = in cxgb4i_make_tx_iso_cpl() 703 cpl->datasn_offset = cpu_to_be32(info->datasn_offset); in cxgb4i_make_tx_iso_cpl() 704 cpl->buffer_offset = cpu_to_be32(info->buffer_offset); in cxgb4i_make_tx_iso_cpl() 705 cpl->reserved3 = cpu_to_be32(0); in cxgb4i_make_tx_iso_cpl() [all …]
|
/linux/drivers/net/ethernet/chelsio/inline_crypto/ch_ipsec/ |
H A D | chcr_ipsec.c | 468 struct cpl_tx_pkt_core *cpl; in copy_cpltx_pktxt() local 485 cpl = (struct cpl_tx_pkt_core *)pos; in copy_cpltx_pktxt() 495 cpl->ctrl0 = htonl(ctrl0); in copy_cpltx_pktxt() 496 cpl->pack = htons(0); in copy_cpltx_pktxt() 497 cpl->len = htons(skb->len); in copy_cpltx_pktxt() 498 cpl->ctrl1 = cpu_to_be64(cntrl); in copy_cpltx_pktxt()
|
/linux/arch/x86/include/asm/ |
H A D | svm.h | 319 u8 cpl; member 375 u8 cpl; member 468 u8 cpl; member 670 DEFINE_GHCB_ACCESSORS(cpl)
|
/linux/drivers/net/ethernet/chelsio/cxgb4vf/ |
H A D | sge.c | 1167 struct cpl_tx_pkt_core *cpl; in t4vf_eth_xmit() local 1285 sizeof(*cpl))); in t4vf_eth_xmit() 1309 cpl = (void *)(lso + 1); in t4vf_eth_xmit() 1324 len = is_eth_imm(skb) ? skb->len + sizeof(*cpl) : sizeof(*cpl); in t4vf_eth_xmit() 1333 cpl = (void *)(wr + 1); in t4vf_eth_xmit() 1354 cpl->ctrl0 = cpu_to_be32(TXPKT_OPCODE_V(CPL_TX_PKT_XT) | in t4vf_eth_xmit() 1357 cpl->pack = cpu_to_be16(0); in t4vf_eth_xmit() 1358 cpl->len = cpu_to_be16(skb->len); in t4vf_eth_xmit() 1359 cpl->ctrl1 = cpu_to_be64(cntrl); in t4vf_eth_xmit() 1376 inline_tx_skb(skb, &txq->q, cpl + 1); in t4vf_eth_xmit() [all …]
|
/linux/drivers/net/ethernet/chelsio/cxgb/ |
H A D | sge.c | 1813 struct cpl_tx_pkt *cpl; in t1_start_xmit() local 1849 cpl = (struct cpl_tx_pkt *)hdr; in t1_start_xmit() 1889 cpl = __skb_push(skb, sizeof(*cpl)); in t1_start_xmit() 1890 cpl->opcode = CPL_TX_PKT; in t1_start_xmit() 1891 cpl->ip_csum_dis = 1; /* SW calculates IP csum */ in t1_start_xmit() 1892 cpl->l4_csum_dis = skb->ip_summed == CHECKSUM_PARTIAL ? 0 : 1; in t1_start_xmit() 1897 cpl->iff = dev->if_port; in t1_start_xmit() 1900 cpl->vlan_valid = 1; in t1_start_xmit() 1901 cpl->vlan = htons(skb_vlan_tag_get(skb)); in t1_start_xmit() 1904 cpl->vlan_valid = 0; in t1_start_xmit()
|
/linux/arch/mips/loongson2ef/lemote-2f/ |
H A D | irq.c | 87 static irqreturn_t ip6_action(int cpl, void *dev_id) in ip6_action() argument
|
/linux/drivers/net/ethernet/chelsio/cxgb3/ |
H A D | sge.c | 1185 struct cpl_tx_pkt *cpl = (struct cpl_tx_pkt *)d; in write_tx_pkt_wr() local 1187 cpl->len = htonl(skb->len); in write_tx_pkt_wr() 1196 struct cpl_tx_pkt_lso *hdr = (struct cpl_tx_pkt_lso *)cpl; in write_tx_pkt_wr() 1212 cpl->cntrl = htonl(cntrl); in write_tx_pkt_wr() 1214 if (skb->len <= WR_LEN - sizeof(*cpl)) { in write_tx_pkt_wr() 1223 cpl->wr.wr_hi = htonl(V_WR_BCNTLFLT(skb->len & 7) | in write_tx_pkt_wr() 1227 cpl->wr.wr_lo = htonl(V_WR_LEN(flits) | V_WR_GEN(gen) | in write_tx_pkt_wr() 2140 struct cpl_rx_pkt *cpl; in lro_add_page() local 2173 cpl = qs->lro_va = sd->pg_chunk.va + 2; in lro_add_page() 2176 cpl->csum_valid && cpl->csum == htons(0xffff)) { in lro_add_page() [all …]
|
/linux/drivers/gpu/drm/pl111/ |
H A D | pl111_display.c | 135 u32 cpl, tim2; in pl111_display_enable() local 157 cpl = mode->hdisplay - 1; in pl111_display_enable() 230 tim2 |= cpl << 16; in pl111_display_enable()
|
/linux/drivers/watchdog/ |
H A D | octeon-wdt-main.c | 130 static irqreturn_t octeon_wdt_poke_irq(int cpl, void *dev_id) in octeon_wdt_poke_irq() argument 143 disable_irq_nosync(cpl); in octeon_wdt_poke_irq()
|
/linux/drivers/infiniband/hw/cxgb4/ |
H A D | cm.c | 518 int cpl) in queue_arp_failure_cpl() argument 523 rpl->ot.opcode = cpl; in queue_arp_failure_cpl() 3804 struct cpl_pass_accept_req *cpl; in passive_ofld_conn_reply() local 3815 cpl = (struct cpl_pass_accept_req *)cplhdr(rpl_skb); in passive_ofld_conn_reply() 3816 OPCODE_TID(cpl) = htonl(MK_OPCODE_TID(CPL_PASS_ACCEPT_REQ, in passive_ofld_conn_reply() 3935 struct cpl_rx_pkt *cpl = cplhdr(skb); in build_cpl_pass_accept_req() local 3943 vlantag = cpl->vlan; in build_cpl_pass_accept_req() 3944 len = cpl->len; in build_cpl_pass_accept_req() 3945 l2info = cpl->l2info; in build_cpl_pass_accept_req() 3946 hdr_len = cpl->hdr_len; in build_cpl_pass_accept_req() [all …]
|
/linux/kernel/irq/ |
H A D | handle.c | 46 irqreturn_t no_action(int cpl, void *dev_id) in no_action() argument
|
/linux/arch/x86/xen/ |
H A D | pmu.c | 446 } else if (xenpmu_data->pmu.r.regs.cpl & 3) { in xen_guest_state() 484 if (xen_regs->cpl) in xen_convert_regs()
|
/linux/tools/testing/selftests/kvm/x86_64/ |
H A D | xen_vmcall_test.c | 113 TEST_ASSERT_EQ(run->xen.u.hcall.cpl, 0); in main()
|
/linux/drivers/input/serio/ |
H A D | ct82c710.c | 54 static irqreturn_t ct82c710_interrupt(int cpl, void *dev_id) in ct82c710_interrupt() argument
|
/linux/tools/testing/selftests/kvm/lib/x86_64/ |
H A D | svm.c | 89 save->cpl = 0; in generic_svm_setup()
|
/linux/arch/mips/cavium-octeon/ |
H A D | oct_ilm.c | 104 static irqreturn_t cvm_oct_ciu_timer_interrupt(int cpl, void *dev_id) in cvm_oct_ciu_timer_interrupt() argument
|
/linux/drivers/net/ethernet/chelsio/cxgb4/ |
H A D | cxgb4_uld.h | 70 #define INIT_TP_WR_CPL(w, cpl, tid) do { \ argument 72 OPCODE_TID(w) = htonl(MK_OPCODE_TID(cpl, tid)); \
|
/linux/arch/x86/include/asm/xen/ |
H A D | interface.h | 313 uint8_t cpl; member
|
/linux/arch/x86/kvm/ |
H A D | trace.h | 119 TP_PROTO(u8 cpl, unsigned long nr, 122 TP_ARGS(cpl, nr, a0, a1, a2, a3, a4, a5), 125 __field(u8, cpl) 136 __entry->cpl = cpl; 147 __entry->cpl, __entry->nr,
|
/linux/drivers/staging/octeon/ |
H A D | ethernet-spi.c | 106 static irqreturn_t cvm_oct_spi_rml_interrupt(int cpl, void *dev_id) in cvm_oct_spi_rml_interrupt() argument
|
/linux/arch/mips/pci/ |
H A D | msi-octeon.c | 326 static irqreturn_t octeon_msi_interrupt##x(int cpl, void *dev_id) \
|
/linux/arch/mips/ath25/ |
H A D | ar2315.c | 57 static irqreturn_t ar2315_ahb_err_handler(int cpl, void *dev_id) in ar2315_ahb_err_handler() argument
|