Searched refs:dcmd (Results 1 – 7 of 7) sorted by relevance
/drivers/mtd/devices/ |
D | pmc551.c | 352 u32 size, dcmd, cfg, dtmp; in fixup_pmc551() local 397 pci_read_config_dword(dev, PMC551_PCI_MEM_MAP0, &dcmd); in fixup_pmc551() 398 dtmp = (dcmd | PMC551_PCI_MEM_MAP_ENABLE | PMC551_PCI_MEM_MAP_REG_EN); in fixup_pmc551() 512 pci_read_config_dword(dev, PMC551_DRAM_CFG, &dcmd); in fixup_pmc551() 513 dcmd |= 0x02000000; in fixup_pmc551() 514 pci_write_config_dword(dev, PMC551_DRAM_CFG, dcmd); in fixup_pmc551() 558 ((dcmd & (0x1 << 3)) == 0) ? "non-" : "", in fixup_pmc551() 564 pci_read_config_dword(dev, PMC551_DRAM_BLK0, &dcmd); in fixup_pmc551() 568 (((0x1 << 1) & dcmd) == 0) ? "RW" : "RO", in fixup_pmc551() 569 (((0x1 << 0) & dcmd) == 0) ? "Off" : "On", in fixup_pmc551() [all …]
|
/drivers/scsi/megaraid/ |
D | megaraid_sas_base.c | 288 struct megasas_dcmd_frame *dcmd, in megasas_set_dma_settings() argument 292 dcmd->sgl.sge64[0].phys_addr = cpu_to_le64(dma_addr); in megasas_set_dma_settings() 293 dcmd->sgl.sge64[0].length = cpu_to_le32(dma_len); in megasas_set_dma_settings() 294 dcmd->flags = cpu_to_le16(dcmd->flags | MFI_FRAME_SGL64); in megasas_set_dma_settings() 297 dcmd->sgl.sge32[0].phys_addr = in megasas_set_dma_settings() 299 dcmd->sgl.sge32[0].length = cpu_to_le32(dma_len); in megasas_set_dma_settings() 300 dcmd->flags = cpu_to_le16(dcmd->flags); in megasas_set_dma_settings() 1172 cmd->frame->dcmd.opcode, __func__); in megasas_issue_blocked_cmd() 1236 opcode = cmd_to_abort->frame->dcmd.opcode; in megasas_issue_blocked_abort_cmd() 2365 struct megasas_dcmd_frame *dcmd; in megasas_get_ld_vf_affiliation_111() local [all …]
|
D | megaraid_sas_fusion.c | 1306 struct megasas_dcmd_frame *dcmd; in megasas_sync_pd_seq_num() local 1323 dcmd = &cmd->frame->dcmd; in megasas_sync_pd_seq_num() 1326 memset(dcmd->mbox.b, 0, MFI_MBOX_SIZE); in megasas_sync_pd_seq_num() 1329 dcmd->mbox.b[0] = MEGASAS_DCMD_MBOX_PEND_FLAG; in megasas_sync_pd_seq_num() 1330 dcmd->flags = MFI_FRAME_DIR_WRITE; in megasas_sync_pd_seq_num() 1333 dcmd->flags = MFI_FRAME_DIR_READ; in megasas_sync_pd_seq_num() 1336 dcmd->cmd = MFI_CMD_DCMD; in megasas_sync_pd_seq_num() 1337 dcmd->cmd_status = 0xFF; in megasas_sync_pd_seq_num() 1338 dcmd->sge_count = 1; in megasas_sync_pd_seq_num() 1339 dcmd->timeout = 0; in megasas_sync_pd_seq_num() [all …]
|
D | megaraid_sas.h | 2014 struct megasas_dcmd_frame dcmd; member 2736 struct megasas_dcmd_frame *dcmd,
|
/drivers/dma/ |
D | pxa_dma.c | 80 u32 dcmd; /* DCMD value for the current transfer */ member 204 static inline int dbg_burst_from_dcmd(u32 dcmd) in dbg_burst_from_dcmd() argument 206 int burst = (dcmd >> 16) & 0x3; in dbg_burst_from_dcmd() 217 #define PXA_DCMD_STR(flag) (dcmd & PXA_DCMD_##flag ? #flag" " : "") 223 u32 dcmd; in descriptors_show() local 233 dcmd = desc->dcmd; in descriptors_show() 234 burst = dbg_burst_from_dcmd(dcmd); in descriptors_show() 235 width = (1 << ((dcmd >> 14) & 0x3)) >> 1; in descriptors_show() 243 dcmd, in descriptors_show() 248 dcmd & PXA_DCMD_LENGTH); in descriptors_show() [all …]
|
D | mmp_pdma.c | 77 u32 dcmd; /* DCMD value for the current transfer */ member 102 u32 dcmd; member 463 chan->dcmd = DCMD_INCTRGADDR | DCMD_INCSRCADDR; in mmp_pdma_prep_memcpy() 464 chan->dcmd |= DCMD_BURST32; in mmp_pdma_prep_memcpy() 479 new->desc.dcmd = chan->dcmd | (DCMD_LENGTH & copy); in mmp_pdma_prep_memcpy() 512 new->desc.dcmd |= DCMD_ENDIRQEN; in mmp_pdma_prep_memcpy() 559 new->desc.dcmd = chan->dcmd | (DCMD_LENGTH & len); in mmp_pdma_prep_slave_sg() 591 new->desc.dcmd |= DCMD_ENDIRQEN; in mmp_pdma_prep_slave_sg() 651 new->desc.dcmd = (chan->dcmd | DCMD_ENDIRQEN | in mmp_pdma_prep_dma_cyclic() 703 chan->dcmd = DCMD_INCTRGADDR | DCMD_FLOWSRC; in mmp_pdma_config_write() [all …]
|
/drivers/rpmsg/ |
D | qcom_glink_native.c | 788 struct glink_defer_cmd *dcmd; in qcom_glink_rx_defer() local 797 dcmd = kzalloc(struct_size(dcmd, data, extra), GFP_ATOMIC); in qcom_glink_rx_defer() 798 if (!dcmd) in qcom_glink_rx_defer() 801 INIT_LIST_HEAD(&dcmd->node); in qcom_glink_rx_defer() 803 qcom_glink_rx_peak(glink, &dcmd->msg, 0, sizeof(dcmd->msg) + extra); in qcom_glink_rx_defer() 806 list_add_tail(&dcmd->node, &glink->rx_queue); in qcom_glink_rx_defer() 810 qcom_glink_rx_advance(glink, sizeof(dcmd->msg) + extra); in qcom_glink_rx_defer() 1610 struct glink_defer_cmd *dcmd; in qcom_glink_work() local 1623 dcmd = list_first_entry(&glink->rx_queue, in qcom_glink_work() 1625 list_del(&dcmd->node); in qcom_glink_work() [all …]
|