Home
last modified time | relevance | path

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

/drivers/pci/controller/cadence/
Dpcie-cadence.c37 u32 addr0, addr1, desc0, desc1; in cdns_pcie_set_outbound_region() local
55 desc1 = 0; in cdns_pcie_set_outbound_region()
80 desc1 |= CDNS_PCIE_AT_OB_REGION_DESC1_BUS(busnr); in cdns_pcie_set_outbound_region()
90 cdns_pcie_writel(pcie, CDNS_PCIE_AT_OB_REGION_DESC1(r), desc1); in cdns_pcie_set_outbound_region()
108 u32 addr0, addr1, desc0, desc1; in cdns_pcie_set_outbound_region_for_normal_msg() local
111 desc1 = 0; in cdns_pcie_set_outbound_region_for_normal_msg()
117 desc1 |= CDNS_PCIE_AT_OB_REGION_DESC1_BUS(busnr); in cdns_pcie_set_outbound_region_for_normal_msg()
133 cdns_pcie_writel(pcie, CDNS_PCIE_AT_OB_REGION_DESC1(r), desc1); in cdns_pcie_set_outbound_region_for_normal_msg()
Dpcie-cadence-host.c438 u32 addr0, addr1, desc1; in cdns_pcie_host_init_address_translation() local
451 desc1 = CDNS_PCIE_AT_OB_REGION_DESC1_BUS(busnr); in cdns_pcie_host_init_address_translation()
453 cdns_pcie_writel(pcie, CDNS_PCIE_AT_OB_REGION_DESC1(0), desc1); in cdns_pcie_host_init_address_translation()
/drivers/dma/
Dxgene-dma.c237 struct xgene_dma_desc_hw desc1; member
420 struct xgene_dma_desc_hw *desc1, *desc2; in xgene_dma_prep_xor_desc() local
424 desc1 = &desc_sw->desc1; in xgene_dma_prep_xor_desc()
428 xgene_dma_init_desc(desc1, chan->tx_ring.dst_ring_num); in xgene_dma_prep_xor_desc()
431 desc1->m2 |= cpu_to_le64(XGENE_DMA_DESC_DR_BIT); in xgene_dma_prep_xor_desc()
432 desc1->m3 |= cpu_to_le64(*dst); in xgene_dma_prep_xor_desc()
435 desc1->m0 |= cpu_to_le64(XGENE_DMA_DESC_NV_BIT); in xgene_dma_prep_xor_desc()
438 desc1->m2 |= cpu_to_le64(xgene_dma_encode_xor_flyby(src_cnt)); in xgene_dma_prep_xor_desc()
443 xgene_dma_set_src_buffer((i == 0) ? &desc1->m1 : in xgene_dma_prep_xor_desc()
446 desc1->m2 |= cpu_to_le64((scf[i] << ((i + 1) * 8))); in xgene_dma_prep_xor_desc()
[all …]
Dpxa_dma.c546 struct pxad_desc_sw *desc1 = to_pxad_sw_desc(vd1); in pxad_desc_chain() local
551 desc1->hw_desc[desc1->nb_desc - 1]->ddadr = dma_to_chain; in pxad_desc_chain()
/drivers/infiniband/hw/hfi1/
Dtrace_tx.h17 const char *parse_sdma_flags(struct trace_seq *p, u64 desc0, u64 desc1);
19 #define __parse_sdma_flags(desc0, desc1) parse_sdma_flags(p, desc0, desc1) argument
112 u64 desc1,
115 TP_ARGS(sde, desc0, desc1, e, descp),
119 __field(u64, desc1)
125 __entry->desc1 = desc1;
134 __parse_sdma_flags(__entry->desc0, __entry->desc1),
137 (u8)((__entry->desc1 >> SDMA_DESC1_GENERATION_SHIFT) &
142 __entry->desc1,
Dtrace.c437 u64 desc0, u64 desc1) in parse_sdma_flags() argument
442 flags[0] = (desc1 & SDMA_DESC1_INT_REQ_FLAG) ? 'I' : '-'; in parse_sdma_flags()
443 flags[1] = (desc1 & SDMA_DESC1_HEAD_TO_HOST_FLAG) ? 'H' : '-'; in parse_sdma_flags()
449 (u8)((desc1 >> SDMA_DESC1_HEADER_MODE_SHIFT) & in parse_sdma_flags()
451 (u8)((desc1 >> SDMA_DESC1_HEADER_INDEX_SHIFT) & in parse_sdma_flags()
453 (u8)((desc1 >> SDMA_DESC1_HEADER_DWS_SHIFT) & in parse_sdma_flags()
/drivers/message/fusion/
Dmptscsih.c437 char *desc1 = NULL; in mptscsih_info_scsiio() local
493 desc1 = "success"; in mptscsih_info_scsiio()
496 desc1 = "check condition"; in mptscsih_info_scsiio()
499 desc1 = "condition met"; in mptscsih_info_scsiio()
502 desc1 = "busy"; in mptscsih_info_scsiio()
505 desc1 = "intermediate"; in mptscsih_info_scsiio()
508 desc1 = "intermediate condmet"; in mptscsih_info_scsiio()
511 desc1 = "reservation conflict"; in mptscsih_info_scsiio()
514 desc1 = "command terminated"; in mptscsih_info_scsiio()
517 desc1 = "task set full"; in mptscsih_info_scsiio()
[all …]
/drivers/dma/mediatek/
Dmtk-hsdma.c115 __le32 desc1; member
450 WRITE_ONCE(txd->desc1, hvd->src); in mtk_hsdma_issue_pending_vdesc()
455 WRITE_ONCE(rxd->desc1, hvd->dest); in mtk_hsdma_issue_pending_vdesc()
609 WRITE_ONCE(rxd->desc1, 0); in mtk_hsdma_free_rooms_in_ring()
/drivers/atm/
Diphase.c144 u_short desc1; in ia_hack_tcq() local
150 desc1 = *(u_short *)(dev->seg_ram + dev->host_tcq_wr); in ia_hack_tcq()
151 if (!desc1) ; in ia_hack_tcq()
152 else if (!dev->desc_tbl[desc1 -1].timestamp) { in ia_hack_tcq()
153 IF_ABR(printk(" Desc %d is reset at %ld\n", desc1 -1, jiffies);) in ia_hack_tcq()
156 else if (dev->desc_tbl[desc1 -1].timestamp) { in ia_hack_tcq()
157 if (!(iavcc_r = dev->desc_tbl[desc1 -1].iavcc)) { in ia_hack_tcq()
162 dev->desc_tbl[desc1 -1].timestamp = 0; in ia_hack_tcq()
164 dev->desc_tbl[desc1 -1].txskb, desc1);) in ia_hack_tcq()
166 IA_SKB_STATE (dev->desc_tbl[desc1-1].txskb) |= IA_TX_DONE; in ia_hack_tcq()
[all …]
/drivers/net/ethernet/
Djme.c715 rxdesc->desc1.bufaddrh = cpu_to_le32((__u64)rxbi->mapping >> 32); in jme_set_clean_rxdesc()
716 rxdesc->desc1.bufaddrl = cpu_to_le32( in jme_set_clean_rxdesc()
718 rxdesc->desc1.datalen = cpu_to_le16(rxbi->len); in jme_set_clean_rxdesc()
720 rxdesc->desc1.flags = RXFLAG_64BIT; in jme_set_clean_rxdesc()
722 rxdesc->desc1.flags |= RXFLAG_OWN | RXFLAG_INT; in jme_set_clean_rxdesc()
2125 txdesc->desc1.pktsize = cpu_to_le16(skb->len); in jme_fill_tx_desc()
2138 if (jme_tx_tso(skb, &txdesc->desc1.mss, &flags)) in jme_fill_tx_desc()
2140 jme_tx_vlan(skb, &txdesc->desc1.vlan, &flags); in jme_fill_tx_desc()
2145 txdesc->desc1.flags = flags; in jme_fill_tx_desc()
Djme.h188 } desc1; member
282 } desc1; member
/drivers/net/ethernet/synopsys/
Ddwc-xlgmac-common.c303 le32_to_cpu(dma_desc->desc1), in xlgmac_dump_tx_desc()
327 le32_to_cpu(dma_desc->desc1), in xlgmac_dump_rx_desc()
Ddwc-xlgmac-hw.c828 dma_desc->desc1 = cpu_to_le32(upper_32_bits(desc_data->skb_dma)); in xlgmac_dev_xmit()
928 dma_desc->desc1 = in xlgmac_dev_xmit()
1023 nsec = le32_to_cpu(dma_desc->desc1); in xlgmac_get_rx_tstamp()
1048 dma_desc->desc1 = 0; in xlgmac_tx_desc_reset()
1113 dma_desc->desc1 = cpu_to_le32(upper_32_bits(hdr_dma)); in xlgmac_rx_desc_reset()
2721 pkt_info->rss_hash = le32_to_cpu(dma_desc->desc1); in xlgmac_dev_read()
Ddwc-xlgmac.h216 __le32 desc1; member
/drivers/mmc/host/
Dcqhci-core.c445 u64 desc1 = cqhci_crypto_prep_task_desc(mrq); in cqhci_prep_task_desc() local
447 task_desc[1] = cpu_to_le64(desc1); in cqhci_prep_task_desc()
450 mmc_hostname(mrq->host), mrq->tag, desc1, desc0); in cqhci_prep_task_desc()
/drivers/net/ethernet/amd/xgbe/
Dxgbe-dev.c1457 rdesc->desc1 = 0; in xgbe_tx_desc_reset()
1525 rdesc->desc1 = cpu_to_le32(upper_32_bits(hdr_dma)); in xgbe_rx_desc_reset()
1656 nsec = le32_to_cpu(rdesc->desc1); in xgbe_get_rx_tstamp()
1834 rdesc->desc1 = cpu_to_le32(upper_32_bits(rdata->skb_dma)); in xgbe_dev_xmit()
1896 rdesc->desc1 = cpu_to_le32(upper_32_bits(rdata->skb_dma)); in xgbe_dev_xmit()
2023 packet->rss_hash = le32_to_cpu(rdesc->desc1); in xgbe_dev_read()
Dxgbe.h381 __le32 desc1; member
Dxgbe-drv.c2768 le32_to_cpu(rdesc->desc1), in xgbe_dump_tx_desc()
2785 idx, le32_to_cpu(rdesc->desc0), le32_to_cpu(rdesc->desc1), in xgbe_dump_rx_desc()
/drivers/usb/gadget/function/
Df_fs.c1324 struct usb_endpoint_descriptor desc1, *desc; in ffs_epfile_ioctl() local
1339 memcpy(&desc1, desc, desc->bLength); in ffs_epfile_ioctl()
1342 ret = copy_to_user((void __user *)value, &desc1, desc1.bLength); in ffs_epfile_ioctl()