Searched refs:bit (Results 1 – 4 of 4) sorted by relevance
/bootable/bootloader/legacy/arch_msm7k/ |
D | vic.c | 77 unsigned reg, bit; in irq_unmask() local 80 bit = 1 << (n & 31); in irq_unmask() 82 writel(readl(reg) | bit, reg); in irq_unmask() 87 unsigned reg, bit; in irq_mask() local 90 bit = 1 << (n & 31); in irq_mask() 92 writel(bit, reg); in irq_mask() 97 unsigned reg, bit, tmp; in irq_install() local 100 bit = 1 << (n & 31); in irq_install() 104 writel(tmp | bit, reg); in irq_install() 106 writel(tmp & (~bit), reg); in irq_install()
|
D | gpio.c | 101 static gpioregs *find_gpio(unsigned n, unsigned *bit) in find_gpio() argument 105 *bit = 1 << (n - 95); in find_gpio() 109 *bit = 1 << (n - 68); in find_gpio() 113 *bit = 1 << (n - 43); in find_gpio() 117 *bit = 1 << (n - 16); in find_gpio() 120 *bit = 1 << n; in find_gpio()
|
D | hsusb.c | 43 unsigned bit; member 70 ept->bit = EPT_TX(ept->num); in usb_endpoint_alloc() 72 ept->bit = EPT_RX(ept->num); in usb_endpoint_alloc() 84 num, in ? "in":"out", ept, ept->head, max_pkt, ept->bit); in usb_endpoint_alloc() 138 writel(ept->bit, USB_ENDPTPRIME); in usb_queue_req() 227 writel(ept->bit, USB_ENDPTSETUPSTAT); in handle_setup() 445 if(n & ept->bit) { in usb_poll()
|
/bootable/recovery/minui/ |
D | events.c | 33 #define test_bit(bit, array) \ argument 34 ((array)[(bit)/BITS_PER_LONG] & (1 << ((bit) % BITS_PER_LONG)))
|