Home
last modified time | relevance | path

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

/drivers/pci/pcie/
Daspm.c157 u16 reg16; in pcie_clkpm_cap_init() local
169 pcie_capability_read_word(child, PCI_EXP_LNKCTL, &reg16); 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, &reg16); 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, &reg16); 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, &reg16); in pcie_aspm_configure_common_clock()
210 child_reg[PCI_FUNC(child->devfn)] = reg16; in pcie_aspm_configure_common_clock()
[all …]
Dportdrv_core.c79 u16 reg16; in pcie_port_enable_msix() local
123 pcie_capability_read_word(dev, PCI_EXP_FLAGS, &reg16); in pcie_port_enable_msix()
124 entry = (reg16 & PCI_EXP_FLAGS_IRQ) >> 9; in pcie_port_enable_msix()
/drivers/pci/pcie/aer/
Daerdrv.c126 u16 reg16; in aer_enable_rootport() local
130 pcie_capability_read_word(pdev, PCI_EXP_DEVSTA, &reg16); 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, &reg16); in aer_error_resume()
398 pcie_capability_write_word(dev, PCI_EXP_DEVSTA, reg16); in aer_error_resume()
Daerdrv_core.c101 u16 reg16; in is_error_source() local
129 pcie_capability_read_word(dev, PCI_EXP_DEVCTL, &reg16); in is_error_source()
130 if (!(reg16 & PCI_EXP_AER_FLAGS)) in is_error_source()
/drivers/media/i2c/smiapp/
Dsmiapp-quirk.c80 u16 reg16 = reg; in smiapp_quirk_reg() local
82 if (sreg->type != type || sreg->reg != reg16) { in smiapp_quirk_reg()
/drivers/pci/hotplug/
Dpciehp_hpc.c808 u16 reg16; in dbg_ctrl() local
849 pciehp_readw(ctrl, PCI_EXP_SLTSTA, &reg16); in dbg_ctrl()
850 ctrl_info(ctrl, "Slot Status : 0x%04x\n", reg16); in dbg_ctrl()
851 pciehp_readw(ctrl, PCI_EXP_SLTCTL, &reg16); in dbg_ctrl()
852 ctrl_info(ctrl, "Slot Control : 0x%04x\n", reg16); in dbg_ctrl()
Dcpqphp_ctrl.c1136 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/
Dprobe.c944 u16 reg16; in set_pcie_port_type() local
951 pci_read_config_word(pdev, pos + PCI_EXP_FLAGS, &reg16); 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, &reg16); in set_pcie_port_type()
954 pdev->pcie_mpss = reg16 & PCI_EXP_DEVCAP_PAYLOAD; in set_pcie_port_type()
/drivers/media/dvb-frontends/
Ddrxk_hard.c6473 u16 reg16; in drxk_get_stats() local
6532 status = read16(state, OFDM_EC_VD_ERR_BIT_CNT__A, &reg16); 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 , &reg16); in drxk_get_stats()
6540 pre_bit_count = reg16; in drxk_get_stats()
6543 status = read16(state, FEC_RS_NR_BIT_ERRORS__A, &reg16); in drxk_get_stats()
6546 post_bit_err_count = reg16; in drxk_get_stats()
6548 status = read16(state, FEC_RS_MEASUREMENT_PRESCALE__A, &reg16); in drxk_get_stats()
6551 post_bit_error_scale = reg16; in drxk_get_stats()
6553 status = read16(state, FEC_RS_MEASUREMENT_PERIOD__A, &reg16); in drxk_get_stats()
[all …]
/drivers/net/wireless/brcm80211/brcmsmac/phy/
Dphy_int.h363 u16 reg16; member
/drivers/video/sis/
Dsis_main.c5812 u16 reg16; in sisfb_probe() local
5844 pci_read_config_word(pdev, PCI_COMMAND, &reg16); in sisfb_probe()
5845 ivideo->sisvga_enabled = reg16 & 0x01; in sisfb_probe()