Home
last modified time | relevance | path

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

123

/linux-6.1.9/drivers/net/ethernet/chelsio/inline_crypto/ch_ktls/
Dchcr_ktls.c180 struct cpl_act_open_req *cpl; in chcr_ktls_act_open_req() local
194 cpl = (struct cpl_act_open_req *)cpl6; in chcr_ktls_act_open_req()
198 OPCODE_TID(cpl) = htonl(MK_OPCODE_TID(CPL_ACT_OPEN_REQ, qid_atid)); in chcr_ktls_act_open_req()
199 cpl->local_port = inet->inet_sport; in chcr_ktls_act_open_req()
200 cpl->peer_port = inet->inet_dport; in chcr_ktls_act_open_req()
201 cpl->local_ip = inet->inet_rcv_saddr; in chcr_ktls_act_open_req()
202 cpl->peer_ip = inet->inet_daddr; in chcr_ktls_act_open_req()
207 cpl->opt0 = cpu_to_be64(options); in chcr_ktls_act_open_req()
212 cpl->opt2 = htonl(options); in chcr_ktls_act_open_req()
231 struct cpl_act_open_req6 *cpl; in chcr_ktls_act_open_req6() local
[all …]
/linux-6.1.9/include/linux/amba/
Dclcd.h146 u32 val, cpl; in clcdfb_decode() local
170 cpl = var->xres_virtual; in clcdfb_decode()
174 cpl = cpl * 8 / 3; in clcdfb_decode()
176 cpl /= 8; in clcdfb_decode()
178 cpl /= 4; in clcdfb_decode()
180 regs->tim2 = val | ((cpl - 1) << 16); in clcdfb_decode()
/linux-6.1.9/arch/ia64/kernel/
Dbrl_emu.c59 unsigned long opcode, btype, qp, offset, cpl; in ia64_emulate_brl() local
161 cpl = ia64_psr(regs)->cpl; in ia64_emulate_brl()
163 | (ar_ec << 52) | (cpl << 62)); in ia64_emulate_brl()
Dmca_drv.c534 if (psr1->cpl != 0 || in recover_from_read_error()
535 ((psr2->cpl != 0) && mca_recover_range(pmsa->pmsa_iip))) { in recover_from_read_error()
551 psr2->cpl = 0; in recover_from_read_error()
/linux-6.1.9/drivers/target/iscsi/cxgbit/
Dcxgbit_main.c202 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 …]
Dcxgbit_target.c130 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-6.1.9/drivers/net/ethernet/chelsio/cxgb4/
Dsge.c1512 struct cpl_tx_pkt_core *cpl; in cxgb4_eth_xmit() local
1617 len += sizeof(*cpl); in cxgb4_eth_xmit()
1633 cpl = (void *)(tnl_lso + 1); in cxgb4_eth_xmit()
1645 cpl = write_tso_wr(adap, skb, lso); in cxgb4_eth_xmit()
1648 sgl = (u64 *)(cpl + 1); /* sgl start here */ in cxgb4_eth_xmit()
1659 cpl = write_eo_udp_wr(skb, eowr, hdrlen); in cxgb4_eth_xmit()
1662 start = (u64 *)(cpl + 1); in cxgb4_eth_xmit()
1679 cpl = (void *)(wr + 1); in cxgb4_eth_xmit()
1680 sgl = (u64 *)(cpl + 1); in cxgb4_eth_xmit()
1718 cpl->ctrl0 = htonl(ctrl0); in cxgb4_eth_xmit()
[all …]
/linux-6.1.9/drivers/scsi/cxgbi/cxgb4i/
Dcxgb4i.c679 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-6.1.9/arch/x86/kvm/
Demulate.c1582 u16 selector, int seg, u8 cpl, in __load_segment_descriptor() argument
1627 if (ctxt->mode != X86EMUL_MODE_PROT64 || rpl != cpl) in __load_segment_descriptor()
1637 seg_desc.dpl = cpl; in __load_segment_descriptor()
1669 if (rpl != cpl || (seg_desc.type & 0xa) != 0x2 || dpl != cpl) in __load_segment_descriptor()
1678 if (rpl < cpl) in __load_segment_descriptor()
1681 if (rpl > cpl) in __load_segment_descriptor()
1697 if (dpl > cpl) in __load_segment_descriptor()
1701 if (rpl > cpl || dpl != cpl) in __load_segment_descriptor()
1715 selector = (selector & 0xfffc) | cpl; in __load_segment_descriptor()
1733 (rpl > dpl && cpl > dpl))) in __load_segment_descriptor()
[all …]
/linux-6.1.9/drivers/dma/qcom/
Dqcom_adm.c128 void *cpl; member
418 async_desc->cpl = kzalloc(async_desc->dma_len, GFP_NOWAIT); in adm_prep_slave_sg()
419 if (!async_desc->cpl) { in adm_prep_slave_sg()
427 cple = PTR_ALIGN(async_desc->cpl, ADM_DESC_ALIGN); in adm_prep_slave_sg()
441 async_desc->dma_addr = dma_map_single(adev->dev, async_desc->cpl, in adm_prep_slave_sg()
449 cple_addr = async_desc->dma_addr + ((void *)cple - async_desc->cpl); in adm_prep_slave_sg()
693 kfree(async_desc->cpl); in adm_dma_free_desc()
/linux-6.1.9/drivers/net/ethernet/chelsio/inline_crypto/ch_ipsec/
Dchcr_ipsec.c464 struct cpl_tx_pkt_core *cpl; in copy_cpltx_pktxt() local
481 cpl = (struct cpl_tx_pkt_core *)pos; in copy_cpltx_pktxt()
491 cpl->ctrl0 = htonl(ctrl0); in copy_cpltx_pktxt()
492 cpl->pack = htons(0); in copy_cpltx_pktxt()
493 cpl->len = htons(skb->len); in copy_cpltx_pktxt()
494 cpl->ctrl1 = cpu_to_be64(cntrl); in copy_cpltx_pktxt()
/linux-6.1.9/arch/x86/include/asm/
Dsvm.h298 u8 cpl; member
354 u8 cpl; member
447 u8 cpl; member
605 DEFINE_GHCB_ACCESSORS(cpl)
/linux-6.1.9/drivers/net/ethernet/chelsio/cxgb4vf/
Dsge.c1167 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-6.1.9/arch/mips/loongson2ef/lemote-2f/
Dirq.c87 static irqreturn_t ip6_action(int cpl, void *dev_id) in ip6_action() argument
/linux-6.1.9/drivers/net/ethernet/chelsio/cxgb/
Dsge.c1813 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-6.1.9/arch/ia64/include/asm/
Dptrace.h90 # define user_mode(regs) (((struct ia64_psr *) &(regs)->cr_ipsr)->cpl != 0)
/linux-6.1.9/drivers/gpu/drm/pl111/
Dpl111_display.c135 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-6.1.9/drivers/net/ethernet/chelsio/cxgb3/
Dsge.c1190 struct cpl_tx_pkt *cpl = (struct cpl_tx_pkt *)d; in write_tx_pkt_wr() local
1192 cpl->len = htonl(skb->len); in write_tx_pkt_wr()
1201 struct cpl_tx_pkt_lso *hdr = (struct cpl_tx_pkt_lso *)cpl; in write_tx_pkt_wr()
1217 cpl->cntrl = htonl(cntrl); in write_tx_pkt_wr()
1219 if (skb->len <= WR_LEN - sizeof(*cpl)) { in write_tx_pkt_wr()
1228 cpl->wr.wr_hi = htonl(V_WR_BCNTLFLT(skb->len & 7) | in write_tx_pkt_wr()
1232 cpl->wr.wr_lo = htonl(V_WR_LEN(flits) | V_WR_GEN(gen) | in write_tx_pkt_wr()
2145 struct cpl_rx_pkt *cpl; in lro_add_page() local
2178 cpl = qs->lro_va = sd->pg_chunk.va + 2; in lro_add_page()
2181 cpl->csum_valid && cpl->csum == htons(0xffff)) { in lro_add_page()
[all …]
/linux-6.1.9/kernel/irq/
Dhandle.c46 irqreturn_t no_action(int cpl, void *dev_id) in no_action() argument
/linux-6.1.9/drivers/watchdog/
Docteon-wdt-main.c130 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-6.1.9/drivers/infiniband/hw/cxgb4/
Dcm.c518 int cpl) in queue_arp_failure_cpl() argument
523 rpl->ot.opcode = cpl; in queue_arp_failure_cpl()
3794 struct cpl_pass_accept_req *cpl; in passive_ofld_conn_reply() local
3805 cpl = (struct cpl_pass_accept_req *)cplhdr(rpl_skb); in passive_ofld_conn_reply()
3806 OPCODE_TID(cpl) = htonl(MK_OPCODE_TID(CPL_PASS_ACCEPT_REQ, in passive_ofld_conn_reply()
3925 struct cpl_rx_pkt *cpl = cplhdr(skb); in build_cpl_pass_accept_req() local
3933 vlantag = cpl->vlan; in build_cpl_pass_accept_req()
3934 len = cpl->len; in build_cpl_pass_accept_req()
3935 l2info = cpl->l2info; in build_cpl_pass_accept_req()
3936 hdr_len = cpl->hdr_len; in build_cpl_pass_accept_req()
[all …]
/linux-6.1.9/drivers/input/serio/
Dct82c710.c54 static irqreturn_t ct82c710_interrupt(int cpl, void *dev_id) in ct82c710_interrupt() argument
/linux-6.1.9/tools/testing/selftests/kvm/x86_64/
Dxen_vmcall_test.c112 ASSERT_EQ(run->xen.u.hcall.cpl, 0); in main()
/linux-6.1.9/tools/testing/selftests/kvm/lib/x86_64/
Dsvm.c89 save->cpl = 0; in generic_svm_setup()
/linux-6.1.9/arch/mips/cavium-octeon/
Doct_ilm.c104 static irqreturn_t cvm_oct_ciu_timer_interrupt(int cpl, void *dev_id) in cvm_oct_ciu_timer_interrupt() argument

123