Searched refs:tmp16 (Results 1 – 5 of 5) sorted by relevance
/dragonfly/sys/dev/drm/amd/amdgpu/ |
H A D | cik.c | 1383 u16 tmp16; in cik_pcie_gen3_enable() local 1436 tmp16 = gpu_cfg | PCI_EXP_LNKCTL_HAWD; in cik_pcie_gen3_enable() 1462 if (tmp16 & PCI_EXP_DEVSTA_TRPND) in cik_pcie_gen3_enable() 1483 tmp16 &= ~PCI_EXP_LNKCTL_HAWD; in cik_pcie_gen3_enable() 1488 tmp16 &= ~PCI_EXP_LNKCTL_HAWD; in cik_pcie_gen3_enable() 1494 tmp16 &= ~((1 << 4) | (7 << 9)); in cik_pcie_gen3_enable() 1499 tmp16 &= ~((1 << 4) | (7 << 9)); in cik_pcie_gen3_enable() 1517 tmp16 &= ~0xf; in cik_pcie_gen3_enable() 1519 tmp16 |= 3; /* gen3 */ in cik_pcie_gen3_enable() 1521 tmp16 |= 2; /* gen2 */ in cik_pcie_gen3_enable() [all …]
|
/dragonfly/sys/dev/drm/radeon/ |
H A D | si.c | 7087 u16 tmp16; in si_pcie_gen3_enable() local 7148 tmp16 = gpu_cfg | PCI_EXP_LNKCTL_HAWD; in si_pcie_gen3_enable() 7168 if (tmp16 & PCI_EXP_DEVSTA_TRPND) in si_pcie_gen3_enable() 7189 tmp16 &= ~PCI_EXP_LNKCTL_HAWD; in si_pcie_gen3_enable() 7194 tmp16 &= ~PCI_EXP_LNKCTL_HAWD; in si_pcie_gen3_enable() 7200 tmp16 &= ~((1 << 4) | (7 << 9)); in si_pcie_gen3_enable() 7205 tmp16 &= ~((1 << 4) | (7 << 9)); in si_pcie_gen3_enable() 7222 tmp16 &= ~0xf; in si_pcie_gen3_enable() 7224 tmp16 |= 3; /* gen3 */ in si_pcie_gen3_enable() 7226 tmp16 |= 2; /* gen2 */ in si_pcie_gen3_enable() [all …]
|
H A D | cik.c | 9474 u16 tmp16; in cik_pcie_gen3_enable() local 9535 tmp16 = gpu_cfg | PCI_EXP_LNKCTL_HAWD; in cik_pcie_gen3_enable() 9555 if (tmp16 & PCI_EXP_DEVSTA_TRPND) in cik_pcie_gen3_enable() 9576 tmp16 &= ~PCI_EXP_LNKCTL_HAWD; in cik_pcie_gen3_enable() 9581 tmp16 &= ~PCI_EXP_LNKCTL_HAWD; in cik_pcie_gen3_enable() 9587 tmp16 &= ~((1 << 4) | (7 << 9)); in cik_pcie_gen3_enable() 9592 tmp16 &= ~((1 << 4) | (7 << 9)); in cik_pcie_gen3_enable() 9609 tmp16 &= ~0xf; in cik_pcie_gen3_enable() 9611 tmp16 |= 3; /* gen3 */ in cik_pcie_gen3_enable() 9613 tmp16 |= 2; /* gen2 */ in cik_pcie_gen3_enable() [all …]
|
/dragonfly/sys/dev/netif/bwn/bwn/ |
H A D | if_bwn_phy_lp.c | 798 uint16_t old, scale, tmp16; in bwn_phy_lp_b2063_switch_channel() local 906 tmp16 = BWN_RF_READ(mac, BWN_B2063_JTAG_CALNRST) & 0xf8; in bwn_phy_lp_b2063_switch_channel() 907 BWN_RF_WRITE(mac, BWN_B2063_JTAG_CALNRST, tmp16); in bwn_phy_lp_b2063_switch_channel() 909 BWN_RF_WRITE(mac, BWN_B2063_JTAG_CALNRST, tmp16 | 0x4); in bwn_phy_lp_b2063_switch_channel() 911 BWN_RF_WRITE(mac, BWN_B2063_JTAG_CALNRST, tmp16 | 0x6); in bwn_phy_lp_b2063_switch_channel() 913 BWN_RF_WRITE(mac, BWN_B2063_JTAG_CALNRST, tmp16 | 0x7); in bwn_phy_lp_b2063_switch_channel()
|
H A D | if_bwn_phy_g.c | 2698 int16_t tmp16; in bwn_nrssi_threshold() local 2734 tmp16 = bwn_nrssi_read(mac, 0x20); in bwn_nrssi_threshold() 2735 if (tmp16 >= 0x20) in bwn_nrssi_threshold() 2736 tmp16 -= 0x40; in bwn_nrssi_threshold() 2737 BWN_PHY_SETMASK(mac, 0x048a, 0xf000, (tmp16 < 3) ? 0x09eb : 0x0aed); in bwn_nrssi_threshold()
|