Home
last modified time | relevance | path

Searched refs:tscr (Results 1 – 3 of 3) sorted by relevance

/Linux-v5.4/drivers/media/pci/pluto2/
Dpluto2.c320 u32 tscr; in pluto_irq() local
323 tscr = pluto_readreg(pluto, REG_TSCR); in pluto_irq()
324 if (!(tscr & (TSCR_DE | TSCR_OVR))) in pluto_irq()
327 if (tscr == 0xffffffff) { in pluto_irq()
336 if (tscr & TSCR_DE) { in pluto_irq()
337 pluto_dma_end(pluto, (tscr & TSCR_NBPACKETS) >> 24); in pluto_irq()
339 if (tscr & TSCR_OVR) in pluto_irq()
347 } else if (tscr & TSCR_OVR) { in pluto_irq()
352 pluto_write_tscr(pluto, tscr | TSCR_IACK); in pluto_irq()
/Linux-v5.4/arch/powerpc/platforms/powernv/
Didle.c289 u64 tscr; member
341 sprs.tscr = mfspr(SPRN_TSCR); in power7_idle_insn()
443 mtspr(SPRN_TSCR, sprs.tscr); in power7_idle_insn()
580 u64 tscr; member
677 sprs.tscr = mfspr(SPRN_TSCR); in power9_idle_stop()
761 mtspr(SPRN_TSCR, sprs.tscr); in power9_idle_stop()
/Linux-v5.4/arch/powerpc/kernel/
Dsysfs.c491 SYSFS_SPRSETUP(tscr, SPRN_TSCR);
502 static DEVICE_ATTR(tscr, 0600, show_tscr, store_tscr);