Home
last modified time | relevance | path

Searched refs:val1 (Results 1 – 23 of 23) sorted by relevance

/linux-2.4.37.9/arch/mips/pmc-sierra/yosemite/
Dht.c105 uint32_t address, *val1 = kmalloc(sizeof(uint32_t), GFP_KERNEL); in titan_ht_config_read_word() local
117 titan_ht_config_read_dword(device, offset, val1); in titan_ht_config_read_word()
120 *val = (*val1 & 0x0000ffff); in titan_ht_config_read_word()
122 *val = (*val1 & 0xffff0000) >> 16; in titan_ht_config_read_word()
146 uint32_t address, *val1 = kmalloc(sizeof(uint32_t), GFP_KERNEL); in titan_ht_config_read_byte() local
158 titan_ht_config_read_dword(device, offset, val1); in titan_ht_config_read_byte()
161 *val = (*val1 & 0x000000ff); in titan_ht_config_read_byte()
164 *val = ((*val1 & 0x0000ff00) >> 8); in titan_ht_config_read_byte()
167 *val = ((*val1 & 0x00ff0000) >> 16); in titan_ht_config_read_byte()
170 *val = ((*val1 & 0xff000000) >> 24); in titan_ht_config_read_byte()
[all …]
/linux-2.4.37.9/arch/sh/kernel/
Drtc-aica.c32 unsigned long val1, val2; in aica_rtc_gettimeofday() local
35 val1 = ((ctrl_inl(AICA_RTC_SECS_H) & 0xffff) << 16) | in aica_rtc_gettimeofday()
40 } while (val1 != val2); in aica_rtc_gettimeofday()
42 tv->tv_sec = val1 - TWENTY_YEARS; in aica_rtc_gettimeofday()
55 unsigned long val1, val2; in aica_rtc_settimeofday() local
62 val1 = ((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/ia64/lib/
Dcopy_user.S78 .rotr val1[PIPE_DEPTH],val2[PIPE_DEPTH]
113 EX(.failure_in_pipe1,(p16) ld1 val1[0]=[src1],1)
114 EX(.failure_out,(EPI) st1 [dst1]=val1[PIPE_DEPTH-1],1)
195 EX(.failure_in_pipe2,(p16) ld1 val1[0]=[src1],1)
196 EX(.failure_out,(EPI) st1 [dst1]=val1[PIPE_DEPTH-1],1)
240 (EPI_1) shrp tmp=val1[PIPE_DEPTH-2],val1[PIPE_DEPTH-1],rshift; \
241 EX(3f,(p16) ld8 val1[1]=[src1],8); \
242 (p16) mov val1[0]=r0; \
248 (EPI_1) shrp tmp=val1[PIPE_DEPTH-2],val1[PIPE_DEPTH-1],rshift; \
250 (p16) mov val1[1]=r0; \
[all …]
Dstrlen.S78 #define val1 r22 macro
113 czx1.r val1=v[1] // search 0 byte from right
117 cmp.eq.and p6,p0=8,val1 // p6 = p6 and val1==8
128 cmp.eq p8,p9=8,val1 // p6 = val1 had zero (disambiguate)
129 tnat.nz p6,p7=val1 // test NaT on val1
135 cmp.eq.and p7,p0=8,val1// val1==8?
139 (p8) mov val1=val2 // the other test got us out of the loop
144 sub tmp=8,val1 // which byte in word
180 czx1.r val1=val // search 0 byte from right
182 cmp.eq p6,p0=8,val1 // val1==8 ?
[all …]
Dstrlen_user.S80 #define val1 r22 macro
116 czx1.r val1=v[1] // search 0 byte from right
120 cmp.eq.and p6,p0=8,val1 // p6 = p6 and val1==8
131 cmp.eq p8,p9=8,val1 // p6 = val1 had zero (disambiguate)
132 tnat.nz p6,p7=val1 // test NaT on val1
138 cmp.eq.and p7,p0=8,val1// val1==8?
142 (p8) mov val1=val2 // val2 contains the value
147 sub tmp=7,val1 // 7=8-1 because this strlen returns strlen+1
177 czx1.r val1=val // search 0 byte from right
179 cmp.eq p6,p0=8,val1 // val1==8 ?
[all …]
/linux-2.4.37.9/drivers/char/
Di810-tco.c326 u8 val1, val2; in i810tco_getdevice() local
345 pci_read_config_byte (i810tco_pci, 0x40, &val1); in i810tco_getdevice()
347 badr = ((val2 << 1) | (val1 >> 7)) << 7; in i810tco_getdevice()
357 pci_read_config_byte (i810tco_pci, 0xd4, &val1); in i810tco_getdevice()
358 if (val1 & 0x02) { in i810tco_getdevice()
359 val1 &= 0xfd; in i810tco_getdevice()
360 pci_write_config_byte (i810tco_pci, 0xd4, val1); in i810tco_getdevice()
361 pci_read_config_byte (i810tco_pci, 0xd4, &val1); in i810tco_getdevice()
362 if (val1 & 0x02) { in i810tco_getdevice()
368 val1 = inb (SMI_EN + 1); in i810tco_getdevice()
[all …]
Dspecialix.c463 unsigned char val1, val2; in sx_probe() local
477 val1 = sx_in_off(bp, CD186x_PPRL); in sx_probe()
484 if ((val1 != 0x5a) || (val2 != 0xa5)) { in sx_probe()
492 val1 = read_cross_byte (bp, CD186x_MSVR, MSVR_DSR); in sx_probe()
496 board_No(bp), val1, val2); 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
282 val1 = rc_in(bp, CD180_PPRL); in rc_probe()
287 if ((val1 != 0x5a) || (val2 != 0xa5)) { in rc_probe()
303 val1 = rc_in(bp, RC_BSR); /* Get Board Status reg */ in rc_probe()
307 if ((val1 & RC_BSR_TINT) || (val2 != (RC_ID | GIVR_IT_TX))) { in rc_probe()
/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/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()
50 d[0] = (val1 >> 24) & 0xff; in movepl2()
51 d[2] = (val1 >> 16) & 0xff; in movepl2()
52 d[4] = (val1 >> 8) & 0xff; in movepl2()
53 d[6] = val1 & 0xff; in movepl2()
76 static __inline__ void memclear_8p_col(void *d, size_t h, u32 val1, in memclear_8p_col() argument
81 movepl2(dd, val1, val2); in memclear_8p_col()
101 static __inline__ void memset_even_8p(void *d, size_t count, u32 val1, in memset_even_8p() argument
108 *dd++ = val1; in memset_even_8p()
Dfbcon-iplan2p4.c82 static __inline__ void memset_even_4p(void *d, size_t count, u32 val1, in memset_even_4p() argument
89 *dd++ = val1; in memset_even_4p()
Dradeonfb.c837 static __inline__ int _max(int val1, int val2) in _max() argument
839 if (val1 >= val2) in _max()
840 return val1; in _max()
/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
116 val1 = 0xE0 | (bit - 16); in sable_ack_irq_hw()
120 val1 = 0xE0 | (bit - 8); in sable_ack_irq_hw()
124 val1 = 0xE0 | (bit - 0); in sable_ack_irq_hw()
128 outb(val1, port); /* ack the slave */ in sable_ack_irq_hw()
Dpci.c114 #define MAX(val1, val2) ((val1) > (val2) ? (val1) : (val2)) argument
/linux-2.4.37.9/drivers/sound/
Dsb_ess.c967 int val1, val2; in FKS_test() local
968 val1 = ess_getmixer (devc, 0x64); in FKS_test()
969 ess_setmixer (devc, 0x64, ~val1); in FKS_test()
970 val2 = ess_getmixer (devc, 0x64) ^ ~val1; in FKS_test()
971 ess_setmixer (devc, 0x64, val1); in FKS_test()
972 val1 ^= ess_getmixer (devc, 0x64); 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
1007 val1 = ess_getmixer (devc, reg); in ess_probe()
1008 val2 = val1 ^ xorval; in ess_probe()
[all …]
/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/fs/xfs/support/
Dktrace.c157 void *val1, in ktrace_enter() argument
197 ktep->val[1] = val1; in ktrace_enter()
/linux-2.4.37.9/drivers/char/drm/
Dmga_drv.h304 #define DMA_BLOCK( reg0, val0, reg1, val1, reg2, val2, reg3, val3 ) \ argument
311 DMA_WRITE( 2, val1 ); \
/linux-2.4.37.9/drivers/usb/
Dov511.c771 unsigned char val0, val1; in ov511_upload_quan_tables() local
779 val1 = *pYTable++; in ov511_upload_quan_tables()
781 val1 &= 0x0f; in ov511_upload_quan_tables()
782 val0 |= val1 << 4; in ov511_upload_quan_tables()
790 val1 = *pUVTable++; in ov511_upload_quan_tables()
792 val1 &= 0x0f; in ov511_upload_quan_tables()
793 val0 |= val1 << 4; in ov511_upload_quan_tables()
811 unsigned char val0, val1; in ov518_upload_quan_tables() local
819 val1 = *pYTable++; in ov518_upload_quan_tables()
821 val1 &= 0x0f; in ov518_upload_quan_tables()
[all …]
/linux-2.4.37.9/drivers/media/video/
Dmsp3400.c773 int count, max1,max2,val1,val2, val,this; in msp3400c_thread() local
823 val1 = val2 = 0; in msp3400c_thread()
851 if (val1 < val) in msp3400c_thread()
852 val1 = val, max1 = this; in msp3400c_thread()