/drivers/pci/pcie/ |
D | aspm.c | 157 u16 reg16; in pcie_clkpm_cap_init() local 169 pcie_capability_read_word(child, PCI_EXP_LNKCTL, ®16); in pcie_clkpm_cap_init() 170 if (!(reg16 & PCI_EXP_LNKCTL_CLKREQ_EN)) in pcie_clkpm_cap_init() 186 u16 reg16, parent_reg, child_reg[8]; in pcie_aspm_configure_common_clock() local 198 pcie_capability_read_word(child, PCI_EXP_LNKSTA, ®16); in pcie_aspm_configure_common_clock() 199 if (!(reg16 & PCI_EXP_LNKSTA_SLC)) in pcie_aspm_configure_common_clock() 203 pcie_capability_read_word(parent, PCI_EXP_LNKSTA, ®16); in pcie_aspm_configure_common_clock() 204 if (!(reg16 & PCI_EXP_LNKSTA_SLC)) in pcie_aspm_configure_common_clock() 209 pcie_capability_read_word(child, PCI_EXP_LNKCTL, ®16); in pcie_aspm_configure_common_clock() 210 child_reg[PCI_FUNC(child->devfn)] = reg16; in pcie_aspm_configure_common_clock() [all …]
|
D | portdrv_core.c | 79 u16 reg16; in pcie_port_enable_msix() local 123 pcie_capability_read_word(dev, PCI_EXP_FLAGS, ®16); in pcie_port_enable_msix() 124 entry = (reg16 & PCI_EXP_FLAGS_IRQ) >> 9; in pcie_port_enable_msix()
|
/drivers/pci/pcie/aer/ |
D | aerdrv.c | 126 u16 reg16; in aer_enable_rootport() local 130 pcie_capability_read_word(pdev, PCI_EXP_DEVSTA, ®16); in aer_enable_rootport() 131 pcie_capability_write_word(pdev, PCI_EXP_DEVSTA, reg16); in aer_enable_rootport() 394 u16 reg16; in aer_error_resume() local 397 pcie_capability_read_word(dev, PCI_EXP_DEVSTA, ®16); in aer_error_resume() 398 pcie_capability_write_word(dev, PCI_EXP_DEVSTA, reg16); in aer_error_resume()
|
D | aerdrv_core.c | 101 u16 reg16; in is_error_source() local 129 pcie_capability_read_word(dev, PCI_EXP_DEVCTL, ®16); in is_error_source() 130 if (!(reg16 & PCI_EXP_AER_FLAGS)) in is_error_source()
|
/drivers/media/i2c/smiapp/ |
D | smiapp-quirk.c | 80 u16 reg16 = reg; in smiapp_quirk_reg() local 82 if (sreg->type != type || sreg->reg != reg16) { in smiapp_quirk_reg()
|
/drivers/pci/hotplug/ |
D | pciehp_hpc.c | 808 u16 reg16; in dbg_ctrl() local 849 pciehp_readw(ctrl, PCI_EXP_SLTSTA, ®16); in dbg_ctrl() 850 ctrl_info(ctrl, "Slot Status : 0x%04x\n", reg16); in dbg_ctrl() 851 pciehp_readw(ctrl, PCI_EXP_SLTCTL, ®16); in dbg_ctrl() 852 ctrl_info(ctrl, "Slot Control : 0x%04x\n", reg16); in dbg_ctrl()
|
D | cpqphp_ctrl.c | 1136 u16 reg16; in set_controller_speed() local 1193 reg16 = readw(ctrl->hpc_reg + NEXT_CURR_FREQ); in set_controller_speed() 1194 reg16 &= ~0x000F; in set_controller_speed() 1198 reg16 |= 0xB; in set_controller_speed() 1202 reg16 |= 0xA; in set_controller_speed() 1206 reg16 |= 0x9; in set_controller_speed() 1210 reg16 |= 0x1; in set_controller_speed() 1217 reg16 |= 0xB << 12; in set_controller_speed() 1218 writew(reg16, ctrl->hpc_reg + NEXT_CURR_FREQ); in set_controller_speed()
|
/drivers/pci/ |
D | probe.c | 944 u16 reg16; in set_pcie_port_type() local 951 pci_read_config_word(pdev, pos + PCI_EXP_FLAGS, ®16); in set_pcie_port_type() 952 pdev->pcie_flags_reg = reg16; in set_pcie_port_type() 953 pci_read_config_word(pdev, pos + PCI_EXP_DEVCAP, ®16); in set_pcie_port_type() 954 pdev->pcie_mpss = reg16 & PCI_EXP_DEVCAP_PAYLOAD; in set_pcie_port_type()
|
/drivers/media/dvb-frontends/ |
D | drxk_hard.c | 6473 u16 reg16; in drxk_get_stats() local 6532 status = read16(state, OFDM_EC_VD_ERR_BIT_CNT__A, ®16); in drxk_get_stats() 6535 pre_bit_err_count = reg16; in drxk_get_stats() 6537 status = read16(state, OFDM_EC_VD_IN_BIT_CNT__A , ®16); in drxk_get_stats() 6540 pre_bit_count = reg16; in drxk_get_stats() 6543 status = read16(state, FEC_RS_NR_BIT_ERRORS__A, ®16); in drxk_get_stats() 6546 post_bit_err_count = reg16; in drxk_get_stats() 6548 status = read16(state, FEC_RS_MEASUREMENT_PRESCALE__A, ®16); in drxk_get_stats() 6551 post_bit_error_scale = reg16; in drxk_get_stats() 6553 status = read16(state, FEC_RS_MEASUREMENT_PERIOD__A, ®16); in drxk_get_stats() [all …]
|
/drivers/net/wireless/brcm80211/brcmsmac/phy/ |
D | phy_int.h | 363 u16 reg16; member
|
/drivers/video/sis/ |
D | sis_main.c | 5812 u16 reg16; in sisfb_probe() local 5844 pci_read_config_word(pdev, PCI_COMMAND, ®16); in sisfb_probe() 5845 ivideo->sisvga_enabled = reg16 & 0x01; in sisfb_probe()
|