Home
last modified time | relevance | path

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

/bootable/bootloader/legacy/arch_msm7k/
Dvic.c77 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()
Dgpio.c101 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()
Dhsusb.c43 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/
Devents.c33 #define test_bit(bit, array) \ argument
34 ((array)[(bit)/BITS_PER_LONG] & (1 << ((bit) % BITS_PER_LONG)))