Home
last modified time | relevance | path

Searched defs:bit (Results 1 – 25 of 169) sorted by relevance

1234567

/linux-2.4.37.9/include/asm-mips/
Dsmp.h55 #define CPUMASK_SETB(p, bit) (p) |= 1UL << (bit) argument
56 #define CPUMASK_CLRB(p, bit) (p) &= ~(1UL << (bit)) argument
57 #define CPUMASK_TSTB(p, bit) ((p) & (1UL << (bit))) argument
65 #define CPUMASK_INDEX(bit) ((bit) >> 6) argument
66 #define CPUMASK_SHFT(bit) ((bit) & 0x3f) argument
73 #define CPUMASK_SETB(p, bit) (p)._bits[CPUMASK_INDEX(bit)] |= \ argument
75 #define CPUMASK_CLRB(p, bit) (p)._bits[CPUMASK_INDEX(bit)] &= \ argument
77 #define CPUMASK_TSTB(p, bit) ((p)._bits[CPUMASK_INDEX(bit)] & \ argument
/linux-2.4.37.9/include/asm-mips64/
Dsmp.h55 #define CPUMASK_SETB(p, bit) (p) |= 1UL << (bit) argument
56 #define CPUMASK_CLRB(p, bit) (p) &= ~(1UL << (bit)) argument
57 #define CPUMASK_TSTB(p, bit) ((p) & (1UL << (bit))) argument
65 #define CPUMASK_INDEX(bit) ((bit) >> 6) argument
66 #define CPUMASK_SHFT(bit) ((bit) & 0x3f) argument
73 #define CPUMASK_SETB(p, bit) (p)._bits[CPUMASK_INDEX(bit)] |= \ argument
75 #define CPUMASK_CLRB(p, bit) (p)._bits[CPUMASK_INDEX(bit)] &= \ argument
77 #define CPUMASK_TSTB(p, bit) ((p)._bits[CPUMASK_INDEX(bit)] & \ argument
/linux-2.4.37.9/arch/ppc/kernel/
Dppc4xx_pic.c106 int bit, word; in ppc403_aic_enable() local
118 int bit, word; in ppc403_aic_disable() local
130 int bit, word; in ppc403_aic_disable_and_ack() local
149 int bit, word; in ppc405_uic_enable() local
191 int bit, word; in ppc405_uic_disable() local
213 int bit, word; in ppc405_uic_disable_and_ack() local
242 int bit, word; in ppc405_uic_end() local
352 int bit, word; in ppc4xx_extpic_init() local
Dppc8xx_pic.c24 int bit, word; in m8xx_mask_irq() local
36 int bit, word; in m8xx_unmask_irq() local
49 int bit, word; in m8xx_end_irq() local
63 int bit, word; in m8xx_mask_and_ack() local
Dcpm2_pic.c45 int bit, word; in cpm2_mask_irq() local
58 int bit, word; in cpm2_unmask_irq() local
71 int bit, word; in cpm2_mask_and_ack() local
86 int bit, word; in cpm2_end_irq() local
/linux-2.4.37.9/arch/alpha/kernel/
Dsys_sable.c94 sable_update_irq_hw(unsigned long bit, unsigned long mask) in sable_update_irq_hw()
110 sable_ack_irq_hw(unsigned long bit) in sable_ack_irq_hw()
293 lynx_update_irq_hw(unsigned long bit, unsigned long mask) in lynx_update_irq_hw()
309 lynx_ack_irq_hw(unsigned long bit) in lynx_ack_irq_hw()
448 unsigned long bit, mask; in sable_lynx_enable_irq() local
464 unsigned long bit, mask; in sable_lynx_disable_irq() local
494 unsigned long bit, mask; in sable_lynx_mask_and_ack_irq() local
521 int bit, irq; in sable_lynx_srm_device_interrupt() local
/linux-2.4.37.9/arch/ia64/sn/io/sn2/
Dml_SN_intr.c157 int bit, in do_intr_reserve_level()
220 int bit, in intr_reserve_level()
230 int bit) in intr_unreserve_level()
239 int bit, in do_intr_connect_level()
268 int bit, in intr_connect_level()
277 int bit) in intr_disconnect_level()
368 int bit; in intr_heuristic() local
/linux-2.4.37.9/arch/sh/kernel/
Dsetup_cqreek.c51 unsigned short bit; /* Value of the bit */ member
60 unsigned short bit = cqreek_irq_data[irq].bit; in disable_cqreek_irq() local
74 unsigned short bit = cqreek_irq_data[irq].bit; in enable_cqreek_irq() local
86 unsigned short bit = cqreek_irq_data[irq].bit; in mask_and_ack_cqreek() local
Dsetup_bigsur.c67 unsigned char bit = (1 << ((irq - MGATE_IRQ_LOW)%8) ); in disable_bigsur_l1irq() local
89 unsigned char bit = (1 << ((irq - MGATE_IRQ_LOW)%8) ); in enable_bigsur_l1irq() local
132 unsigned char bit = 1 << ((irq-BIGSUR_2NDLVL_IRQ_LOW)%8); in disable_bigsur_l2irq() local
154 unsigned char bit = 1 << ((irq-BIGSUR_2NDLVL_IRQ_LOW)%8); in enable_bigsur_l2irq() local
/linux-2.4.37.9/include/asm-s390x/
Dsystem.h183 #define __ctl_set_bit(cr, bit) ({ \ argument
201 #define __ctl_clear_bit(cr, bit) ({ \ argument
246 #define ctl_set_bit(cr, bit) smp_ctl_set_bit(cr, bit) argument
247 #define ctl_clear_bit(cr, bit) smp_ctl_clear_bit(cr, bit) argument
258 #define ctl_set_bit(cr, bit) __ctl_set_bit(cr, bit) argument
259 #define ctl_clear_bit(cr, bit) __ctl_clear_bit(cr, bit) argument
/linux-2.4.37.9/include/asm-s390/
Dsystem.h171 #define __ctl_set_bit(cr, bit) ({ \ argument
190 #define __ctl_clear_bit(cr, bit) ({ \ argument
235 #define ctl_set_bit(cr, bit) smp_ctl_set_bit(cr, bit) argument
236 #define ctl_clear_bit(cr, bit) smp_ctl_clear_bit(cr, bit) argument
247 #define ctl_set_bit(cr, bit) __ctl_set_bit(cr, bit) argument
248 #define ctl_clear_bit(cr, bit) __ctl_clear_bit(cr, bit) argument
/linux-2.4.37.9/fs/hfs/
Dbitops.c38 int bit = offset % 32; in hfs_find_zero_bit() local
88 int bit = offset % 32; in hfs_count_zero_bits() local
/linux-2.4.37.9/include/asm-x86_64/
Dcpufeature.h82 #define boot_cpu_has(bit) test_bit(bit, boot_cpu_data.x86_capability) argument
83 #define cpu_has(c, bit) test_bit(bit, (c)->x86_capability) argument
86 #define cpu_has(c, bit) test_bit(bit, (c)->x86_capability) argument
87 #define boot_cpu_has(bit) test_bit(bit, boot_cpu_data.x86_capability) argument
/linux-2.4.37.9/fs/ufs/
Dialloc.c68 unsigned ino, cg, bit; in ufs_free_inode() local
153 unsigned cg, bit, i, j, start; in ufs_new_inode() local
Dutil.h284 #define ubh_blkmap(ubh,begin,bit) \ argument
331 #define ubh_setbit(ubh,begin,bit) \ argument
334 #define ubh_clrbit(ubh,begin,bit) \ argument
337 #define ubh_isset(ubh,begin,bit) \ argument
340 #define ubh_isclr(ubh,begin,bit) (!ubh_isset(ubh,begin,bit)) argument
371 unsigned bit, i; in find_last_zero_bit() local
/linux-2.4.37.9/include/asm-ia64/
Dbitops.h33 __u32 bit, old, new; in set_bit() local
105 __u32 bit, old, new; in change_bit() local
144 __u32 bit, old, new; in test_and_set_bit() local
234 __u32 bit, old, new; in test_and_change_bit() local
254 __u32 old, bit = (1 << (nr & 31)); in __test_and_change_bit() local
/linux-2.4.37.9/arch/mips/jmr3927/rbhma3100/
Dirq.c190 unsigned int bit = 1 << irq_nr; in mask_irq_isac() local
200 unsigned int bit = 1 << irq_nr; in unmask_irq_isac() local
211 unsigned int bit = 1 << irq_nr; in mask_irq_ioc() local
221 unsigned int bit = 1 << irq_nr; in unmask_irq_ioc() local
/linux-2.4.37.9/drivers/char/
Drtc.c935 #define YN(bit) ((ctrl & bit) ? "yes" : "no") in rtc_proc_output() argument
936 #define NY(bit) ((ctrl & bit) ? "no" : "yes") in rtc_proc_output() argument
1138 static void mask_rtc_irq_bit(unsigned char bit) in mask_rtc_irq_bit()
1152 static void set_rtc_irq_bit(unsigned char bit) in set_rtc_irq_bit()
/linux-2.4.37.9/arch/ia64/sn/kernel/
Dirq.c222 bit_pos_to_irq(int bit) { in bit_pos_to_irq()
232 int bit = irq - IRQ_TO_BIT; in irq_to_bit_pos() local
365 int bit; in sn_get_next_bit() local
/linux-2.4.37.9/fs/ntfs/
Dinode.h50 static __inline__ int ntfs_test_and_set_bit(unsigned char *byte, const int bit) in ntfs_test_and_set_bit()
/linux-2.4.37.9/arch/sh64/mach-cayman/
Dirq.c60 unsigned char bit; in enable_cayman_irq() local
77 unsigned char bit; in disable_cayman_irq() local
/linux-2.4.37.9/arch/mips/kernel/
Dbranch.c26 unsigned int *addr, bit, fcr31; in __compute_return_epc() local
/linux-2.4.37.9/arch/mips64/kernel/
Dbranch.c24 unsigned int *addr, bit, fcr31; in __compute_return_epc() local
/linux-2.4.37.9/arch/mips/sgi-ip27/
Dip27-irq.c318 static hub_intmasks_t *intr_get_ptrs(cpuid_t cpu, int bit, int *new_bit, in intr_get_ptrs()
336 int intr_connect_level(int cpu, int bit) in intr_connect_level()
362 int intr_disconnect_level(int cpu, int bit) in intr_disconnect_level()
/linux-2.4.37.9/fs/affs/
Dbitmap.c73 u32 blk, bmap, bit, mask, tmp; in affs_free_block() local
151 u32 blk, bmap, bit, mask, mask2, tmp; in affs_alloc_block() local

1234567