Searched refs:reg16 (Results 1 - 11 of 11) sorted by relevance

/drivers/pci/hotplug/
H A Dpcihp_slot.c99 u16 reg16; local
117 pci_read_config_word(dev, pos + PCI_EXP_DEVCTL, &reg16);
118 reg16 = (reg16 & hpp->pci_exp_devctl_and) | hpp->pci_exp_devctl_or;
119 pci_write_config_word(dev, pos + PCI_EXP_DEVCTL, reg16);
123 pci_read_config_word(dev, pos + PCI_EXP_LNKCTL, &reg16);
124 reg16 = (reg16 & hpp->pci_exp_lnkctl_and)
126 pci_write_config_word(dev, pos + PCI_EXP_LNKCTL, reg16);
H A Dpciehp_hpc.c815 u16 reg16; local
856 pciehp_readw(ctrl, PCI_EXP_SLTSTA, &reg16);
857 ctrl_info(ctrl, "Slot Status : 0x%04x\n", reg16);
858 pciehp_readw(ctrl, PCI_EXP_SLTCTL, &reg16);
859 ctrl_info(ctrl, "Slot Control : 0x%04x\n", reg16);
H A Dcpqphp_ctrl.c1136 u16 reg16; local
1193 reg16 = readw(ctrl->hpc_reg + NEXT_CURR_FREQ);
1194 reg16 &= ~0x000F;
1198 reg16 |= 0xB;
1202 reg16 |= 0xA;
1206 reg16 |= 0x9;
1210 reg16 |= 0x1;
1217 reg16 |= 0xB << 12;
1218 writew(reg16, ctrl->hpc_reg + NEXT_CURR_FREQ);
/drivers/pci/pcie/
H A Daspm.c121 u16 reg16; local
129 pci_read_config_word(child, pos + PCI_EXP_LNKCTL, &reg16);
131 reg16 |= PCI_EXP_LNKCTL_CLKREQ_EN;
133 reg16 &= ~PCI_EXP_LNKCTL_CLKREQ_EN;
134 pci_write_config_word(child, pos + PCI_EXP_LNKCTL, reg16);
154 u16 reg16; local
169 pci_read_config_word(child, pos + PCI_EXP_LNKCTL, &reg16);
170 if (!(reg16 & PCI_EXP_LNKCTL_CLKREQ_EN))
186 u16 reg16, parent_reg, child_reg[8]; local
199 pci_read_config_word(child, cpos + PCI_EXP_LNKSTA, &reg16);
301 u16 reg16; local
439 u16 reg16; local
[all...]
H A Dportdrv_core.c68 u16 reg16; local
113 pci_read_config_word(dev, pos + PCI_EXP_FLAGS, &reg16);
114 entry = (reg16 & PCI_EXP_FLAGS_IRQ) >> 9;
238 u16 reg16; local
257 pci_read_config_word(dev, pos + PCI_EXP_FLAGS, &reg16);
259 if ((cap_mask & PCIE_PORT_SERVICE_HP) && (reg16 & PCI_EXP_FLAGS_SLOT)) {
269 pci_read_config_word(dev, pos, &reg16);
270 reg16 &= ~(PCI_EXP_SLTCTL_CCIE | PCI_EXP_SLTCTL_HPIE);
271 pci_write_config_word(dev, pos, reg16);
/drivers/pci/pcie/aer/
H A Daerdrv.c125 u16 reg16; local
130 pci_read_config_word(pdev, pos+PCI_EXP_DEVSTA, &reg16);
131 pci_write_config_word(pdev, pos+PCI_EXP_DEVSTA, reg16);
134 pci_read_config_word(pdev, pos + PCI_EXP_RTCTL, &reg16);
135 reg16 &= ~(SYSTEM_ERROR_INTR_ON_MESG_MASK);
136 pci_write_config_word(pdev, pos + PCI_EXP_RTCTL, reg16);
395 u16 reg16; local
399 pci_read_config_word(dev, pos + PCI_EXP_DEVSTA, &reg16);
400 pci_write_config_word(dev, pos + PCI_EXP_DEVSTA, reg16);
H A Daerdrv_core.c37 u16 reg16 = 0; local
51 pci_read_config_word(dev, pos + PCI_EXP_DEVCTL, &reg16);
52 reg16 |= (PCI_EXP_DEVCTL_CERE |
56 pci_write_config_word(dev, pos + PCI_EXP_DEVCTL, reg16);
64 u16 reg16 = 0; local
74 pci_read_config_word(dev, pos + PCI_EXP_DEVCTL, &reg16);
75 reg16 &= ~(PCI_EXP_DEVCTL_CERE |
79 pci_write_config_word(dev, pos + PCI_EXP_DEVCTL, reg16);
128 u16 reg16; local
159 pci_read_config_word(dev, pos + PCI_EXP_DEVCTL, &reg16);
[all...]
/drivers/pci/
H A Dprobe.c855 u16 reg16; local
862 pci_read_config_word(pdev, pos + PCI_EXP_FLAGS, &reg16);
863 pdev->pcie_type = (reg16 & PCI_EXP_FLAGS_TYPE) >> 4;
864 pci_read_config_word(pdev, pos + PCI_EXP_DEVCAP, &reg16);
865 pdev->pcie_mpss = reg16 & PCI_EXP_DEVCAP_PAYLOAD;
871 u16 reg16; local
877 pci_read_config_word(pdev, pos + PCI_EXP_FLAGS, &reg16);
878 if (!(reg16 & PCI_EXP_FLAGS_SLOT))
/drivers/net/ethernet/intel/e1000e/
H A Dnetdev.c5524 u16 reg16; local
5531 pci_read_config_word(pdev, pos + PCI_EXP_LNKCTL, &reg16);
5532 reg16 &= ~state;
5533 pci_write_config_word(pdev, pos + PCI_EXP_LNKCTL, reg16);
5539 pci_read_config_word(pdev->bus->self, pos + PCI_EXP_LNKCTL, &reg16);
5540 reg16 &= ~state;
5541 pci_write_config_word(pdev->bus->self, pos + PCI_EXP_LNKCTL, reg16);
/drivers/net/wireless/brcm80211/brcmsmac/phy/
H A Dphy_int.h363 u16 reg16; member in struct:aci_save_gphy
/drivers/video/sis/
H A Dsis_main.c5847 u16 reg16; local
5879 pci_read_config_word(pdev, PCI_COMMAND, &reg16);
5880 ivideo->sisvga_enabled = reg16 & 0x01;

Completed in 158 milliseconds