Home
last modified time | relevance | path

Searched refs:cr (Results 1 – 25 of 88) sorted by relevance

1234

/linux-2.4.37.9/include/asm-s390/
Dsystem.h171 #define __ctl_set_bit(cr, bit) ({ \ argument
186 : "=m" (dummy) : "a" (cr*17), "a" (1<<(bit)) \
190 #define __ctl_clear_bit(cr, bit) ({ \ argument
205 : "=m" (dummy) : "a" (cr*17), "a" (~(1<<(bit))) \
233 extern void smp_ctl_set_bit(int cr, int bit);
234 extern void smp_ctl_clear_bit(int cr, int bit);
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/include/asm-s390x/
Dsystem.h183 #define __ctl_set_bit(cr, bit) ({ \ argument
197 : "=m" (dummy) : "a" (cr*17), "a" (1L<<(bit)) \
201 #define __ctl_clear_bit(cr, bit) ({ \ argument
215 : "=m" (dummy) : "a" (cr*17), "a" (~(1L<<(bit))) \
244 extern void smp_ctl_set_bit(int cr, int bit);
245 extern void smp_ctl_clear_bit(int cr, int bit);
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-parisc/
Dsystem.h85 unsigned long cr; \
88 "=r" (cr) \
90 cr; \
93 #define mtctl(gr, cr) \ argument
96 : "r" (gr), "i" (cr))
107 unsigned long cr; \
110 "=r" (cr) \
112 cr; \
115 #define mtsp(gr, cr) \ argument
118 : "r" (gr), "i" (cr))
Dcurrent.h10 register unsigned long cr; in get_current() local
12 __asm__ __volatile__("mfctl %%cr30,%0" : "=r" (cr) ); in get_current()
13 return (struct task_struct *)cr; in get_current()
/linux-2.4.37.9/arch/ia64/kernel/
Dmca_asm.S151 mov r16=cr.lid
247 mov cr.itir=r18
248 mov cr.ifa=r17
264 mov cr.itir=r18
265 mov cr.ifa=r16
282 mov cr.itir=r19
283 mov cr.ifa=r16
302 mov cr.itir=r19
303 mov cr.ifa=r18
445 mov r3=cr.dcr
[all …]
Divt.S121 mov r16=cr.ifa // get address that caused the TLB miss
124 mov r25=cr.itir
169 mov r19=cr.isr // cr.isr bit 0 tells us if this is an insn miss
172 mov r22=cr.iha // get the VHPT address that caused the TLB miss
180 mov cr.ifa=r22
183 (p8) mov cr.itir=r25 // change to default page-size for VHPT
228 mov r16=cr.ifa // get virtual address
232 mov r17=cr.iha // get virtual address of L3 PTE
266 mov r16=cr.ifa // get virtual address
270 mov r17=cr.iha // get virtual address of L3 PTE
[all …]
/linux-2.4.37.9/fs/xfs/linux-2.4/
Dxfs_vnode.h289 #define VOP_READ(vp,file,buf,size,offset,ioflags,cr,rv) \ argument
290 rv = _VOP_(vop_read, vp)((vp)->v_fbhv,file,buf,size,offset,ioflags,cr)
291 #define VOP_WRITE(vp,file,buf,size,offset,ioflags,cr,rv) \ argument
292 rv = _VOP_(vop_write, vp)((vp)->v_fbhv,file,buf,size,offset,ioflags,cr)
295 #define VOP_OPEN(vp, cr, rv) \ argument
296 rv = _VOP_(vop_open, vp)((vp)->v_fbhv, cr)
297 #define VOP_GETATTR(vp, vap, f, cr, rv) \ argument
298 rv = _VOP_(vop_getattr, vp)((vp)->v_fbhv, vap, f, cr)
299 #define VOP_SETATTR(vp, vap, f, cr, rv) \ argument
300 rv = _VOP_(vop_setattr, vp)((vp)->v_fbhv, vap, f, cr)
[all …]
Dxfs_vfs.h156 #define VFS_MOUNT(v, ma,cr, rv) ((rv) = vfs_mount(VHEAD(v), ma,cr)) argument
159 #define VFS_UNMOUNT(v, f, cr, rv) ((rv) = vfs_unmount(VHEAD(v), f,cr)) argument
163 #define VFS_SYNC(v, flag,cr, rv) ((rv) = vfs_sync(VHEAD(v), flag,cr)) argument
175 #define PVFS_MOUNT(b, ma,cr, rv) ((rv) = vfs_mount(b, ma,cr)) argument
178 #define PVFS_UNMOUNT(b, f,cr, rv) ((rv) = vfs_unmount(b, f,cr)) argument
182 #define PVFS_SYNC(b, flag,cr, rv) ((rv) = vfs_sync(b, flag,cr)) argument
Dxfs_vfs.c54 struct cred *cr) in vfs_mount() argument
61 return ((*bhvtovfsops(next)->vfs_mount)(next, args, cr)); in vfs_mount()
96 struct cred *cr) in vfs_unmount() argument
103 return ((*bhvtovfsops(next)->vfs_unmount)(next, fl, cr)); in vfs_unmount()
151 struct cred *cr) in vfs_sync() argument
158 return ((*bhvtovfsops(next)->vfs_sync)(next, fl, cr)); in vfs_sync()
/linux-2.4.37.9/drivers/video/
Dbt455.h36 static inline void bt455_read_cmap_entry(struct bt455_regs *regs, int cr, in bt455_read_cmap_entry() argument
39 bt455_select_reg(regs, cr); in bt455_read_cmap_entry()
48 static inline void bt455_write_cmap_entry(struct bt455_regs *regs, int cr, in bt455_write_cmap_entry() argument
51 bt455_select_reg(regs, cr); in bt455_write_cmap_entry()
60 static inline void bt455_write_ovly_entry(struct bt455_regs *regs, int cr, in bt455_write_ovly_entry() argument
63 bt455_select_reg(regs, cr); in bt455_write_ovly_entry()
/linux-2.4.37.9/net/bluetooth/rfcomm/
Dcore.c72 static int rfcomm_send_nsc(struct rfcomm_session *s, int cr, u8 type);
73 static int rfcomm_send_pn(struct rfcomm_session *s, int cr, struct rfcomm_dlc *d);
74 static int rfcomm_send_msc(struct rfcomm_session *s, int cr, u8 dlci, u8 v24_sig);
75 static int rfcomm_send_test(struct rfcomm_session *s, int cr, u8 *pattern, int len);
91 #define __addr(cr, dlci) (((dlci & 0x3f) << 2) | (cr << 1) | 0x01) argument
101 #define __mcc_type(cr, type) (((type << 2) | (cr << 1) | 0x01)) argument
700 static int rfcomm_send_nsc(struct rfcomm_session *s, int cr, u8 type) in rfcomm_send_nsc() argument
706 BT_DBG("%p cr %d type %d", s, cr, type); in rfcomm_send_nsc()
714 mcc->type = __mcc_type(cr, RFCOMM_NSC); in rfcomm_send_nsc()
718 *ptr = __mcc_type(cr, type); ptr++; in rfcomm_send_nsc()
[all …]
/linux-2.4.37.9/net/lapb/
Dlapb_subr.c123 frame->cr = LAPB_COMMAND; in lapb_decode()
125 frame->cr = LAPB_RESPONSE; in lapb_decode()
128 frame->cr = LAPB_COMMAND; in lapb_decode()
130 frame->cr = LAPB_RESPONSE; in lapb_decode()
135 frame->cr = LAPB_COMMAND; in lapb_decode()
137 frame->cr = LAPB_RESPONSE; in lapb_decode()
140 frame->cr = LAPB_COMMAND; in lapb_decode()
142 frame->cr = LAPB_RESPONSE; in lapb_decode()
251 if (lapb->frmr_data.cr == LAPB_RESPONSE) in lapb_transmit_frmr()
265 if (lapb->frmr_data.cr == LAPB_RESPONSE) in lapb_transmit_frmr()
/linux-2.4.37.9/arch/s390x/kernel/
Dsmp.c459 void smp_ctl_set_bit(int cr, int bit) { in smp_ctl_set_bit() argument
463 parms.start_ctl = cr; in smp_ctl_set_bit()
464 parms.end_ctl = cr; in smp_ctl_set_bit()
465 parms.orvals[cr] = 1 << bit; in smp_ctl_set_bit()
466 parms.andvals[cr] = -1L; in smp_ctl_set_bit()
469 __ctl_set_bit(cr, bit); in smp_ctl_set_bit()
475 void smp_ctl_clear_bit(int cr, int bit) { in smp_ctl_clear_bit() argument
479 parms.start_ctl = cr; in smp_ctl_clear_bit()
480 parms.end_ctl = cr; in smp_ctl_clear_bit()
481 parms.orvals[cr] = 0; in smp_ctl_clear_bit()
[all …]
/linux-2.4.37.9/arch/s390/kernel/
Dsmp.c478 void smp_ctl_set_bit(int cr, int bit) { in smp_ctl_set_bit() argument
482 parms.start_ctl = cr; in smp_ctl_set_bit()
483 parms.end_ctl = cr; in smp_ctl_set_bit()
484 parms.orvals[cr] = 1 << bit; in smp_ctl_set_bit()
485 parms.andvals[cr] = 0xFFFFFFFF; in smp_ctl_set_bit()
488 __ctl_set_bit(cr, bit); in smp_ctl_set_bit()
494 void smp_ctl_clear_bit(int cr, int bit) { in smp_ctl_clear_bit() argument
498 parms.start_ctl = cr; in smp_ctl_clear_bit()
499 parms.end_ctl = cr; in smp_ctl_clear_bit()
500 parms.orvals[cr] = 0x00000000; in smp_ctl_clear_bit()
[all …]
/linux-2.4.37.9/include/asm-ia64/
Dmca_asm.h114 mov cr.ipsr = temp1; \
118 mov cr.iip = temp2; \
119 mov cr.ifs = r0; \
194 mov cr.ipsr = temp1; \
197 mov cr.iip = temp2; \
257 mov temp=cr.ifs;; \
301 mov cr.ifs=temp;; \
307 mov cr.ipsr=temp;; \
310 mov cr.iip=temp;; \
/linux-2.4.37.9/drivers/isdn/hisax/
Dq931.c1202 unsigned char pd, cr_l, cr, mt; in dlogframe() local
1267 cr = *buf++; in dlogframe()
1269 cr = 0; in dlogframe()
1278 cr & 0x7f, (cr & 0x80) ? "called" : "caller", in dlogframe()
1282 cr & 0x7f, (cr & 0x80) ? "called" : "caller", in dlogframe()
1291 cr & 0x7f, (cr & 0x80) ? "called" : "caller", in dlogframe()
1295 cr & 0x7f, (cr & 0x80) ? "called" : "caller", in dlogframe()
1368 cr = *buf++; in dlogframe()
1370 cr = 0; in dlogframe()
1379 cr & 0x7f, (cr & 0x80) ? "called" : "caller", in dlogframe()
[all …]
/linux-2.4.37.9/arch/ia64/sn/kernel/
Dsn_ivt.S52 mov r16=cr.ifa // get address that caused the TLB miss
54 mov r20=cr.isr // need to check for SP and NA status
56 mov r21=cr.ipsr // get ipsr incase we need to poke the ED bit
83 (p10) mov cr.itir=r25 // use smaller pagesize for tc
87 (p6) mov cr.ipsr=r21 // p6 (speculation): set ed (else we can get stuck)
/linux-2.4.37.9/arch/parisc/kernel/
Dtraps.c342 regs->gr[0] = pim_wide->cr[22]; in transfer_pim_to_trap_frame()
353 regs->iasq[0] = pim_wide->cr[17]; in transfer_pim_to_trap_frame()
355 regs->iaoq[0] = pim_wide->cr[18]; in transfer_pim_to_trap_frame()
358 regs->sar = pim_wide->cr[11]; in transfer_pim_to_trap_frame()
359 regs->iir = pim_wide->cr[19]; in transfer_pim_to_trap_frame()
360 regs->isr = pim_wide->cr[20]; in transfer_pim_to_trap_frame()
361 regs->ior = pim_wide->cr[21]; in transfer_pim_to_trap_frame()
366 regs->gr[0] = pim_narrow->cr[22]; in transfer_pim_to_trap_frame()
377 regs->iasq[0] = pim_narrow->cr[17]; in transfer_pim_to_trap_frame()
379 regs->iaoq[0] = pim_narrow->cr[18]; in transfer_pim_to_trap_frame()
[all …]
/linux-2.4.37.9/arch/ppc/xmon/
Dppc-dis.c151 int cr; in print_insn_powerpc() local
154 cr = value >> 2; in print_insn_powerpc()
155 if (cr != 0) in print_insn_powerpc()
156 fprintf(out, "4*cr%d", cr); in print_insn_powerpc()
160 if (cr != 0) in print_insn_powerpc()
/linux-2.4.37.9/arch/ppc64/xmon/
Dppc-dis.c151 int cr; in print_insn_powerpc() local
154 cr = value >> 2; in print_insn_powerpc()
155 if (cr != 0) in print_insn_powerpc()
156 fprintf(out, "4*cr%d", cr); in print_insn_powerpc()
160 if (cr != 0) in print_insn_powerpc()
/linux-2.4.37.9/Documentation/cdrom/
Dcdrom-standard.tex165 \halign{$#$\ \hfil&$#$\ \hfil&$/*$ \rm# $*/$\hfil\cr
166 struct& file_operations\ cdrom_fops = \{\hidewidth\cr
167 &NULL, & lseek \cr
168 &block_read, & read---general block-dev read \cr
169 &block_write, & write---general block-dev write \cr
170 &NULL, & readdir \cr
171 &NULL, & select \cr
172 &cdrom_ioctl, & ioctl \cr
173 &NULL, & mmap \cr
174 &cdrom_open, & open \cr
[all …]
/linux-2.4.37.9/arch/sh/kernel/
Dhd64465_gpio.c43 unsigned short cr; in hd64465_gpio_configure() local
46 cr = inw(GPIO_CR(_PORTOF(portpin))); in hd64465_gpio_configure()
47 cr &= ~(3<<shift); in hd64465_gpio_configure()
48 cr |= direction<<shift; in hd64465_gpio_configure()
49 outw(cr, GPIO_CR(_PORTOF(portpin))); in hd64465_gpio_configure()
/linux-2.4.37.9/drivers/ieee1394/
Dohci1394.c3127 #define cf_put_1quad(cr, q) (((cr)->data++)[0] = cpu_to_be32(q)) argument
3129 #define cf_put_4bytes(cr, b1, b2, b3, b4) \ argument
3130 (((cr)->data++)[0] = cpu_to_be32(((b1) << 24) | ((b2) << 16) | ((b3) << 8) | (b4)))
3132 #define cf_put_keyval(cr, key, val) (((cr)->data++)[0] = cpu_to_be32(((key) << 24) | (val))) argument
3134 static inline void cf_put_str(struct config_rom_ptr *cr, const char *str) in cf_put_str() argument
3143 cf_put_4bytes(cr, fourb[0], fourb[1], fourb[2], fourb[3]); in cf_put_str()
3149 static inline void cf_put_crc16(struct config_rom_ptr *cr, int unit) in cf_put_crc16() argument
3151 *cr->unitdir[unit].start = in cf_put_crc16()
3152 cpu_to_be32((cr->unitdir[unit].length << 16) | in cf_put_crc16()
3153 ohci_crc16(cr->unitdir[unit].start + 1, in cf_put_crc16()
[all …]
/linux-2.4.37.9/drivers/net/
Dewrk3.c400 u_char cr, cmr, icr, nicsr, lemac, hard_strapped = 0; in ewrk3_hw_init() local
489 cr = inb(EWRK3_CR); /* Set up the Control Register */ in ewrk3_hw_init()
490 cr |= eeprom_image[EEPROM_SETUP] & SETUP_APD; in ewrk3_hw_init()
491 if (cr & SETUP_APD) in ewrk3_hw_init()
492 cr |= eeprom_image[EEPROM_SETUP] & SETUP_PS; in ewrk3_hw_init()
493 cr |= eeprom_image[EEPROM_MISC0] & FAST_BUS; in ewrk3_hw_init()
494 cr |= eeprom_image[EEPROM_MISC0] & ENA_16; in ewrk3_hw_init()
495 outb(cr, EWRK3_CR); in ewrk3_hw_init()
909 u_char icr, cr, csr; in ewrk3_interrupt() local
923 cr = inb(EWRK3_CR); in ewrk3_interrupt()
[all …]
/linux-2.4.37.9/drivers/usb/
Drtl8150.c259 u8 cr; in rtl8150_set_mac_address() local
261 get_registers(dev, CR, 1, &cr); in rtl8150_set_mac_address()
263 cr |= 0x20; in rtl8150_set_mac_address()
264 set_registers(dev, CR, 1, &cr); in rtl8150_set_mac_address()
272 cr &= 0xdf; in rtl8150_set_mac_address()
273 set_registers(dev, CR, 1, &cr); in rtl8150_set_mac_address()
426 u8 cr, tcr, rcr, msr; in enable_net_traffic() local
434 cr = 0x0c; in enable_net_traffic()
437 set_registers(dev, CR, 1, &cr); in enable_net_traffic()
445 u8 cr; in disable_net_traffic() local
[all …]

1234