tmp16 271 arch/mips/sgi-ip22/ip22-gio.c u8 tmp16; tmp16 299 arch/mips/sgi-ip22/ip22-gio.c get_dbe(tmp16, ptr16); tmp16 300 arch/mips/sgi-ip22/ip22-gio.c if (tmp8 == (tmp16 & 0xff) && tmp16 302 arch/mips/sgi-ip22/ip22-gio.c tmp16 == (tmp32 & 0xffff)) { tmp16 57 arch/sparc/kernel/pci_common.c u16 tmp16; tmp16 70 arch/sparc/kernel/pci_common.c pci_config_read16((u16 *)align, &tmp16); tmp16 72 arch/sparc/kernel/pci_common.c *value = tmp16 >> 8; tmp16 74 arch/sparc/kernel/pci_common.c *value = tmp16 & 0xff; tmp16 83 arch/sparc/kernel/pci_common.c pci_config_read16((u16 *)addr, &tmp16); tmp16 84 arch/sparc/kernel/pci_common.c *value = (u32) tmp16; tmp16 114 arch/sparc/kernel/pci_common.c u16 tmp16; tmp16 149 arch/sparc/kernel/pci_common.c pci_config_read16((u16 *)addr, &tmp16); tmp16 150 arch/sparc/kernel/pci_common.c *value = (u32) tmp16; tmp16 179 arch/sparc/kernel/pci_common.c u16 tmp16; tmp16 182 arch/sparc/kernel/pci_common.c pci_config_read16((u16 *)align, &tmp16); tmp16 184 arch/sparc/kernel/pci_common.c tmp16 &= 0x00ff; tmp16 185 arch/sparc/kernel/pci_common.c tmp16 |= value << 8; tmp16 187 arch/sparc/kernel/pci_common.c tmp16 &= 0xff00; tmp16 188 arch/sparc/kernel/pci_common.c tmp16 |= value; tmp16 190 arch/sparc/kernel/pci_common.c pci_config_write16((u16 *)align, tmp16); tmp16 1599 drivers/ata/ahci.c u16 tmp16; tmp16 1619 drivers/ata/ahci.c pci_read_config_word(pdev, PCS_6, &tmp16); tmp16 1620 drivers/ata/ahci.c if ((tmp16 & hpriv->port_map) != hpriv->port_map) { tmp16 1621 drivers/ata/ahci.c tmp16 |= hpriv->port_map; tmp16 1622 drivers/ata/ahci.c pci_write_config_word(pdev, PCS_6, tmp16); tmp16 6798 drivers/ata/libata-core.c u16 tmp16 = 0; tmp16 6799 drivers/ata/libata-core.c pci_read_config_word(pdev, bits->reg, &tmp16); tmp16 6800 drivers/ata/libata-core.c tmp = tmp16; tmp16 218 drivers/ata/pata_atiixp.c u16 tmp16; tmp16 220 drivers/ata/pata_atiixp.c pci_read_config_word(pdev, ATIIXP_IDE_UDMA_CONTROL, &tmp16); tmp16 222 drivers/ata/pata_atiixp.c tmp16 |= (1 << dn); tmp16 224 drivers/ata/pata_atiixp.c tmp16 &= ~(1 << dn); tmp16 225 drivers/ata/pata_atiixp.c pci_write_config_word(pdev, ATIIXP_IDE_UDMA_CONTROL, tmp16); tmp16 245 drivers/ata/pata_atiixp.c u16 tmp16; tmp16 247 drivers/ata/pata_atiixp.c pci_read_config_word(pdev, ATIIXP_IDE_UDMA_CONTROL, &tmp16); tmp16 248 drivers/ata/pata_atiixp.c tmp16 &= ~(1 << dn); tmp16 249 drivers/ata/pata_atiixp.c pci_write_config_word(pdev, ATIIXP_IDE_UDMA_CONTROL, tmp16); tmp16 1912 drivers/atm/iphase.c u_short tmp16; tmp16 2060 drivers/atm/iphase.c tmp16 = (iadev->seg_ram+CBR_SCHED_TABLE*iadev->memSize)>>17; tmp16 2061 drivers/atm/iphase.c IF_INIT(printk("cbr_ptr_base = 0x%x ", tmp16);) tmp16 2062 drivers/atm/iphase.c writew(tmp16,iadev->seg_reg+CBR_PTR_BASE); tmp16 2067 drivers/atm/iphase.c tmp16 = (CBR_SCHED_TABLE*iadev->memSize) >> 1; tmp16 2068 drivers/atm/iphase.c writew(tmp16, iadev->seg_reg+CBR_TAB_BEG); tmp16 2069 drivers/atm/iphase.c IF_INIT(printk("cbr_tab_beg = 0x%x in reg = 0x%x \n", tmp16, tmp16 2071 drivers/atm/iphase.c writew(tmp16, iadev->seg_reg+CBR_TAB_END+1); // CBR_PTR; tmp16 2072 drivers/atm/iphase.c tmp16 = (CBR_SCHED_TABLE*iadev->memSize + iadev->num_vc*6 - 2) >> 1; tmp16 2073 drivers/atm/iphase.c writew(tmp16, iadev->seg_reg+CBR_TAB_END); tmp16 1390 drivers/gpu/drm/amd/amdgpu/cik.c u16 tmp16; tmp16 1440 drivers/gpu/drm/amd/amdgpu/cik.c tmp16 = bridge_cfg | PCI_EXP_LNKCTL_HAWD; tmp16 1441 drivers/gpu/drm/amd/amdgpu/cik.c pci_write_config_word(root, bridge_pos + PCI_EXP_LNKCTL, tmp16); tmp16 1443 drivers/gpu/drm/amd/amdgpu/cik.c tmp16 = gpu_cfg | PCI_EXP_LNKCTL_HAWD; tmp16 1444 drivers/gpu/drm/amd/amdgpu/cik.c pci_write_config_word(adev->pdev, gpu_pos + PCI_EXP_LNKCTL, tmp16); tmp16 1468 drivers/gpu/drm/amd/amdgpu/cik.c pci_read_config_word(adev->pdev, gpu_pos + PCI_EXP_DEVSTA, &tmp16); tmp16 1469 drivers/gpu/drm/amd/amdgpu/cik.c if (tmp16 & PCI_EXP_DEVSTA_TRPND) tmp16 1489 drivers/gpu/drm/amd/amdgpu/cik.c pci_read_config_word(root, bridge_pos + PCI_EXP_LNKCTL, &tmp16); tmp16 1490 drivers/gpu/drm/amd/amdgpu/cik.c tmp16 &= ~PCI_EXP_LNKCTL_HAWD; tmp16 1491 drivers/gpu/drm/amd/amdgpu/cik.c tmp16 |= (bridge_cfg & PCI_EXP_LNKCTL_HAWD); tmp16 1492 drivers/gpu/drm/amd/amdgpu/cik.c pci_write_config_word(root, bridge_pos + PCI_EXP_LNKCTL, tmp16); tmp16 1494 drivers/gpu/drm/amd/amdgpu/cik.c pci_read_config_word(adev->pdev, gpu_pos + PCI_EXP_LNKCTL, &tmp16); tmp16 1495 drivers/gpu/drm/amd/amdgpu/cik.c tmp16 &= ~PCI_EXP_LNKCTL_HAWD; tmp16 1496 drivers/gpu/drm/amd/amdgpu/cik.c tmp16 |= (gpu_cfg & PCI_EXP_LNKCTL_HAWD); tmp16 1497 drivers/gpu/drm/amd/amdgpu/cik.c pci_write_config_word(adev->pdev, gpu_pos + PCI_EXP_LNKCTL, tmp16); tmp16 1500 drivers/gpu/drm/amd/amdgpu/cik.c pci_read_config_word(root, bridge_pos + PCI_EXP_LNKCTL2, &tmp16); tmp16 1501 drivers/gpu/drm/amd/amdgpu/cik.c tmp16 &= ~((1 << 4) | (7 << 9)); tmp16 1502 drivers/gpu/drm/amd/amdgpu/cik.c tmp16 |= (bridge_cfg2 & ((1 << 4) | (7 << 9))); tmp16 1503 drivers/gpu/drm/amd/amdgpu/cik.c pci_write_config_word(root, bridge_pos + PCI_EXP_LNKCTL2, tmp16); tmp16 1505 drivers/gpu/drm/amd/amdgpu/cik.c pci_read_config_word(adev->pdev, gpu_pos + PCI_EXP_LNKCTL2, &tmp16); tmp16 1506 drivers/gpu/drm/amd/amdgpu/cik.c tmp16 &= ~((1 << 4) | (7 << 9)); tmp16 1507 drivers/gpu/drm/amd/amdgpu/cik.c tmp16 |= (gpu_cfg2 & ((1 << 4) | (7 << 9))); tmp16 1508 drivers/gpu/drm/amd/amdgpu/cik.c pci_write_config_word(adev->pdev, gpu_pos + PCI_EXP_LNKCTL2, tmp16); tmp16 1523 drivers/gpu/drm/amd/amdgpu/cik.c pci_read_config_word(adev->pdev, gpu_pos + PCI_EXP_LNKCTL2, &tmp16); tmp16 1524 drivers/gpu/drm/amd/amdgpu/cik.c tmp16 &= ~0xf; tmp16 1526 drivers/gpu/drm/amd/amdgpu/cik.c tmp16 |= 3; /* gen3 */ tmp16 1528 drivers/gpu/drm/amd/amdgpu/cik.c tmp16 |= 2; /* gen2 */ tmp16 1530 drivers/gpu/drm/amd/amdgpu/cik.c tmp16 |= 1; /* gen1 */ tmp16 1531 drivers/gpu/drm/amd/amdgpu/cik.c pci_write_config_word(adev->pdev, gpu_pos + PCI_EXP_LNKCTL2, tmp16); tmp16 1639 drivers/gpu/drm/amd/amdgpu/si.c u16 tmp16; tmp16 1688 drivers/gpu/drm/amd/amdgpu/si.c tmp16 = bridge_cfg | PCI_EXP_LNKCTL_HAWD; tmp16 1689 drivers/gpu/drm/amd/amdgpu/si.c pci_write_config_word(root, bridge_pos + PCI_EXP_LNKCTL, tmp16); tmp16 1691 drivers/gpu/drm/amd/amdgpu/si.c tmp16 = gpu_cfg | PCI_EXP_LNKCTL_HAWD; tmp16 1692 drivers/gpu/drm/amd/amdgpu/si.c pci_write_config_word(adev->pdev, gpu_pos + PCI_EXP_LNKCTL, tmp16); tmp16 1709 drivers/gpu/drm/amd/amdgpu/si.c pci_read_config_word(adev->pdev, gpu_pos + PCI_EXP_DEVSTA, &tmp16); tmp16 1710 drivers/gpu/drm/amd/amdgpu/si.c if (tmp16 & PCI_EXP_DEVSTA_TRPND) tmp16 1729 drivers/gpu/drm/amd/amdgpu/si.c pci_read_config_word(root, bridge_pos + PCI_EXP_LNKCTL, &tmp16); tmp16 1730 drivers/gpu/drm/amd/amdgpu/si.c tmp16 &= ~PCI_EXP_LNKCTL_HAWD; tmp16 1731 drivers/gpu/drm/amd/amdgpu/si.c tmp16 |= (bridge_cfg & PCI_EXP_LNKCTL_HAWD); tmp16 1732 drivers/gpu/drm/amd/amdgpu/si.c pci_write_config_word(root, bridge_pos + PCI_EXP_LNKCTL, tmp16); tmp16 1734 drivers/gpu/drm/amd/amdgpu/si.c pci_read_config_word(adev->pdev, gpu_pos + PCI_EXP_LNKCTL, &tmp16); tmp16 1735 drivers/gpu/drm/amd/amdgpu/si.c tmp16 &= ~PCI_EXP_LNKCTL_HAWD; tmp16 1736 drivers/gpu/drm/amd/amdgpu/si.c tmp16 |= (gpu_cfg & PCI_EXP_LNKCTL_HAWD); tmp16 1737 drivers/gpu/drm/amd/amdgpu/si.c pci_write_config_word(adev->pdev, gpu_pos + PCI_EXP_LNKCTL, tmp16); tmp16 1739 drivers/gpu/drm/amd/amdgpu/si.c pci_read_config_word(root, bridge_pos + PCI_EXP_LNKCTL2, &tmp16); tmp16 1740 drivers/gpu/drm/amd/amdgpu/si.c tmp16 &= ~((1 << 4) | (7 << 9)); tmp16 1741 drivers/gpu/drm/amd/amdgpu/si.c tmp16 |= (bridge_cfg2 & ((1 << 4) | (7 << 9))); tmp16 1742 drivers/gpu/drm/amd/amdgpu/si.c pci_write_config_word(root, bridge_pos + PCI_EXP_LNKCTL2, tmp16); tmp16 1744 drivers/gpu/drm/amd/amdgpu/si.c pci_read_config_word(adev->pdev, gpu_pos + PCI_EXP_LNKCTL2, &tmp16); tmp16 1745 drivers/gpu/drm/amd/amdgpu/si.c tmp16 &= ~((1 << 4) | (7 << 9)); tmp16 1746 drivers/gpu/drm/amd/amdgpu/si.c tmp16 |= (gpu_cfg2 & ((1 << 4) | (7 << 9))); tmp16 1747 drivers/gpu/drm/amd/amdgpu/si.c pci_write_config_word(adev->pdev, gpu_pos + PCI_EXP_LNKCTL2, tmp16); tmp16 1760 drivers/gpu/drm/amd/amdgpu/si.c pci_read_config_word(adev->pdev, gpu_pos + PCI_EXP_LNKCTL2, &tmp16); tmp16 1761 drivers/gpu/drm/amd/amdgpu/si.c tmp16 &= ~0xf; tmp16 1763 drivers/gpu/drm/amd/amdgpu/si.c tmp16 |= 3; tmp16 1765 drivers/gpu/drm/amd/amdgpu/si.c tmp16 |= 2; tmp16 1767 drivers/gpu/drm/amd/amdgpu/si.c tmp16 |= 1; tmp16 1768 drivers/gpu/drm/amd/amdgpu/si.c pci_write_config_word(adev->pdev, gpu_pos + PCI_EXP_LNKCTL2, tmp16); tmp16 9510 drivers/gpu/drm/radeon/cik.c u16 tmp16; tmp16 9567 drivers/gpu/drm/radeon/cik.c tmp16 = bridge_cfg | PCI_EXP_LNKCTL_HAWD; tmp16 9568 drivers/gpu/drm/radeon/cik.c pci_write_config_word(root, bridge_pos + PCI_EXP_LNKCTL, tmp16); tmp16 9570 drivers/gpu/drm/radeon/cik.c tmp16 = gpu_cfg | PCI_EXP_LNKCTL_HAWD; tmp16 9571 drivers/gpu/drm/radeon/cik.c pci_write_config_word(rdev->pdev, gpu_pos + PCI_EXP_LNKCTL, tmp16); tmp16 9589 drivers/gpu/drm/radeon/cik.c pci_read_config_word(rdev->pdev, gpu_pos + PCI_EXP_DEVSTA, &tmp16); tmp16 9590 drivers/gpu/drm/radeon/cik.c if (tmp16 & PCI_EXP_DEVSTA_TRPND) tmp16 9610 drivers/gpu/drm/radeon/cik.c pci_read_config_word(root, bridge_pos + PCI_EXP_LNKCTL, &tmp16); tmp16 9611 drivers/gpu/drm/radeon/cik.c tmp16 &= ~PCI_EXP_LNKCTL_HAWD; tmp16 9612 drivers/gpu/drm/radeon/cik.c tmp16 |= (bridge_cfg & PCI_EXP_LNKCTL_HAWD); tmp16 9613 drivers/gpu/drm/radeon/cik.c pci_write_config_word(root, bridge_pos + PCI_EXP_LNKCTL, tmp16); tmp16 9615 drivers/gpu/drm/radeon/cik.c pci_read_config_word(rdev->pdev, gpu_pos + PCI_EXP_LNKCTL, &tmp16); tmp16 9616 drivers/gpu/drm/radeon/cik.c tmp16 &= ~PCI_EXP_LNKCTL_HAWD; tmp16 9617 drivers/gpu/drm/radeon/cik.c tmp16 |= (gpu_cfg & PCI_EXP_LNKCTL_HAWD); tmp16 9618 drivers/gpu/drm/radeon/cik.c pci_write_config_word(rdev->pdev, gpu_pos + PCI_EXP_LNKCTL, tmp16); tmp16 9621 drivers/gpu/drm/radeon/cik.c pci_read_config_word(root, bridge_pos + PCI_EXP_LNKCTL2, &tmp16); tmp16 9622 drivers/gpu/drm/radeon/cik.c tmp16 &= ~((1 << 4) | (7 << 9)); tmp16 9623 drivers/gpu/drm/radeon/cik.c tmp16 |= (bridge_cfg2 & ((1 << 4) | (7 << 9))); tmp16 9624 drivers/gpu/drm/radeon/cik.c pci_write_config_word(root, bridge_pos + PCI_EXP_LNKCTL2, tmp16); tmp16 9626 drivers/gpu/drm/radeon/cik.c pci_read_config_word(rdev->pdev, gpu_pos + PCI_EXP_LNKCTL2, &tmp16); tmp16 9627 drivers/gpu/drm/radeon/cik.c tmp16 &= ~((1 << 4) | (7 << 9)); tmp16 9628 drivers/gpu/drm/radeon/cik.c tmp16 |= (gpu_cfg2 & ((1 << 4) | (7 << 9))); tmp16 9629 drivers/gpu/drm/radeon/cik.c pci_write_config_word(rdev->pdev, gpu_pos + PCI_EXP_LNKCTL2, tmp16); tmp16 9643 drivers/gpu/drm/radeon/cik.c pci_read_config_word(rdev->pdev, gpu_pos + PCI_EXP_LNKCTL2, &tmp16); tmp16 9644 drivers/gpu/drm/radeon/cik.c tmp16 &= ~0xf; tmp16 9646 drivers/gpu/drm/radeon/cik.c tmp16 |= 3; /* gen3 */ tmp16 9648 drivers/gpu/drm/radeon/cik.c tmp16 |= 2; /* gen2 */ tmp16 9650 drivers/gpu/drm/radeon/cik.c tmp16 |= 1; /* gen1 */ tmp16 9651 drivers/gpu/drm/radeon/cik.c pci_write_config_word(rdev->pdev, gpu_pos + PCI_EXP_LNKCTL2, tmp16); tmp16 7093 drivers/gpu/drm/radeon/si.c u16 tmp16; tmp16 7150 drivers/gpu/drm/radeon/si.c tmp16 = bridge_cfg | PCI_EXP_LNKCTL_HAWD; tmp16 7151 drivers/gpu/drm/radeon/si.c pci_write_config_word(root, bridge_pos + PCI_EXP_LNKCTL, tmp16); tmp16 7153 drivers/gpu/drm/radeon/si.c tmp16 = gpu_cfg | PCI_EXP_LNKCTL_HAWD; tmp16 7154 drivers/gpu/drm/radeon/si.c pci_write_config_word(rdev->pdev, gpu_pos + PCI_EXP_LNKCTL, tmp16); tmp16 7172 drivers/gpu/drm/radeon/si.c pci_read_config_word(rdev->pdev, gpu_pos + PCI_EXP_DEVSTA, &tmp16); tmp16 7173 drivers/gpu/drm/radeon/si.c if (tmp16 & PCI_EXP_DEVSTA_TRPND) tmp16 7193 drivers/gpu/drm/radeon/si.c pci_read_config_word(root, bridge_pos + PCI_EXP_LNKCTL, &tmp16); tmp16 7194 drivers/gpu/drm/radeon/si.c tmp16 &= ~PCI_EXP_LNKCTL_HAWD; tmp16 7195 drivers/gpu/drm/radeon/si.c tmp16 |= (bridge_cfg & PCI_EXP_LNKCTL_HAWD); tmp16 7196 drivers/gpu/drm/radeon/si.c pci_write_config_word(root, bridge_pos + PCI_EXP_LNKCTL, tmp16); tmp16 7198 drivers/gpu/drm/radeon/si.c pci_read_config_word(rdev->pdev, gpu_pos + PCI_EXP_LNKCTL, &tmp16); tmp16 7199 drivers/gpu/drm/radeon/si.c tmp16 &= ~PCI_EXP_LNKCTL_HAWD; tmp16 7200 drivers/gpu/drm/radeon/si.c tmp16 |= (gpu_cfg & PCI_EXP_LNKCTL_HAWD); tmp16 7201 drivers/gpu/drm/radeon/si.c pci_write_config_word(rdev->pdev, gpu_pos + PCI_EXP_LNKCTL, tmp16); tmp16 7204 drivers/gpu/drm/radeon/si.c pci_read_config_word(root, bridge_pos + PCI_EXP_LNKCTL2, &tmp16); tmp16 7205 drivers/gpu/drm/radeon/si.c tmp16 &= ~((1 << 4) | (7 << 9)); tmp16 7206 drivers/gpu/drm/radeon/si.c tmp16 |= (bridge_cfg2 & ((1 << 4) | (7 << 9))); tmp16 7207 drivers/gpu/drm/radeon/si.c pci_write_config_word(root, bridge_pos + PCI_EXP_LNKCTL2, tmp16); tmp16 7209 drivers/gpu/drm/radeon/si.c pci_read_config_word(rdev->pdev, gpu_pos + PCI_EXP_LNKCTL2, &tmp16); tmp16 7210 drivers/gpu/drm/radeon/si.c tmp16 &= ~((1 << 4) | (7 << 9)); tmp16 7211 drivers/gpu/drm/radeon/si.c tmp16 |= (gpu_cfg2 & ((1 << 4) | (7 << 9))); tmp16 7212 drivers/gpu/drm/radeon/si.c pci_write_config_word(rdev->pdev, gpu_pos + PCI_EXP_LNKCTL2, tmp16); tmp16 7226 drivers/gpu/drm/radeon/si.c pci_read_config_word(rdev->pdev, gpu_pos + PCI_EXP_LNKCTL2, &tmp16); tmp16 7227 drivers/gpu/drm/radeon/si.c tmp16 &= ~0xf; tmp16 7229 drivers/gpu/drm/radeon/si.c tmp16 |= 3; /* gen3 */ tmp16 7231 drivers/gpu/drm/radeon/si.c tmp16 |= 2; /* gen2 */ tmp16 7233 drivers/gpu/drm/radeon/si.c tmp16 |= 1; /* gen1 */ tmp16 7234 drivers/gpu/drm/radeon/si.c pci_write_config_word(rdev->pdev, gpu_pos + PCI_EXP_LNKCTL2, tmp16); tmp16 92 drivers/ide/atiixp.c u16 tmp16; tmp16 101 drivers/ide/atiixp.c pci_read_config_word(dev, ATIIXP_IDE_UDMA_MODE, &tmp16); tmp16 102 drivers/ide/atiixp.c tmp16 &= ~(0x07 << (drive->dn * 4)); tmp16 103 drivers/ide/atiixp.c tmp16 |= ((speed & 0x07) << (drive->dn * 4)); tmp16 104 drivers/ide/atiixp.c pci_write_config_word(dev, ATIIXP_IDE_UDMA_MODE, tmp16); tmp16 825 drivers/media/usb/dvb-usb-v2/af9035.c u16 tmp16; tmp16 960 drivers/media/usb/dvb-usb-v2/af9035.c tmp16 = tmp << 0; tmp16 962 drivers/media/usb/dvb-usb-v2/af9035.c tmp16 |= tmp << 8; tmp16 963 drivers/media/usb/dvb-usb-v2/af9035.c dev_dbg(&intf->dev, "[%d]IF=%d\n", i, tmp16); tmp16 345 drivers/net/can/usb/peak_usb/pcan_usb.c __le16 tmp16; tmp16 350 drivers/net/can/usb/peak_usb/pcan_usb.c memcpy(&tmp16, mc->ptr, 2); tmp16 352 drivers/net/can/usb/peak_usb/pcan_usb.c mc->ts16 = le16_to_cpu(tmp16); tmp16 369 drivers/net/can/usb/peak_usb/pcan_usb.c __le16 tmp16; tmp16 374 drivers/net/can/usb/peak_usb/pcan_usb.c memcpy(&tmp16, mc->ptr, 2); tmp16 377 drivers/net/can/usb/peak_usb/pcan_usb.c mc->ts16 = le16_to_cpu(tmp16); tmp16 632 drivers/net/can/usb/peak_usb/pcan_usb.c __le16 tmp16; tmp16 637 drivers/net/can/usb/peak_usb/pcan_usb.c memcpy(&tmp16, mc->ptr, 2); tmp16 640 drivers/net/can/usb/peak_usb/pcan_usb.c cf->can_id = le16_to_cpu(tmp16) >> 5; tmp16 759 drivers/net/can/usb/peak_usb/pcan_usb.c __le16 tmp16 = cpu_to_le16((cf->can_id & CAN_ERR_MASK) << 5); tmp16 761 drivers/net/can/usb/peak_usb/pcan_usb.c memcpy(++pc, &tmp16, 2); tmp16 738 drivers/net/can/usb/peak_usb/pcan_usb_core.c u16 tmp16; tmp16 805 drivers/net/can/usb/peak_usb/pcan_usb_core.c tmp16 = le16_to_cpu(usb_dev->descriptor.bcdDevice); tmp16 806 drivers/net/can/usb/peak_usb/pcan_usb_core.c dev->device_rev = tmp16 >> 8; tmp16 202 drivers/net/ethernet/cirrus/cs89x0.c u16 tmp16; tmp16 204 drivers/net/ethernet/cirrus/cs89x0.c tmp16 = ioread16(lp->virt_addr + portno); tmp16 205 drivers/net/ethernet/cirrus/cs89x0.c *buf8++ = (u8)tmp16; tmp16 206 drivers/net/ethernet/cirrus/cs89x0.c *buf8++ = (u8)(tmp16 >> 8); tmp16 215 drivers/net/ethernet/cirrus/cs89x0.c u16 tmp16; tmp16 217 drivers/net/ethernet/cirrus/cs89x0.c tmp16 = *buf8++; tmp16 218 drivers/net/ethernet/cirrus/cs89x0.c tmp16 |= (*buf8++) << 8; tmp16 219 drivers/net/ethernet/cirrus/cs89x0.c iowrite16(tmp16, lp->virt_addr + portno); tmp16 197 drivers/net/ethernet/dec/tulip/xircom_cb.c unsigned short tmp16; tmp16 212 drivers/net/ethernet/dec/tulip/xircom_cb.c pci_read_config_word (pdev,PCI_STATUS, &tmp16); tmp16 213 drivers/net/ethernet/dec/tulip/xircom_cb.c pci_write_config_word (pdev, PCI_STATUS,tmp16); tmp16 373 drivers/net/usb/ax88179_178a.c u16 tmp16; tmp16 376 drivers/net/usb/ax88179_178a.c tmp16 = devad; tmp16 378 drivers/net/usb/ax88179_178a.c MII_MMD_CTRL, 2, &tmp16); tmp16 380 drivers/net/usb/ax88179_178a.c tmp16 = prtad; tmp16 382 drivers/net/usb/ax88179_178a.c MII_MMD_DATA, 2, &tmp16); tmp16 384 drivers/net/usb/ax88179_178a.c tmp16 = devad | MII_MMD_CTRL_NOINCR; tmp16 386 drivers/net/usb/ax88179_178a.c MII_MMD_CTRL, 2, &tmp16); tmp16 395 drivers/net/usb/ax88179_178a.c u16 tmp16; tmp16 400 drivers/net/usb/ax88179_178a.c MII_MMD_DATA, 2, &tmp16); tmp16 404 drivers/net/usb/ax88179_178a.c return tmp16; tmp16 427 drivers/net/usb/ax88179_178a.c u16 tmp16; tmp16 434 drivers/net/usb/ax88179_178a.c 2, 2, &tmp16); tmp16 435 drivers/net/usb/ax88179_178a.c tmp16 &= ~AX_MEDIUM_RECEIVE_EN; tmp16 437 drivers/net/usb/ax88179_178a.c 2, 2, &tmp16); tmp16 441 drivers/net/usb/ax88179_178a.c 2, 2, &tmp16); tmp16 443 drivers/net/usb/ax88179_178a.c tmp16 |= AX_PHYPWR_RSTCTL_BZ | AX_PHYPWR_RSTCTL_IPRL; tmp16 445 drivers/net/usb/ax88179_178a.c 2, 2, &tmp16); tmp16 452 drivers/net/usb/ax88179_178a.c tmp16 = AX_RX_CTL_STOP; tmp16 453 drivers/net/usb/ax88179_178a.c ax88179_write_cmd_nopm(dev, AX_ACCESS_MAC, AX_RX_CTL, 2, 2, &tmp16); tmp16 462 drivers/net/usb/ax88179_178a.c u16 tmp16; tmp16 475 drivers/net/usb/ax88179_178a.c if (fnr(dev, AX_ACCESS_EEPROM, 0x43, 1, 2, &tmp16) < 0) tmp16 478 drivers/net/usb/ax88179_178a.c if ((tmp16 == 0xFFFF) || (!(tmp16 & 0x0100))) tmp16 487 drivers/net/usb/ax88179_178a.c fnr(dev, AX_ACCESS_MAC, AX_PHYPWR_RSTCTL, 2, 2, &tmp16); tmp16 488 drivers/net/usb/ax88179_178a.c tmp16 |= AX_PHYPWR_RSTCTL_AT; tmp16 489 drivers/net/usb/ax88179_178a.c fnw(dev, AX_ACCESS_MAC, AX_PHYPWR_RSTCTL, 2, 2, &tmp16); tmp16 497 drivers/net/usb/ax88179_178a.c u16 tmp16; tmp16 503 drivers/net/usb/ax88179_178a.c tmp16 = 0; tmp16 505 drivers/net/usb/ax88179_178a.c 2, 2, &tmp16); tmp16 508 drivers/net/usb/ax88179_178a.c tmp16 = AX_PHYPWR_RSTCTL_IPRL; tmp16 510 drivers/net/usb/ax88179_178a.c 2, 2, &tmp16); tmp16 523 drivers/net/usb/ax88179_178a.c tmp16 = AX_RX_CTL_DROPCRCERR | AX_RX_CTL_IPE | AX_RX_CTL_START | tmp16 525 drivers/net/usb/ax88179_178a.c ax88179_write_cmd_nopm(dev, AX_ACCESS_MAC, AX_RX_CTL, 2, 2, &tmp16); tmp16 663 drivers/net/usb/ax88179_178a.c u16 tmp16 = ethtool_adv_to_mmd_eee_adv_t(data->advertised); tmp16 666 drivers/net/usb/ax88179_178a.c MDIO_MMD_AN, tmp16); tmp16 732 drivers/net/usb/ax88179_178a.c u16 tmp16; tmp16 734 drivers/net/usb/ax88179_178a.c tmp16 = GMII_PHY_PGSEL_PAGE3; tmp16 736 drivers/net/usb/ax88179_178a.c GMII_PHY_PAGE_SELECT, 2, &tmp16); tmp16 738 drivers/net/usb/ax88179_178a.c tmp16 = 0x3246; tmp16 740 drivers/net/usb/ax88179_178a.c MII_PHYADDR, 2, &tmp16); tmp16 742 drivers/net/usb/ax88179_178a.c tmp16 = GMII_PHY_PGSEL_PAGE0; tmp16 744 drivers/net/usb/ax88179_178a.c GMII_PHY_PAGE_SELECT, 2, &tmp16); tmp16 749 drivers/net/usb/ax88179_178a.c u16 tmp16; tmp16 751 drivers/net/usb/ax88179_178a.c tmp16 = GMII_PHY_PGSEL_PAGE3; tmp16 753 drivers/net/usb/ax88179_178a.c GMII_PHY_PAGE_SELECT, 2, &tmp16); tmp16 755 drivers/net/usb/ax88179_178a.c tmp16 = 0x3247; tmp16 757 drivers/net/usb/ax88179_178a.c MII_PHYADDR, 2, &tmp16); tmp16 759 drivers/net/usb/ax88179_178a.c tmp16 = GMII_PHY_PGSEL_PAGE5; tmp16 761 drivers/net/usb/ax88179_178a.c GMII_PHY_PAGE_SELECT, 2, &tmp16); tmp16 763 drivers/net/usb/ax88179_178a.c tmp16 = 0x0680; tmp16 765 drivers/net/usb/ax88179_178a.c MII_BMSR, 2, &tmp16); tmp16 767 drivers/net/usb/ax88179_178a.c tmp16 = GMII_PHY_PGSEL_PAGE0; tmp16 769 drivers/net/usb/ax88179_178a.c GMII_PHY_PAGE_SELECT, 2, &tmp16); tmp16 904 drivers/net/usb/ax88179_178a.c u16 tmp16; tmp16 911 drivers/net/usb/ax88179_178a.c 2, 2, &tmp16); tmp16 912 drivers/net/usb/ax88179_178a.c tmp16 |= AX_MEDIUM_JUMBO_EN; tmp16 914 drivers/net/usb/ax88179_178a.c 2, 2, &tmp16); tmp16 917 drivers/net/usb/ax88179_178a.c 2, 2, &tmp16); tmp16 918 drivers/net/usb/ax88179_178a.c tmp16 &= ~AX_MEDIUM_JUMBO_EN; tmp16 920 drivers/net/usb/ax88179_178a.c 2, 2, &tmp16); tmp16 1220 drivers/net/usb/ax88179_178a.c u16 *tmp16; tmp16 1227 drivers/net/usb/ax88179_178a.c tmp16 = (u16 *)buf; tmp16 1233 drivers/net/usb/ax88179_178a.c *tmp16 = 0; tmp16 1234 drivers/net/usb/ax88179_178a.c ax88179_write_cmd(dev, AX_ACCESS_MAC, AX_PHYPWR_RSTCTL, 2, 2, tmp16); tmp16 1235 drivers/net/usb/ax88179_178a.c *tmp16 = AX_PHYPWR_RSTCTL_IPRL; tmp16 1236 drivers/net/usb/ax88179_178a.c ax88179_write_cmd(dev, AX_ACCESS_MAC, AX_PHYPWR_RSTCTL, 2, 2, tmp16); tmp16 1290 drivers/net/usb/ax88179_178a.c *tmp16 = AX_RX_CTL_DROPCRCERR | AX_RX_CTL_IPE | AX_RX_CTL_START | tmp16 1292 drivers/net/usb/ax88179_178a.c ax88179_write_cmd(dev, AX_ACCESS_MAC, AX_RX_CTL, 2, 2, tmp16); tmp16 1299 drivers/net/usb/ax88179_178a.c *tmp16 = AX_MEDIUM_RECEIVE_EN | AX_MEDIUM_TXFLOW_CTRLEN | tmp16 1303 drivers/net/usb/ax88179_178a.c 2, 2, tmp16); tmp16 1326 drivers/net/usb/ax88179_178a.c u16 tmp16; tmp16 1329 drivers/net/usb/ax88179_178a.c tmp16 = AX_RX_CTL_STOP; tmp16 1330 drivers/net/usb/ax88179_178a.c ax88179_write_cmd(dev, AX_ACCESS_MAC, AX_RX_CTL, 2, 2, &tmp16); tmp16 1332 drivers/net/usb/ax88179_178a.c tmp16 = 0; tmp16 1333 drivers/net/usb/ax88179_178a.c ax88179_write_cmd(dev, AX_ACCESS_MAC, AX_CLK_SELECT, 1, 1, &tmp16); tmp16 1336 drivers/net/usb/ax88179_178a.c tmp16 = 0; tmp16 1337 drivers/net/usb/ax88179_178a.c ax88179_write_cmd(dev, AX_ACCESS_MAC, AX_PHYPWR_RSTCTL, 2, 2, &tmp16); tmp16 1450 drivers/net/usb/ax88179_178a.c u16 mode, tmp16, delay = HZ / 10; tmp16 1475 drivers/net/usb/ax88179_178a.c GMII_PHY_PHYSR, 2, &tmp16); tmp16 1477 drivers/net/usb/ax88179_178a.c if (!(tmp16 & GMII_PHY_PHYSR_LINK)) { tmp16 1479 drivers/net/usb/ax88179_178a.c } else if (GMII_PHY_PHYSR_GIGA == (tmp16 & GMII_PHY_PHYSR_SMASK)) { tmp16 1490 drivers/net/usb/ax88179_178a.c } else if (GMII_PHY_PHYSR_100 == (tmp16 & GMII_PHY_PHYSR_SMASK)) { tmp16 1506 drivers/net/usb/ax88179_178a.c if (tmp16 & GMII_PHY_PHYSR_FULL) tmp16 1521 drivers/net/usb/ax88179_178a.c u16 *tmp16; tmp16 1526 drivers/net/usb/ax88179_178a.c tmp16 = (u16 *)buf; tmp16 1530 drivers/net/usb/ax88179_178a.c *tmp16 = 0; tmp16 1531 drivers/net/usb/ax88179_178a.c ax88179_write_cmd(dev, AX_ACCESS_MAC, AX_PHYPWR_RSTCTL, 2, 2, tmp16); tmp16 1533 drivers/net/usb/ax88179_178a.c *tmp16 = AX_PHYPWR_RSTCTL_IPRL; tmp16 1534 drivers/net/usb/ax88179_178a.c ax88179_write_cmd(dev, AX_ACCESS_MAC, AX_PHYPWR_RSTCTL, 2, 2, tmp16); tmp16 1576 drivers/net/usb/ax88179_178a.c *tmp16 = AX_RX_CTL_DROPCRCERR | AX_RX_CTL_IPE | AX_RX_CTL_START | tmp16 1578 drivers/net/usb/ax88179_178a.c ax88179_write_cmd(dev, AX_ACCESS_MAC, AX_RX_CTL, 2, 2, tmp16); tmp16 1585 drivers/net/usb/ax88179_178a.c *tmp16 = AX_MEDIUM_RECEIVE_EN | AX_MEDIUM_TXFLOW_CTRLEN | tmp16 1589 drivers/net/usb/ax88179_178a.c 2, 2, tmp16); tmp16 1612 drivers/net/usb/ax88179_178a.c u16 tmp16; tmp16 1615 drivers/net/usb/ax88179_178a.c 2, 2, &tmp16); tmp16 1616 drivers/net/usb/ax88179_178a.c tmp16 &= ~AX_MEDIUM_RECEIVE_EN; tmp16 1618 drivers/net/usb/ax88179_178a.c 2, 2, &tmp16); tmp16 703 drivers/net/wireless/broadcom/b43/phy_g.c s16 tmp16; tmp16 710 drivers/net/wireless/broadcom/b43/phy_g.c tmp16 = b43_nrssi_hw_read(dev, 0x20); tmp16 711 drivers/net/wireless/broadcom/b43/phy_g.c if (tmp16 >= 0x20) tmp16 712 drivers/net/wireless/broadcom/b43/phy_g.c tmp16 -= 0x40; tmp16 713 drivers/net/wireless/broadcom/b43/phy_g.c if (tmp16 < 3) { tmp16 3173 drivers/net/wireless/broadcom/b43/phy_n.c u16 tmp16; tmp16 3212 drivers/net/wireless/broadcom/b43/phy_n.c tmp16 = (b43_current_band(dev->wl) == NL80211_BAND_2GHZ) ? tmp16 3214 drivers/net/wireless/broadcom/b43/phy_n.c b43_phy_write(dev, B43_NPHY_ENDROP_TLEN, tmp16); tmp16 3271 drivers/net/wireless/broadcom/b43/phy_n.c tmp16 = 0x96; tmp16 3275 drivers/net/wireless/broadcom/b43/phy_n.c tmp16 = 0x89; tmp16 3281 drivers/net/wireless/broadcom/b43/phy_n.c tmp16 = 0x8b; tmp16 3285 drivers/net/wireless/broadcom/b43/phy_n.c tmp16 = 0x70; tmp16 3291 drivers/net/wireless/broadcom/b43/phy_n.c vmid[3] = tmp16; tmp16 6276 drivers/net/wireless/broadcom/b43/phy_n.c u16 tmp16; tmp16 6282 drivers/net/wireless/broadcom/b43/phy_n.c tmp16 = b43_read16(dev, B43_MMIO_PSM_PHY_HDR); tmp16 6283 drivers/net/wireless/broadcom/b43/phy_n.c b43_write16(dev, B43_MMIO_PSM_PHY_HDR, tmp16 | 4); tmp16 6287 drivers/net/wireless/broadcom/b43/phy_n.c b43_write16(dev, B43_MMIO_PSM_PHY_HDR, tmp16); tmp16 6291 drivers/net/wireless/broadcom/b43/phy_n.c tmp16 = b43_read16(dev, B43_MMIO_PSM_PHY_HDR); tmp16 6292 drivers/net/wireless/broadcom/b43/phy_n.c b43_write16(dev, B43_MMIO_PSM_PHY_HDR, tmp16 | 4); tmp16 6296 drivers/net/wireless/broadcom/b43/phy_n.c b43_write16(dev, B43_MMIO_PSM_PHY_HDR, tmp16); tmp16 807 drivers/net/wireless/broadcom/b43legacy/radio.c s16 tmp16; tmp16 846 drivers/net/wireless/broadcom/b43legacy/radio.c tmp16 = b43legacy_nrssi_hw_read(dev, 0x20); tmp16 847 drivers/net/wireless/broadcom/b43legacy/radio.c if (tmp16 >= 0x20) tmp16 848 drivers/net/wireless/broadcom/b43legacy/radio.c tmp16 -= 0x40; tmp16 849 drivers/net/wireless/broadcom/b43legacy/radio.c if (tmp16 < 3) tmp16 3827 drivers/net/wireless/intel/ipw2x00/ipw2100.c u16 tmp16; tmp16 3838 drivers/net/wireless/intel/ipw2x00/ipw2100.c read_nic_word(dev, nic_data[i].addr, &tmp16); tmp16 3841 drivers/net/wireless/intel/ipw2x00/ipw2100.c tmp16); tmp16 1069 drivers/net/wireless/realtek/rtlwifi/rtl8723be/hw.c u16 tmp16 = 0; tmp16 1075 drivers/net/wireless/realtek/rtlwifi/rtl8723be/hw.c tmp16 = _rtl8723be_mdio_read(rtlpriv, 0x01); tmp16 1076 drivers/net/wireless/realtek/rtlwifi/rtl8723be/hw.c if (tmp16 != 0x0663) tmp16 1079 drivers/net/wireless/realtek/rtlwifi/rtl8723be/hw.c tmp16 = _rtl8723be_mdio_read(rtlpriv, 0x04); tmp16 1080 drivers/net/wireless/realtek/rtlwifi/rtl8723be/hw.c if (tmp16 != 0x7544) tmp16 1083 drivers/net/wireless/realtek/rtlwifi/rtl8723be/hw.c tmp16 = _rtl8723be_mdio_read(rtlpriv, 0x06); tmp16 1084 drivers/net/wireless/realtek/rtlwifi/rtl8723be/hw.c if (tmp16 != 0xB880) tmp16 1087 drivers/net/wireless/realtek/rtlwifi/rtl8723be/hw.c tmp16 = _rtl8723be_mdio_read(rtlpriv, 0x07); tmp16 1088 drivers/net/wireless/realtek/rtlwifi/rtl8723be/hw.c if (tmp16 != 0x4000) tmp16 1091 drivers/net/wireless/realtek/rtlwifi/rtl8723be/hw.c tmp16 = _rtl8723be_mdio_read(rtlpriv, 0x08); tmp16 1092 drivers/net/wireless/realtek/rtlwifi/rtl8723be/hw.c if (tmp16 != 0x9003) tmp16 1095 drivers/net/wireless/realtek/rtlwifi/rtl8723be/hw.c tmp16 = _rtl8723be_mdio_read(rtlpriv, 0x09); tmp16 1096 drivers/net/wireless/realtek/rtlwifi/rtl8723be/hw.c if (tmp16 != 0x0D03) tmp16 1099 drivers/net/wireless/realtek/rtlwifi/rtl8723be/hw.c tmp16 = _rtl8723be_mdio_read(rtlpriv, 0x0A); tmp16 1100 drivers/net/wireless/realtek/rtlwifi/rtl8723be/hw.c if (tmp16 != 0x4037) tmp16 1103 drivers/net/wireless/realtek/rtlwifi/rtl8723be/hw.c tmp16 = _rtl8723be_mdio_read(rtlpriv, 0x0B); tmp16 1104 drivers/net/wireless/realtek/rtlwifi/rtl8723be/hw.c if (tmp16 != 0x0070) tmp16 1481 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/hw.c u16 count = 0, tmp16; tmp16 1497 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/hw.c tmp16 = rtl_read_word(rtlpriv, REG_TXPKT_EMPTY); tmp16 1498 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/hw.c while ((tmp16 & 0x07FF) != 0x07FF) { tmp16 1500 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/hw.c tmp16 = rtl_read_word(rtlpriv, REG_TXPKT_EMPTY); tmp16 687 drivers/staging/comedi/drivers/dt9812.c __le16 tmp16; tmp16 711 drivers/staging/comedi/drivers/dt9812.c ret = dt9812_read_info(dev, 1, &tmp16, sizeof(tmp16)); tmp16 716 drivers/staging/comedi/drivers/dt9812.c vendor = le16_to_cpu(tmp16); tmp16 718 drivers/staging/comedi/drivers/dt9812.c ret = dt9812_read_info(dev, 3, &tmp16, sizeof(tmp16)); tmp16 723 drivers/staging/comedi/drivers/dt9812.c product = le16_to_cpu(tmp16); tmp16 725 drivers/staging/comedi/drivers/dt9812.c ret = dt9812_read_info(dev, 5, &tmp16, sizeof(tmp16)); tmp16 730 drivers/staging/comedi/drivers/dt9812.c devpriv->device = le16_to_cpu(tmp16); tmp16 148 drivers/staging/rtl8712/hal_init.c u16 tmp16; tmp16 199 drivers/staging/rtl8712/hal_init.c tmp16 = r8712_read16(adapter, TCR); tmp16 200 drivers/staging/rtl8712/hal_init.c while (((tmp16 & _IMEM_CODE_DONE) == 0) && (i > 0)) { tmp16 202 drivers/staging/rtl8712/hal_init.c tmp16 = r8712_read16(adapter, TCR); tmp16 205 drivers/staging/rtl8712/hal_init.c if (i == 0 || (tmp16 & _IMEM_CHK_RPT) == 0) tmp16 228 drivers/staging/rtl8712/hal_init.c tmp16 = r8712_read16(adapter, TCR); tmp16 229 drivers/staging/rtl8712/hal_init.c while (((tmp16 & _EMEM_CODE_DONE) == 0) && (i > 0)) { tmp16 231 drivers/staging/rtl8712/hal_init.c tmp16 = r8712_read16(adapter, TCR); tmp16 234 drivers/staging/rtl8712/hal_init.c if (i == 0 || (tmp16 & _EMEM_CHK_RPT) == 0) tmp16 254 drivers/staging/rtl8712/hal_init.c tmp16 = r8712_read16(adapter, TCR); tmp16 255 drivers/staging/rtl8712/hal_init.c while (((tmp16 & _IMEM_RDY) == 0) && (i > 0)) { tmp16 257 drivers/staging/rtl8712/hal_init.c tmp16 = r8712_read16(adapter, TCR); tmp16 279 drivers/staging/rtl8712/hal_init.c tmp16 = r8712_read16(adapter, TCR); tmp16 280 drivers/staging/rtl8712/hal_init.c while (((tmp16 & _DMEM_CODE_DONE) == 0) && (i > 0)) { tmp16 282 drivers/staging/rtl8712/hal_init.c tmp16 = r8712_read16(adapter, TCR); tmp16 295 drivers/staging/rtl8712/hal_init.c tmp16 = r8712_read16(adapter, TCR); tmp16 296 drivers/staging/rtl8712/hal_init.c while (((tmp16 & _FWRDY) == 0) && (i > 0)) { tmp16 298 drivers/staging/rtl8712/hal_init.c tmp16 = r8712_read16(adapter, TCR); tmp16 205 net/caif/cfctrl.c u16 tmp16; tmp16 256 net/caif/cfctrl.c tmp16 = cpu_to_le16(param->u.utility.fifosize_kb); tmp16 257 net/caif/cfctrl.c cfpkt_add_body(pkt, &tmp16, 2); tmp16 258 net/caif/cfctrl.c tmp16 = cpu_to_le16(param->u.utility.fifosize_bufs); tmp16 259 net/caif/cfctrl.c cfpkt_add_body(pkt, &tmp16, 2);