Home
last modified time | relevance | path

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

/linux-2.6.39/arch/arm/plat-s3c24xx/include/plat/
Dirq.h33 unsigned long submask; in s3c_irqsub_mask() local
35 submask = __raw_readl(S3C2410_INTSUBMSK); in s3c_irqsub_mask()
38 submask |= (1UL << (irqno - IRQ_S3CUART_RX0)); in s3c_irqsub_mask()
42 if ((submask & subcheck) == subcheck) { in s3c_irqsub_mask()
47 __raw_writel(submask, S3C2410_INTSUBMSK); in s3c_irqsub_mask()
55 unsigned long submask; in s3c_irqsub_unmask() local
57 submask = __raw_readl(S3C2410_INTSUBMSK); in s3c_irqsub_unmask()
60 submask &= ~(1UL << (irqno - IRQ_S3CUART_RX0)); in s3c_irqsub_unmask()
64 __raw_writel(submask, S3C2410_INTSUBMSK); in s3c_irqsub_unmask()
/linux-2.6.39/drivers/sh/maple/
Dmaple.c491 static void maple_map_subunits(struct maple_device *mdev, int submask) in maple_map_subunits() argument
504 submask = submask >> 1; in maple_map_subunits()
507 devcheck = submask & 0x01; in maple_map_subunits()
518 submask = submask >> 1; in maple_map_subunits()
579 char submask; in maple_response_devinfo() local
594 submask = recvbuf[2] & 0x1F; in maple_response_devinfo()
595 if (submask ^ subdevice_map[mdev->port]) { in maple_response_devinfo()
596 maple_map_subunits(mdev, submask); in maple_response_devinfo()
597 subdevice_map[mdev->port] = submask; in maple_response_devinfo()