/linux-2.4.37.9/drivers/block/paride/ |
D | fit3.c | 41 static void fit3_write_regr( PIA *pi, int cont, int regr, int val) in fit3_write_regr() argument 48 case 1: w2(0xc); w0(regr); w2(0x8); w2(0xc); in fit3_write_regr() 53 case 2: w2(0xc); w0(regr); w2(0x8); w2(0xc); in fit3_write_regr() 61 static int fit3_read_regr( PIA *pi, int cont, int regr ) in fit3_read_regr() argument 66 if (regr != 6) return 0xff; in fit3_read_regr() 67 regr = 7; in fit3_read_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()
|
D | friq.c | 50 static int friq_read_regr( PIA *pi, int cont, int regr ) in friq_read_regr() argument 54 r = regr + cont_map[cont]; in friq_read_regr() 65 static void friq_write_regr( PIA *pi, int cont, int regr, int val) in friq_write_regr() argument 69 r = regr + cont_map[cont]; in friq_write_regr() 76 static void friq_read_block_int( PIA *pi, char * buf, int count, int regr ) in friq_read_block_int() argument 82 case 0: CMD(regr); in friq_read_block_int() 92 CMD(regr+0xc0); in friq_read_block_int() 102 case 2: CMD(regr+0x80); in friq_read_block_int() 110 case 3: CMD(regr+0x80); in friq_read_block_int() 118 case 4: CMD(regr+0x80); in friq_read_block_int()
|
D | frpw.c | 46 static int frpw_read_regr( PIA *pi, int cont, int regr ) in frpw_read_regr() argument 50 r = regr + cont_map[cont]; in frpw_read_regr() 62 static void frpw_write_regr( PIA *pi, int cont, int regr, int val) in frpw_write_regr() argument 66 r = regr + cont_map[cont]; in frpw_write_regr() 73 static void frpw_read_block_int( PIA *pi, char * buf, int count, int regr ) in frpw_read_block_int() argument 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() 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() [all …]
|
D | epia.c | 48 static int epia_read_regr( PIA *pi, int cont, int regr ) in epia_read_regr() argument 52 regr += cont_map[cont]; in epia_read_regr() 56 case 0: r = regr^0x39; in epia_read_regr() 61 case 1: r = regr^0x31; in epia_read_regr() 67 case 2: r = regr^0x29; in epia_read_regr() 74 case 5: w3(regr); w2(0x24); a = r4(); w2(4); in epia_read_regr() 81 static void epia_write_regr( PIA *pi, int cont, int regr, int val) in epia_write_regr() argument 85 regr += cont_map[cont]; in epia_write_regr() 91 case 2: r = regr^0x19; in epia_write_regr() 97 case 5: r = regr^0x40; in epia_write_regr()
|
D | fit2.c | 39 static void fit2_write_regr( PIA *pi, int cont, int regr, int val) in fit2_write_regr() argument 42 w2(0xc); w0(regr); w2(4); w0(val); w2(5); w0(0); w2(4); in fit2_write_regr() 45 static int fit2_read_regr( PIA *pi, int cont, int regr ) in fit2_read_regr() argument 50 if (regr != 6) return 0xff; in fit2_read_regr() 52 } else r = regr + 0x10; in fit2_read_regr()
|
D | kbic.c | 44 static int kbic_read_regr( PIA *pi, int cont, int regr ) in kbic_read_regr() argument 52 case 0: w0(regr|0x18|s); w2(4); w2(6); w2(4); w2(1); w0(8); 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() 74 static void kbic_write_regr( PIA *pi, int cont, int regr, int val) in kbic_write_regr() argument 84 case 2: w0(regr|0x10|s); w2(4); w2(6); w2(4); in kbic_write_regr() 90 case 5: w0(0x20|s); w2(4); w2(6); w2(4); w3(regr); in kbic_write_regr()
|
D | ktti.c | 31 static void ktti_write_regr( PIA *pi, int cont, int regr, int val) in ktti_write_regr() argument 35 r = regr + cont_map[cont]; in ktti_write_regr() 41 static int ktti_read_regr( PIA *pi, int cont, int regr ) in ktti_read_regr() argument 45 r = regr + cont_map[cont]; in ktti_read_regr()
|
D | aten.c | 37 static void aten_write_regr( PIA *pi, int cont, int regr, int val) in aten_write_regr() argument 41 r = regr + cont_map[cont] + 0x80; in aten_write_regr() 46 static int aten_read_regr( PIA *pi, int cont, int regr ) in aten_read_regr() argument 50 r = regr + cont_map[cont] + 0x40; in aten_read_regr()
|
D | on20.c | 35 static int on20_read_regr( PIA *pi, int cont, int regr ) in on20_read_regr() argument 39 r = (regr<<2) + 1 + cont; in on20_read_regr() 58 static void on20_write_regr( PIA *pi, int cont, int regr, int val ) in on20_write_regr() argument 62 r = (regr<<2) + 1 + cont; in on20_write_regr()
|
D | comm.c | 44 static int comm_read_regr( PIA *pi, int cont, int regr ) in comm_read_regr() argument 48 r = regr + cont_map[cont]; in comm_read_regr() 70 static void comm_write_regr( PIA *pi, int cont, int regr, int val ) in comm_write_regr() argument 74 r = regr + cont_map[cont]; in comm_write_regr()
|
D | dstr.c | 46 static int dstr_read_regr( PIA *pi, int cont, int regr ) in dstr_read_regr() argument 50 r = regr + cont_map[cont]; in dstr_read_regr() 73 static void dstr_write_regr( PIA *pi, int cont, int regr, int val ) in dstr_write_regr() argument 77 r = regr + cont_map[cont]; in dstr_write_regr()
|
D | epat.c | 40 static void epat_write_regr( PIA *pi, int cont, int regr, int val) in epat_write_regr() argument 44 r = regr + cont_map[cont]; in epat_write_regr() 61 static int epat_read_regr( PIA *pi, int cont, int regr ) in epat_read_regr() argument 65 r = regr + cont_map[cont]; in epat_read_regr()
|
D | on26.c | 46 static int on26_read_regr( PIA *pi, int cont, int regr ) in on26_read_regr() argument 50 r = (regr<<2) + 1 + cont; in on26_read_regr() 75 static void on26_write_regr( PIA *pi, int cont, int regr, int val ) in on26_write_regr() argument 79 r = (regr<<2) + 1 + cont; in on26_write_regr()
|
D | paride.h | 86 extern void pi_write_regr(PIA *pi, int cont, int regr, int val); 88 extern int pi_read_regr(PIA *pi, int cont, int regr);
|
D | bpck.c | 47 static int bpck_read_regr( PIA *pi, int cont, int regr ) in bpck_read_regr() argument 51 r = regr + cont_map[cont]; in bpck_read_regr() 78 static void bpck_write_regr( PIA *pi, int cont, int regr, int val ) in bpck_write_regr() argument 82 r = regr + cont_map[cont]; in bpck_write_regr()
|
D | paride.c | 49 void pi_write_regr( PIA *pi, int cont, int regr, int val) in pi_write_regr() argument 51 { pi->proto->write_regr(pi,cont,regr,val); in pi_write_regr() 54 int pi_read_regr( PIA *pi, int cont, int regr) in pi_read_regr() argument 56 { return pi->proto->read_regr(pi,cont,regr); in pi_read_regr()
|