Lines Matching refs:regbuf
626 u8 regbuf[3]; in ov7251_write_reg() local
629 regbuf[0] = reg >> 8; in ov7251_write_reg()
630 regbuf[1] = reg & 0xff; in ov7251_write_reg()
631 regbuf[2] = val; in ov7251_write_reg()
633 ret = i2c_master_send(ov7251->i2c_client, regbuf, 3); in ov7251_write_reg()
646 u8 regbuf[5]; in ov7251_write_seq_regs() local
650 if (nregbuf > sizeof(regbuf)) in ov7251_write_seq_regs()
653 regbuf[0] = reg >> 8; in ov7251_write_seq_regs()
654 regbuf[1] = reg & 0xff; in ov7251_write_seq_regs()
656 memcpy(regbuf + 2, val, num); in ov7251_write_seq_regs()
658 ret = i2c_master_send(ov7251->i2c_client, regbuf, nregbuf); in ov7251_write_seq_regs()
671 u8 regbuf[2]; in ov7251_read_reg() local
674 regbuf[0] = reg >> 8; in ov7251_read_reg()
675 regbuf[1] = reg & 0xff; in ov7251_read_reg()
677 ret = i2c_master_send(ov7251->i2c_client, regbuf, 2); in ov7251_read_reg()