/drivers/pci/hotplug/ |
H A D | pcihp_slot.c | 99 u16 reg16; local 117 pci_read_config_word(dev, pos + PCI_EXP_DEVCTL, ®16); 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, ®16); 124 reg16 = (reg16 & hpp->pci_exp_lnkctl_and) 126 pci_write_config_word(dev, pos + PCI_EXP_LNKCTL, reg16);
|
H A D | pciehp_hpc.c | 815 u16 reg16; local 856 pciehp_readw(ctrl, PCI_EXP_SLTSTA, ®16); 857 ctrl_info(ctrl, "Slot Status : 0x%04x\n", reg16); 858 pciehp_readw(ctrl, PCI_EXP_SLTCTL, ®16); 859 ctrl_info(ctrl, "Slot Control : 0x%04x\n", reg16);
|
H A D | cpqphp_ctrl.c | 1136 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 D | aspm.c | 121 u16 reg16; local 129 pci_read_config_word(child, pos + PCI_EXP_LNKCTL, ®16); 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, ®16); 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, ®16); 301 u16 reg16; local 439 u16 reg16; local [all...] |
H A D | portdrv_core.c | 68 u16 reg16; local 113 pci_read_config_word(dev, pos + PCI_EXP_FLAGS, ®16); 114 entry = (reg16 & PCI_EXP_FLAGS_IRQ) >> 9; 238 u16 reg16; local 257 pci_read_config_word(dev, pos + PCI_EXP_FLAGS, ®16); 259 if ((cap_mask & PCIE_PORT_SERVICE_HP) && (reg16 & PCI_EXP_FLAGS_SLOT)) { 269 pci_read_config_word(dev, pos, ®16); 270 reg16 &= ~(PCI_EXP_SLTCTL_CCIE | PCI_EXP_SLTCTL_HPIE); 271 pci_write_config_word(dev, pos, reg16);
|
/drivers/pci/pcie/aer/ |
H A D | aerdrv.c | 125 u16 reg16; local 130 pci_read_config_word(pdev, pos+PCI_EXP_DEVSTA, ®16); 131 pci_write_config_word(pdev, pos+PCI_EXP_DEVSTA, reg16); 134 pci_read_config_word(pdev, pos + PCI_EXP_RTCTL, ®16); 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, ®16); 400 pci_write_config_word(dev, pos + PCI_EXP_DEVSTA, reg16);
|
H A D | aerdrv_core.c | 37 u16 reg16 = 0; local 51 pci_read_config_word(dev, pos + PCI_EXP_DEVCTL, ®16); 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, ®16); 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, ®16); [all...] |
/drivers/pci/ |
H A D | probe.c | 855 u16 reg16; local 862 pci_read_config_word(pdev, pos + PCI_EXP_FLAGS, ®16); 863 pdev->pcie_type = (reg16 & PCI_EXP_FLAGS_TYPE) >> 4; 864 pci_read_config_word(pdev, pos + PCI_EXP_DEVCAP, ®16); 865 pdev->pcie_mpss = reg16 & PCI_EXP_DEVCAP_PAYLOAD; 871 u16 reg16; local 877 pci_read_config_word(pdev, pos + PCI_EXP_FLAGS, ®16); 878 if (!(reg16 & PCI_EXP_FLAGS_SLOT))
|
/drivers/net/ethernet/intel/e1000e/ |
H A D | netdev.c | 5524 u16 reg16; local 5531 pci_read_config_word(pdev, pos + PCI_EXP_LNKCTL, ®16); 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, ®16); 5540 reg16 &= ~state; 5541 pci_write_config_word(pdev->bus->self, pos + PCI_EXP_LNKCTL, reg16);
|
/drivers/net/wireless/brcm80211/brcmsmac/phy/ |
H A D | phy_int.h | 363 u16 reg16; member in struct:aci_save_gphy
|
/drivers/video/sis/ |
H A D | sis_main.c | 5847 u16 reg16; local 5879 pci_read_config_word(pdev, PCI_COMMAND, ®16); 5880 ivideo->sisvga_enabled = reg16 & 0x01;
|