Home
last modified time | relevance | path

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

12

/linux/drivers/clocksource/
A Dtimer-keystone.c24 #define TCR 0x20 macro
79 tcr = keystone_timer_readl(TCR); in keystone_timer_config()
86 keystone_timer_writel(off, TCR); in keystone_timer_config()
102 keystone_timer_writel(tcr, TCR); in keystone_timer_config()
110 tcr = keystone_timer_readl(TCR); in keystone_timer_disable()
114 keystone_timer_writel(tcr, TCR); in keystone_timer_disable()
178 keystone_timer_writel(0, TCR); in keystone_timer_init()
A Dh8300_tpu.c19 #define TCR 0x0 macro
90 iowrite8(0x0f, p->mapbase1 + TCR); in tpu_clocksource_enable()
91 iowrite8(0x03, p->mapbase2 + TCR); in tpu_clocksource_enable()
103 iowrite8(0, p->mapbase1 + TCR); in tpu_clocksource_disable()
104 iowrite8(0, p->mapbase2 + TCR); in tpu_clocksource_disable()
A Dsh_tmu.c73 #define TCR 2 /* channel register */ macro
99 if (reg_nr == TCR) in sh_tmu_read()
121 if (reg_nr == TCR) in sh_tmu_write()
164 sh_tmu_write(ch, TCR, TCR_TPSC_CLK4); in __sh_tmu_enable()
189 sh_tmu_write(ch, TCR, TCR_TPSC_CLK4); in __sh_tmu_disable()
216 sh_tmu_read(ch, TCR); in sh_tmu_set_next()
219 sh_tmu_write(ch, TCR, TCR_UNIE | TCR_TPSC_CLK4); in sh_tmu_set_next()
239 sh_tmu_write(ch, TCR, TCR_TPSC_CLK4); in sh_tmu_interrupt()
241 sh_tmu_write(ch, TCR, TCR_UNIE | TCR_TPSC_CLK4); in sh_tmu_interrupt()
A Dh8300_timer16.c20 #define TCR 0 macro
95 iowrite8(0x83, p->mapbase + TCR); in timer16_enable()
A Dsh_mtu2.c56 #define TCR 0 /* channel register */ macro
147 [TCR] = 0,
231 sh_mtu2_write(ch, TCR, TCR_CCLR_TGRA | TCR_TPSC_P64); in sh_mtu2_enable()
/linux/drivers/staging/rtl8712/
A Dhal_init.c210 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()
261 r8712_read32(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 …]
A Drtl8712_cmdctrl_regdef.h12 #define TCR (RTL8712_CMDCTRL_ + 0x0004) macro
/linux/drivers/watchdog/
A Ddavinci_wdt.c36 #define TCR (0x20) macro
80 iowrite32(0, davinci_wdt->base + TCR); in davinci_wdt_start()
94 iowrite32(ENAMODE12_PERIODIC, davinci_wdt->base + TCR); in davinci_wdt_start()
149 iowrite32(0, davinci_wdt->base + TCR); in davinci_wdt_restart()
/linux/drivers/net/wireless/realtek/rtlwifi/rtl8192se/
A Dfw.c40 cpustatus = rtl_read_byte(rtlpriv, TCR); in _rtl92s_firmware_enable_cpu()
207 cpustatus = rtl_read_byte(rtlpriv, TCR); in _rtl92s_firmware_checkready()
224 cpustatus = rtl_read_byte(rtlpriv, TCR); in _rtl92s_firmware_checkready()
247 cpustatus = rtl_read_byte(rtlpriv, TCR); in _rtl92s_firmware_checkready()
267 cpustatus = rtl_read_byte(rtlpriv, TCR); in _rtl92s_firmware_checkready()
286 tmpu4b = rtl_read_dword(rtlpriv, TCR); in _rtl92s_firmware_checkready()
287 rtl_write_dword(rtlpriv, TCR, (tmpu4b & (~TCR_ICV))); in _rtl92s_firmware_checkready()
A Dhw.c574 rtl_write_byte(rtlpriv, TCR, 0); in _rtl92se_macconfig_before_fwdownload()
714 tmpu1b = rtl_read_byte(rtlpriv, TCR); in _rtl92se_macconfig_before_fwdownload()
761 rtl_write_dword(rtlpriv, TCR, rtl_read_dword(rtlpriv, TCR) | in _rtl92se_macconfig_after_fwdownload()
1178 temp = rtl_read_dword(rtlpriv, TCR); in _rtl92se_set_media_status()
1179 rtl_write_dword(rtlpriv, TCR, temp & (~BIT(8))); in _rtl92se_set_media_status()
1180 rtl_write_dword(rtlpriv, TCR, temp | BIT(8)); in _rtl92se_set_media_status()
1421 rtl_write_byte(rtlpriv, TCR, 0); in _rtl92se_power_domain_init()
/linux/drivers/net/ethernet/smsc/
A Dsmc91c92_cs.c149 #define TCR 0 /* transmit control register */ macro
1101 mask_bits(0xff00, ioaddr + TCR); in smc_close()
1297 outw(inw(ioaddr + TCR) | TCR_ENABLE | smc->duplex, ioaddr + TCR); in smc_tx_err()
1332 outw(inw(ioaddr + TCR) | TCR_ENABLE | smc->duplex, ioaddr + TCR); in smc_eph_irq()
1656 outw(TCR_CLEAR, ioaddr + TCR); in smc_reset()
1685 TCR_ENABLE | TCR_PAD_EN | smc->duplex, ioaddr + TCR); in smc_reset()
1791 outw(inw(ioaddr + TCR) | smc->duplex, ioaddr + TCR); in media_check()
1866 tmp = inw(ioaddr + TCR); in smc_netdev_get_ecmd()
1893 tmp = inw(ioaddr + TCR); in smc_netdev_set_ecmd()
1898 outw(tmp, ioaddr + TCR); in smc_netdev_set_ecmd()
A 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()
1284 outw( inw( ioaddr + TCR ) | TCR_ENABLE, ioaddr + TCR ); in smc_tx()
A Dsmc9194.h64 #define TCR 0 /* transmit control register */ macro
/linux/arch/sh/include/asm/
A Ddma-register.h16 #define TCR 0x08 /* Transfer Count Register */ macro
/linux/arch/powerpc/kernel/
A Dswsusp_asm64.S121 SAVE_SPR(TCR)
246 RESTORE_SPR(TCR)
/linux/arch/sh/drivers/dma/
A Ddma-sh.c225 (dma_base_addr(chan->chan) + TCR)); in sh_dmac_xfer_dma()
237 return __raw_readl(dma_base_addr(chan->chan) + TCR) in sh_dmac_get_dma_residue()
/linux/drivers/tty/
A Dsynclink_gt.c368 #define TCR 0x82 /* tx control */ macro
1329 value = rd_reg16(info, TCR); in set_break()
1334 wr_reg16(info, TCR, value); in set_break()
2785 val = rd_reg16(info, TCR); in set_interface()
2790 wr_reg16(info, TCR, val); in set_interface()
3941 wr_reg16(info, TCR, in tx_start()
4072 wr_reg16(info, TCR, val); in async_mode()
4234 wr_reg16(info, TCR, val); in sync_mode()
4396 tcr = rd_reg16(info, TCR); in tx_set_idle()
4406 wr_reg16(info, TCR, tcr); in tx_set_idle()
[all …]
/linux/sound/soc/dwc/
A Dlocal.h40 #define TCR(x) (0x40 * x + 0x034) macro
/linux/sound/soc/intel/keembay/
A Dkmb_platform.h39 #define TCR(x) (0x40 * (x) + 0x034) macro
/linux/drivers/dma/sh/
A Dshdmac.c40 #define TCR 0x08 /* Transfer Count Register */ macro
219 sh_dmae_writel(sh_chan, hw->tcr >> sh_chan->xmit_shift, TCR); in dmae_set_reg()
423 (sh_dmae_readl(sh_chan, TCR) << sh_chan->xmit_shift); in sh_dmae_get_partial()
/linux/drivers/net/ethernet/amd/
A Dariadne.h381 volatile u_char TCR; /* Timer Control Register */ member
/linux/drivers/net/ethernet/via/
A Dvia-velocity.c933 BYTE_REG_BITS_OFF(TCR_TB2BDIS, &regs->TCR); in velocity_set_media_mode()
940 BYTE_REG_BITS_ON(TCR_TB2BDIS, &regs->TCR); in velocity_set_media_mode()
1850 BYTE_REG_BITS_ON(TCR_TB2BDIS, &regs->TCR); in velocity_error()
1852 BYTE_REG_BITS_OFF(TCR_TB2BDIS, &regs->TCR); in velocity_error()
2563 td_ptr->tdesc1.TCR = TCR0_TIC; in velocity_xmit()
2597 td_ptr->tdesc1.TCR |= TCR0_VETAG; in velocity_xmit()
2606 td_ptr->tdesc1.TCR |= TCR0_TCPCK; in velocity_xmit()
2608 td_ptr->tdesc1.TCR |= (TCR0_UDPCK); in velocity_xmit()
2609 td_ptr->tdesc1.TCR |= TCR0_IPCK; in velocity_xmit()
/linux/arch/m68k/include/asm/
A DMC68EZ328.h605 #define TCR WORD_REF(TCR_ADDR) macro
609 #define TCR1 TCR
A DMC68VZ328.h697 #define TCR WORD_REF(TCR_ADDR) macro
701 #define TCR1 TCR
/linux/drivers/net/wan/
A Dhd64572.h103 #define TCR 0x152 /* Tx DMA Critical Request Reg */ macro

Completed in 65 milliseconds

12