Home
last modified time | relevance | path

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

12

/linux-3.4.99/drivers/block/paride/
Don26.c55 case 0: w0(1); P1; w0(r); P2; w0(0); P1; in on26_read_regr()
61 case 1: w0(1); P1; w0(r); P2; w0(0); P1; in on26_read_regr()
85 case 1: w0(1); P1; w0(r); P2; w0(0); P1; in on26_write_regr()
86 w0(val); P2; w0(val); P2; in on26_write_regr()
99 #define CCP(x) w0(0xfe);w0(0xaa);w0(0x55);w0(0);w0(0xff);\
100 w0(0x87);w0(0x78);w0(x);w2(4);w2(5);w2(4);w0(0xff);
112 w0(2); P1; w0(8); P2; in on26_connect()
113 w0(2); P1; w0(x); P2; in on26_connect()
119 else { w0(4); P1; w0(4); P1; } in on26_disconnect()
121 w0(pi->saved_r0); in on26_disconnect()
[all …]
Ddstr.c53 w0(0x81); P1; in dstr_read_regr()
54 if (pi->mode) { w0(0x11); } else { w0(1); } in dstr_read_regr()
55 P2; w0(r); P1; in dstr_read_regr()
62 case 1: w0(0); w2(0x26); a = r0(); w2(4); in dstr_read_regr()
80 w0(0x81); P1; in dstr_write_regr()
81 if (pi->mode >= 2) { w0(0x11); } else { w0(1); } in dstr_write_regr()
82 P2; w0(r); P1; in dstr_write_regr()
87 case 1: w0(val); w2(5); w2(7); w2(5); w2(4); in dstr_write_regr()
97 #define CCP(x) w0(0xff);w2(0xc);w2(4);\
98 w0(0xaa);w0(0x55);w0(0);w0(0xff);w0(0x87);w0(0x78);\
[all …]
Dkbic.c53 case 0: w0(regr|0x18|s); w2(4); w2(6); w2(4); w2(1); w0(8); in kbic_read_regr()
54 a = r1(); w0(0x28); b = r1(); w2(4); in kbic_read_regr()
57 case 1: w0(regr|0x38|s); w2(4); w2(6); w2(4); w2(5); w0(8); in kbic_read_regr()
61 case 2: w0(regr|0x08|s); w2(4); w2(6); w2(4); w2(0xa5); w2(0xa1); in kbic_read_regr()
67 case 5: w0(0x20|s); w2(4); w2(6); w2(4); w3(regr); in kbic_read_regr()
85 case 2: w0(regr|0x10|s); w2(4); w2(6); w2(4); in kbic_write_regr()
86 w0(val); w2(5); w2(4); in kbic_write_regr()
91 case 5: w0(0x20|s); w2(4); w2(6); w2(4); w3(regr); in kbic_write_regr()
108 { w0(pi->saved_r0); in k951_disconnect()
112 #define CCP(x) w2(0xc4);w0(0xaa);w0(0x55);w0(0);w0(0xff);w0(0x87);\
[all …]
Dbpck.c56 case 0: w0(r & 0xf); w0(r); t2(2); t2(4); in bpck_read_regr()
62 case 1: w0(r & 0xf); w0(r); t2(2); in bpck_read_regr()
70 case 4: w0(r); w2(9); w2(0); w2(0x20); in bpck_read_regr()
88 case 1: w0(r); in bpck_write_regr()
90 w0(val); in bpck_write_regr()
96 case 4: w0(r); w2(9); w2(0); in bpck_write_regr()
97 w0(val); w2(1); w2(3); w2(0); in bpck_write_regr()
115 w0(0x40); t2(2); t2(1); in bpck_write_block()
116 for (i=0;i<count;i++) { w0(buf[i]); t2(4); } in bpck_write_block()
121 w0(0x40); t2(2); t2(1); in bpck_write_block()
[all …]
Dfit2.c43 w2(0xc); w0(regr); w2(4); w0(val); w2(5); w0(0); w2(4); in fit2_write_regr()
55 w2(0xc); w0(r); w2(4); w2(5); in fit2_read_regr()
56 w0(0); a = r1(); in fit2_read_regr()
57 w0(1); b = r1(); in fit2_read_regr()
68 w2(0xc); w0(0x10); in fit2_read_block()
73 w0(0); a = r1(); w0(1); b = r1(); in fit2_read_block()
74 w0(3); c = r1(); w0(2); d = r1(); in fit2_read_block()
79 a = r1(); w0(3); b = r1(); in fit2_read_block()
80 w0(1); c = r1(); w0(0); d = r1(); in fit2_read_block()
95 w2(0xc); w0(0); in fit2_write_block()
[all …]
Depat.c57 case 2: w0(0x60+r); w2(1); w0(val); w2(4); in epat_write_regr()
76 case 0: w0(r); w2(1); w2(3); in epat_read_regr()
80 case 1: w0(0x40+r); w2(1); w2(4); in epat_read_regr()
81 a = r1(); b = r2(); w0(0xff); in epat_read_regr()
84 case 2: w0(0x20+r); w2(1); w2(0x25); in epat_read_regr()
103 case 0: w0(7); w2(1); w2(3); w0(0xff); in epat_read_block()
106 if (k == count-1) w0(0xfd); in epat_read_block()
113 w0(0); w2(4); in epat_read_block()
116 case 1: w0(0x47); w2(1); w2(5); w0(0xff); in epat_read_block()
119 if (k == count-1) w0(0xfd); in epat_read_block()
[all …]
Depia.c58 w0(r); w2(1); w2(3); w0(r); in epia_read_regr()
63 w0(r); w2(1); w0(r&0x37); in epia_read_regr()
64 w2(3); w2(5); w0(r|0xf0); in epia_read_regr()
69 w0(r); w2(1); w2(0X21); w2(0x23); in epia_read_regr()
93 w0(r); w2(1); w0(val); w2(3); w2(4); in epia_write_regr()
118 w2(4); w0(0xa0); w0(0x50); w0(0xc0); w0(0x30); w0(0xa0); w0(0); in epia_connect()
121 w0(0xa); w2(1); w2(4); w0(0x82); w2(4); w2(0xc); w2(4); in epia_connect()
130 w0(pi->saved_r0); in epia_disconnect()
132 w0(pi->saved_r0); in epia_disconnect()
142 case 0: w0(0x81); w2(1); w2(3); w0(0xc1); in epia_read_block()
[all …]
Dcomm.c53 case 0: w0(r); P1; w0(0); in comm_read_regr()
54 w2(6); l = r1(); w0(0x80); h = r1(); w2(4); in comm_read_regr()
57 case 1: w0(r+0x20); P1; in comm_read_regr()
58 w0(0); w2(0x26); h = r0(); w2(4); in comm_read_regr()
80 case 1: w0(r); P1; w0(val); P2; in comm_write_regr()
94 w2(4); w0(0xff); w2(6); in comm_connect()
95 w2(4); w0(0xaa); w2(6); in comm_connect()
96 w2(4); w0(0x00); w2(6); in comm_connect()
97 w2(4); w0(0x87); w2(6); in comm_connect()
98 w2(4); w0(0xe0); w2(0xc); w2(0xc); w2(4); in comm_connect()
[all …]
Dfit3.c49 case 1: w2(0xc); w0(regr); w2(0x8); w2(0xc); in fit3_write_regr()
50 w0(val); w2(0xd); in fit3_write_regr()
51 w0(0); w2(0xc); in fit3_write_regr()
54 case 2: w2(0xc); w0(regr); w2(0x8); w2(0xc); in fit3_write_regr()
73 case 0: w2(0xc); w0(regr + 0x10); w2(0x8); w2(0xc); in fit3_read_regr()
79 case 1: w2(0xc); w0(regr + 0x90); w2(0x8); w2(0xc); in fit3_read_regr()
84 case 2: w2(0xc); w0(regr + 0x90); w2(0x8); w2(0xc); in fit3_read_regr()
101 case 0: w2(0xc); w0(0x10); w2(0x8); w2(0xc); in fit3_read_block()
113 case 1: w2(0xc); w0(0x90); w2(0x8); w2(0xc); in fit3_read_block()
125 case 2: w2(0xc); w0(0x90); w2(0x8); w2(0xc); in fit3_read_block()
[all …]
Daten.c44 w0(r); w2(0xe); w2(6); w0(val); w2(7); w2(6); w2(0xc); in aten_write_regr()
55 case 0: w0(r); w2(0xe); w2(6); in aten_read_regr()
57 a = r1(); w0(0x10); b = r1(); w2(0xc); in aten_read_regr()
61 w0(r); w2(0xe); w2(6); w0(0xff); in aten_read_regr()
76 case 0: w0(0x48); w2(0xe); w2(6); in aten_read_block()
79 a = r1(); w0(0x58); b = r1(); in aten_read_block()
80 w2(0); d = r1(); w0(0x48); c = r1(); in aten_read_block()
87 case 1: w0(0x58); w2(0xe); w2(6); in aten_read_block()
102 w0(0x88); w2(0xe); w2(6); in aten_write_block()
104 w0(buf[2*k+1]); w2(0xe); w2(6); in aten_write_block()
[all …]
Dfrpw.c54 w0(r); cec4; in frpw_read_regr()
69 w2(4); w0(r); cec4; in frpw_write_regr()
70 w0(val); in frpw_write_regr()
80 case 0: w2(4); w0(regr); cec4; in frpw_read_block_int()
90 w2(4); w0(regr + 0xc0); cec4; in frpw_read_block_int()
91 w0(0xff); in frpw_read_block_int()
100 case 2: w2(4); w0(regr + 0x80); cec4; in frpw_read_block_int()
106 case 3: w2(4); w0(regr + 0x80); cec4; in frpw_read_block_int()
114 case 4: w2(4); w0(regr + 0x80); cec4; in frpw_read_block_int()
122 case 5: w2(4); w0(regr + 0x80); cec4; in frpw_read_block_int()
[all …]
Dktti.c38 w0(r); w2(0xb); w2(0xa); w2(3); w2(6); in ktti_write_regr()
39 w0(val); w2(3); w0(0); w2(6); w2(0xb); in ktti_write_regr()
48 w0(r); w2(0xb); w2(0xa); w2(9); w2(0xc); w2(9); in ktti_read_regr()
59 w0(0x10); w2(0xb); w2(0xa); w2(9); w2(0xc); w2(9); in ktti_read_block()
72 w0(0x10); w2(0xb); w2(0xa); w2(3); w2(6); in ktti_write_block()
73 w0(buf[2*k]); w2(3); in ktti_write_block()
74 w0(buf[2*k+1]); w2(6); in ktti_write_block()
83 w2(0xb); w2(0xa); w0(0); w2(3); w2(6); in ktti_connect()
88 { w2(0xb); w2(0xa); w0(0xa0); w2(3); w2(4); in ktti_disconnect()
89 w0(pi->saved_r0); in ktti_disconnect()
Dfriq.c40 #define CMD(x) w2(4);w0(0xff);w0(0xff);w0(0x73);w0(0x73);\
41 w0(0xc9);w0(0xc9);w0(0x26);w0(0x26);w0(x);w0(x);
73 w0(val); in friq_write_regr()
94 w0(0xff); in friq_read_block_int()
146 w0(buf[k]); in friq_write_block()
179 w0(pi->saved_r0); in friq_disconnect()
189 w0(0xff); udelay(20); CMD(0x3d); /* turn the power on */ in friq_test_proto()
191 w0(pi->saved_r0); in friq_test_proto()
Don20.c27 #define op(f) w2(4);w0(f);w2(5);w2(0xd);w2(5);w2(0xd);w2(5);w2(4);
28 #define vl(v) w2(4);w0(v);w2(5);w2(7);w2(5);w2(4);
75 w2(4);w0(0);w2(0xc);w2(4);w2(6);w2(4);w2(6);w2(4); in on20_connect()
82 { w2(4);w0(7);w2(4);w2(0xc);w2(4); in on20_disconnect()
83 w0(pi->saved_r0); in on20_disconnect()
110 for (k=0;k<count;k++) { w2(5); w0(buf[k]); w2(7); } in on20_write_block()
/linux-3.4.99/fs/ncpfs/
Dncpsign_kernel.c56 unsigned int w0,w1,w2,w3; in nwsign() local
65 w0=GET_LE32(r_data1); in nwsign()
70 w0=rol32(w0 + ((w1 & w2) | ((~w1) & w3)) + data2[i+0],3); in nwsign()
71 w3=rol32(w3 + ((w0 & w1) | ((~w0) & w2)) + data2[i+1],7); in nwsign()
72 w2=rol32(w2 + ((w3 & w0) | ((~w3) & w1)) + data2[i+2],11); in nwsign()
73 w1=rol32(w1 + ((w2 & w3) | ((~w2) & w0)) + data2[i+3],19); in nwsign()
76 w0=rol32(w0 + (((w2 | w3) & w1) | (w2 & w3)) + 0x5a827999 + data2[i+0],3); in nwsign()
77 w3=rol32(w3 + (((w1 | w2) & w0) | (w1 & w2)) + 0x5a827999 + data2[i+4],5); in nwsign()
78 w2=rol32(w2 + (((w0 | w1) & w3) | (w0 & w1)) + 0x5a827999 + data2[i+8],9); in nwsign()
79 w1=rol32(w1 + (((w3 | w0) & w2) | (w3 & w0)) + 0x5a827999 + data2[i+12],13); in nwsign()
[all …]
/linux-3.4.99/crypto/
Dcamellia_generic.c340 #define ROLDQ(ll, lr, rl, rr, w0, w1, bits) ({ \ argument
341 w0 = ll; \
345 rr = (rr << bits) + (w0 >> (32 - bits)); \
348 #define ROLDQo32(ll, lr, rl, rr, w0, w1, bits) ({ \ argument
349 w0 = ll; \
353 rl = (rr << (bits - 32)) + (w0 >> (64 - bits)); \
354 rr = (w0 << (bits - 32)) + (w1 >> (64 - bits)); \
561 u32 il, ir, t0, t1, w0, w1; in camellia_setup128() local
579 ROLDQ(kll, klr, krl, krr, w0, w1, 15); in camellia_setup128()
585 ROLDQ(kll, klr, krl, krr, w0, w1, 30); in camellia_setup128()
[all …]
/linux-3.4.99/lib/mpi/
Dlonglong.h239 #define umul_ppmm(w1, w0, u, v) \ argument
247 (w1) = __xx.__i.__h; (w0) = __xx.__i.__l; })
248 #define smul_ppmm(w1, w0, u, v) \ argument
256 (w1) = __xx.__i.__h; (w0) = __xx.__i.__l; })
447 #define umul_ppmm(w1, w0, u, v) \ argument
449 : "=a" ((USItype)(w0)), \
511 #define umul_ppmm(w1, w0, u, v) \ argument
519 (w1) = __xx.__i.__h; (w0) = __xx.__i.__l; })
584 #define umul_ppmm(w1, w0, u, v) \ argument
586 : "=d" ((USItype)(w0)), \
[all …]
/linux-3.4.99/arch/m68k/lib/
Dmuldi3.c30 #define umul_ppmm(w1, w0, u, v) \ argument
51 (w0) = __ll_lowpart (__x1) * __ll_B + __ll_lowpart (__x0); \
56 #define umul_ppmm(w1, w0, u, v) \ argument
58 : "=d" ((USItype)(w0)), \
/linux-3.4.99/Documentation/
Dworkqueue.txt281 Work items w0, w1, w2 are queued to a bound wq q0 on the same CPU.
282 w0 burns CPU for 5ms then sleeps for 10ms then burns CPU for 5ms
291 0 w0 starts and burns CPU
292 5 w0 sleeps
293 15 w0 wakes up and burns CPU
294 20 w0 finishes
305 0 w0 starts and burns CPU
306 5 w0 sleeps
311 15 w0 wakes up and burns CPU
312 20 w0 finishes
[all …]
/linux-3.4.99/arch/sparc/math-emu/
Dsfp-util_32.h27 #define umul_ppmm(w1, w0, u, v) \ argument
69 "=r" ((USItype)(w0)) \
/linux-3.4.99/drivers/misc/sgi-gru/
Dgruhandles.c55 unsigned long *w0 = h; in start_instruction() local
58 *w0 = *w0 | 0x20001; in start_instruction()
/linux-3.4.99/arch/microblaze/lib/
Dmuldi3.c17 #define umul_ppmm(w1, w0, u, v) \ argument
38 (w0) = __ll_lowpart(__x1) * __ll_B + __ll_lowpart(__x0);\
/linux-3.4.99/arch/sh/math-emu/
Dsfp-util.h21 #define umul_ppmm(w1, w0, u, v) \ argument
23 : "=r" ((u32)(w1)), "=r" ((u32)(w0)) \
/linux-3.4.99/drivers/firewire/
Dnet.c89 u32 w0; member
93 #define fwnet_get_hdr_lf(h) (((h)->w0 & 0xc0000000) >> 30)
94 #define fwnet_get_hdr_ether_type(h) (((h)->w0 & 0x0000ffff))
95 #define fwnet_get_hdr_dg_size(h) (((h)->w0 & 0x0fff0000) >> 16)
96 #define fwnet_get_hdr_fg_off(h) (((h)->w0 & 0x00000fff))
109 hdr->w0 = fwnet_set_hdr_lf(RFC2374_HDR_UNFRAG) in fwnet_make_uf_hdr()
116 hdr->w0 = fwnet_set_hdr_lf(RFC2374_HDR_FIRSTFRAG) in fwnet_make_ff_hdr()
125 hdr->w0 = fwnet_set_hdr_lf(lf) in fwnet_make_sf_hdr()
681 hdr.w0 = be32_to_cpu(buf[0]); in fwnet_incoming_packet()
942 ptask->outstanding_pkts, lf, ptask->hdr.w0, in fwnet_transmit_packet_done()
[all …]
/linux-3.4.99/drivers/net/ethernet/sgi/
Dioc3-eth.c584 u32 w0, err; in ioc3_rx() local
592 w0 = be32_to_cpu(rxb->w0); in ioc3_rx()
594 while (w0 & ERXBUF_V) { in ioc3_rx()
597 len = ((w0 >> ERXBUF_BYTECNT_SHIFT) & 0x7ff) - 4; in ioc3_rx()
612 w0 & ERXBUF_IPCKSUM_MASK, len); in ioc3_rx()
639 rxb->w0 = 0; /* Clear valid flag */ in ioc3_rx()
646 w0 = be32_to_cpu(rxb->w0); in ioc3_rx()
848 rxb->w0 = 0; in ioc3_clean_rx_ring()
1417 uint32_t w0 = 0; in ioc3_start_xmit() local
1465 w0 = ETXD_DOCHECKSUM | (csoff << ETXD_CHKOFF_SHIFT); in ioc3_start_xmit()
[all …]

12