| /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 746 struct cpl_set_tcb_field_core *cpl; __chcr_write_cpl_set_tcb_ulp() local 844 u32 len, cpl = 0, ndesc, wr_len, wr_mid = 0; chcr_ktls_xmit_tcb_cpls() local 992 struct cpl_tx_pkt_core *cpl; chcr_ktls_write_tcp_options() local 1108 struct cpl_tx_sec_pdu *cpl; chcr_ktls_xmit_wr_complete() local 1284 struct cpl_tx_sec_pdu *cpl; chcr_ktls_xmit_wr_short() local 1572 struct cpl_tx_pkt_core *cpl; chcr_ktls_tunnel_pkt() 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/net/ethernet/chelsio/cxgb4/ |
| H A D | sge.c | 1498 struct cpl_tx_pkt_core *cpl; in cxgb4_eth_xmit() local 1602 len += sizeof(*cpl); in cxgb4_eth_xmit() 1618 cpl = (void *)(tnl_lso + 1); in cxgb4_eth_xmit() 1630 cpl = write_tso_wr(adap, skb, lso); in cxgb4_eth_xmit() 1633 sgl = (u64 *)(cpl + 1); /* sgl start here */ in cxgb4_eth_xmit() 1644 cpl = write_eo_udp_wr(skb, eowr, hdrlen); in cxgb4_eth_xmit() 1647 start = (u64 *)(cpl + 1); in cxgb4_eth_xmit() 1664 cpl = (void *)(wr + 1); in cxgb4_eth_xmit() 1665 sgl = (u64 *)(cpl + 1); in cxgb4_eth_xmit() 1703 cpl->ctrl0 = htonl(ctrl0); in cxgb4_eth_xmit() [all …]
|
| 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/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/arch/x86/kvm/ |
| H A D | emulate.c | 1490 static bool emulator_is_ssp_invalid(struct x86_emulate_ctxt *ctxt, u8 cpl) in emulator_is_ssp_invalid() argument 1492 const u32 MSR_IA32_X_CET = cpl == 3 ? MSR_IA32_U_CET : MSR_IA32_S_CET; in emulator_is_ssp_invalid() 1522 u16 selector, int seg, u8 cpl, in __load_segment_descriptor() argument 1567 if (ctxt->mode != X86EMUL_MODE_PROT64 || rpl != cpl) in __load_segment_descriptor() 1577 seg_desc.dpl = cpl; in __load_segment_descriptor() 1609 if (rpl != cpl || (seg_desc.type & 0xa) != 0x2 || dpl != cpl) in __load_segment_descriptor() 1626 if (rpl < cpl) in __load_segment_descriptor() 1629 if (rpl > cpl) in __load_segment_descriptor() 1645 if (dpl > cpl) in __load_segment_descriptor() 1649 if (rpl > cpl || dpl != cpl) in __load_segment_descriptor() [all …]
|
| H A D | x86.h | 728 int ____kvm_emulate_hypercall(struct kvm_vcpu *vcpu, int cpl, 731 #define __kvm_emulate_hypercall(_vcpu, cpl, complete_hypercall) \ argument 734 __ret = ____kvm_emulate_hypercall(_vcpu, cpl, complete_hypercall); \
|
| H A D | xen.c | 1679 u8 cpl; in kvm_xen_hypercall() local 1707 cpl = kvm_x86_call(get_cpl)(vcpu); in kvm_xen_hypercall() 1708 trace_kvm_xen_hypercall(cpl, input, params[0], params[1], params[2], in kvm_xen_hypercall() 1715 if (unlikely(cpl > 0)) in kvm_xen_hypercall() 1756 vcpu->run->xen.u.hcall.cpl = cpl; in kvm_xen_hypercall()
|
| /linux/drivers/dma/qcom/ |
| H A D | qcom_adm.c | 128 void *cpl; member 417 async_desc->cpl = kzalloc(async_desc->dma_len, GFP_NOWAIT); in adm_prep_slave_sg() 418 if (!async_desc->cpl) { in adm_prep_slave_sg() 426 cple = PTR_ALIGN(async_desc->cpl, ADM_DESC_ALIGN); in adm_prep_slave_sg() 440 async_desc->dma_addr = dma_map_single(adev->dev, async_desc->cpl, in adm_prep_slave_sg() 448 cple_addr = async_desc->dma_addr + ((void *)cple - async_desc->cpl); in adm_prep_slave_sg() 692 kfree(async_desc->cpl); in adm_dma_free_desc()
|
| /linux/drivers/net/ethernet/chelsio/inline_crypto/ch_ipsec/ |
| H A D | chcr_ipsec.c | 463 struct cpl_tx_pkt_core *cpl; in copy_cpltx_pktxt() local 480 cpl = (struct cpl_tx_pkt_core *)pos; in copy_cpltx_pktxt() 490 cpl->ctrl0 = htonl(ctrl0); in copy_cpltx_pktxt() 491 cpl->pack = htons(0); in copy_cpltx_pktxt() 492 cpl->len = htons(skb->len); in copy_cpltx_pktxt() 493 cpl->ctrl1 = cpu_to_be64(cntrl); in copy_cpltx_pktxt()
|
| /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 in t1_start_xmit() [all...] |
| /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/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/drivers/input/serio/ |
| H A D | ct82c710.c | 54 static irqreturn_t ct82c710_interrupt(int cpl, void *dev_id) in ct82c710_interrupt() argument
|
| /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/arch/x86/kvm/svm/ |
| H A D | nested.c | 664 vmcb02->save.cpl = vmcb12->save.cpl; in nested_vmcb02_prepare_save() 1095 to_save->cpl = 0; in svm_copy_vmrun_state() 1167 vmcb12->save.cpl = vmcb02->save.cpl; in nested_svm_vmexit() 1522 if (to_svm(vcpu)->vmcb->save.cpl) { in nested_svm_check_permissions()
|
| /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
|
| H A D | ar5312.c | 58 static irqreturn_t ar5312_ahb_err_handler(int cpl, void *dev_id) in ar5312_ahb_err_handler() argument
|
| /linux/include/hyperv/ |
| H A D | hvhdk.h | 764 u16 cpl:2; member 816 u16 cpl:2; /* Exception Level (EL) */ member
|