Lines Matching refs:regbuf
740 u8 regbuf[3]; in ov7251_write_reg() local
743 regbuf[0] = reg >> 8; in ov7251_write_reg()
744 regbuf[1] = reg & 0xff; in ov7251_write_reg()
745 regbuf[2] = val; in ov7251_write_reg()
747 ret = i2c_master_send(ov7251->i2c_client, regbuf, 3); in ov7251_write_reg()
760 u8 regbuf[5]; in ov7251_write_seq_regs() local
764 if (nregbuf > sizeof(regbuf)) in ov7251_write_seq_regs()
767 regbuf[0] = reg >> 8; in ov7251_write_seq_regs()
768 regbuf[1] = reg & 0xff; in ov7251_write_seq_regs()
770 memcpy(regbuf + 2, val, num); in ov7251_write_seq_regs()
772 ret = i2c_master_send(ov7251->i2c_client, regbuf, nregbuf); in ov7251_write_seq_regs()
785 u8 regbuf[2]; in ov7251_read_reg() local
788 regbuf[0] = reg >> 8; in ov7251_read_reg()
789 regbuf[1] = reg & 0xff; in ov7251_read_reg()
791 ret = i2c_master_send(ov7251->i2c_client, regbuf, 2); in ov7251_read_reg()