Lines Matching refs:saa
236 struct saa7146_dev *saa = budget->dev;
246 if ((result = saa7146_wait_for_debi_done(saa, nobusyloop)) < 0) {
252 saa7146_write(saa, DEBI_COMMAND, (count << 17) | 0x10000 | (addr & 0xffff));
253 saa7146_write(saa, DEBI_CONFIG, config);
254 saa7146_write(saa, DEBI_PAGE, 0);
255 saa7146_write(saa, MC2, (2 << 16) | 2);
257 if ((result = saa7146_wait_for_debi_done(saa, nobusyloop)) < 0) {
263 result = saa7146_read(saa, DEBI_AD);
275 struct saa7146_dev *saa = budget->dev;
285 if ((result = saa7146_wait_for_debi_done(saa, nobusyloop)) < 0) {
291 saa7146_write(saa, DEBI_COMMAND, (count << 17) | 0x00000 | (addr & 0xffff));
292 saa7146_write(saa, DEBI_CONFIG, config);
293 saa7146_write(saa, DEBI_PAGE, 0);
294 saa7146_write(saa, DEBI_AD, value);
295 saa7146_write(saa, MC2, (2 << 16) | 2);
297 if ((result = saa7146_wait_for_debi_done(saa, nobusyloop)) < 0) {