Home
last modified time | relevance | path

Searched refs:tmp16 (Results 1 – 25 of 25) sorted by relevance

/linux/drivers/net/usb/
A Dax88179_178a.c374 u16 tmp16; in ax88179_phy_mmd_indirect() local
396 u16 tmp16; in ax88179_phy_read_mmd_indirect() local
428 u16 tmp16; in ax88179_suspend() local
463 u16 tmp16; in ax88179_auto_detach() local
479 if ((tmp16 == 0xFFFF) || (!(tmp16 & 0x0100))) in ax88179_auto_detach()
498 u16 tmp16; in ax88179_resume() local
504 tmp16 = 0; in ax88179_resume()
808 u16 tmp16; in ax88179_disable_eee() local
825 u16 tmp16; in ax88179_enable_eee() local
982 u16 tmp16; in ax88179_change_mtu() local
[all …]
/linux/drivers/staging/rtl8712/
A Dhal_init.c159 u16 tmp16; in rtl8712_dl_fw() local
210 tmp16 = r8712_read16(adapter, TCR); in rtl8712_dl_fw()
213 tmp16 = r8712_read16(adapter, TCR); in rtl8712_dl_fw()
239 tmp16 = r8712_read16(adapter, TCR); in rtl8712_dl_fw()
242 tmp16 = r8712_read16(adapter, TCR); in rtl8712_dl_fw()
265 tmp16 = r8712_read16(adapter, TCR); in rtl8712_dl_fw()
268 tmp16 = r8712_read16(adapter, TCR); in rtl8712_dl_fw()
290 tmp16 = r8712_read16(adapter, TCR); in rtl8712_dl_fw()
293 tmp16 = r8712_read16(adapter, TCR); in rtl8712_dl_fw()
306 tmp16 = r8712_read16(adapter, TCR); in rtl8712_dl_fw()
[all …]
/linux/arch/sparc/kernel/
A Dpci_common.c57 u16 tmp16; in sun4u_read_pci_cfg_host() local
72 *value = tmp16 >> 8; in sun4u_read_pci_cfg_host()
74 *value = tmp16 & 0xff; in sun4u_read_pci_cfg_host()
84 *value = (u32) tmp16; in sun4u_read_pci_cfg_host()
114 u16 tmp16; in sun4u_read_pci_cfg() local
150 *value = (u32) tmp16; in sun4u_read_pci_cfg()
179 u16 tmp16; in sun4u_write_pci_cfg_host() local
184 tmp16 &= 0x00ff; in sun4u_write_pci_cfg_host()
185 tmp16 |= value << 8; in sun4u_write_pci_cfg_host()
187 tmp16 &= 0xff00; in sun4u_write_pci_cfg_host()
[all …]
/linux/drivers/ata/
A Dpata_atiixp.c219 u16 tmp16; in atiixp_bmdma_start() local
221 pci_read_config_word(pdev, ATIIXP_IDE_UDMA_CONTROL, &tmp16); in atiixp_bmdma_start()
223 tmp16 |= (1 << dn); in atiixp_bmdma_start()
225 tmp16 &= ~(1 << dn); in atiixp_bmdma_start()
226 pci_write_config_word(pdev, ATIIXP_IDE_UDMA_CONTROL, tmp16); in atiixp_bmdma_start()
246 u16 tmp16; in atiixp_bmdma_stop() local
248 pci_read_config_word(pdev, ATIIXP_IDE_UDMA_CONTROL, &tmp16); in atiixp_bmdma_stop()
249 tmp16 &= ~(1 << dn); in atiixp_bmdma_stop()
250 pci_write_config_word(pdev, ATIIXP_IDE_UDMA_CONTROL, tmp16); in atiixp_bmdma_stop()
A Dahci.c1626 u16 tmp16; in ahci_intel_pcs_quirk() local
1646 pci_read_config_word(pdev, PCS_6, &tmp16); in ahci_intel_pcs_quirk()
1647 if ((tmp16 & hpriv->port_map) != hpriv->port_map) { in ahci_intel_pcs_quirk()
1648 tmp16 |= hpriv->port_map; in ahci_intel_pcs_quirk()
1649 pci_write_config_word(pdev, PCS_6, tmp16); in ahci_intel_pcs_quirk()
A Dlibata-core.c6110 u16 tmp16 = 0; in pci_test_config_bits() local
6111 pci_read_config_word(pdev, bits->reg, &tmp16); in pci_test_config_bits()
6112 tmp = tmp16; in pci_test_config_bits()
/linux/drivers/gpu/drm/amd/amdgpu/
A Dcik.c1531 u16 tmp16; in cik_pcie_gen3_enable() local
1583 tmp16); in cik_pcie_gen3_enable()
1609 &tmp16); in cik_pcie_gen3_enable()
1637 &tmp16); in cik_pcie_gen3_enable()
1641 tmp16); in cik_pcie_gen3_enable()
1645 &tmp16); in cik_pcie_gen3_enable()
1650 tmp16); in cik_pcie_gen3_enable()
1654 &tmp16); in cik_pcie_gen3_enable()
1662 tmp16); in cik_pcie_gen3_enable()
1666 &tmp16); in cik_pcie_gen3_enable()
[all …]
A Dsi.c2238 u16 tmp16; in si_pcie_gen3_enable() local
2289 tmp16); in si_pcie_gen3_enable()
2308 &tmp16); in si_pcie_gen3_enable()
2335 &tmp16); in si_pcie_gen3_enable()
2339 tmp16); in si_pcie_gen3_enable()
2343 &tmp16); in si_pcie_gen3_enable()
2348 tmp16); in si_pcie_gen3_enable()
2351 &tmp16); in si_pcie_gen3_enable()
2359 tmp16); in si_pcie_gen3_enable()
2363 &tmp16); in si_pcie_gen3_enable()
[all …]
/linux/drivers/comedi/drivers/
A Ddt9812.c744 __le16 tmp16; in dt9812_reset_device() local
768 ret = dt9812_read_info(dev, 1, &tmp16, sizeof(tmp16)); in dt9812_reset_device()
773 vendor = le16_to_cpu(tmp16); in dt9812_reset_device()
775 ret = dt9812_read_info(dev, 3, &tmp16, sizeof(tmp16)); in dt9812_reset_device()
780 product = le16_to_cpu(tmp16); in dt9812_reset_device()
782 ret = dt9812_read_info(dev, 5, &tmp16, sizeof(tmp16)); in dt9812_reset_device()
787 devpriv->device = le16_to_cpu(tmp16); in dt9812_reset_device()
/linux/arch/mips/sgi-ip22/
A Dip22-gio.c270 u8 tmp16; in ip22_gio_id() local
298 get_dbe(tmp16, ptr16); in ip22_gio_id()
299 if (tmp8 == (tmp16 & 0xff) && in ip22_gio_id()
301 tmp16 == (tmp32 & 0xffff)) { in ip22_gio_id()
/linux/net/caif/
A Dcfctrl.c205 u16 tmp16; in cfctrl_linkup_request() local
256 tmp16 = cpu_to_le16(param->u.utility.fifosize_kb); in cfctrl_linkup_request()
257 cfpkt_add_body(pkt, &tmp16, 2); in cfctrl_linkup_request()
258 tmp16 = cpu_to_le16(param->u.utility.fifosize_bufs); in cfctrl_linkup_request()
259 cfpkt_add_body(pkt, &tmp16, 2); in cfctrl_linkup_request()
/linux/drivers/net/wireless/realtek/rtlwifi/rtl8723be/
A Dhw.c1068 u16 tmp16 = 0; in _rtl8723be_enable_aspm_back_door() local
1074 tmp16 = _rtl8723be_mdio_read(rtlpriv, 0x01); in _rtl8723be_enable_aspm_back_door()
1075 if (tmp16 != 0x0663) in _rtl8723be_enable_aspm_back_door()
1078 tmp16 = _rtl8723be_mdio_read(rtlpriv, 0x04); in _rtl8723be_enable_aspm_back_door()
1079 if (tmp16 != 0x7544) in _rtl8723be_enable_aspm_back_door()
1083 if (tmp16 != 0xB880) in _rtl8723be_enable_aspm_back_door()
1087 if (tmp16 != 0x4000) in _rtl8723be_enable_aspm_back_door()
1091 if (tmp16 != 0x9003) in _rtl8723be_enable_aspm_back_door()
1095 if (tmp16 != 0x0D03) in _rtl8723be_enable_aspm_back_door()
1099 if (tmp16 != 0x4037) in _rtl8723be_enable_aspm_back_door()
[all …]
/linux/drivers/net/ethernet/cirrus/
A Dcs89x0.c202 u16 tmp16; in readwords() local
204 tmp16 = ioread16(lp->virt_addr + portno); in readwords()
205 *buf8++ = (u8)tmp16; in readwords()
206 *buf8++ = (u8)(tmp16 >> 8); in readwords()
215 u16 tmp16; in writewords() local
217 tmp16 = *buf8++; in writewords()
218 tmp16 |= (*buf8++) << 8; in writewords()
219 iowrite16(tmp16, lp->virt_addr + portno); in writewords()
/linux/drivers/gpu/drm/radeon/
A Dsi.c7085 u16 tmp16; in si_pcie_gen3_enable() local
7144 tmp16); in si_pcie_gen3_enable()
7164 &tmp16); in si_pcie_gen3_enable()
7192 &tmp16); in si_pcie_gen3_enable()
7197 tmp16); in si_pcie_gen3_enable()
7201 &tmp16); in si_pcie_gen3_enable()
7206 tmp16); in si_pcie_gen3_enable()
7210 &tmp16); in si_pcie_gen3_enable()
7218 tmp16); in si_pcie_gen3_enable()
7222 &tmp16); in si_pcie_gen3_enable()
[all …]
A Dcik.c9488 u16 tmp16; in cik_pcie_gen3_enable() local
9547 tmp16); in cik_pcie_gen3_enable()
9567 &tmp16); in cik_pcie_gen3_enable()
9595 &tmp16); in cik_pcie_gen3_enable()
9599 tmp16); in cik_pcie_gen3_enable()
9603 &tmp16); in cik_pcie_gen3_enable()
9608 tmp16); in cik_pcie_gen3_enable()
9612 &tmp16); in cik_pcie_gen3_enable()
9620 tmp16); in cik_pcie_gen3_enable()
9624 &tmp16); in cik_pcie_gen3_enable()
[all …]
/linux/drivers/net/can/usb/peak_usb/
A Dpcan_usb_core.c799 u16 tmp16; in peak_usb_create_dev() local
869 tmp16 = le16_to_cpu(usb_dev->descriptor.bcdDevice); in peak_usb_create_dev()
870 dev->device_rev = tmp16 >> 8; in peak_usb_create_dev()
/linux/tools/testing/selftests/net/
A Dioam6_parser.c416 __u16 tmp16 = node2.egr_id; in check_ioam_header_and_data() local
424 node2.egr_id = tmp16; in check_ioam_header_and_data()
/linux/drivers/net/ethernet/dec/tulip/
A Dxircom_cb.c197 unsigned short tmp16; in xircom_probe() local
212 pci_read_config_word (pdev,PCI_STATUS, &tmp16); in xircom_probe()
213 pci_write_config_word (pdev, PCI_STATUS,tmp16); in xircom_probe()
/linux/drivers/atm/
A Diphase.c1915 u_short tmp16; local
2063 tmp16 = (iadev->seg_ram+CBR_SCHED_TABLE*iadev->memSize)>>17;
2064 IF_INIT(printk("cbr_ptr_base = 0x%x ", tmp16);)
2065 writew(tmp16,iadev->seg_reg+CBR_PTR_BASE);
2070 tmp16 = (CBR_SCHED_TABLE*iadev->memSize) >> 1;
2071 writew(tmp16, iadev->seg_reg+CBR_TAB_BEG);
2072 IF_INIT(printk("cbr_tab_beg = 0x%x in reg = 0x%x \n", tmp16,
2074 writew(tmp16, iadev->seg_reg+CBR_TAB_END+1); // CBR_PTR;
2075 tmp16 = (CBR_SCHED_TABLE*iadev->memSize + iadev->num_vc*6 - 2) >> 1;
2076 writew(tmp16, iadev->seg_reg+CBR_TAB_END);
/linux/drivers/net/wireless/broadcom/b43legacy/
A Dradio.c807 s16 tmp16; in b43legacy_calc_nrssi_threshold() local
846 tmp16 = b43legacy_nrssi_hw_read(dev, 0x20); in b43legacy_calc_nrssi_threshold()
847 if (tmp16 >= 0x20) in b43legacy_calc_nrssi_threshold()
848 tmp16 -= 0x40; in b43legacy_calc_nrssi_threshold()
849 if (tmp16 < 3) in b43legacy_calc_nrssi_threshold()
/linux/drivers/net/wireless/broadcom/b43/
A Dphy_n.c3173 u16 tmp16; in b43_nphy_workarounds_rev3plus() local
3271 tmp16 = 0x96; in b43_nphy_workarounds_rev3plus()
3275 tmp16 = 0x89; in b43_nphy_workarounds_rev3plus()
3281 tmp16 = 0x8b; in b43_nphy_workarounds_rev3plus()
3285 tmp16 = 0x70; in b43_nphy_workarounds_rev3plus()
3291 vmid[3] = tmp16; in b43_nphy_workarounds_rev3plus()
6234 u16 tmp16; in b43_nphy_channel_setup() local
6240 tmp16 = b43_read16(dev, B43_MMIO_PSM_PHY_HDR); in b43_nphy_channel_setup()
6245 b43_write16(dev, B43_MMIO_PSM_PHY_HDR, tmp16); in b43_nphy_channel_setup()
6249 tmp16 = b43_read16(dev, B43_MMIO_PSM_PHY_HDR); in b43_nphy_channel_setup()
[all …]
A Dphy_g.c703 s16 tmp16; in b43_calc_nrssi_threshold() local
710 tmp16 = b43_nrssi_hw_read(dev, 0x20); in b43_calc_nrssi_threshold()
711 if (tmp16 >= 0x20) in b43_calc_nrssi_threshold()
712 tmp16 -= 0x40; in b43_calc_nrssi_threshold()
713 if (tmp16 < 3) { in b43_calc_nrssi_threshold()
/linux/drivers/media/usb/dvb-usb-v2/
A Daf9035.c826 u16 tmp16; in af9035_read_config() local
961 tmp16 = tmp << 0; in af9035_read_config()
963 tmp16 |= tmp << 8; in af9035_read_config()
964 dev_dbg(&intf->dev, "[%d]IF=%d\n", i, tmp16); in af9035_read_config()
/linux/drivers/net/wireless/realtek/rtlwifi/rtl8821ae/
A Dhw.c1480 u16 count = 0, tmp16; in _rtl8821ae_dynamic_rqpn() local
1496 tmp16 = rtl_read_word(rtlpriv, REG_TXPKT_EMPTY); in _rtl8821ae_dynamic_rqpn()
1497 while ((tmp16 & 0x07FF) != 0x07FF) { in _rtl8821ae_dynamic_rqpn()
1499 tmp16 = rtl_read_word(rtlpriv, REG_TXPKT_EMPTY); in _rtl8821ae_dynamic_rqpn()
/linux/drivers/net/wireless/intel/ipw2x00/
A Dipw2100.c3822 u16 tmp16; in show_hardware() local
3833 read_nic_word(dev, nic_data[i].addr, &tmp16); in show_hardware()
3836 tmp16); in show_hardware()

Completed in 147 milliseconds