Home
last modified time | relevance | path

Searched refs:old_cmd (Results 1 – 10 of 10) sorted by relevance

/linux-4.4.14/arch/xtensa/kernel/
Dpci.c95 u16 cmd, old_cmd; in pcibios_enable_resources() local
100 old_cmd = cmd; in pcibios_enable_resources()
115 if (cmd != old_cmd) { in pcibios_enable_resources()
117 pci_name(dev), old_cmd, cmd); in pcibios_enable_resources()
226 u16 cmd, old_cmd; in pcibios_enable_device() local
231 old_cmd = cmd; in pcibios_enable_device()
244 if (cmd != old_cmd) { in pcibios_enable_device()
246 pci_name(dev), old_cmd, cmd); in pcibios_enable_device()
/linux-4.4.14/arch/cris/arch-v32/drivers/pci/
Dbios.c53 u16 cmd, old_cmd; in pcibios_enable_resources() local
58 old_cmd = cmd; in pcibios_enable_resources()
76 if (cmd != old_cmd) { in pcibios_enable_resources()
77 printk("PCI: Enabling device %s (%04x -> %04x)\n", pci_name(dev), old_cmd, cmd); in pcibios_enable_resources()
/linux-4.4.14/arch/parisc/kernel/
Dpci.c243 u16 cmd, old_cmd; in pcibios_enable_device() local
250 old_cmd = cmd; in pcibios_enable_device()
260 if (cmd != old_cmd) { in pcibios_enable_device()
262 old_cmd, cmd); in pcibios_enable_device()
/linux-4.4.14/arch/mips/pci/
Dpci.c261 u16 cmd, old_cmd; in pcibios_enable_resources() local
266 old_cmd = cmd; in pcibios_enable_resources()
289 if (cmd != old_cmd) { in pcibios_enable_resources()
291 pci_name(dev), old_cmd, cmd); in pcibios_enable_resources()
/linux-4.4.14/arch/unicore32/kernel/
Dpci.c328 u16 cmd, old_cmd; in pcibios_enable_device() local
333 old_cmd = cmd; in pcibios_enable_device()
357 if (cmd != old_cmd) { in pcibios_enable_device()
359 pci_name(dev), old_cmd, cmd); in pcibios_enable_device()
/linux-4.4.14/drivers/pci/
Dsetup-res.c354 u16 cmd, old_cmd; in pci_enable_resources() local
359 old_cmd = cmd; in pci_enable_resources()
391 if (cmd != old_cmd) { in pci_enable_resources()
393 old_cmd, cmd); in pci_enable_resources()
Dpci.c3058 u16 old_cmd, cmd; in __pci_set_master() local
3060 pci_read_config_word(dev, PCI_COMMAND, &old_cmd); in __pci_set_master()
3062 cmd = old_cmd | PCI_COMMAND_MASTER; in __pci_set_master()
3064 cmd = old_cmd & ~PCI_COMMAND_MASTER; in __pci_set_master()
3065 if (cmd != old_cmd) { in __pci_set_master()
/linux-4.4.14/sound/pci/ice1712/
Dice1712.c155 unsigned char old_cmd = 0; in snd_ice1712_ac97_write() local
158 old_cmd = inb(ICEREG(ice, AC97_CMD)); in snd_ice1712_ac97_write()
159 if (old_cmd & (ICE1712_AC97_WRITE | ICE1712_AC97_READ)) in snd_ice1712_ac97_write()
161 if (!(old_cmd & ICE1712_AC97_READY)) in snd_ice1712_ac97_write()
167 old_cmd &= ~(ICE1712_AC97_PBK_VSR | ICE1712_AC97_CAP_VSR); in snd_ice1712_ac97_write()
168 outb(old_cmd | ICE1712_AC97_WRITE, ICEREG(ice, AC97_CMD)); in snd_ice1712_ac97_write()
179 unsigned char old_cmd = 0; in snd_ice1712_ac97_read() local
182 old_cmd = inb(ICEREG(ice, AC97_CMD)); in snd_ice1712_ac97_read()
183 if (old_cmd & (ICE1712_AC97_WRITE | ICE1712_AC97_READ)) in snd_ice1712_ac97_read()
185 if (!(old_cmd & ICE1712_AC97_READY)) in snd_ice1712_ac97_read()
[all …]
Dice1724.c139 unsigned char old_cmd; in snd_vt1724_ac97_ready() local
142 old_cmd = inb(ICEMT1724(ice, AC97_CMD)); in snd_vt1724_ac97_ready()
143 if (old_cmd & (VT1724_AC97_WRITE | VT1724_AC97_READ)) in snd_vt1724_ac97_ready()
145 if (!(old_cmd & VT1724_AC97_READY)) in snd_vt1724_ac97_ready()
147 return old_cmd; in snd_vt1724_ac97_ready()
150 return old_cmd; in snd_vt1724_ac97_ready()
168 unsigned char old_cmd; in snd_vt1724_ac97_write() local
170 old_cmd = snd_vt1724_ac97_ready(ice); in snd_vt1724_ac97_write()
171 old_cmd &= ~VT1724_AC97_ID_MASK; in snd_vt1724_ac97_write()
172 old_cmd |= ac97->num; in snd_vt1724_ac97_write()
[all …]
/linux-4.4.14/arch/tile/kernel/
Dpci.c404 u16 cmd, old_cmd; in pcibios_enable_device() local
412 old_cmd = cmd; in pcibios_enable_device()
442 if (cmd != old_cmd) in pcibios_enable_device()