/linux-2.6.39/drivers/staging/rtl8712/ |
D | hal_init.c | 134 u16 tmp16; in rtl8712_dl_fw() local 186 tmp16 = r8712_read16(padapter, TCR); in rtl8712_dl_fw() 187 while (((tmp16 & _IMEM_CODE_DONE) == 0) && (i > 0)) { in rtl8712_dl_fw() 189 tmp16 = r8712_read16(padapter, TCR); in rtl8712_dl_fw() 192 if (i == 0 || (tmp16 & _IMEM_CHK_RPT) == 0) in rtl8712_dl_fw() 214 tmp16 = r8712_read16(padapter, TCR); in rtl8712_dl_fw() 215 while (((tmp16 & _EMEM_CODE_DONE) == 0) && (i > 0)) { in rtl8712_dl_fw() 217 tmp16 = r8712_read16(padapter, TCR); in rtl8712_dl_fw() 220 if (i == 0 || (tmp16 & _EMEM_CHK_RPT) == 0) in rtl8712_dl_fw() 240 tmp16 = r8712_read16(padapter, TCR); in rtl8712_dl_fw() [all …]
|
/linux-2.6.39/arch/sparc/kernel/ |
D | pci_common.c | 57 u16 tmp16; in sun4u_read_pci_cfg_host() local 70 pci_config_read16((u16 *)align, &tmp16); in sun4u_read_pci_cfg_host() 72 *value = tmp16 >> 8; in sun4u_read_pci_cfg_host() 74 *value = tmp16 & 0xff; in sun4u_read_pci_cfg_host() 83 pci_config_read16((u16 *)addr, &tmp16); 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 149 pci_config_read16((u16 *)addr, &tmp16); in sun4u_read_pci_cfg() 150 *value = (u32) tmp16; in sun4u_read_pci_cfg() 179 u16 tmp16; in sun4u_write_pci_cfg_host() local [all …]
|
/linux-2.6.39/drivers/ata/ |
D | pata_atiixp.c | 177 u16 tmp16; in atiixp_bmdma_start() local 179 pci_read_config_word(pdev, ATIIXP_IDE_UDMA_CONTROL, &tmp16); in atiixp_bmdma_start() 181 tmp16 |= (1 << dn); in atiixp_bmdma_start() 183 tmp16 &= ~(1 << dn); in atiixp_bmdma_start() 184 pci_write_config_word(pdev, ATIIXP_IDE_UDMA_CONTROL, tmp16); in atiixp_bmdma_start() 204 u16 tmp16; in atiixp_bmdma_stop() local 206 pci_read_config_word(pdev, ATIIXP_IDE_UDMA_CONTROL, &tmp16); in atiixp_bmdma_stop() 207 tmp16 &= ~(1 << dn); in atiixp_bmdma_stop() 208 pci_write_config_word(pdev, ATIIXP_IDE_UDMA_CONTROL, tmp16); in atiixp_bmdma_stop()
|
D | ahci.c | 465 u16 tmp16; in ahci_pci_reset_controller() local 468 pci_read_config_word(pdev, 0x92, &tmp16); in ahci_pci_reset_controller() 469 if ((tmp16 & hpriv->port_map) != hpriv->port_map) { in ahci_pci_reset_controller() 470 tmp16 |= hpriv->port_map; in ahci_pci_reset_controller() 471 pci_write_config_word(pdev, 0x92, tmp16); in ahci_pci_reset_controller()
|
D | libata-core.c | 6199 u16 tmp16 = 0; in pci_test_config_bits() local 6200 pci_read_config_word(pdev, bits->reg, &tmp16); in pci_test_config_bits() 6201 tmp = tmp16; in pci_test_config_bits()
|
/linux-2.6.39/drivers/ide/ |
D | atiixp.c | 91 u16 tmp16; in atiixp_set_dma_mode() local 100 pci_read_config_word(dev, ATIIXP_IDE_UDMA_MODE, &tmp16); in atiixp_set_dma_mode() 101 tmp16 &= ~(0x07 << (drive->dn * 4)); in atiixp_set_dma_mode() 102 tmp16 |= ((speed & 0x07) << (drive->dn * 4)); in atiixp_set_dma_mode() 103 pci_write_config_word(dev, ATIIXP_IDE_UDMA_MODE, tmp16); in atiixp_set_dma_mode()
|
/linux-2.6.39/net/caif/ |
D | cfctrl.c | 203 u16 tmp16; in cfctrl_linkup_request() local 241 tmp16 = cpu_to_le16(param->u.utility.fifosize_kb); in cfctrl_linkup_request() 242 cfpkt_add_body(pkt, &tmp16, 2); in cfctrl_linkup_request() 243 tmp16 = cpu_to_le16(param->u.utility.fifosize_bufs); in cfctrl_linkup_request() 244 cfpkt_add_body(pkt, &tmp16, 2); in cfctrl_linkup_request() 381 u16 tmp16; in cfctrl_recv() local 482 cfpkt_extr_head(pkt, &tmp16, 2); in cfctrl_recv() 484 le16_to_cpu(tmp16); in cfctrl_recv() 486 cfpkt_extr_head(pkt, &tmp16, 2); in cfctrl_recv() 488 le16_to_cpu(tmp16); in cfctrl_recv()
|
/linux-2.6.39/arch/mn10300/kernel/ |
D | smp.c | 156 u16 tmp16; in init_ipi() local 195 tmp16 = GxICR(CALL_FUNCTION_NMI_IPI); in init_ipi() 578 u16 tmp16; in smp_cpu_init() local 615 tmp16 = GxICR(CALL_FUNCTION_NMI_IPI); in smp_cpu_init() 645 u16 tmp16; in smp_prepare_cpu_init() local 649 tmp16 = GxICR(DEBUGGER_NMI_IPI); in smp_prepare_cpu_init()
|
/linux-2.6.39/drivers/net/ |
D | cs89x0.c | 391 u16 tmp16; in readwords() local 393 tmp16 = readword(base_addr, portno); in readwords() 394 *buf8++ = (u8)tmp16; in readwords() 395 *buf8++ = (u8)(tmp16 >> 8); in readwords() 405 u16 tmp16; in writewords() local 407 tmp16 = *buf8++; in writewords() 408 tmp16 |= (*buf8++) << 8; in writewords() 409 writeword(base_addr, portno, tmp16); in writewords()
|
/linux-2.6.39/drivers/net/tulip/ |
D | xircom_cb.c | 207 unsigned short tmp16; in xircom_probe() local 221 pci_read_config_word (pdev,PCI_STATUS, &tmp16); in xircom_probe() 222 pci_write_config_word (pdev, PCI_STATUS,tmp16); in xircom_probe()
|
/linux-2.6.39/drivers/atm/ |
D | iphase.c | 1889 u_short tmp16; local 2032 tmp16 = (iadev->seg_ram+CBR_SCHED_TABLE*iadev->memSize)>>17; 2033 IF_INIT(printk("cbr_ptr_base = 0x%x ", tmp16);) 2034 writew(tmp16,iadev->seg_reg+CBR_PTR_BASE); 2039 tmp16 = (CBR_SCHED_TABLE*iadev->memSize) >> 1; 2040 writew(tmp16, iadev->seg_reg+CBR_TAB_BEG); 2041 IF_INIT(printk("cbr_tab_beg = 0x%x in reg = 0x%x \n", tmp16, 2043 writew(tmp16, iadev->seg_reg+CBR_TAB_END+1); // CBR_PTR; 2044 tmp16 = (CBR_SCHED_TABLE*iadev->memSize + iadev->num_vc*6 - 2) >> 1; 2045 writew(tmp16, iadev->seg_reg+CBR_TAB_END);
|
/linux-2.6.39/drivers/net/wireless/b43legacy/ |
D | radio.c | 824 s16 tmp16; in b43legacy_calc_nrssi_threshold() local 863 tmp16 = b43legacy_nrssi_hw_read(dev, 0x20); in b43legacy_calc_nrssi_threshold() 864 if (tmp16 >= 0x20) in b43legacy_calc_nrssi_threshold() 865 tmp16 -= 0x40; in b43legacy_calc_nrssi_threshold() 866 if (tmp16 < 3) in b43legacy_calc_nrssi_threshold()
|
/linux-2.6.39/drivers/staging/westbridge/astoria/arch/arm/mach-omap2/ |
D | cyashalomap_kernel.c | 644 u16 tmp16, mux_val; in cy_as_hal_init_user_pads() local 691 tmp16 = *(u16 *)PADCFG_VMA in cy_as_hal_init_user_pads() 696 pad_cfg_tab->pin_num, tmp16, in cy_as_hal_init_user_pads()
|
/linux-2.6.39/drivers/net/wireless/b43/ |
D | phy_g.c | 715 s16 tmp16; in b43_calc_nrssi_threshold() local 722 tmp16 = b43_nrssi_hw_read(dev, 0x20); in b43_calc_nrssi_threshold() 723 if (tmp16 >= 0x20) in b43_calc_nrssi_threshold() 724 tmp16 -= 0x40; in b43_calc_nrssi_threshold() 725 if (tmp16 < 3) { in b43_calc_nrssi_threshold()
|
D | phy_n.c | 1386 u16 tmp16; in b43_nphy_workarounds() local 1417 tmp16 = (b43_current_band(dev->wl) == IEEE80211_BAND_2GHZ) ? in b43_nphy_workarounds() 1419 b43_phy_write(dev, B43_NPHY_ENDROP_TLEN, tmp16); in b43_nphy_workarounds()
|
/linux-2.6.39/drivers/net/wireless/ipw2x00/ |
D | ipw2100.c | 3858 u16 tmp16; in show_hardware() local 3869 read_nic_word(dev, nic_data[i].addr, &tmp16); in show_hardware() 3872 tmp16); in show_hardware()
|