Home
last modified time | relevance | path

Searched refs:val2 (Results 1 – 25 of 28) sorted by relevance

12

/linux-2.4.37.9/net/khttpd/
Dsecurity.c166 int val,val2; in DecodeHexChars() local
192 val2 = *Source; in DecodeHexChars()
194 if (val2>'Z') val2-=0x20; in DecodeHexChars()
195 val2 = val2 - '0'; in DecodeHexChars()
196 if (val2<0) val2=0; in DecodeHexChars()
197 if (val2>9) val2-=7; in DecodeHexChars()
198 if (val2>15) val2=15; in DecodeHexChars()
200 *Dest=val*16+val2; in DecodeHexChars()
/linux-2.4.37.9/arch/sh/kernel/
Drtc-aica.c32 unsigned long val1, val2; in aica_rtc_gettimeofday() local
38 val2 = ((ctrl_inl(AICA_RTC_SECS_H) & 0xffff) << 16) | in aica_rtc_gettimeofday()
40 } while (val1 != val2); in aica_rtc_gettimeofday()
55 unsigned long val1, val2; in aica_rtc_settimeofday() local
65 val2 = ((ctrl_inl(AICA_RTC_SECS_H) & 0xffff) << 16) | in aica_rtc_settimeofday()
67 } while (val1 != val2); in aica_rtc_settimeofday()
/linux-2.4.37.9/arch/mips/pmc-sierra/yosemite/
Dht.c218 uint32_t address, val1, val2; in titan_ht_config_write_word() local
230 titan_ht_config_read_dword(device, offset, &val2); in titan_ht_config_write_word()
233 val2 = ( (val2 & ~(0x0000ffff)) | val); in titan_ht_config_write_word()
238 val2 = ( (val2 & ~(0xffff0000)) | val1); in titan_ht_config_write_word()
241 titan_ht_config_write_dword(device, offset, val2); in titan_ht_config_write_word()
251 uint32_t address, val1, val2; in titan_ht_config_write_byte() local
264 titan_ht_config_read_dword(device, offset, &val2); in titan_ht_config_write_byte()
268 val2 = ( (val2 & ~(0x000000ff)) | val1); in titan_ht_config_write_byte()
273 val2 = ( (val2 & ~(0x0000ff00)) | val1); in titan_ht_config_write_byte()
278 val2 = ( (val2 & ~(0x00ff0000)) | val1); in titan_ht_config_write_byte()
[all …]
/linux-2.4.37.9/include/asm-i386/
Dmsr.h10 #define rdmsr(msr,val1,val2) \ argument
12 : "=a" (val1), "=d" (val2) \
15 #define wrmsr(msr,val1,val2) \ argument
18 : "c" (msr), "a" (val1), "d" (val2))
29 #define write_tsc(val1,val2) wrmsr(0x10, val1, val2) argument
/linux-2.4.37.9/include/asm-x86_64/
Dmsr.h11 #define rdmsr(msr,val1,val2) \ argument
13 : "=a" (val1), "=d" (val2) \
24 #define wrmsr(msr,val1,val2) \ argument
27 : "c" (msr), "a" (val1), "d" (val2))
63 #define write_tsc(val1,val2) wrmsr(0x10, val1, val2) argument
/linux-2.4.37.9/arch/ia64/lib/
Dstrlen.S79 #define val2 r23 macro
114 czx1.r val2=w[1] // search 0 byte from right following 8bytes
118 cmp.eq.and p6,p0=8,val2 // p6 = p6 and mask==8
136 tnat.nz.and p7,p0=val2 // test NaT if val2
139 (p8) mov val1=val2 // the other test got us out of the loop
Dcopy_user.S78 .rotr val1[PIPE_DEPTH],val2[PIPE_DEPTH]
344 EX(.failure_in1,(p8) ld4 val2[0]=[src1],4) // 4-byte aligned
353 EX(.failure_in1,(p9) ld8 val2[1]=[src1],8) // 8-byte aligned
357 EX(.failure_out, (p8) st4 [dst1]=val2[0],4)
361 EX(.failure_out, (p9) st8 [dst1]=val2[1],8)
376 (p16) ld8 val2[0]=[src2],16
379 (EPI) st8 [dst2]=val2[PIPE_DEPTH-1],16
395 EX(.failure_in1,(p8) ld2 val2[0]=[src1],2) // at least 2 bytes
400 EX(.failure_in1,(p9) ld1 val2[1]=[src1]) // only 1 byte left
406 EX(.failure_out, (p8) st2 [dst1]=val2[0],2)
[all …]
Dstrlen_user.S81 #define val2 r23 macro
117 czx1.r val2=w[1] // search 0 byte from right following 8bytes
121 cmp.eq.and p6,p0=8,val2 // p6 = p6 and mask==8
139 tnat.nz.and p7,p0=val2 // test NaT if val2
142 (p8) mov val1=val2 // val2 contains the value
/linux-2.4.37.9/drivers/video/
Dfbcon-iplan2p8.c44 static inline void movepl2(u8 *d, u32 val1, u32 val2) in movepl2() argument
48 : : "a" (d), "d" (val1), "d" (val2)); in movepl2()
54 d[8] = (val2 >> 24) & 0xff; in movepl2()
55 d[10] = (val2 >> 16) & 0xff; in movepl2()
56 d[12] = (val2 >> 8) & 0xff; in movepl2()
57 d[14] = val2 & 0xff; in movepl2()
77 u32 val2, int bpr) in memclear_8p_col() argument
81 movepl2(dd, val1, val2); in memclear_8p_col()
102 u32 val2, u32 val3, u32 val4) in memset_even_8p() argument
109 *dd++ = val2; in memset_even_8p()
Dfbcon-iplan2p4.c83 u32 val2) in memset_even_4p() argument
90 *dd++ = val2; in memset_even_4p()
/linux-2.4.37.9/drivers/scsi/
Dsata_sis.c164 u32 val, val2 = 0; in sis_scr_cfg_read() local
175 pci_read_config_dword(pdev, cfg_addr+0x10, &val2); in sis_scr_cfg_read()
177 return val|val2; in sis_scr_cfg_read()
200 u32 val, val2 = 0; in sis_scr_read() local
214 val2 = inl(ap->ioaddr.scr_addr + (sc_reg * 4) + 0x10); in sis_scr_read()
216 return val | val2; in sis_scr_read()
/linux-2.4.37.9/include/asm-ia64/sn/
Drw_mmr.h59 pio_atomic_phys_write_mmrs(volatile long *mmr1, long val1, volatile long *mmr2, long val2) in pio_atomic_phys_write_mmrs() argument
69 :: "r"(mmr1), "r"(val1), "r"(mmr2), "r"(val2) in pio_atomic_phys_write_mmrs()
/linux-2.4.37.9/arch/alpha/kernel/
Dsys_sable.c112 int port, val1, val2; in sable_ack_irq_hw() local
117 val2 = 0xE0 | 4; in sable_ack_irq_hw()
121 val2 = 0xE0 | 3; in sable_ack_irq_hw()
125 val2 = 0xE0 | 1; in sable_ack_irq_hw()
129 outb(val2, 0x534); /* ack the master */ in sable_ack_irq_hw()
Dpci.c114 #define MAX(val1, val2) ((val1) > (val2) ? (val1) : (val2)) argument
/linux-2.4.37.9/drivers/char/
Di810-tco.c326 u8 val1, val2; in i810tco_getdevice() local
346 pci_read_config_byte (i810tco_pci, 0x41, &val2); in i810tco_getdevice()
347 badr = ((val2 << 1) | (val1 >> 7)) << 7; in i810tco_getdevice()
Dspecialix.c463 unsigned char val1, val2; in sx_probe() local
481 val2 = sx_in_off(bp, CD186x_PPRL); in sx_probe()
484 if ((val1 != 0x5a) || (val2 != 0xa5)) { in sx_probe()
493 val2 = read_cross_byte (bp, CD186x_MSVR, MSVR_RTS); in sx_probe()
496 board_No(bp), val1, val2); in sx_probe()
502 val2 = (bp->flags & SX_BOARD_IS_PCI)?0x4d : 0xb2; in sx_probe()
503 if (val1 != val2) { in sx_probe()
505 board_No(bp), val2, bp->base, val1); in sx_probe()
535 val1, val2, val3); in sx_probe()
Driscom8.c270 unsigned char val1, val2; in rc_probe() local
285 val2 = rc_in(bp, CD180_PPRL); in rc_probe()
287 if ((val1 != 0x5a) || (val2 != 0xa5)) { in rc_probe()
304 val2 = rc_in(bp, RC_ACK_TINT); /* ACK interrupt */ in rc_probe()
307 if ((val1 & RC_BSR_TINT) || (val2 != (RC_ID | GIVR_IT_TX))) { in rc_probe()
/linux-2.4.37.9/arch/parisc/kernel/
Dpci.c379 #define MAX(val1, val2) ((val1) > (val2) ? (val1) : (val2)) argument
/linux-2.4.37.9/arch/m68k/kernel/
Dbios32.c49 #define MAX(val1, val2) (((val1) > (val2)) ? val1 : val2) argument
/linux-2.4.37.9/drivers/media/video/
Dbw-qcam.c458 int val2; in qc_set() local
479 val2 = q->transfer_scale * 4; in qc_set()
482 val2 = (((q->port_mode & QC_MODE_MASK) == QC_BIDIR) ? 24 : 8) * in qc_set()
485 val = (val + val2 - 1) / val2; in qc_set()
Dmsp3400.c773 int count, max1,max2,val1,val2, val,this; in msp3400c_thread() local
823 val1 = val2 = 0; in msp3400c_thread()
888 if (val2 < val) in msp3400c_thread()
889 val2 = val, max2 = this; in msp3400c_thread()
/linux-2.4.37.9/fs/xfs/support/
Dktrace.c158 void *val2, in ktrace_enter() argument
198 ktep->val[2] = val2; in ktrace_enter()
/linux-2.4.37.9/drivers/sound/
Dsb_ess.c967 int val1, val2; in FKS_test() local
970 val2 = ess_getmixer (devc, 0x64) ^ ~val1; in FKS_test()
973 printk (KERN_INFO "FKS: FKS_test %02x, %02x\n", (val1 & 0x0ff), (val2 & 0x0ff)); in FKS_test()
1005 int val1, val2, val3; in ess_probe() local
1008 val2 = val1 ^ xorval; in ess_probe()
1009 ess_setmixer (devc, reg, val2); in ess_probe()
1013 return (val2 == val3); in ess_probe()
/linux-2.4.37.9/drivers/usb/
Daudio.c2510 int val2, mapped, ret; in usb_audio_ioctl() local
2564 val2 = (file->f_mode & FMODE_READ) ? as->usbin.dma.format : as->usbout.dma.format; in usb_audio_ioctl()
2565 val2 &= 0x00ffffff; in usb_audio_ioctl()
2567 val2 |= AFMT_STEREO; in usb_audio_ioctl()
2569 val2 &= ~AFMT_STEREO; in usb_audio_ioctl()
2570 if (set_format(as, file->f_mode, val2, 0)) in usb_audio_ioctl()
2578 val2 = (file->f_mode & FMODE_READ) ? as->usbin.dma.format : as->usbout.dma.format; in usb_audio_ioctl()
2580 val2 &= 0x00ffffff; in usb_audio_ioctl()
2581 val2 |= (val-1)<<24; in usb_audio_ioctl()
2583 if (set_format(as, file->f_mode, val2, 0)) in usb_audio_ioctl()
[all …]
/linux-2.4.37.9/drivers/char/drm/
Dmga_drv.h304 #define DMA_BLOCK( reg0, val0, reg1, val1, reg2, val2, reg3, val3 ) \ argument
312 DMA_WRITE( 3, val2 ); \

12