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

/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/staging/rt2860/iface/
H A Drtmp_pci.h66 if (pci_read_config_word(pci_dev, offset, &reg16) == 0) \
67 Configuration = le2cpu16(reg16); \
72 reg16 = cpu2le16(Configuration); \
73 pci_write_config_word(pci_dev, offset, reg16);
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/pci/hotplug/
H A Dpcihp_slot.c98 u16 reg16; local
116 pci_read_config_word(dev, pos + PCI_EXP_DEVCTL, &reg16);
117 reg16 = (reg16 & hpp->pci_exp_devctl_and) | hpp->pci_exp_devctl_or;
118 pci_write_config_word(dev, pos + PCI_EXP_DEVCTL, reg16);
122 pci_read_config_word(dev, pos + PCI_EXP_LNKCTL, &reg16);
123 reg16 = (reg16 & hpp->pci_exp_lnkctl_and)
125 pci_write_config_word(dev, pos + PCI_EXP_LNKCTL, reg16);
H A Dpciehp_hpc.c816 u16 reg16; local
857 pciehp_readw(ctrl, PCI_EXP_SLTSTA, &reg16);
858 ctrl_info(ctrl, "Slot Status : 0x%04x\n", reg16);
859 pciehp_readw(ctrl, PCI_EXP_SLTCTL, &reg16);
860 ctrl_info(ctrl, "Slot Control : 0x%04x\n", reg16);
H A Dcpqphp_ctrl.c1123 u16 reg16; local
1180 reg16 = readw(ctrl->hpc_reg + NEXT_CURR_FREQ);
1181 reg16 &= ~0x000F;
1185 reg16 |= 0xB;
1189 reg16 |= 0xA;
1193 reg16 |= 0x9;
1197 reg16 |= 0x1;
1204 reg16 |= 0xB << 12;
1205 writew(reg16, ctrl->hpc_reg + NEXT_CURR_FREQ);
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/pci/pcie/
H A Daspm.c120 u16 reg16; local
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; local
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]; local
198 pci_read_config_word(child, cpos + PCI_EXP_LNKSTA, &reg16);
300 u16 reg16; local
438 u16 reg16; local
[all...]
H A Dportdrv_core.c69 u16 reg16; local
114 pci_read_config_word(dev, pos + PCI_EXP_FLAGS, &reg16);
115 entry = (reg16 & PCI_EXP_FLAGS_IRQ) >> 9;
234 u16 reg16; local
253 pci_read_config_word(dev, pos + PCI_EXP_FLAGS, &reg16);
255 if ((cap_mask & PCIE_PORT_SERVICE_HP) && (reg16 & PCI_EXP_FLAGS_SLOT)) {
265 pci_read_config_word(dev, pos, &reg16);
266 reg16 &= ~(PCI_EXP_SLTCTL_CCIE | PCI_EXP_SLTCTL_HPIE);
267 pci_write_config_word(dev, pos, reg16);
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/arch/score/include/asm/
H A Dprocessor.h53 unsigned long reg12, reg13, reg14, reg15, reg16; member in struct:thread_struct
88 .reg16 = 0, \
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/pci/pcie/aer/
H A Daerdrv.c124 u16 reg16; local
129 pci_read_config_word(pdev, pos+PCI_EXP_DEVSTA, &reg16);
130 pci_write_config_word(pdev, pos+PCI_EXP_DEVSTA, reg16);
133 pci_read_config_word(pdev, pos + PCI_EXP_RTCTL, &reg16);
134 reg16 &= ~(SYSTEM_ERROR_INTR_ON_MESG_MASK);
135 pci_write_config_word(pdev, pos + PCI_EXP_RTCTL, reg16);
394 u16 reg16; local
398 pci_read_config_word(dev, pos + PCI_EXP_DEVSTA, &reg16);
399 pci_write_config_word(dev, pos + PCI_EXP_DEVSTA, reg16);
H A Daerdrv_core.c36 u16 reg16 = 0; local
50 pci_read_config_word(dev, pos + PCI_EXP_DEVCTL, &reg16);
51 reg16 |= (PCI_EXP_DEVCTL_CERE |
55 pci_write_config_word(dev, pos + PCI_EXP_DEVCTL, reg16);
63 u16 reg16 = 0; local
73 pci_read_config_word(dev, pos + PCI_EXP_DEVCTL, &reg16);
74 reg16 &= ~(PCI_EXP_DEVCTL_CERE |
78 pci_write_config_word(dev, pos + PCI_EXP_DEVCTL, reg16);
127 u16 reg16; local
158 pci_read_config_word(dev, pos + PCI_EXP_DEVCTL, &reg16);
[all...]
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/staging/rt2860/
H A Dpci_main_dev.c505 u16 reg16, data2, PCIePowerSaveLevel, Configuration; local
687 &reg16);
688 Configuration = le2cpu16(reg16);
698 reg16 = cpu2le16(Configuration);
700 pAd->RLnkCtrlOffset, reg16);
729 &reg16);
730 Configuration = le2cpu16(reg16);
760 reg16 = cpu2le16(Configuration);
765 reg16);
799 &reg16);
819 u16 reg16; local
865 u16 PCIePowerSaveLevel, reg16; local
959 u16 PCIePowerSaveLevel, reg16; local
1090 u16 reg16; local
[all...]
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/arch/mips/include/asm/
H A Dprocessor.h205 unsigned long reg16; member in struct:thread_struct
259 .reg16 = 0, \
/netgear-R7000-V1.0.7.12_1.2.5/src/shared/
H A Dnicpci.c836 uint16 val16, *reg16; local
845 reg16 = &pcieregs->sprom[SRSH_ASPM_OFFSET];
846 val16 = R_REG(pi->osh, reg16);
856 W_REG(pi->osh, reg16, val16);
864 reg16 = &pcieregs->sprom[SRSH_CLKREQ_OFFSET_REV5];
865 val16 = R_REG(pi->osh, reg16);
873 W_REG(pi->osh, reg16, val16);
880 uint16 val16, *reg16; local
885 reg16 = &pcieregs->sprom[SRSH_CLKREQ_OFFSET_REV8];
886 val16 = R_REG(pi->osh, reg16);
920 uint16 val16, *reg16; local
936 uint16 *reg16; local
1747 uint16*reg16; local
[all...]
H A Dsiutils.c4756 uint16 val16, *reg16 = NULL; local
4775 reg16 = &pcieregs->sprom[SRSH_PI_OFFSET];
4779 reg16 = &pcieregs->sprom[SRSH_PI_OFFSET];
4783 reg16 = &pciregs->sprom[SRSH_PI_OFFSET];
4787 if (!reg16) return -1;
4789 val16 = R_REG(sii->osh, reg16);
4793 W_REG(sii->osh, reg16, val16);
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/pci/
H A Dprobe.c889 u16 reg16; local
896 pci_read_config_word(pdev, pos + PCI_EXP_FLAGS, &reg16);
897 pdev->pcie_type = (reg16 & PCI_EXP_FLAGS_TYPE) >> 4;
903 u16 reg16; local
909 pci_read_config_word(pdev, pos + PCI_EXP_FLAGS, &reg16);
910 if (!(reg16 & PCI_EXP_FLAGS_SLOT))
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/arch/score/kernel/
H A Dasm-offsets.c126 OFFSET(THREAD_REG16, task_struct, thread.reg16);
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/arch/mips/kernel/
H A Dasm-offsets.c108 OFFSET(THREAD_REG16, task_struct, thread.reg16);
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/net/e1000e/
H A Dnetdev.c5130 u16 reg16; local
5137 pci_read_config_word(pdev, pos + PCI_EXP_LNKCTL, &reg16);
5138 reg16 &= ~state;
5139 pci_write_config_word(pdev, pos + PCI_EXP_LNKCTL, reg16);
5145 pci_read_config_word(pdev->bus->self, pos + PCI_EXP_LNKCTL, &reg16);
5146 reg16 &= ~state;
5147 pci_write_config_word(pdev->bus->self, pos + PCI_EXP_LNKCTL, reg16);
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/staging/xgifb/
H A DXGI_main_26.c2854 u16 reg16; local
2868 pci_read_config_word(pdev, PCI_COMMAND, &reg16);
2870 XGIvga_enabled = reg16 & 0x01;
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/video/sis/
H A Dsis_main.c5717 u16 reg16; local
5749 pci_read_config_word(pdev, PCI_COMMAND, &reg16);
5750 ivideo->sisvga_enabled = reg16 & 0x01;

Completed in 151 milliseconds