Home
last modified time | relevance | path

Searched refs:w0 (Results 1 – 22 of 22) sorted by relevance

/linux-2.4.37.9/drivers/block/paride/
Don26.c54 case 0: w0(1); P1; w0(r); P2; w0(0); P1; in on26_read_regr()
60 case 1: w0(1); P1; w0(r); P2; w0(0); P1; in on26_read_regr()
84 case 1: w0(1); P1; w0(r); P2; w0(0); P1; in on26_write_regr()
85 w0(val); P2; w0(val); P2; in on26_write_regr()
98 #define CCP(x) w0(0xfe);w0(0xaa);w0(0x55);w0(0);w0(0xff);\
99 w0(0x87);w0(0x78);w0(x);w2(4);w2(5);w2(4);w0(0xff);
111 w0(2); P1; w0(8); P2; in on26_connect()
112 w0(2); P1; w0(x); P2; in on26_connect()
118 else { w0(4); P1; w0(4); P1; } in on26_disconnect()
120 w0(pi->saved_r0); in on26_disconnect()
[all …]
Ddstr.c52 w0(0x81); P1; in dstr_read_regr()
53 if (pi->mode) { w0(0x11); } else { w0(1); } in dstr_read_regr()
54 P2; w0(r); P1; in dstr_read_regr()
61 case 1: w0(0); w2(0x26); a = r0(); w2(4); in dstr_read_regr()
79 w0(0x81); P1; in dstr_write_regr()
80 if (pi->mode >= 2) { w0(0x11); } else { w0(1); } in dstr_write_regr()
81 P2; w0(r); P1; in dstr_write_regr()
86 case 1: w0(val); w2(5); w2(7); w2(5); w2(4); in dstr_write_regr()
96 #define CCP(x) w0(0xff);w2(0xc);w2(4);\
97 w0(0xaa);w0(0x55);w0(0);w0(0xff);w0(0x87);w0(0x78);\
[all …]
Dkbic.c52 case 0: w0(regr|0x18|s); w2(4); w2(6); w2(4); w2(1); w0(8); in kbic_read_regr()
53 a = r1(); w0(0x28); b = r1(); w2(4); in kbic_read_regr()
56 case 1: w0(regr|0x38|s); w2(4); w2(6); w2(4); w2(5); w0(8); in kbic_read_regr()
60 case 2: w0(regr|0x08|s); w2(4); w2(6); w2(4); w2(0xa5); w2(0xa1); in kbic_read_regr()
66 case 5: w0(0x20|s); w2(4); w2(6); w2(4); w3(regr); in kbic_read_regr()
84 case 2: w0(regr|0x10|s); w2(4); w2(6); w2(4); in kbic_write_regr()
85 w0(val); w2(5); w2(4); in kbic_write_regr()
90 case 5: w0(0x20|s); w2(4); w2(6); w2(4); w3(regr); in kbic_write_regr()
107 { w0(pi->saved_r0); in k951_disconnect()
111 #define CCP(x) w2(0xc4);w0(0xaa);w0(0x55);w0(0);w0(0xff);w0(0x87);\
[all …]
Dbpck.c55 case 0: w0(r & 0xf); w0(r); t2(2); t2(4); in bpck_read_regr()
61 case 1: w0(r & 0xf); w0(r); t2(2); in bpck_read_regr()
69 case 4: w0(r); w2(9); w2(0); w2(0x20); in bpck_read_regr()
87 case 1: w0(r); in bpck_write_regr()
89 w0(val); in bpck_write_regr()
95 case 4: w0(r); w2(9); w2(0); in bpck_write_regr()
96 w0(val); w2(1); w2(3); w2(0); in bpck_write_regr()
114 w0(0x40); t2(2); t2(1); in bpck_write_block()
115 for (i=0;i<count;i++) { w0(buf[i]); t2(4); } in bpck_write_block()
120 w0(0x40); t2(2); t2(1); in bpck_write_block()
[all …]
Depat.c50 case 2: w0(0x60+r); w2(1); w0(val); w2(4); in epat_write_regr()
69 case 0: w0(r); w2(1); w2(3); in epat_read_regr()
73 case 1: w0(0x40+r); w2(1); w2(4); in epat_read_regr()
74 a = r1(); b = r2(); w0(0xff); in epat_read_regr()
77 case 2: w0(0x20+r); w2(1); w2(0x25); in epat_read_regr()
96 case 0: w0(7); w2(1); w2(3); w0(0xff); in epat_read_block()
99 if (k == count-1) w0(0xfd); in epat_read_block()
106 w0(0); w2(4); in epat_read_block()
109 case 1: w0(0x47); w2(1); w2(5); w0(0xff); in epat_read_block()
112 if (k == count-1) w0(0xfd); in epat_read_block()
[all …]
Dfit2.c42 w2(0xc); w0(regr); w2(4); w0(val); w2(5); w0(0); w2(4); in fit2_write_regr()
54 w2(0xc); w0(r); w2(4); w2(5); in fit2_read_regr()
55 w0(0); a = r1(); in fit2_read_regr()
56 w0(1); b = r1(); in fit2_read_regr()
67 w2(0xc); w0(0x10); in fit2_read_block()
72 w0(0); a = r1(); w0(1); b = r1(); in fit2_read_block()
73 w0(3); c = r1(); w0(2); d = r1(); in fit2_read_block()
78 a = r1(); w0(3); b = r1(); in fit2_read_block()
79 w0(1); c = r1(); w0(0); d = r1(); in fit2_read_block()
94 w2(0xc); w0(0); in fit2_write_block()
[all …]
Depia.c57 w0(r); w2(1); w2(3); w0(r); in epia_read_regr()
62 w0(r); w2(1); w0(r&0x37); in epia_read_regr()
63 w2(3); w2(5); w0(r|0xf0); in epia_read_regr()
68 w0(r); w2(1); w2(0X21); w2(0x23); in epia_read_regr()
92 w0(r); w2(1); w0(val); w2(3); w2(4); in epia_write_regr()
117 w2(4); w0(0xa0); w0(0x50); w0(0xc0); w0(0x30); w0(0xa0); w0(0); in epia_connect()
120 w0(0xa); w2(1); w2(4); w0(0x82); w2(4); w2(0xc); w2(4); in epia_connect()
129 w0(pi->saved_r0); in epia_disconnect()
131 w0(pi->saved_r0); in epia_disconnect()
141 case 0: w0(0x81); w2(1); w2(3); w0(0xc1); in epia_read_block()
[all …]
Dcomm.c52 case 0: w0(r); P1; w0(0); in comm_read_regr()
53 w2(6); l = r1(); w0(0x80); h = r1(); w2(4); in comm_read_regr()
56 case 1: w0(r+0x20); P1; in comm_read_regr()
57 w0(0); w2(0x26); h = r0(); w2(4); in comm_read_regr()
79 case 1: w0(r); P1; w0(val); P2; in comm_write_regr()
93 w2(4); w0(0xff); w2(6); in comm_connect()
94 w2(4); w0(0xaa); w2(6); in comm_connect()
95 w2(4); w0(0x00); w2(6); in comm_connect()
96 w2(4); w0(0x87); w2(6); in comm_connect()
97 w2(4); w0(0xe0); w2(0xc); w2(0xc); w2(4); in comm_connect()
[all …]
Dfit3.c48 case 1: w2(0xc); w0(regr); w2(0x8); w2(0xc); in fit3_write_regr()
49 w0(val); w2(0xd); in fit3_write_regr()
50 w0(0); w2(0xc); in fit3_write_regr()
53 case 2: w2(0xc); w0(regr); w2(0x8); w2(0xc); in fit3_write_regr()
72 case 0: w2(0xc); w0(regr + 0x10); w2(0x8); w2(0xc); in fit3_read_regr()
78 case 1: w2(0xc); w0(regr + 0x90); w2(0x8); w2(0xc); in fit3_read_regr()
83 case 2: w2(0xc); w0(regr + 0x90); w2(0x8); w2(0xc); in fit3_read_regr()
100 case 0: w2(0xc); w0(0x10); w2(0x8); w2(0xc); in fit3_read_block()
112 case 1: w2(0xc); w0(0x90); w2(0x8); w2(0xc); in fit3_read_block()
124 case 2: w2(0xc); w0(0x90); w2(0x8); w2(0xc); in fit3_read_block()
[all …]
Daten.c43 w0(r); w2(0xe); w2(6); w0(val); w2(7); w2(6); w2(0xc); in aten_write_regr()
54 case 0: w0(r); w2(0xe); w2(6); in aten_read_regr()
56 a = r1(); w0(0x10); b = r1(); w2(0xc); in aten_read_regr()
60 w0(r); w2(0xe); w2(6); w0(0xff); in aten_read_regr()
75 case 0: w0(0x48); w2(0xe); w2(6); in aten_read_block()
78 a = r1(); w0(0x58); b = r1(); in aten_read_block()
79 w2(0); d = r1(); w0(0x48); c = r1(); in aten_read_block()
86 case 1: w0(0x58); w2(0xe); w2(6); in aten_read_block()
101 w0(0x88); w2(0xe); w2(6); in aten_write_block()
103 w0(buf[2*k+1]); w2(0xe); w2(6); in aten_write_block()
[all …]
Dfrpw.c53 w0(r); cec4; in frpw_read_regr()
68 w2(4); w0(r); cec4; in frpw_write_regr()
69 w0(val); in frpw_write_regr()
79 case 0: w2(4); w0(regr); cec4; in frpw_read_block_int()
89 w2(4); w0(regr + 0xc0); cec4; in frpw_read_block_int()
90 w0(0xff); in frpw_read_block_int()
99 case 2: w2(4); w0(regr + 0x80); cec4; in frpw_read_block_int()
105 case 3: w2(4); w0(regr + 0x80); cec4; in frpw_read_block_int()
113 case 4: w2(4); w0(regr + 0x80); cec4; in frpw_read_block_int()
121 case 5: w2(4); w0(regr + 0x80); cec4; in frpw_read_block_int()
[all …]
Dktti.c37 w0(r); w2(0xb); w2(0xa); w2(3); w2(6); in ktti_write_regr()
38 w0(val); w2(3); w0(0); w2(6); w2(0xb); in ktti_write_regr()
47 w0(r); w2(0xb); w2(0xa); w2(9); w2(0xc); w2(9); in ktti_read_regr()
58 w0(0x10); w2(0xb); w2(0xa); w2(9); w2(0xc); w2(9); in ktti_read_block()
71 w0(0x10); w2(0xb); w2(0xa); w2(3); w2(6); in ktti_write_block()
72 w0(buf[2*k]); w2(3); in ktti_write_block()
73 w0(buf[2*k+1]); w2(6); in ktti_write_block()
82 w2(0xb); w2(0xa); w0(0); w2(3); w2(6); in ktti_connect()
87 { w2(0xb); w2(0xa); w0(0xa0); w2(3); w2(4); in ktti_disconnect()
88 w0(pi->saved_r0); in ktti_disconnect()
Dfriq.c39 #define CMD(x) w2(4);w0(0xff);w0(0xff);w0(0x73);w0(0x73);\
40 w0(0xc9);w0(0xc9);w0(0x26);w0(0x26);w0(x);w0(x);
72 w0(val); in friq_write_regr()
93 w0(0xff); in friq_read_block_int()
145 w0(buf[k]); in friq_write_block()
178 w0(pi->saved_r0); in friq_disconnect()
188 w0(0xff); udelay(20); CMD(0x3d); /* turn the power on */ in friq_test_proto()
190 w0(pi->saved_r0); in friq_test_proto()
Don20.c26 #define op(f) w2(4);w0(f);w2(5);w2(0xd);w2(5);w2(0xd);w2(5);w2(4);
27 #define vl(v) w2(4);w0(v);w2(5);w2(7);w2(5);w2(4);
74 w2(4);w0(0);w2(0xc);w2(4);w2(6);w2(4);w2(6);w2(4); in on20_connect()
81 { w2(4);w0(7);w2(4);w2(0xc);w2(4); in on20_disconnect()
82 w0(pi->saved_r0); in on20_disconnect()
109 for (k=0;k<count;k++) { w2(5); w0(buf[k]); w2(7); } in on20_write_block()
Dparide.h106 #define w0(byte) {out_p(0,byte);} macro
/linux-2.4.37.9/fs/ncpfs/
Dncpsign_kernel.c57 unsigned int w0,w1,w2,w3; in nwsign() local
66 w0=GET_LE32(r_data1); in nwsign()
71 w0=rol32(w0 + ((w1 & w2) | ((~w1) & w3)) + data2[i+0],3); in nwsign()
72 w3=rol32(w3 + ((w0 & w1) | ((~w0) & w2)) + data2[i+1],7); in nwsign()
73 w2=rol32(w2 + ((w3 & w0) | ((~w3) & w1)) + data2[i+2],11); in nwsign()
74 w1=rol32(w1 + ((w2 & w3) | ((~w2) & w0)) + data2[i+3],19); in nwsign()
77 w0=rol32(w0 + (((w2 | w3) & w1) | (w2 & w3)) + 0x5a827999 + data2[i+0],3); in nwsign()
78 w3=rol32(w3 + (((w1 | w2) & w0) | (w1 & w2)) + 0x5a827999 + data2[i+4],5); in nwsign()
79 w2=rol32(w2 + (((w0 | w1) & w3) | (w0 & w1)) + 0x5a827999 + data2[i+8],9); in nwsign()
80 w1=rol32(w1 + (((w3 | w0) & w2) | (w3 & w0)) + 0x5a827999 + data2[i+12],13); in nwsign()
[all …]
/linux-2.4.37.9/arch/sparc/math-emu/
Dsfp-util.h27 #define umul_ppmm(w1, w0, u, v) \ argument
69 "=r" ((USItype)(w0)) \
/linux-2.4.37.9/arch/m68k/lib/
Dmuldi3.c24 #define umul_ppmm(w1, w0, u, v) \ argument
26 : "=d" ((USItype)(w0)), \
/linux-2.4.37.9/drivers/net/
Dioc3-eth.c448 u32 w0, err; in ioc3_rx() local
456 w0 = be32_to_cpu(rxb->w0); in ioc3_rx()
458 while (w0 & ERXBUF_V) { in ioc3_rx()
461 len = ((w0 >> ERXBUF_BYTECNT_SHIFT) & 0x7ff) - 4; in ioc3_rx()
502 rxb->w0 = 0; /* Clear valid flag */ in ioc3_rx()
509 w0 = be32_to_cpu(rxb->w0); in ioc3_rx()
1128 rxb->w0 = 0; in ioc3_clean_rx_ring()
/linux-2.4.37.9/arch/ia64/kernel/
Dptrace.c137 unsigned long w0, ri = ia64_psr(regs)->ri + 1; in ia64_increment_ip() local
143 get_user(w0, (char *) regs->cr_iip + 0); in ia64_increment_ip()
144 if (((w0 >> 1) & 0xf) == IA64_MLX_TEMPLATE) { in ia64_increment_ip()
160 unsigned long w0, ri = ia64_psr(regs)->ri - 1; in ia64_decrement_ip() local
165 get_user(w0, (char *) regs->cr_iip + 0); in ia64_decrement_ip()
166 if (((w0 >> 1) & 0xf) == IA64_MLX_TEMPLATE) { in ia64_decrement_ip()
/linux-2.4.37.9/include/asm-ia64/sn/
Dioc3.h217 u32 w0; /* first word (valid,bcnt,cksum) */ member
/linux-2.4.37.9/include/asm-mips64/sn/
Dioc3.h182 u32 w0; /* first word (valid,bcnt,cksum) */ member