/openbmc/u-boot/drivers/mmc/ |
H A D | gen_atmel_mci.c | 71 cmdr, cmdr & 0x3F, arg, status, msg); in dump_cmd() 166 u32 cmdr = 0; local 173 cmdr |= MMCI_BIT(MAXLAT); 176 cmdr |= MMCI_BF(TRCMD, 1); 178 cmdr |= MMCI_BF(TRTYP, 1); 180 cmdr |= MMCI_BIT(TRDIR); 186 cmdr |= MMCI_BF(RSPTYP, 2); 188 cmdr |= MMCI_BF(RSPTYP, 3); 190 cmdr |= MMCI_BF(RSPTYP, 1); 253 u32 cmdr; local [all …]
|
/openbmc/linux/drivers/mmc/host/ |
H A D | dw_mmc.c | 257 u32 cmdr; in dw_mci_prepare_command() local 260 cmdr = cmd->opcode; in dw_mci_prepare_command() 267 cmdr |= SDMMC_CMD_STOP; in dw_mci_prepare_command() 310 cmdr |= SDMMC_CMD_DAT_EXP; in dw_mci_prepare_command() 312 cmdr |= SDMMC_CMD_DAT_WR; in dw_mci_prepare_command() 318 return cmdr; in dw_mci_prepare_command() 324 u32 cmdr; in dw_mci_prep_stop_abort() local 330 cmdr = cmd->opcode; in dw_mci_prep_stop_abort() 337 mmc_op_tuning(cmdr) || in dw_mci_prep_stop_abort() 338 cmdr == MMC_GEN_CMD) { in dw_mci_prep_stop_abort() [all …]
|
H A D | atmel-mci.c | 812 u32 cmdr; in atmci_prepare_command() local 820 cmdr |= ATMCI_CMDR_RSPTYP_136BIT; in atmci_prepare_command() 822 cmdr |= ATMCI_CMDR_RSPTYP_48BIT; in atmci_prepare_command() 830 cmdr |= ATMCI_CMDR_MAXLAT_64CYC; in atmci_prepare_command() 833 cmdr |= ATMCI_CMDR_OPDCMD; in atmci_prepare_command() 837 cmdr |= ATMCI_CMDR_START_XFER; in atmci_prepare_command() 840 cmdr |= ATMCI_CMDR_SDIO_BLOCK; in atmci_prepare_command() 843 cmdr |= ATMCI_CMDR_MULTI_BLOCK; in atmci_prepare_command() 845 cmdr |= ATMCI_CMDR_BLOCK; in atmci_prepare_command() 849 cmdr |= ATMCI_CMDR_TRDIR_READ; in atmci_prepare_command() [all …]
|
/openbmc/linux/drivers/tty/serial/ |
H A D | sunsab.c | 136 writeb(SAB82532_CMDR_RFRD, &up->regs->w.cmdr); in receive_chars() 150 writeb(SAB82532_CMDR_RMC, &up->regs->w.cmdr); in receive_chars() 277 writeb(SAB82532_CMDR_XF, &up->regs->w.cmdr); in transmit_chars() 463 writeb(SAB82532_CMDR_XF, &up->regs->w.cmdr); in sunsab_start_tx() 541 writeb(SAB82532_CMDR_RRES, &up->regs->w.cmdr); in sunsab_startup() 543 writeb(SAB82532_CMDR_XRES, &up->regs->w.cmdr); in sunsab_startup()
|
H A D | sunsab.h | 43 u8 cmdr; /* Command Register */ member
|
/openbmc/u-boot/include/ |
H A D | atmel_mci.h | 23 u32 cmdr; /* 0x14 */ member
|
/openbmc/linux/drivers/dma/ |
H A D | stm32-mdma.c | 214 u32 cmdr; member 233 u32 cmdr; /* STM32 DMA Transfer Complete flag */ member 685 dev_dbg(chan2dev(chan), "CMDR: 0x%08x\n\n", node->hwdesc->cmdr); in stm32_mdma_dump_hwdesc() 711 hwdesc->cmdr = config->mask_data; in stm32_mdma_setup_hwdesc() 825 hwdesc->cmdr = 0; in stm32_mdma_prep_slave_sg() 1055 hwdesc->cmdr = 0; in stm32_mdma_prep_dma_memcpy() 1171 stm32_mdma_write(dmadev, STM32_MDMA_CMDR(id), hwdesc->cmdr); in stm32_mdma_start_transfer() 1312 chan->chan_config.mask_data = mdma_config->cmdr; in stm32_mdma_slave_config()
|
/openbmc/linux/drivers/crypto/ |
H A D | hifn_795x.c | 375 struct hifn_desc cmdr[HIFN_D_CMD_RSIZE + 1]; member 887 dma->cmdr[i].p = __cpu_to_le32(dptr + in hifn_init_dma() 894 dma->cmdr[HIFN_D_CMD_RSIZE].p = __cpu_to_le32(dptr + in hifn_init_dma() 895 offsetof(struct hifn_dma, cmdr[0])); in hifn_init_dma() 984 offsetof(struct hifn_dma, cmdr[0])); in hifn_init_registers() 1209 dma->cmdr[dma->cmdi].l = __cpu_to_le32(cmd_len | HIFN_D_VALID | in hifn_setup_cmd_desc() 1213 dma->cmdr[dma->cmdi].l = __cpu_to_le32( in hifn_setup_cmd_desc() 1218 dma->cmdr[dma->cmdi - 1].l |= __cpu_to_le32(HIFN_D_VALID); in hifn_setup_cmd_desc() 1752 if (dma->cmdr[i].l & __cpu_to_le32(HIFN_D_VALID)) in hifn_clear_rings()
|
/openbmc/linux/drivers/i3c/master/ |
H A D | i3c-master-cdns.c | 576 u32 cmdr, rx_len, id; in cdns_i3c_master_end_xfer_locked() local 578 cmdr = readl(master->regs + CMDR); in cdns_i3c_master_end_xfer_locked() 579 id = CMDR_CMDID(cmdr); in cdns_i3c_master_end_xfer_locked() 585 cmd = &xfer->cmds[CMDR_CMDID(cmdr)]; in cdns_i3c_master_end_xfer_locked() 586 rx_len = min_t(u32, CMDR_XFER_BYTES(cmdr), cmd->rx_len); in cdns_i3c_master_end_xfer_locked() 588 cmd->error = CMDR_ERROR(cmdr); in cdns_i3c_master_end_xfer_locked()
|
/openbmc/linux/drivers/target/ |
H A D | target_core_user.c | 135 void *cmdr; member 965 hdr = udev->cmdr + cmd_head; in ring_insert_padding() 1090 entry = udev->cmdr + cmd_head; in queue_cmd_ring() 1182 entry = udev->cmdr + cmd_head; in queue_tmr_ring() 1459 struct tcmu_cmd_entry *entry = udev->cmdr + udev->cmdr_last_cleaned; in tcmu_handle_completions() 2227 udev->cmdr = (void *)mb + CMDR_OFF; in tcmu_configure_device()
|