Searched refs:bit (Results 1 - 25 of 2839) sorted by relevance

1234567891011>>

/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src/router/gdb/libiberty/
H A Dffs.c1 /* ffs -- Find the first bit set in the parameter
5 Find the first (least significant) bit set in @var{valu}. Bits are
6 numbered from right to left, starting with bit 1 (corresponding to the
16 register int bit; local
21 for (bit = 1; !(valu & 1); bit++)
24 return bit;
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt/router/gdb/libiberty/
H A Dffs.c1 /* ffs -- Find the first bit set in the parameter
5 Find the first (least significant) bit set in @var{valu}. Bits are
6 numbered from right to left, starting with bit 1 (corresponding to the
16 register int bit; local
21 for (bit = 1; !(valu & 1); bit++)
24 return bit;
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/router/gdb/libiberty/
H A Dffs.c1 /* ffs -- Find the first bit set in the parameter
5 Find the first (least significant) bit set in @var{valu}. Bits are
6 numbered from right to left, starting with bit 1 (corresponding to the
16 register int bit; local
21 for (bit = 1; !(valu & 1); bit++)
24 return bit;
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6.36/arch/sh/boards/mach-x3proto/
H A Dilsel.c38 * 1:1 mapping between the bit position and the IRQ number.
47 static inline unsigned int ilsel_offset(unsigned int bit) argument
49 return ILSEL_LEVELS - bit - 1;
52 static inline unsigned long mk_ilsel_addr(unsigned int bit) argument
54 return ILSEL_BASE + ((ilsel_offset(bit) >> 1) & ~0x1);
57 static inline unsigned int mk_ilsel_shift(unsigned int bit) argument
59 return (ilsel_offset(bit) & 0x3) << 2;
62 static void __ilsel_enable(ilsel_source_t set, unsigned int bit) argument
67 addr = mk_ilsel_addr(bit);
68 shift = mk_ilsel_shift(bit);
93 unsigned int bit; local
121 unsigned int bit = ilsel_offset(level - 1); local
[all...]
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6/arch/sh/boards/mach-x3proto/
H A Dilsel.c38 * 1:1 mapping between the bit position and the IRQ number.
47 static inline unsigned int ilsel_offset(unsigned int bit) argument
49 return ILSEL_LEVELS - bit - 1;
52 static inline unsigned long mk_ilsel_addr(unsigned int bit) argument
54 return ILSEL_BASE + ((ilsel_offset(bit) >> 1) & ~0x1);
57 static inline unsigned int mk_ilsel_shift(unsigned int bit) argument
59 return (ilsel_offset(bit) & 0x3) << 2;
62 static void __ilsel_enable(ilsel_source_t set, unsigned int bit) argument
67 addr = mk_ilsel_addr(bit);
68 shift = mk_ilsel_shift(bit);
93 unsigned int bit; local
121 unsigned int bit = ilsel_offset(level - 1); local
[all...]
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6/drivers/staging/cx25821/
H A Dcx25821-biffuncs.h33 inline u32 clearBitAtPos(u32 value, u8 bit) argument
35 return value & ~(1 << bit);
38 inline u32 setBitAtPos(u32 sample, u8 bit) argument
40 sample |= (1 << bit);
H A Dcx25821-gpio.c29 int bit = pin_number; local
39 bit = pin_number - 31;
47 value = gpio_register | Set_GPIO_Bit(bit);
49 value = gpio_register & Clear_GPIO_Bit(bit);
57 int bit = pin_number; local
69 bit = pin_number - 31;
76 value &= Clear_GPIO_Bit(bit);
78 value |= Set_GPIO_Bit(bit);
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6.36/drivers/staging/cx25821/
H A Dcx25821-biffuncs.h33 inline u32 clearBitAtPos(u32 value, u8 bit) argument
35 return value & ~(1 << bit);
38 inline u32 setBitAtPos(u32 sample, u8 bit) argument
40 sample |= (1 << bit);
H A Dcx25821-gpio.c29 int bit = pin_number; local
39 bit = pin_number - 31;
47 value = gpio_register | Set_GPIO_Bit(bit);
49 value = gpio_register & Clear_GPIO_Bit(bit);
57 int bit = pin_number; local
69 bit = pin_number - 31;
76 value &= Clear_GPIO_Bit(bit);
78 value |= Set_GPIO_Bit(bit);
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6.36/fs/ocfs2/
H A Dheartbeat.c44 int bit);
46 int bit);
85 int bit)
87 set_bit(bit, map->map);
92 int bit)
94 if (bit==-1)
96 BUG_ON(bit >= map->num_nodes);
98 __ocfs2_node_map_set_bit(map, bit);
103 int bit)
105 clear_bit(bit, ma
84 __ocfs2_node_map_set_bit(struct ocfs2_node_map *map, int bit) argument
90 ocfs2_node_map_set_bit(struct ocfs2_super *osb, struct ocfs2_node_map *map, int bit) argument
102 __ocfs2_node_map_clear_bit(struct ocfs2_node_map *map, int bit) argument
108 ocfs2_node_map_clear_bit(struct ocfs2_super *osb, struct ocfs2_node_map *map, int bit) argument
120 ocfs2_node_map_test_bit(struct ocfs2_super *osb, struct ocfs2_node_map *map, int bit) argument
[all...]
H A Dheartbeat.h37 int bit);
40 int bit);
43 int bit);
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6/fs/ocfs2/
H A Dheartbeat.c44 int bit);
46 int bit);
85 int bit)
87 set_bit(bit, map->map);
92 int bit)
94 if (bit==-1)
96 BUG_ON(bit >= map->num_nodes);
98 __ocfs2_node_map_set_bit(map, bit);
103 int bit)
105 clear_bit(bit, ma
84 __ocfs2_node_map_set_bit(struct ocfs2_node_map *map, int bit) argument
90 ocfs2_node_map_set_bit(struct ocfs2_super *osb, struct ocfs2_node_map *map, int bit) argument
102 __ocfs2_node_map_clear_bit(struct ocfs2_node_map *map, int bit) argument
108 ocfs2_node_map_clear_bit(struct ocfs2_super *osb, struct ocfs2_node_map *map, int bit) argument
120 ocfs2_node_map_test_bit(struct ocfs2_super *osb, struct ocfs2_node_map *map, int bit) argument
[all...]
H A Dheartbeat.h37 int bit);
40 int bit);
43 int bit);
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6/arch/x86/include/asm/
H A Dcpufeature.h9 #define NCAPINTS 10 /* N 32-bit words worth of info */
14 * this feature bit is not displayed in /proc/cpuinfo at all.
35 #define X86_FEATURE_PSE36 (0*32+17) /* 36-bit PSEs */
104 #define X86_FEATURE_DTES64 (4*32+ 2) /* 64-bit Debug Store */
127 #define X86_FEATURE_F16C (4*32+29) /* 16-bit fp conversions */
148 #define X86_FEATURE_CR8_LEGACY (6*32+ 4) /* CR8 in 32-bit mode */
149 #define X86_FEATURE_ABM (6*32+ 5) /* Advanced bit manipulation */
195 #define test_cpu_cap(c, bit) \
196 test_bit(bit, (unsigned long *)((c)->x86_capability))
198 #define cpu_has(c, bit) \
307 __static_cpu_has(u16 bit) argument
[all...]
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6.36/arch/x86/include/asm/
H A Dcpufeature.h9 #define NCAPINTS 10 /* N 32-bit words worth of info */
14 * this feature bit is not displayed in /proc/cpuinfo at all.
35 #define X86_FEATURE_PSE36 (0*32+17) /* 36-bit PSEs */
104 #define X86_FEATURE_DTES64 (4*32+ 2) /* 64-bit Debug Store */
127 #define X86_FEATURE_F16C (4*32+29) /* 16-bit fp conversions */
148 #define X86_FEATURE_CR8_LEGACY (6*32+ 4) /* CR8 in 32-bit mode */
149 #define X86_FEATURE_ABM (6*32+ 5) /* Advanced bit manipulation */
195 #define test_cpu_cap(c, bit) \
196 test_bit(bit, (unsigned long *)((c)->x86_capability))
198 #define cpu_has(c, bit) \
307 __static_cpu_has(u16 bit) argument
[all...]
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6.36/drivers/auxdisplay/
H A Dks0108.c64 * There are not bit definitions because they are not flags,
73 #define bit(n) (((unsigned char)1)<<(n)) macro
83 parport_write_control(ks0108_parport, byte ^ (bit(0) | bit(1) | bit(3)));
88 ks0108_writedata((state ? bit(0) : 0) | bit(1) | bit(2) | bit(3) | bit(
[all...]
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6/drivers/auxdisplay/
H A Dks0108.c64 * There are not bit definitions because they are not flags,
73 #define bit(n) (((unsigned char)1)<<(n)) macro
83 parport_write_control(ks0108_parport, byte ^ (bit(0) | bit(1) | bit(3)));
88 ks0108_writedata((state ? bit(0) : 0) | bit(1) | bit(2) | bit(3) | bit(
[all...]
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6.36/security/selinux/ss/
H A Debitmap.h9 * an explicitly specified starting bit position within
61 unsigned int bit)
65 ofs = find_next_bit((*n)->maps, EBITMAP_SIZE, bit - (*n)->startbit + 1);
77 #define EBITMAP_NODE_INDEX(node, bit) \
78 (((bit) - (node)->startbit) / EBITMAP_UNIT_SIZE)
79 #define EBITMAP_NODE_OFFSET(node, bit) \
80 (((bit) - (node)->startbit) % EBITMAP_UNIT_SIZE)
83 unsigned int bit)
85 unsigned int index = EBITMAP_NODE_INDEX(n, bit);
86 unsigned int ofs = EBITMAP_NODE_OFFSET(n, bit);
59 ebitmap_next_positive(struct ebitmap *e, struct ebitmap_node **n, unsigned int bit) argument
82 ebitmap_node_get_bit(struct ebitmap_node *n, unsigned int bit) argument
94 ebitmap_node_set_bit(struct ebitmap_node *n, unsigned int bit) argument
104 ebitmap_node_clr_bit(struct ebitmap_node *n, unsigned int bit) argument
[all...]
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6/security/selinux/ss/
H A Debitmap.h9 * an explicitly specified starting bit position within
61 unsigned int bit)
65 ofs = find_next_bit((*n)->maps, EBITMAP_SIZE, bit - (*n)->startbit + 1);
77 #define EBITMAP_NODE_INDEX(node, bit) \
78 (((bit) - (node)->startbit) / EBITMAP_UNIT_SIZE)
79 #define EBITMAP_NODE_OFFSET(node, bit) \
80 (((bit) - (node)->startbit) % EBITMAP_UNIT_SIZE)
83 unsigned int bit)
85 unsigned int index = EBITMAP_NODE_INDEX(n, bit);
86 unsigned int ofs = EBITMAP_NODE_OFFSET(n, bit);
59 ebitmap_next_positive(struct ebitmap *e, struct ebitmap_node **n, unsigned int bit) argument
82 ebitmap_node_get_bit(struct ebitmap_node *n, unsigned int bit) argument
94 ebitmap_node_set_bit(struct ebitmap_node *n, unsigned int bit) argument
104 ebitmap_node_clr_bit(struct ebitmap_node *n, unsigned int bit) argument
[all...]
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6/arch/m68k/math-emu/
H A Dfp_emu.h52 #define fp_set_sr(bit) ({ \
53 FPDATA->fpsr |= 1 << (bit); \
130 * set, reset or clear a bit in the fp status register
132 .macro fp_set_sr bit
133 bset #(\bit&7),(FPD_FPSR+3-(\bit/8),FPDATA)
136 .macro fp_clr_sr bit
137 bclr #(\bit&7),(FPD_FPSR+3-(\bit/8),FPDATA)
140 .macro fp_tst_sr bit
[all...]
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6.36/arch/m68k/math-emu/
H A Dfp_emu.h52 #define fp_set_sr(bit) ({ \
53 FPDATA->fpsr |= 1 << (bit); \
130 * set, reset or clear a bit in the fp status register
132 .macro fp_set_sr bit
133 bset #(\bit&7),(FPD_FPSR+3-(\bit/8),FPDATA)
136 .macro fp_clr_sr bit
137 bclr #(\bit&7),(FPD_FPSR+3-(\bit/8),FPDATA)
140 .macro fp_tst_sr bit
[all...]
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt/router/shared/sysdeps/broadcom/
H A Dbroadcom.c49 uint32_t bit; local
55 bit = 1 << i;
56 if ((mask & bit) == bit) {
57 _gpio_ioctl(f, GPIO_IOC_RESERVE, bit, bit);
58 _gpio_ioctl(f, GPIO_IOC_OUTEN, bit, 0);
71 uint32_t bit; local
73 bit = 1<< bitvalue;
77 _gpio_ioctl(f, GPIO_IOC_RESERVE, bit, bi
117 uint32_t bit; local
[all...]
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src/router/shared/sysdeps/broadcom/
H A Dbroadcom.c49 uint32_t bit; local
55 bit = 1 << i;
56 if ((mask & bit) == bit) {
57 _gpio_ioctl(f, GPIO_IOC_RESERVE, bit, bit);
58 _gpio_ioctl(f, GPIO_IOC_OUTEN, bit, 0);
71 uint32_t bit; local
73 bit = 1<< bitvalue;
77 _gpio_ioctl(f, GPIO_IOC_RESERVE, bit, bi
117 uint32_t bit; local
[all...]
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/router/shared/sysdeps/broadcom/
H A Dbroadcom.c49 uint32_t bit; local
55 bit = 1 << i;
56 if ((mask & bit) == bit) {
57 _gpio_ioctl(f, GPIO_IOC_RESERVE, bit, bit);
58 _gpio_ioctl(f, GPIO_IOC_OUTEN, bit, 0);
71 uint32_t bit; local
73 bit = 1<< bitvalue;
77 _gpio_ioctl(f, GPIO_IOC_RESERVE, bit, bi
117 uint32_t bit; local
[all...]
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6/arch/blackfin/mach-bf561/
H A Dhotplug.c18 unsigned long bit = 1 << (SIC_SYSIRQ(IRQ_SUPPLE_0) % 32); local
22 iwr[bank] = bit;

Completed in 356 milliseconds

1234567891011>>