Home
last modified time | relevance | path

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

/linux-2.6.39/arch/mips/pci/
Dpci-bcm1480.c203 uint32_t cmdreg; in bcm1480_pcibios_init() local
226 cmdreg = READCFG32(CFGOFFSET(0, PCI_DEVFN(PCI_BRIDGE_DEVICE, 0), in bcm1480_pcibios_init()
228 if (!(cmdreg & PCI_COMMAND_MASTER)) { in bcm1480_pcibios_init()
238 cmdreg = READCFG32(CFGOFFSET(0, PCI_DEVFN(PCI_BRIDGE_DEVICE, 0), 0x40)); in bcm1480_pcibios_init()
240 cmdreg | 0x10); in bcm1480_pcibios_init()
241 cmdreg = READCFG32(CFGOFFSET(0, PCI_DEVFN(PCI_BRIDGE_DEVICE, 0), 0x40)); in bcm1480_pcibios_init()
Dpci-sb1250.c212 uint32_t cmdreg; in sb1250_pcibios_init() local
236 cmdreg = in sb1250_pcibios_init()
240 if (!(cmdreg & PCI_COMMAND_MASTER)) { in sb1250_pcibios_init()
267 cmdreg = READCFG32(CFGOFFSET(0, PCI_DEVFN(LDT_BRIDGE_DEVICE, 0), in sb1250_pcibios_init()
269 if (cmdreg & PCI_COMMAND_MASTER) { in sb1250_pcibios_init()
/linux-2.6.39/drivers/mmc/host/
Dmvsdio.c143 u32 cmdreg = 0, xfer = 0, intr = 0; in mvsd_request() local
152 cmdreg = MVSD_CMD_INDEX(cmd->opcode); in mvsd_request()
155 cmdreg |= MVSD_CMD_RSP_48BUSY; in mvsd_request()
157 cmdreg |= MVSD_CMD_RSP_136; in mvsd_request()
159 cmdreg |= MVSD_CMD_RSP_48; in mvsd_request()
161 cmdreg |= MVSD_CMD_RSP_NONE; in mvsd_request()
164 cmdreg |= MVSD_CMD_CHECK_CMDCRC; in mvsd_request()
167 cmdreg |= MVSD_CMD_INDX_CHECK; in mvsd_request()
170 cmdreg |= MVSD_UNEXPECTED_RESP; in mvsd_request()
178 cmdreg |= MVSD_CMD_DATA_PRESENT | MVSD_CMD_CHECK_DATACRC16; in mvsd_request()
[all …]
Domap.c340 u32 cmdreg; in mmc_omap_start_command() local
379 cmdreg = cmd->opcode | (resptype << 8) | (cmdtype << 12); in mmc_omap_start_command()
382 cmdreg |= 1 << 6; in mmc_omap_start_command()
385 cmdreg |= 1 << 11; in mmc_omap_start_command()
388 cmdreg |= 1 << 15; in mmc_omap_start_command()
401 OMAP_MMC_WRITE(host, CMD, cmdreg); in mmc_omap_start_command()
Domap_hsmmc.c817 int cmdreg = 0, resptype = 0, cmdtype = 0; in omap_hsmmc_start_command() local
844 cmdreg = (cmd->opcode << 24) | (resptype << 16) | (cmdtype << 22); in omap_hsmmc_start_command()
847 cmdreg |= DP_SELECT | MSBS | BCE; in omap_hsmmc_start_command()
849 cmdreg |= DDIR; in omap_hsmmc_start_command()
851 cmdreg &= ~(DDIR); in omap_hsmmc_start_command()
855 cmdreg |= DMA_EN; in omap_hsmmc_start_command()
860 OMAP_HSMMC_WRITE(host->base, CMD, cmdreg); in omap_hsmmc_start_command()
/linux-2.6.39/drivers/hwmon/
Dsmm665.c153 struct i2c_client *cmdreg; member
181 struct i2c_client *client = data->cmdreg; in smm665_read_adc()
602 data->cmdreg = i2c_new_dummy(adapter, (client->addr & ~SMM665_REGMASK) in smm665_probe()
604 if (!data->cmdreg) in smm665_probe()
620 if (i2c_smbus_read_byte_data(data->cmdreg, SMM665_MISC8_CMD_STS) < 0) in smm665_probe()
687 i2c_unregister_device(data->cmdreg); in smm665_probe()
698 i2c_unregister_device(data->cmdreg); in smm665_remove()
/linux-2.6.39/drivers/misc/
Disl29003.c163 u8 cmdreg = data->reg_cache[ISL29003_REG_COMMAND]; in isl29003_get_power_state() local
164 return ~cmdreg & ISL29003_ADC_PD; in isl29003_get_power_state()
/linux-2.6.39/arch/m68k/ifpsp060/src/
Dfpsp.S4075 bfextu %d0{&16:&6},%d1 # extract upper 6 of cmdreg