Lines Matching refs:zr36060_write

55 static void zr36060_write(struct zr36060 *ptr, u16 reg, u8 value)  in zr36060_write()  function
140 zr36060_write(ptr, startreg++, data[i++]); in zr36060_pushit()
332 zr36060_write(ptr, ZR060_LOAD, ZR060_LOAD_SYNC_RST); in zr36060_init()
335 zr36060_write(ptr, ZR060_CIR, ZR060_CIR_CODE_MSTR); in zr36060_init()
339 zr36060_write(ptr, ZR060_CMR, ZR060_CMR_COMP | ZR060_CMR_PASS2 | ZR060_CMR_BRB); in zr36060_init()
342 zr36060_write(ptr, ZR060_MBZ, 0x00); in zr36060_init()
343 zr36060_write(ptr, ZR060_TCR_HI, 0x00); in zr36060_init()
344 zr36060_write(ptr, ZR060_TCR_LO, 0x00); in zr36060_init()
347 zr36060_write(ptr, ZR060_IMR, 0); in zr36060_init()
350 zr36060_write(ptr, ZR060_SF_HI, ptr->scalefact >> 8); in zr36060_init()
351 zr36060_write(ptr, ZR060_SF_LO, ptr->scalefact & 0xff); in zr36060_init()
353 zr36060_write(ptr, ZR060_AF_HI, 0xff); in zr36060_init()
354 zr36060_write(ptr, ZR060_AF_M, 0xff); in zr36060_init()
355 zr36060_write(ptr, ZR060_AF_LO, 0xff); in zr36060_init()
365 zr36060_write(ptr, ZR060_APP_IDX, 0xff); in zr36060_init()
366 zr36060_write(ptr, ZR060_APP_IDX + 1, 0xe0 + ptr->app.appn); in zr36060_init()
367 zr36060_write(ptr, ZR060_APP_IDX + 2, 0x00); in zr36060_init()
368 zr36060_write(ptr, ZR060_APP_IDX + 3, ptr->app.len + 2); in zr36060_init()
370 zr36060_write(ptr, ZR060_COM_IDX, 0xff); in zr36060_init()
371 zr36060_write(ptr, ZR060_COM_IDX + 1, 0xfe); in zr36060_init()
372 zr36060_write(ptr, ZR060_COM_IDX + 2, 0x00); in zr36060_init()
373 zr36060_write(ptr, ZR060_COM_IDX + 3, ptr->com.len + 2); in zr36060_init()
386 zr36060_write(ptr, ZR060_TCV_NET_HI, tmp >> 8); in zr36060_init()
387 zr36060_write(ptr, ZR060_TCV_NET_MH, tmp & 0xff); in zr36060_init()
389 zr36060_write(ptr, ZR060_TCV_NET_ML, tmp >> 8); in zr36060_init()
390 zr36060_write(ptr, ZR060_TCV_NET_LO, tmp & 0xff); in zr36060_init()
398 zr36060_write(ptr, ZR060_TCV_DATA_HI, tmp >> 8); in zr36060_init()
399 zr36060_write(ptr, ZR060_TCV_DATA_MH, tmp & 0xff); in zr36060_init()
401 zr36060_write(ptr, ZR060_TCV_DATA_ML, tmp >> 8); in zr36060_init()
402 zr36060_write(ptr, ZR060_TCV_DATA_LO, tmp & 0xff); in zr36060_init()
405 zr36060_write(ptr, ZR060_MER, in zr36060_init()
412 zr36060_write(ptr, ZR060_VCR, ZR060_VCR_RANGE); in zr36060_init()
417 zr36060_write(ptr, ZR060_LOAD, ZR060_LOAD_SYNC_RST); in zr36060_init()
420 zr36060_write(ptr, ZR060_CIR, ZR060_CIR_CODE_MSTR); in zr36060_init()
423 zr36060_write(ptr, ZR060_CMR, 0); in zr36060_init()
426 zr36060_write(ptr, ZR060_MBZ, 0x00); in zr36060_init()
427 zr36060_write(ptr, ZR060_TCR_HI, 0x00); in zr36060_init()
428 zr36060_write(ptr, ZR060_TCR_LO, 0x00); in zr36060_init()
431 zr36060_write(ptr, ZR060_IMR, 0); in zr36060_init()
434 zr36060_write(ptr, ZR060_MER, 0); in zr36060_init()
442 zr36060_write(ptr, ZR060_VCR, ZR060_VCR_RANGE); in zr36060_init()
446 zr36060_write(ptr, ZR060_LOAD, ZR060_LOAD_SYNC_RST | ZR060_LOAD_LOAD); in zr36060_init()
501 zr36060_write(ptr, ZR060_LOAD, ZR060_LOAD_SYNC_RST); in zr36060_set_video()
516 zr36060_write(ptr, ZR060_VPR, reg); in zr36060_set_video()
542 zr36060_write(ptr, ZR060_SR, reg); in zr36060_set_video()
544 zr36060_write(ptr, ZR060_BCR_Y, 0x00); in zr36060_set_video()
545 zr36060_write(ptr, ZR060_BCR_U, 0x80); in zr36060_set_video()
546 zr36060_write(ptr, ZR060_BCR_V, 0x80); in zr36060_set_video()
551 zr36060_write(ptr, ZR060_SGR_VTOTAL_HI, (reg >> 8) & 0xff); in zr36060_set_video()
552 zr36060_write(ptr, ZR060_SGR_VTOTAL_LO, (reg >> 0) & 0xff); in zr36060_set_video()
555 zr36060_write(ptr, ZR060_SGR_HTOTAL_HI, (reg >> 8) & 0xff); in zr36060_set_video()
556 zr36060_write(ptr, ZR060_SGR_HTOTAL_LO, (reg >> 0) & 0xff); in zr36060_set_video()
559 zr36060_write(ptr, ZR060_SGR_VSYNC, reg); in zr36060_set_video()
562 zr36060_write(ptr, ZR060_SGR_HSYNC, reg); in zr36060_set_video()
565 zr36060_write(ptr, ZR060_SGR_BVSTART, reg); in zr36060_set_video()
568 zr36060_write(ptr, ZR060_SGR_BVEND_HI, (reg >> 8) & 0xff); in zr36060_set_video()
569 zr36060_write(ptr, ZR060_SGR_BVEND_LO, (reg >> 0) & 0xff); in zr36060_set_video()
572 zr36060_write(ptr, ZR060_SGR_BHSTART, reg); in zr36060_set_video()
575 zr36060_write(ptr, ZR060_SGR_BHEND_HI, (reg >> 8) & 0xff); in zr36060_set_video()
576 zr36060_write(ptr, ZR060_SGR_BHEND_LO, (reg >> 0) & 0xff); in zr36060_set_video()
580 zr36060_write(ptr, ZR060_AAR_VSTART_HI, (reg >> 8) & 0xff); in zr36060_set_video()
581 zr36060_write(ptr, ZR060_AAR_VSTART_LO, (reg >> 0) & 0xff); in zr36060_set_video()
584 zr36060_write(ptr, ZR060_AAR_VEND_HI, (reg >> 8) & 0xff); in zr36060_set_video()
585 zr36060_write(ptr, ZR060_AAR_VEND_LO, (reg >> 0) & 0xff); in zr36060_set_video()
588 zr36060_write(ptr, ZR060_AAR_HSTART_HI, (reg >> 8) & 0xff); in zr36060_set_video()
589 zr36060_write(ptr, ZR060_AAR_HSTART_LO, (reg >> 0) & 0xff); in zr36060_set_video()
592 zr36060_write(ptr, ZR060_AAR_HEND_HI, (reg >> 8) & 0xff); in zr36060_set_video()
593 zr36060_write(ptr, ZR060_AAR_HEND_LO, (reg >> 0) & 0xff); in zr36060_set_video()
597 zr36060_write(ptr, ZR060_SWR_VSTART_HI, (reg >> 8) & 0xff); in zr36060_set_video()
598 zr36060_write(ptr, ZR060_SWR_VSTART_LO, (reg >> 0) & 0xff); in zr36060_set_video()
601 zr36060_write(ptr, ZR060_SWR_VEND_HI, (reg >> 8) & 0xff); in zr36060_set_video()
602 zr36060_write(ptr, ZR060_SWR_VEND_LO, (reg >> 0) & 0xff); in zr36060_set_video()
605 zr36060_write(ptr, ZR060_SWR_HSTART_HI, (reg >> 8) & 0xff); in zr36060_set_video()
606 zr36060_write(ptr, ZR060_SWR_HSTART_LO, (reg >> 0) & 0xff); in zr36060_set_video()
609 zr36060_write(ptr, ZR060_SWR_HEND_HI, (reg >> 8) & 0xff); in zr36060_set_video()
610 zr36060_write(ptr, ZR060_SWR_HEND_LO, (reg >> 0) & 0xff); in zr36060_set_video()
636 zr36060_write(ptr, ZR060_MBCVR, reg); in zr36060_set_video()