Searched refs:cmdreg (Results 1 – 10 of 10) sorted by relevance
/linux-6.3-rc2/drivers/staging/rtl8192u/ |
A D | r8180_93cx6.c | 25 u8 cmdreg; in eprom_cs() local 28 err = read_nic_byte_E(dev, EPROM_CMD, &cmdreg); in eprom_cs() 33 write_nic_byte_E(dev, EPROM_CMD, cmdreg | EPROM_CS_BIT); in eprom_cs() 36 write_nic_byte_E(dev, EPROM_CMD, cmdreg & ~EPROM_CS_BIT); in eprom_cs() 44 u8 cmdreg; in eprom_ck_cycle() local 47 err = read_nic_byte_E(dev, EPROM_CMD, &cmdreg); in eprom_ck_cycle() 50 write_nic_byte_E(dev, EPROM_CMD, cmdreg | EPROM_CK_BIT); in eprom_ck_cycle() 54 read_nic_byte_E(dev, EPROM_CMD, &cmdreg); in eprom_ck_cycle() 62 u8 cmdreg; in eprom_w() local 65 err = read_nic_byte_E(dev, EPROM_CMD, &cmdreg); in eprom_w() [all …]
|
/linux-6.3-rc2/arch/mips/pci/ |
A D | pci-bcm1480.c | 191 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()
|
A D | pci-sb1250.c | 199 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.3-rc2/drivers/mmc/host/ |
A D | mvsdio.c | 141 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 …]
|
A D | omap_hsmmc.c | 759 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()
|
A D | omap.c | 334 u32 cmdreg; in mmc_omap_start_command() local 374 cmdreg = cmd->opcode | (resptype << 8) | (cmdtype << 12); in mmc_omap_start_command() 377 cmdreg |= 1 << 6; in mmc_omap_start_command() 380 cmdreg |= 1 << 11; in mmc_omap_start_command() 383 cmdreg |= 1 << 15; in mmc_omap_start_command() 398 OMAP_MMC_WRITE(host, CMD, cmdreg); in mmc_omap_start_command()
|
/linux-6.3-rc2/drivers/hwmon/ |
A D | smm665.c | 151 struct i2c_client *cmdreg; member 179 struct i2c_client *client = data->cmdreg; in smm665_read_adc() 590 data->cmdreg = i2c_new_dummy_device(adapter, (client->addr & ~SMM665_REGMASK) in smm665_probe() 592 if (IS_ERR(data->cmdreg)) in smm665_probe() 593 return PTR_ERR(data->cmdreg); in smm665_probe() 608 if (i2c_smbus_read_byte_data(data->cmdreg, SMM665_MISC8_CMD_STS) < 0) in smm665_probe() 670 i2c_unregister_device(data->cmdreg); in smm665_probe() 678 i2c_unregister_device(data->cmdreg); in smm665_remove()
|
/linux-6.3-rc2/arch/x86/kernel/ |
A D | early_printk.c | 223 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.3-rc2/drivers/misc/ |
A D | isl29003.c | 150 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.3-rc2/arch/m68k/ifpsp060/src/ |
A D | fpsp.S | 4075 bfextu %d0{&16:&6},%d1 # extract upper 6 of cmdreg
|
Completed in 44 milliseconds