Home
last modified time | relevance | path

Searched refs:dcmd (Results 1 – 9 of 9) sorted by relevance

/drivers/mtd/devices/
Dpmc551.c361 u32 size, dcmd, cfg, dtmp; in fixup_pmc551() local
406 pci_read_config_dword(dev, PMC551_PCI_MEM_MAP0, &dcmd); in fixup_pmc551()
407 dtmp = (dcmd | PMC551_PCI_MEM_MAP_ENABLE | PMC551_PCI_MEM_MAP_REG_EN); in fixup_pmc551()
521 pci_read_config_dword(dev, PMC551_DRAM_CFG, &dcmd); in fixup_pmc551()
522 dcmd |= 0x02000000; in fixup_pmc551()
523 pci_write_config_dword(dev, PMC551_DRAM_CFG, dcmd); in fixup_pmc551()
567 ((dcmd & (0x1 << 3)) == 0) ? "non-" : "", in fixup_pmc551()
573 pci_read_config_dword(dev, PMC551_DRAM_BLK0, &dcmd); in fixup_pmc551()
577 (((0x1 << 1) & dcmd) == 0) ? "RW" : "RO", in fixup_pmc551()
578 (((0x1 << 0) & dcmd) == 0) ? "Off" : "On", in fixup_pmc551()
[all …]
/drivers/scsi/megaraid/
Dmegaraid_sas_base.c1828 struct megasas_dcmd_frame *dcmd; in megasas_get_ld_vf_affiliation_111() local
1843 dcmd = &cmd->frame->dcmd; in megasas_get_ld_vf_affiliation_111()
1871 memset(dcmd->mbox.b, 0, MFI_MBOX_SIZE); in megasas_get_ld_vf_affiliation_111()
1873 dcmd->cmd = MFI_CMD_DCMD; in megasas_get_ld_vf_affiliation_111()
1874 dcmd->cmd_status = 0xFF; in megasas_get_ld_vf_affiliation_111()
1875 dcmd->sge_count = 1; in megasas_get_ld_vf_affiliation_111()
1876 dcmd->flags = MFI_FRAME_DIR_BOTH; in megasas_get_ld_vf_affiliation_111()
1877 dcmd->timeout = 0; in megasas_get_ld_vf_affiliation_111()
1878 dcmd->pad_0 = 0; in megasas_get_ld_vf_affiliation_111()
1879 dcmd->data_xfer_len = sizeof(struct MR_LD_VF_AFFILIATION_111); in megasas_get_ld_vf_affiliation_111()
[all …]
Dmegaraid_sas_fusion.c762 struct megasas_dcmd_frame *dcmd; in megasas_get_ld_map_info() local
782 dcmd = &cmd->frame->dcmd; in megasas_get_ld_map_info()
796 memset(dcmd->mbox.b, 0, MFI_MBOX_SIZE); in megasas_get_ld_map_info()
802 dcmd->cmd = MFI_CMD_DCMD; in megasas_get_ld_map_info()
803 dcmd->cmd_status = 0xFF; in megasas_get_ld_map_info()
804 dcmd->sge_count = 1; in megasas_get_ld_map_info()
805 dcmd->flags = cpu_to_le16(MFI_FRAME_DIR_READ); in megasas_get_ld_map_info()
806 dcmd->timeout = 0; in megasas_get_ld_map_info()
807 dcmd->pad_0 = 0; in megasas_get_ld_map_info()
808 dcmd->data_xfer_len = cpu_to_le32(size_map_info); in megasas_get_ld_map_info()
[all …]
Dmegaraid_sas.h1424 struct megasas_dcmd_frame dcmd; member
/drivers/dma/
Dmmp_pdma.c82 u32 dcmd; /* DCMD value for the current transfer */ member
106 u32 dcmd; member
461 chan->dcmd = DCMD_INCTRGADDR | DCMD_INCSRCADDR; in mmp_pdma_prep_memcpy()
462 chan->dcmd |= DCMD_BURST32; in mmp_pdma_prep_memcpy()
477 new->desc.dcmd = chan->dcmd | (DCMD_LENGTH & copy); in mmp_pdma_prep_memcpy()
510 new->desc.dcmd |= DCMD_ENDIRQEN; in mmp_pdma_prep_memcpy()
555 new->desc.dcmd = chan->dcmd | (DCMD_LENGTH & len); in mmp_pdma_prep_slave_sg()
587 new->desc.dcmd |= DCMD_ENDIRQEN; in mmp_pdma_prep_slave_sg()
646 new->desc.dcmd = (chan->dcmd | DCMD_ENDIRQEN | in mmp_pdma_prep_dma_cyclic()
710 chan->dcmd = DCMD_INCTRGADDR | DCMD_FLOWSRC; in mmp_pdma_control()
[all …]
/drivers/ata/
Dpata_pxa.c76 pd->dma_desc[pd->dma_desc_id].dcmd = DCMD_BURST32 | in pxa_load_dmac()
82 pd->dma_desc[pd->dma_desc_id].dcmd |= DCMD_INCSRCADDR | in pxa_load_dmac()
87 pd->dma_desc[pd->dma_desc_id].dcmd |= DCMD_INCTRGADDR | in pxa_load_dmac()
125 pd->dma_desc[pd->dma_desc_id - 1].dcmd |= DCMD_ENDIRQEN; in pxa_qc_prep()
/drivers/mmc/host/
Dpxamci.c182 u32 dcmd; in pxamci_setup_data() local
200 dcmd = DCMD_INCTRGADDR | DCMD_FLOWSRC; in pxamci_setup_data()
205 dcmd = DCMD_INCSRCADDR | DCMD_FLOWTRG; in pxamci_setup_data()
210 dcmd |= DCMD_BURST32 | DCMD_WIDTH1; in pxamci_setup_data()
217 host->sg_cpu[i].dcmd = dcmd | length; in pxamci_setup_data()
219 host->sg_cpu[i].dcmd |= DCMD_ENDIRQEN; in pxamci_setup_data()
/drivers/media/platform/soc_camera/
Dpxa_camera.c371 pxa_dma->sg_cpu[i].dcmd = in pxa_init_dma_channel()
375 pxa_dma->sg_cpu[i].dcmd |= DCMD_STARTIRQEN; in pxa_init_dma_channel()
390 pxa_dma->sg_cpu[sglen].dcmd = DCMD_FLOWSRC | DCMD_BURST8 | DCMD_ENDIRQEN; in pxa_init_dma_channel()
/drivers/mtd/nand/
Dpxa3xx_nand.c563 desc->dcmd = DCMD_ENDIRQEN | DCMD_WIDTH4 | DCMD_BURST32 | dma_len; in start_data_dma()
569 desc->dcmd |= DCMD_INCSRCADDR | DCMD_FLOWTRG; in start_data_dma()
574 desc->dcmd |= DCMD_INCTRGADDR | DCMD_FLOWSRC; in start_data_dma()