Lines Matching refs:rvin_write

152 static void rvin_write(struct rvin_dev *vin, u32 value, u32 offset)  in rvin_write()  function
505 rvin_write(vin, p_set->coeff_set[0], VNC1A_REG); in rvin_set_coeff()
506 rvin_write(vin, p_set->coeff_set[1], VNC1B_REG); in rvin_set_coeff()
507 rvin_write(vin, p_set->coeff_set[2], VNC1C_REG); in rvin_set_coeff()
509 rvin_write(vin, p_set->coeff_set[3], VNC2A_REG); in rvin_set_coeff()
510 rvin_write(vin, p_set->coeff_set[4], VNC2B_REG); in rvin_set_coeff()
511 rvin_write(vin, p_set->coeff_set[5], VNC2C_REG); in rvin_set_coeff()
513 rvin_write(vin, p_set->coeff_set[6], VNC3A_REG); in rvin_set_coeff()
514 rvin_write(vin, p_set->coeff_set[7], VNC3B_REG); in rvin_set_coeff()
515 rvin_write(vin, p_set->coeff_set[8], VNC3C_REG); in rvin_set_coeff()
517 rvin_write(vin, p_set->coeff_set[9], VNC4A_REG); in rvin_set_coeff()
518 rvin_write(vin, p_set->coeff_set[10], VNC4B_REG); in rvin_set_coeff()
519 rvin_write(vin, p_set->coeff_set[11], VNC4C_REG); in rvin_set_coeff()
521 rvin_write(vin, p_set->coeff_set[12], VNC5A_REG); in rvin_set_coeff()
522 rvin_write(vin, p_set->coeff_set[13], VNC5B_REG); in rvin_set_coeff()
523 rvin_write(vin, p_set->coeff_set[14], VNC5C_REG); in rvin_set_coeff()
525 rvin_write(vin, p_set->coeff_set[15], VNC6A_REG); in rvin_set_coeff()
526 rvin_write(vin, p_set->coeff_set[16], VNC6B_REG); in rvin_set_coeff()
527 rvin_write(vin, p_set->coeff_set[17], VNC6C_REG); in rvin_set_coeff()
529 rvin_write(vin, p_set->coeff_set[18], VNC7A_REG); in rvin_set_coeff()
530 rvin_write(vin, p_set->coeff_set[19], VNC7B_REG); in rvin_set_coeff()
531 rvin_write(vin, p_set->coeff_set[20], VNC7C_REG); in rvin_set_coeff()
533 rvin_write(vin, p_set->coeff_set[21], VNC8A_REG); in rvin_set_coeff()
534 rvin_write(vin, p_set->coeff_set[22], VNC8B_REG); in rvin_set_coeff()
535 rvin_write(vin, p_set->coeff_set[23], VNC8C_REG); in rvin_set_coeff()
551 rvin_write(vin, ys, VNYS_REG); in rvin_crop_scale_comp_gen2()
561 rvin_write(vin, xs, VNXS_REG); in rvin_crop_scale_comp_gen2()
570 rvin_write(vin, 0, VNSPPOC_REG); in rvin_crop_scale_comp_gen2()
571 rvin_write(vin, 0, VNSLPOC_REG); in rvin_crop_scale_comp_gen2()
572 rvin_write(vin, vin->format.width - 1, VNEPPOC_REG); in rvin_crop_scale_comp_gen2()
575 rvin_write(vin, vin->format.height / 2 - 1, VNELPOC_REG); in rvin_crop_scale_comp_gen2()
577 rvin_write(vin, vin->format.height - 1, VNELPOC_REG); in rvin_crop_scale_comp_gen2()
592 rvin_write(vin, vin->crop.left, VNSPPRC_REG); in rvin_crop_scale_comp()
593 rvin_write(vin, vin->crop.left + vin->crop.width - 1, VNEPPRC_REG); in rvin_crop_scale_comp()
594 rvin_write(vin, vin->crop.top, VNSLPRC_REG); in rvin_crop_scale_comp()
595 rvin_write(vin, vin->crop.top + vin->crop.height - 1, VNELPRC_REG); in rvin_crop_scale_comp()
619 rvin_write(vin, stride, VNIS_REG); in rvin_crop_scale_comp()
771 rvin_write(vin, in rvin_setup()
843 rvin_write(vin, interrupts, VNINTS_REG); in rvin_setup()
845 rvin_write(vin, interrupts, VNIE_REG); in rvin_setup()
847 rvin_write(vin, dmr, VNDMR_REG); in rvin_setup()
848 rvin_write(vin, dmr2, VNDMR2_REG); in rvin_setup()
851 rvin_write(vin, vnmc | VNMC_ME, VNMC_REG); in rvin_setup()
858 rvin_write(vin, 0, VNIE_REG); in rvin_disable_interrupts()
868 rvin_write(vin, rvin_read(vin, VNINTS_REG), VNINTS_REG); in rvin_ack_interrupt()
911 rvin_write(vin, offset, VNMB_REG(slot)); in rvin_set_slot_addr()
996 rvin_write(vin, VNFC_C_FRAME, VNFC_REG); in rvin_capture_start()
1006 rvin_write(vin, 0, VNFC_REG); in rvin_capture_stop()
1009 rvin_write(vin, rvin_read(vin, VNMC_REG) & ~VNMC_ME, VNMC_REG); in rvin_capture_stop()
1515 rvin_write(vin, vnmc & ~VNMC_VUP, VNMC_REG); in rvin_set_channel_routing()
1535 rvin_write(vin, ifmd, VNCSI_IFMD_REG); in rvin_set_channel_routing()
1543 rvin_write(vin, vnmc, VNMC_REG); in rvin_set_channel_routing()
1576 rvin_write(vin, dmr, VNDMR_REG); in rvin_set_alpha()