Home
last modified time | relevance | path

Searched refs:cmdreg (Results 1 – 8 of 8) sorted by relevance

/linux-6.12.1/arch/mips/pci/
Dpci-bcm1480.c191 uint32_t cmdreg; in bcm1480_pcibios_init() local
214 cmdreg = READCFG32(CFGOFFSET(0, PCI_DEVFN(PCI_BRIDGE_DEVICE, 0), in bcm1480_pcibios_init()
216 if (!(cmdreg & PCI_COMMAND_MASTER)) { in bcm1480_pcibios_init()
226 cmdreg = READCFG32(CFGOFFSET(0, PCI_DEVFN(PCI_BRIDGE_DEVICE, 0), 0x40)); in bcm1480_pcibios_init()
228 cmdreg | 0x10); in bcm1480_pcibios_init()
229 cmdreg = READCFG32(CFGOFFSET(0, PCI_DEVFN(PCI_BRIDGE_DEVICE, 0), 0x40)); in bcm1480_pcibios_init()
Dpci-sb1250.c199 uint32_t cmdreg; in sb1250_pcibios_init() local
223 cmdreg = in sb1250_pcibios_init()
227 if (!(cmdreg & PCI_COMMAND_MASTER)) { in sb1250_pcibios_init()
254 cmdreg = READCFG32(CFGOFFSET(0, PCI_DEVFN(LDT_BRIDGE_DEVICE, 0), in sb1250_pcibios_init()
256 if (cmdreg & PCI_COMMAND_MASTER) { in sb1250_pcibios_init()
/linux-6.12.1/drivers/mmc/host/
Dmvsdio.c141 u32 cmdreg = 0, xfer = 0, intr = 0; in mvsd_request() local
151 cmdreg = MVSD_CMD_INDEX(cmd->opcode); in mvsd_request()
154 cmdreg |= MVSD_CMD_RSP_48BUSY; in mvsd_request()
156 cmdreg |= MVSD_CMD_RSP_136; in mvsd_request()
158 cmdreg |= MVSD_CMD_RSP_48; in mvsd_request()
160 cmdreg |= MVSD_CMD_RSP_NONE; in mvsd_request()
163 cmdreg |= MVSD_CMD_CHECK_CMDCRC; in mvsd_request()
166 cmdreg |= MVSD_CMD_INDX_CHECK; in mvsd_request()
169 cmdreg |= MVSD_UNEXPECTED_RESP; in mvsd_request()
177 cmdreg |= MVSD_CMD_DATA_PRESENT | MVSD_CMD_CHECK_DATACRC16; in mvsd_request()
[all …]
Domap_hsmmc.c759 int cmdreg = 0, resptype = 0, cmdtype = 0; in omap_hsmmc_start_command() local
786 cmdreg = (cmd->opcode << 24) | (resptype << 16) | (cmdtype << 22); in omap_hsmmc_start_command()
790 cmdreg |= ACEN_ACMD23; in omap_hsmmc_start_command()
794 cmdreg |= DP_SELECT | MSBS | BCE; in omap_hsmmc_start_command()
796 cmdreg |= DDIR; in omap_hsmmc_start_command()
798 cmdreg &= ~(DDIR); in omap_hsmmc_start_command()
802 cmdreg |= DMAE; in omap_hsmmc_start_command()
807 OMAP_HSMMC_WRITE(host->base, CMD, cmdreg); in omap_hsmmc_start_command()
Domap.c346 u32 cmdreg; in mmc_omap_start_command() local
386 cmdreg = cmd->opcode | (resptype << 8) | (cmdtype << 12); in mmc_omap_start_command()
389 cmdreg |= 1 << 6; in mmc_omap_start_command()
392 cmdreg |= 1 << 11; in mmc_omap_start_command()
395 cmdreg |= 1 << 15; in mmc_omap_start_command()
410 OMAP_MMC_WRITE(host, CMD, cmdreg); in mmc_omap_start_command()
/linux-6.12.1/arch/x86/kernel/
Dearly_printk.c223 u16 cmdreg; in early_pci_serial_init() local
262 cmdreg = read_pci_config(bus, slot, func, PCI_COMMAND); in early_pci_serial_init()
285 cmdreg|PCI_COMMAND_IO); in early_pci_serial_init()
294 cmdreg|PCI_COMMAND_MEMORY); in early_pci_serial_init()
/linux-6.12.1/drivers/misc/
Disl29003.c150 u8 cmdreg = data->reg_cache[ISL29003_REG_COMMAND]; in isl29003_get_power_state() local
152 return ~cmdreg & ISL29003_ADC_PD; in isl29003_get_power_state()
/linux-6.12.1/arch/m68k/ifpsp060/src/
Dfpsp.S4075 bfextu %d0{&16:&6},%d1 # extract upper 6 of cmdreg