Home
last modified time | relevance | path

Searched refs:ov965x (Results 1 – 1 of 1) sorted by relevance

/Linux-v6.6/drivers/media/i2c/
Dov9650.c246 struct ov965x { struct
415 return &container_of(ctrl->handler, struct ov965x, ctrls.handler)->sd; in ctrl_to_sd()
418 static inline struct ov965x *to_ov965x(struct v4l2_subdev *sd) in to_ov965x()
420 return container_of(sd, struct ov965x, sd); in to_ov965x()
423 static int ov965x_read(struct ov965x *ov965x, u8 addr, u8 *val) in ov965x_read() argument
428 ret = regmap_read(ov965x->regmap, addr, &buf); in ov965x_read()
434 v4l2_dbg(2, debug, &ov965x->sd, "%s: 0x%02x @ 0x%02x. (%d)\n", in ov965x_read()
440 static int ov965x_write(struct ov965x *ov965x, u8 addr, u8 val) in ov965x_write() argument
444 ret = regmap_write(ov965x->regmap, addr, val); in ov965x_write()
446 v4l2_dbg(2, debug, &ov965x->sd, "%s: 0x%02x @ 0x%02X (%d)\n", in ov965x_write()
[all …]