Lines Matching refs:mcam_reg_write
183 mcam_reg_write(mcam, REG_TWSIC0, rval); in cafe_smbus_write_data()
186 mcam_reg_write(mcam, REG_TWSIC1, rval); in cafe_smbus_write_data()
262 mcam_reg_write(mcam, REG_TWSIC0, rval); in cafe_smbus_read_data()
265 mcam_reg_write(mcam, REG_TWSIC1, rval); in cafe_smbus_read_data()
375 mcam_reg_write(mcam, 0x3038, 0x8); in cafe_ctlr_init()
376 mcam_reg_write(mcam, 0x315c, 0x80008); in cafe_ctlr_init()
383 mcam_reg_write(mcam, REG_GL_CSR, GCSR_SRS|GCSR_MRS); /* Needed? */ in cafe_ctlr_init()
384 mcam_reg_write(mcam, REG_GL_CSR, GCSR_SRC|GCSR_MRC); in cafe_ctlr_init()
385 mcam_reg_write(mcam, REG_GL_CSR, GCSR_SRC|GCSR_MRS); in cafe_ctlr_init()
393 mcam_reg_write(mcam, REG_GL_CSR, GCSR_CCIC_EN|GCSR_SRC|GCSR_MRC); in cafe_ctlr_init()
398 mcam_reg_write(mcam, REG_IRQMASK, 0); in cafe_ctlr_init()
409 mcam_reg_write(mcam, REG_GL_FCR, GFCR_GPIO_ON); in cafe_ctlr_power_up()
410 mcam_reg_write(mcam, REG_GL_GPIOR, GGPIO_OUT|GGPIO_VAL); in cafe_ctlr_power_up()
416 mcam_reg_write(mcam, REG_GPR, GPR_C1EN|GPR_C0EN); /* pwr up, reset */ in cafe_ctlr_power_up()
417 mcam_reg_write(mcam, REG_GPR, GPR_C1EN|GPR_C0EN|GPR_C0); in cafe_ctlr_power_up()
422 mcam_reg_write(mcam, REG_GPR, GPR_C1EN|GPR_C0EN|GPR_C1); in cafe_ctlr_power_down()
423 mcam_reg_write(mcam, REG_GL_FCR, GFCR_GPIO_ON); in cafe_ctlr_power_down()
424 mcam_reg_write(mcam, REG_GL_GPIOR, GGPIO_OUT); in cafe_ctlr_power_down()
442 mcam_reg_write(mcam, REG_IRQSTAT, TWSIIRQS); in cafe_irq()