Home
last modified time | relevance | path

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

/Linux-v6.6/arch/parisc/kernel/
Dpci.c230 u16 cmd, old_cmd; in pcibios_enable_device() local
237 old_cmd = cmd; in pcibios_enable_device()
247 if (cmd != old_cmd) { in pcibios_enable_device()
249 old_cmd, cmd); in pcibios_enable_device()
/Linux-v6.6/arch/mips/pci/
Dpci-legacy.c246 u16 cmd, old_cmd; in pcibios_enable_resources() local
251 old_cmd = cmd; in pcibios_enable_resources()
272 if (cmd != old_cmd) { in pcibios_enable_resources()
273 pci_info(dev, "enabling device (%04x -> %04x)\n", old_cmd, cmd); in pcibios_enable_resources()
/Linux-v6.6/sound/pci/ice1712/
Dice1712.c135 unsigned char old_cmd = 0; in snd_ice1712_ac97_write() local
138 old_cmd = inb(ICEREG(ice, AC97_CMD)); in snd_ice1712_ac97_write()
139 if (old_cmd & (ICE1712_AC97_WRITE | ICE1712_AC97_READ)) in snd_ice1712_ac97_write()
141 if (!(old_cmd & ICE1712_AC97_READY)) in snd_ice1712_ac97_write()
147 old_cmd &= ~(ICE1712_AC97_PBK_VSR | ICE1712_AC97_CAP_VSR); in snd_ice1712_ac97_write()
148 outb(old_cmd | ICE1712_AC97_WRITE, ICEREG(ice, AC97_CMD)); in snd_ice1712_ac97_write()
159 unsigned char old_cmd = 0; in snd_ice1712_ac97_read() local
162 old_cmd = inb(ICEREG(ice, AC97_CMD)); in snd_ice1712_ac97_read()
163 if (old_cmd & (ICE1712_AC97_WRITE | ICE1712_AC97_READ)) in snd_ice1712_ac97_read()
165 if (!(old_cmd & ICE1712_AC97_READY)) in snd_ice1712_ac97_read()
[all …]
Dice1724.c106 unsigned char old_cmd; in snd_vt1724_ac97_ready() local
109 old_cmd = inb(ICEMT1724(ice, AC97_CMD)); in snd_vt1724_ac97_ready()
110 if (old_cmd & (VT1724_AC97_WRITE | VT1724_AC97_READ)) in snd_vt1724_ac97_ready()
112 if (!(old_cmd & VT1724_AC97_READY)) in snd_vt1724_ac97_ready()
114 return old_cmd; in snd_vt1724_ac97_ready()
117 return old_cmd; in snd_vt1724_ac97_ready()
135 unsigned char old_cmd; in snd_vt1724_ac97_write() local
137 old_cmd = snd_vt1724_ac97_ready(ice); in snd_vt1724_ac97_write()
138 old_cmd &= ~VT1724_AC97_ID_MASK; in snd_vt1724_ac97_write()
139 old_cmd |= ac97->num; in snd_vt1724_ac97_write()
[all …]
/Linux-v6.6/drivers/pci/
Dsetup-res.c480 u16 cmd, old_cmd; in pci_enable_resources() local
485 old_cmd = cmd; in pci_enable_resources()
515 if (cmd != old_cmd) { in pci_enable_resources()
516 pci_info(dev, "enabling device (%04x -> %04x)\n", old_cmd, cmd); in pci_enable_resources()
Dpci.c4412 u16 old_cmd, cmd; in __pci_set_master() local
4414 pci_read_config_word(dev, PCI_COMMAND, &old_cmd); in __pci_set_master()
4416 cmd = old_cmd | PCI_COMMAND_MASTER; in __pci_set_master()
4418 cmd = old_cmd & ~PCI_COMMAND_MASTER; in __pci_set_master()
4419 if (cmd != old_cmd) { in __pci_set_master()
/Linux-v6.6/drivers/net/ethernet/
Djme.c1841 jme_set_link_ksettings(netdev, &jme->old_cmd); in jme_open()
2321 jme_set_link_ksettings(netdev, &jme->old_cmd); in jme_tx_timeout()
2606 jme->old_cmd = *cmd; in jme_set_link_ksettings()
2635 jme_get_link_ksettings(netdev, &jme->old_cmd); in jme_ioctl()
3222 jme_set_link_ksettings(netdev, &jme->old_cmd); in jme_resume()
Djme.h435 struct ethtool_link_ksettings old_cmd; member