Home
last modified time | relevance | path

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

12

/drivers/clocksource/
Dtimer-keystone.c28 #define TCR 0x20 macro
83 tcr = keystone_timer_readl(TCR); in keystone_timer_config()
90 keystone_timer_writel(off, TCR); in keystone_timer_config()
106 keystone_timer_writel(tcr, TCR); in keystone_timer_config()
114 tcr = keystone_timer_readl(TCR); in keystone_timer_disable()
118 keystone_timer_writel(tcr, TCR); in keystone_timer_disable()
182 keystone_timer_writel(0, TCR); in keystone_timer_init()
Dh8300_tpu.c18 #define TCR 0x0 macro
89 iowrite8(0x0f, p->mapbase1 + TCR); in tpu_clocksource_enable()
90 iowrite8(0x03, p->mapbase2 + TCR); in tpu_clocksource_enable()
102 iowrite8(0, p->mapbase1 + TCR); in tpu_clocksource_disable()
103 iowrite8(0, p->mapbase2 + TCR); in tpu_clocksource_disable()
Dsh_tmu.c77 #define TCR 2 /* channel register */ macro
103 if (reg_nr == TCR) in sh_tmu_read()
125 if (reg_nr == TCR) in sh_tmu_write()
169 sh_tmu_write(ch, TCR, TCR_TPSC_CLK4); in __sh_tmu_enable()
194 sh_tmu_write(ch, TCR, TCR_TPSC_CLK4); in __sh_tmu_disable()
221 sh_tmu_read(ch, TCR); in sh_tmu_set_next()
224 sh_tmu_write(ch, TCR, TCR_UNIE | TCR_TPSC_CLK4); in sh_tmu_set_next()
244 sh_tmu_write(ch, TCR, TCR_TPSC_CLK4); in sh_tmu_interrupt()
246 sh_tmu_write(ch, TCR, TCR_UNIE | TCR_TPSC_CLK4); in sh_tmu_interrupt()
Dh8300_timer16.c19 #define TCR 0 macro
94 iowrite8(0x83, p->mapbase + TCR); in timer16_enable()
Dsh_mtu2.c60 #define TCR 0 /* channel register */ macro
151 [TCR] = 0,
235 sh_mtu2_write(ch, TCR, TCR_CCLR_TGRA | TCR_TPSC_P64); in sh_mtu2_enable()
/drivers/staging/rtl8712/
Dhal_init.c206 tmp16 = r8712_read16(padapter, TCR); in rtl8712_dl_fw()
209 tmp16 = r8712_read16(padapter, TCR); in rtl8712_dl_fw()
235 tmp16 = r8712_read16(padapter, TCR); in rtl8712_dl_fw()
238 tmp16 = r8712_read16(padapter, TCR); in rtl8712_dl_fw()
257 r8712_read32(padapter, TCR); in rtl8712_dl_fw()
261 tmp16 = r8712_read16(padapter, TCR); in rtl8712_dl_fw()
264 tmp16 = r8712_read16(padapter, TCR); in rtl8712_dl_fw()
286 tmp16 = r8712_read16(padapter, TCR); in rtl8712_dl_fw()
289 tmp16 = r8712_read16(padapter, TCR); in rtl8712_dl_fw()
302 tmp16 = r8712_read16(padapter, TCR); in rtl8712_dl_fw()
[all …]
Drtl8712_cmdctrl_regdef.h26 #define TCR (RTL8712_CMDCTRL_ + 0x0004) macro
Dusb_halinit.c276 val8 = r8712_read8(padapter, TCR); in r8712_usb_hal_bus_init()
/drivers/net/wireless/realtek/rtlwifi/rtl8192se/
Dfw.c66 cpustatus = rtl_read_byte(rtlpriv, TCR); in _rtl92s_firmware_enable_cpu()
239 cpustatus = rtl_read_byte(rtlpriv, TCR); in _rtl92s_firmware_checkready()
257 cpustatus = rtl_read_byte(rtlpriv, TCR); in _rtl92s_firmware_checkready()
282 cpustatus = rtl_read_byte(rtlpriv, TCR); in _rtl92s_firmware_checkready()
303 cpustatus = rtl_read_byte(rtlpriv, TCR); in _rtl92s_firmware_checkready()
323 tmpu4b = rtl_read_dword(rtlpriv, TCR); in _rtl92s_firmware_checkready()
324 rtl_write_dword(rtlpriv, TCR, (tmpu4b & (~TCR_ICV))); in _rtl92s_firmware_checkready()
Dhw.c604 rtl_write_byte(rtlpriv, TCR, 0); in _rtl92se_macconfig_before_fwdownload()
744 tmpu1b = rtl_read_byte(rtlpriv, TCR); in _rtl92se_macconfig_before_fwdownload()
793 rtl_write_dword(rtlpriv, TCR, rtl_read_dword(rtlpriv, TCR) | in _rtl92se_macconfig_after_fwdownload()
1212 temp = rtl_read_dword(rtlpriv, TCR); in _rtl92se_set_media_status()
1213 rtl_write_dword(rtlpriv, TCR, temp & (~BIT(8))); in _rtl92se_set_media_status()
1214 rtl_write_dword(rtlpriv, TCR, temp | BIT(8)); in _rtl92se_set_media_status()
1456 rtl_write_byte(rtlpriv, TCR, 0); in _rtl92se_power_domain_init()
Dreg.h61 #define TCR 0x0044 macro
/drivers/watchdog/
Ddavinci_wdt.c37 #define TCR (0x20) macro
81 iowrite32(0, davinci_wdt->base + TCR); in davinci_wdt_start()
95 iowrite32(ENAMODE12_PERIODIC, davinci_wdt->base + TCR); in davinci_wdt_start()
/drivers/net/ethernet/smsc/
Dsmc91c92_cs.c148 #define TCR 0 /* transmit control register */ macro
1098 mask_bits(0xff00, ioaddr + TCR); in smc_close()
1294 outw(inw(ioaddr + TCR) | TCR_ENABLE | smc->duplex, ioaddr + TCR); in smc_tx_err()
1329 outw(inw(ioaddr + TCR) | TCR_ENABLE | smc->duplex, ioaddr + TCR); in smc_eph_irq()
1652 outw(TCR_CLEAR, ioaddr + TCR); in smc_reset()
1681 TCR_ENABLE | TCR_PAD_EN | smc->duplex, ioaddr + TCR); in smc_reset()
1787 outw(inw(ioaddr + TCR) | smc->duplex, ioaddr + TCR); in media_check()
1861 tmp = inw(ioaddr + TCR); in smc_netdev_get_ecmd()
1887 tmp = inw(ioaddr + TCR); in smc_netdev_set_ecmd()
1892 outw(tmp, ioaddr + TCR); in smc_netdev_set_ecmd()
Dsmc9194.c332 outw( TCR_CLEAR, ioaddr + TCR ); in smc_reset()
363 outw( TCR_NORMAL, ioaddr + TCR ); in smc_enable()
394 outb( TCR_CLEAR, ioaddr + TCR ); in smc_shutdown()
1285 outw( inw( ioaddr + TCR ) | TCR_ENABLE, ioaddr + TCR ); in smc_tx()
Dsmc9194.h64 #define TCR 0 /* transmit control register */ macro
/drivers/tty/
Dsynclink_gt.c395 #define TCR 0x82 /* tx control */ macro
1408 value = rd_reg16(info, TCR); in set_break()
1413 wr_reg16(info, TCR, value); in set_break()
2292 unsigned short val = rd_reg16(info, TCR); in isr_txeom()
2293 wr_reg16(info, TCR, (unsigned short)(val | BIT2)); /* set reset bit */ in isr_txeom()
2294 wr_reg16(info, TCR, val); /* clear reset bit */ in isr_txeom()
2877 val = rd_reg16(info, TCR); in set_interface()
2882 wr_reg16(info, TCR, val); in set_interface()
4034 wr_reg16(info, TCR, in tx_start()
4035 (unsigned short)((rd_reg16(info, TCR) | BIT1) & ~BIT2)); in tx_start()
[all …]
/drivers/dma/sh/
Dshdmac.c44 #define TCR 0x08 /* Transfer Count Register */ macro
223 sh_dmae_writel(sh_chan, hw->tcr >> sh_chan->xmit_shift, TCR); in dmae_set_reg()
427 (sh_dmae_readl(sh_chan, TCR) << sh_chan->xmit_shift); in sh_dmae_get_partial()
/drivers/net/ethernet/via/
Dvia-velocity.c942 BYTE_REG_BITS_OFF(TCR_TB2BDIS, &regs->TCR); in velocity_set_media_mode()
948 BYTE_REG_BITS_ON(TCR_TB2BDIS, &regs->TCR); in velocity_set_media_mode()
1841 BYTE_REG_BITS_ON(TCR_TB2BDIS, &regs->TCR); in velocity_error()
1843 BYTE_REG_BITS_OFF(TCR_TB2BDIS, &regs->TCR); in velocity_error()
2561 td_ptr->tdesc1.TCR = TCR0_TIC; in velocity_xmit()
2595 td_ptr->tdesc1.TCR |= TCR0_VETAG; in velocity_xmit()
2604 td_ptr->tdesc1.TCR |= TCR0_TCPCK; in velocity_xmit()
2606 td_ptr->tdesc1.TCR |= (TCR0_UDPCK); in velocity_xmit()
2607 td_ptr->tdesc1.TCR |= TCR0_IPCK; in velocity_xmit()
Dvia-velocity.h209 u8 TCR; member
980 volatile u8 TCR; member
/drivers/net/ethernet/amd/
Dariadne.h381 volatile u_char TCR; /* Timer Control Register */ member
/drivers/staging/rtl8192u/
Dr8192U_hw.h123 TCR = 0x040, // Transmit Configuration Register enumerator
/drivers/net/wan/
Dhd64572.h108 #define TCR 0x152 /* Tx DMA Critical Request Reg */ macro
/drivers/staging/rtl8192e/rtl8192e/
Dr8192E_hw.h138 TCR = 0x040, enumerator
/drivers/net/usb/
Drtl8150.c27 #define TCR 0x012f macro
647 set_registers(dev, TCR, 1, &tcr); in enable_net_traffic()
/drivers/spi/
Dspi-atmel.c924 spi_writel(as, TCR, len); in atmel_spi_pdc_next_xfer()
1360 spi_readl(as, TCR), spi_readl(as, RCR)); in atmel_spi_one_transfer()
1369 spi_writel(as, TCR, 0); in atmel_spi_one_transfer()

12