Searched refs:submask (Results 1 – 2 of 2) sorted by relevance
33 unsigned long submask; in s3c_irqsub_mask() local35 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() local57 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()
491 static void maple_map_subunits(struct maple_device *mdev, int submask) in maple_map_subunits() argument504 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() local594 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()