• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/pci/pcie/

Lines Matching refs:reg16

120 	u16 reg16;
128 pci_read_config_word(child, pos + PCI_EXP_LNKCTL, &reg16);
130 reg16 |= PCI_EXP_LNKCTL_CLKREQ_EN;
132 reg16 &= ~PCI_EXP_LNKCTL_CLKREQ_EN;
133 pci_write_config_word(child, pos + PCI_EXP_LNKCTL, reg16);
153 u16 reg16;
168 pci_read_config_word(child, pos + PCI_EXP_LNKCTL, &reg16);
169 if (!(reg16 & PCI_EXP_LNKCTL_CLKREQ_EN))
185 u16 reg16, parent_reg, child_reg[8];
198 pci_read_config_word(child, cpos + PCI_EXP_LNKSTA, &reg16);
199 if (!(reg16 & PCI_EXP_LNKSTA_SLC))
204 pci_read_config_word(parent, ppos + PCI_EXP_LNKSTA, &reg16);
205 if (!(reg16 & PCI_EXP_LNKSTA_SLC))
211 pci_read_config_word(child, cpos + PCI_EXP_LNKCTL, &reg16);
212 child_reg[PCI_FUNC(child->devfn)] = reg16;
214 reg16 |= PCI_EXP_LNKCTL_CCC;
216 reg16 &= ~PCI_EXP_LNKCTL_CCC;
217 pci_write_config_word(child, cpos + PCI_EXP_LNKCTL, reg16);
221 pci_read_config_word(parent, ppos + PCI_EXP_LNKCTL, &reg16);
222 parent_reg = reg16;
224 reg16 |= PCI_EXP_LNKCTL_CCC;
226 reg16 &= ~PCI_EXP_LNKCTL_CCC;
227 pci_write_config_word(parent, ppos + PCI_EXP_LNKCTL, reg16);
230 reg16 |= PCI_EXP_LNKCTL_RL;
231 pci_write_config_word(parent, ppos + PCI_EXP_LNKCTL, reg16);
236 pci_read_config_word(parent, ppos + PCI_EXP_LNKSTA, &reg16);
237 if (!(reg16 & PCI_EXP_LNKSTA_LT))
243 if (!(reg16 & PCI_EXP_LNKSTA_LT))
300 u16 reg16;
308 pci_read_config_word(pdev, pos + PCI_EXP_LNKCTL, &reg16);
309 info->enabled = reg16 & PCI_EXP_LNKCTL_ASPMC;
438 u16 reg16;
441 pci_read_config_word(pdev, pos + PCI_EXP_LNKCTL, &reg16);
442 reg16 &= ~0x3;
443 reg16 |= val;
444 pci_write_config_word(pdev, pos + PCI_EXP_LNKCTL, reg16);