Lines Matching refs:btwrite
79 static void btwrite(BT829Ptr bt, CARD8 reg, CARD8 val)
93 btwrite(bt, STATUS, 0x00); /* clear */
117 btwrite(bt, IFORM, (bt->mux<<5) | (xtsel<<3) | bt->format);
127 btwrite(bt, CROP, (H(bt->vdelay)<<6) | (H(bt->vactive)<<4) |
133 btwrite(bt, VDELAY_LO, L(bt->vdelay));
138 btwrite(bt, VACTIVE_LO, L(bt->vactive));
143 btwrite(bt, HDELAY_LO, L(bt->hdelay));
148 btwrite(bt, HACTIVE_LO, L(bt->width));
153 btwrite(bt, HSCALE_HI, H(bt->hscale));
158 btwrite(bt, HSCALE_LO, L(bt->hscale));
163 btwrite(bt, BRIGHT, bt->brightness);
174 btwrite(bt, CONTROL,
181 btwrite(bt, CONTRAST_LO, L(bt->contrast));
186 btwrite(bt, SAT_U_LO, L(bt->sat_u));
191 btwrite(bt, SAT_V_LO, L(bt->sat_v));
196 btwrite(bt, HUE, bt->hue);
202 btwrite(bt, SCLOOP,
217 btwrite(bt, OFORM, (bt->code<<3) | (bt->len<<2) |
224 btwrite(bt, VSCALE_HI, H(bt->vscale) |
231 btwrite(bt, VSCALE_LO, L(bt->vscale));
238 btwrite(bt, VPOLE, (bt->out_en<<7));
249 btwrite(bt, ADELAY, 104);
255 btwrite(bt, ADELAY, 127);
258 btwrite(bt, ADELAY, 104); /* hardware default */
269 btwrite(bt, BDELAY, 93);
274 btwrite(bt, BDELAY, 114);
277 btwrite(bt, BDELAY, 160);
280 btwrite(bt, BDELAY, 93); /* hardware default */
287 btwrite(bt, ADC, bt->mux==bt->svideo_mux ? 0x80:0x82); /* CSLEEP = 0 or 1 */
314 btwrite(bt, VTC, (bt->vbien<<4) | (bt->vbifmt<<3) | vfilt);
321 if (bt->ccmode == 0) btwrite(bt, CC_STATUS, 0x00);
323 else btwrite(bt, CC_STATUS, (bt->ccmode<<4) | 0x40);
337 btwrite(bt, SRESET, 0x0); /* Reset all registers */
343 btwrite(bt, P_IO, bt->p_io);
696 btwrite(bt,STATUS,0x00); /* Reset CCVALID status bit */