Searched refs:stk1160_write_reg (Results 1 – 5 of 5) sorted by relevance
/openbmc/linux/drivers/media/usb/stk1160/ |
H A D | stk1160-ac97.c | 43 stk1160_write_reg(dev, STK1160_AC97_ADDR, reg); in stk1160_write_ac97() 46 stk1160_write_reg(dev, STK1160_AC97_CMD, value & 0xff); in stk1160_write_ac97() 47 stk1160_write_reg(dev, STK1160_AC97_CMD + 1, (value & 0xff00) >> 8); in stk1160_write_ac97() 50 stk1160_write_reg(dev, STK1160_AC97CTL_0, 0x8c); in stk1160_write_ac97() 63 stk1160_write_reg(dev, STK1160_AC97_ADDR, reg); in stk1160_read_ac97() 66 stk1160_write_reg(dev, STK1160_AC97CTL_0, 0x8b); in stk1160_read_ac97() 136 stk1160_write_reg(dev, STK1160_AC97CTL_0, 0x94); in stk1160_ac97_setup() 137 stk1160_write_reg(dev, STK1160_AC97CTL_0, 0x8c); in stk1160_ac97_setup() 140 stk1160_write_reg(dev, STK1160_AC97CTL_1 + 2, 0x01); in stk1160_ac97_setup() 141 stk1160_write_reg(dev, STK1160_AC97CTL_1 + 3, 0x00); in stk1160_ac97_setup()
|
H A D | stk1160-i2c.c | 59 rc = stk1160_write_reg(dev, STK1160_SICTL_SDA, addr); in stk1160_i2c_write_reg() 64 rc = stk1160_write_reg(dev, STK1160_SBUSW_WA, reg); in stk1160_i2c_write_reg() 69 rc = stk1160_write_reg(dev, STK1160_SBUSW_WD, value); in stk1160_i2c_write_reg() 74 rc = stk1160_write_reg(dev, STK1160_SICTL, 0x01); in stk1160_i2c_write_reg() 91 rc = stk1160_write_reg(dev, STK1160_SICTL_SDA, addr); in stk1160_i2c_read_reg() 96 rc = stk1160_write_reg(dev, STK1160_SBUSR_RA, reg); in stk1160_i2c_read_reg() 101 rc = stk1160_write_reg(dev, STK1160_SICTL, 0x20); in stk1160_i2c_read_reg() 131 rc = stk1160_write_reg(dev, STK1160_SBUSR_RA, 0x00); in stk1160_i2c_check_for_device() 136 rc = stk1160_write_reg(dev, STK1160_SICTL, 0x20); in stk1160_i2c_check_for_device() 268 stk1160_write_reg(dev, STK1160_SICTL_CD, 0x0f); in stk1160_i2c_register() [all …]
|
H A D | stk1160-v4l.c | 113 stk1160_write_reg(dev, std525[i].reg, std525[i].val); in stk1160_set_std() 117 stk1160_write_reg(dev, std625[i].reg, std625[i].val); in stk1160_set_std() 145 stk1160_write_reg(dev, STK1160_DMCTRL_H_UNITS, ctrl->col_n); in stk1160_set_fmt() 147 stk1160_write_reg(dev, STK1160_DMCTRL_V_UNITS, ctrl->row_n); in stk1160_set_fmt() 154 stk1160_write_reg(dev, STK1160_DMCTRL, val); in stk1160_set_fmt() 252 stk1160_write_reg(dev, STK1160_DCTRL, 0xb3); in stk1160_start_streaming() 253 stk1160_write_reg(dev, STK1160_DCTRL+3, 0x00); in stk1160_start_streaming() 285 stk1160_write_reg(dev, STK1160_DCTRL, 0x00); in stk1160_stop_hw() 286 stk1160_write_reg(dev, STK1160_DCTRL+3, 0x00); in stk1160_stop_hw() 613 return stk1160_write_reg(dev, reg->reg, reg->val); in vidioc_s_register()
|
H A D | stk1160-core.c | 81 int stk1160_write_reg(struct stk1160 *dev, u16 reg, u16 value) in stk1160_write_reg() function 113 stk1160_write_reg(dev, STK1160_GCTRL, gctrl[dev->ctl_input]); in stk1160_select_input() 147 stk1160_write_reg(dev, ctl[i].reg, ctl[i].val); in stk1160_reg_reset()
|
H A D | stk1160.h | 189 int stk1160_write_reg(struct stk1160 *dev, u16 reg, u16 value);
|