Home
last modified time | relevance | path

Searched refs:GT_WRITE (Results 1 – 7 of 7) sorted by relevance

/openbmc/linux/arch/mips/kernel/
H A Dcevt-gt641xx.c29 GT_WRITE(GT_TC0_OFS, gt641xx_base_clock / HZ); in gt641xx_timer0_state()
30 GT_WRITE(GT_TC_CONTROL_OFS, GT_TC_CONTROL_ENTC0_MSK); in gt641xx_timer0_state()
46 GT_WRITE(GT_TC0_OFS, delta); in gt641xx_timer0_set_next_event()
47 GT_WRITE(GT_TC_CONTROL_OFS, ctrl); in gt641xx_timer0_set_next_event()
62 GT_WRITE(GT_TC_CONTROL_OFS, ctrl); in gt641xx_timer0_shutdown()
77 GT_WRITE(GT_TC_CONTROL_OFS, ctrl); in gt641xx_timer0_set_oneshot()
91 GT_WRITE(GT_TC_CONTROL_OFS, ctrl); in gt641xx_timer0_set_periodic()
130 GT_WRITE(GT_TC0_OFS, gt641xx_base_clock / HZ); in gt641xx_timer0_clockevent_init()
H A Dirq-gt641xx.c27 GT_WRITE(GT_INTRCAUSE_OFS, cause); in ack_gt641xx_irq()
39 GT_WRITE(GT_INTRMASK_OFS, mask); in mask_gt641xx_irq()
51 GT_WRITE(GT_INTRMASK_OFS, mask); in mask_ack_gt641xx_irq()
55 GT_WRITE(GT_INTRCAUSE_OFS, cause); in mask_ack_gt641xx_irq()
67 GT_WRITE(GT_INTRMASK_OFS, mask); in unmask_gt641xx_irq()
107 GT_WRITE(GT_INTRMASK_OFS, 0); in gt641xx_irq_init()
108 GT_WRITE(GT_INTRCAUSE_OFS, 0); in gt641xx_irq_init()
/openbmc/linux/arch/mips/pci/
H A Dops-gt64xxx_pci0.c40 GT_WRITE(GT_INTRCAUSE_OFS, ~(GT_INTRCAUSE_MASABORT0_BIT | in gt64xxx_pci0_pcibios_config_access()
44 GT_WRITE(GT_PCI0_CFGADDR_OFS, in gt64xxx_pci0_pcibios_config_access()
56 GT_WRITE(GT_PCI0_CFGDATA_OFS, *data); in gt64xxx_pci0_pcibios_config_access()
77 GT_WRITE(GT_INTRCAUSE_OFS, ~(GT_INTRCAUSE_MASABORT0_BIT | in gt64xxx_pci0_pcibios_config_access()
H A Dfixup-cobalt.c123 GT_WRITE(GT_PCI0_TOR_OFS, 0x4020); in qube_raq_galileo_fixup()
131 GT_WRITE(GT_PCI0_TOR_OFS, in qube_raq_galileo_fixup()
137 GT_WRITE(GT_INTRMASK_OFS, GT_INTR_RETRYCTR0_MSK | GT_READ(GT_INTRMASK_OFS)); in qube_raq_galileo_fixup()
H A Dpci-malta.c92 GT_WRITE(GT_PCI0_CFGADDR_OFS, in mips_pcibios_init()
100 GT_WRITE(GT_PCI0_CFGDATA_OFS, CPHYSADDR(MIPS_GT_BASE)); in mips_pcibios_init()
/openbmc/linux/arch/mips/mti-malta/
H A Dmalta-init.c181 GT_WRITE(GT_PCI0_CMD_OFS, GT_PCI0_CMD_MBYTESWAP_BIT | in prom_init()
184 GT_WRITE(GT_PCI0_CMD_OFS, 0); in prom_init()
191 GT_WRITE(GT_PCI0IOREMAP_OFS, map); in prom_init()
/openbmc/linux/arch/mips/include/asm/
H A Dgt64120.h561 #define GT_WRITE(ofs, data) __GT_WRITE(ofs, cpu_to_le32(data)) macro