Home
last modified time | relevance | path

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

/openbmc/linux/arch/powerpc/platforms/52xx/
H A Dmedia5200.c41 struct media5200_irq { struct
46 struct media5200_irq media5200_irq; argument
53 spin_lock_irqsave(&media5200_irq.lock, flags); in media5200_irq_unmask()
54 val = in_be32(media5200_irq.regs + MEDIA5200_IRQ_ENABLE); in media5200_irq_unmask()
56 out_be32(media5200_irq.regs + MEDIA5200_IRQ_ENABLE, val); in media5200_irq_unmask()
57 spin_unlock_irqrestore(&media5200_irq.lock, flags); in media5200_irq_unmask()
65 spin_lock_irqsave(&media5200_irq.lock, flags); in media5200_irq_mask()
66 val = in_be32(media5200_irq.regs + MEDIA5200_IRQ_ENABLE); in media5200_irq_mask()
68 out_be32(media5200_irq.regs + MEDIA5200_IRQ_ENABLE, val); in media5200_irq_mask()
69 spin_unlock_irqrestore(&media5200_irq.lock, flags); in media5200_irq_mask()
[all …]