/drivers/media/platform/ti/davinci/ |
D | vpif.h | 24 #define regr(reg) readl((reg) + vpif_base) macro 131 regw((regr(reg)) | (0x01 << bit), reg); in vpif_set_bit() 136 regw(((regr(reg)) & ~(0x01 << bit)), reg); in vpif_clr_bit() 213 #define channel0_intr_assert() (regw((regr(VPIF_CH0_CTRL)|\ 217 #define channel1_intr_assert() (regw((regr(VPIF_CH1_CTRL)|\ 221 #define channel2_intr_assert() (regw((regr(VPIF_CH2_CTRL)|\ 225 #define channel3_intr_assert() (regw((regr(VPIF_CH3_CTRL)|\ 266 regw((regr(VPIF_CH0_CTRL) | (VPIF_CH0_EN)), VPIF_CH0_CTRL); in enable_channel0() 268 regw((regr(VPIF_CH0_CTRL) & (~VPIF_CH0_EN)), VPIF_CH0_CTRL); in enable_channel0() 275 regw((regr(VPIF_CH1_CTRL) | (VPIF_CH1_EN)), VPIF_CH1_CTRL); in enable_channel1() [all …]
|
D | vpif.c | 363 value = regr(reg); in config_vpif_params() 428 return (regr(vpifregs[channel_id].ch_ctrl) & VPIF_CH_FID_MASK) in vpif_channel_getfid()
|
/drivers/ata/pata_parport/ |
D | fit3.c | 33 static void fit3_write_regr(struct pi_adapter *pi, int cont, int regr, int val) in fit3_write_regr() argument 35 regr += cont << 3; in fit3_write_regr() 40 w2(0xc); w0(regr); w2(0x8); w2(0xc); in fit3_write_regr() 45 w2(0xc); w0(regr); w2(0x8); w2(0xc); in fit3_write_regr() 52 static int fit3_read_regr(struct pi_adapter *pi, int cont, int regr) in fit3_read_regr() argument 56 regr += cont << 3; in fit3_read_regr() 60 w2(0xc); w0(regr + 0x10); w2(0x8); w2(0xc); in fit3_read_regr() 66 w2(0xc); w0(regr + 0x90); w2(0x8); w2(0xc); in fit3_read_regr() 71 w2(0xc); w0(regr + 0x90); w2(0x8); w2(0xc); in fit3_read_regr()
|
D | frpw.c | 32 static int frpw_read_regr(struct pi_adapter *pi, int cont, int regr) in frpw_read_regr() argument 36 r = regr + cont_map[cont]; in frpw_read_regr() 47 static void frpw_write_regr(struct pi_adapter *pi, int cont, int regr, int val) in frpw_write_regr() argument 49 int r = regr + cont_map[cont]; in frpw_write_regr() 57 int regr) in frpw_read_block_int() argument 63 w2(4); w0(regr); cec4; in frpw_read_block_int() 74 w2(4); w0(regr + 0xc0); cec4; in frpw_read_block_int() 85 w2(4); w0(regr + 0x80); cec4; in frpw_read_block_int() 93 w2(4); w0(regr + 0x80); cec4; in frpw_read_block_int() 103 w2(4); w0(regr + 0x80); cec4; in frpw_read_block_int() [all …]
|
D | friq.c | 46 static int friq_read_regr(struct pi_adapter *pi, int cont, int regr) in friq_read_regr() argument 50 r = regr + cont_map[cont]; in friq_read_regr() 60 static void friq_write_regr(struct pi_adapter *pi, int cont, int regr, int val) in friq_write_regr() argument 62 int r = regr + cont_map[cont]; in friq_write_regr() 69 static void friq_read_block_int(struct pi_adapter *pi, char *buf, int count, int regr) in friq_read_block_int() argument 75 CMD(regr); in friq_read_block_int() 85 CMD(regr + 0xc0); in friq_read_block_int() 95 CMD(regr + 0x80); in friq_read_block_int() 104 CMD(regr + 0x80); in friq_read_block_int() 113 CMD(regr + 0x80); in friq_read_block_int()
|
D | epia.c | 39 static int epia_read_regr(struct pi_adapter *pi, int cont, int regr) in epia_read_regr() argument 43 regr += cont_map[cont]; in epia_read_regr() 47 r = regr ^ 0x39; in epia_read_regr() 52 r = regr ^ 0x31; in epia_read_regr() 58 r = regr^0x29; in epia_read_regr() 65 w3(regr); w2(0x24); a = r4(); w2(4); in epia_read_regr() 72 static void epia_write_regr(struct pi_adapter *pi, int cont, int regr, int val) in epia_write_regr() argument 76 regr += cont_map[cont]; in epia_write_regr() 82 r = regr ^ 0x19; in epia_write_regr() 88 r = regr ^ 0x40; in epia_write_regr()
|
D | kbic.c | 35 static int kbic_read_regr(struct pi_adapter *pi, int cont, int regr) in kbic_read_regr() argument 43 w0(regr | 0x18 | s); w2(4); w2(6); w2(4); w2(1); w0(8); in kbic_read_regr() 47 w0(regr|0x38 | s); w2(4); w2(6); w2(4); w2(5); w0(8); in kbic_read_regr() 51 w0(regr | 0x08 | s); w2(4); w2(6); w2(4); w2(0xa5); w2(0xa1); in kbic_read_regr() 57 w0(0x20 | s); w2(4); w2(6); w2(4); w3(regr); in kbic_read_regr() 65 static void kbic_write_regr(struct pi_adapter *pi, int cont, int regr, int val) in kbic_write_regr() argument 73 w0(regr | 0x10 | s); w2(4); w2(6); w2(4); in kbic_write_regr() 79 w0(0x20 | s); w2(4); w2(6); w2(4); w3(regr); in kbic_write_regr()
|
D | fit2.c | 36 static void fit2_write_regr(struct pi_adapter *pi, int cont, int regr, int val) in fit2_write_regr() argument 40 w2(0xc); w0(regr); w2(4); w0(val); w2(5); w0(0); w2(4); in fit2_write_regr() 43 static int fit2_read_regr(struct pi_adapter *pi, int cont, int regr) in fit2_read_regr() argument 48 if (regr != 6) in fit2_read_regr() 52 r = regr + 0x10; in fit2_read_regr()
|
D | ktti.c | 28 static void ktti_write_regr(struct pi_adapter *pi, int cont, int regr, int val) in ktti_write_regr() argument 30 int r = regr + cont_map[cont]; in ktti_write_regr() 36 static int ktti_read_regr(struct pi_adapter *pi, int cont, int regr) in ktti_read_regr() argument 40 r = regr + cont_map[cont]; in ktti_read_regr()
|
D | on20.c | 37 static int on20_read_regr(struct pi_adapter *pi, int cont, int regr) in on20_read_regr() argument 41 r = (regr << 2) + 1 + cont; in on20_read_regr() 60 static void on20_write_regr(struct pi_adapter *pi, int cont, int regr, int val) in on20_write_regr() argument 62 int r = (regr << 2) + 1 + cont; in on20_write_regr()
|
D | aten.c | 28 static void aten_write_regr(struct pi_adapter *pi, int cont, int regr, int val) in aten_write_regr() argument 30 int r = regr + cont_map[cont] + 0x80; in aten_write_regr() 35 static int aten_read_regr(struct pi_adapter *pi, int cont, int regr) in aten_read_regr() argument 39 r = regr + cont_map[cont] + 0x40; in aten_read_regr()
|
D | comm.c | 36 static int comm_read_regr(struct pi_adapter *pi, int cont, int regr) in comm_read_regr() argument 40 r = regr + cont_map[cont]; in comm_read_regr() 64 static void comm_write_regr(struct pi_adapter *pi, int cont, int regr, int val) in comm_write_regr() argument 66 int r = regr + cont_map[cont]; in comm_write_regr()
|
D | dstr.c | 39 static int dstr_read_regr(struct pi_adapter *pi, int cont, int regr) in dstr_read_regr() argument 43 r = regr + cont_map[cont]; in dstr_read_regr() 69 static void dstr_write_regr(struct pi_adapter *pi, int cont, int regr, int val) in dstr_write_regr() argument 71 int r = regr + cont_map[cont]; in dstr_write_regr()
|
D | epat.c | 37 static void epat_write_regr(struct pi_adapter *pi, int cont, int regr, int val) in epat_write_regr() argument 39 int r = regr + cont_map[cont]; in epat_write_regr() 55 static int epat_read_regr(struct pi_adapter *pi, int cont, int regr) in epat_read_regr() argument 59 r = regr + cont_map[cont]; in epat_read_regr()
|
D | on26.c | 43 static int on26_read_regr(struct pi_adapter *pi, int cont, int regr) in on26_read_regr() argument 47 r = (regr << 2) + 1 + cont; in on26_read_regr() 72 static void on26_write_regr(struct pi_adapter *pi, int cont, int regr, int val) in on26_write_regr() argument 74 int r = (regr << 2) + 1 + cont; in on26_write_regr()
|
D | pata_parport.h | 60 void (*write_regr)(struct pi_adapter *pi, int cont, int regr, int val); 61 int (*read_regr)(struct pi_adapter *pi, int cont, int regr);
|
D | bpck.c | 38 static int bpck_read_regr(struct pi_adapter *pi, int cont, int regr) in bpck_read_regr() argument 42 r = regr + cont_map[cont]; in bpck_read_regr() 69 static void bpck_write_regr(struct pi_adapter *pi, int cont, int regr, int val) in bpck_write_regr() argument 73 r = regr + cont_map[cont]; in bpck_write_regr()
|