Home
last modified time | relevance | path

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

/OK3568_Linux_fs/kernel/drivers/media/i2c/
H A Dsc401ai.c142 struct sc401ai { struct
179 #define to_sc401ai(sd) container_of(sd, struct sc401ai, subdev) argument
526 static int sc401ai_set_gain_reg(struct sc401ai *sc401ai, u32 gain) in sc401ai_set_gain_reg() argument
627 ret = sc401ai_write_reg(sc401ai->client, in sc401ai_set_gain_reg()
631 ret |= sc401ai_write_reg(sc401ai->client, in sc401ai_set_gain_reg()
635 ret |= sc401ai_write_reg(sc401ai->client, in sc401ai_set_gain_reg()
639 ret |= sc401ai_write_reg(sc401ai->client, in sc401ai_set_gain_reg()
678 struct sc401ai *sc401ai = to_sc401ai(sd); in sc401ai_set_fmt() local
682 mutex_lock(&sc401ai->mutex); in sc401ai_set_fmt()
693 mutex_unlock(&sc401ai->mutex); in sc401ai_set_fmt()
[all …]
H A DMakefile140 obj-$(CONFIG_VIDEO_SC401AI) += sc401ai.o