/drivers/media/dvb-frontends/ |
H A D | l64781.c | 52 static int l64781_writereg (struct l64781_state* state, u8 reg, u8 data) argument 56 struct i2c_msg msg = { .addr = state->config->demod_address, .flags = 0, .buf = buf, .len = 2 }; 58 if ((ret = i2c_transfer(state->i2c, &msg, 1)) != 1) 65 static int l64781_readreg (struct l64781_state* state, u8 reg) argument 70 struct i2c_msg msg [] = { { .addr = state->config->demod_address, .flags = 0, .buf = b0, .len = 1 }, 71 { .addr = state->config->demod_address, .flags = I2C_M_RD, .buf = b1, .len = 1 } }; 73 ret = i2c_transfer(state->i2c, msg, 2); 80 static void apply_tps (struct l64781_state* state) argument 82 l64781_writereg (state, 0x2a, 0x00); 83 l64781_writereg (state, 94 reset_afc(struct l64781_state* state) argument 111 reset_and_configure(struct l64781_state* state) argument 123 struct l64781_state* state = fe->demodulator_priv; local 249 struct l64781_state* state = fe->demodulator_priv; local 364 struct l64781_state* state = fe->demodulator_priv; local 393 struct l64781_state* state = fe->demodulator_priv; local 405 struct l64781_state* state = fe->demodulator_priv; local 415 struct l64781_state* state = fe->demodulator_priv; local 425 struct l64781_state* state = fe->demodulator_priv; local 435 struct l64781_state* state = fe->demodulator_priv; local 443 struct l64781_state* state = fe->demodulator_priv; local 495 struct l64781_state* state = fe->demodulator_priv; local 504 struct l64781_state* state = NULL; local [all...] |
H A D | lgdt330x.c | 77 static int i2c_write_demod_bytes (struct lgdt330x_state* state, argument 82 { .addr = state->config->demod_address, 90 if ((err = i2c_transfer(state->i2c, &msg, 1)) != 1) { 107 static int i2c_read_demod_bytes(struct lgdt330x_state *state, argument 112 { .addr = state->config->demod_address, 114 { .addr = state->config->demod_address, 118 ret = i2c_transfer(state->i2c, msg, 2); 120 printk(KERN_WARNING "lgdt330x: %s: addr 0x%02x select 0x%02x error (ret == %i)\n", __func__, state->config->demod_address, reg, ret); 130 static int lgdt3302_SwReset(struct lgdt330x_state* state) argument 139 ret = i2c_write_demod_bytes(state, 151 lgdt3303_SwReset(struct lgdt330x_state* state) argument 171 lgdt330x_SwReset(struct lgdt330x_state* state) argument 241 struct lgdt330x_state* state = fe->demodulator_priv; local 289 struct lgdt330x_state* state = fe->demodulator_priv; local 348 struct lgdt330x_state* state = fe->demodulator_priv; local 445 struct lgdt330x_state *state = fe->demodulator_priv; local 452 struct lgdt330x_state* state = fe->demodulator_priv; local 510 struct lgdt330x_state* state = fe->demodulator_priv; local 606 struct lgdt330x_state* state = (struct lgdt330x_state*) fe->demodulator_priv; local 650 struct lgdt330x_state* state = (struct lgdt330x_state*) fe->demodulator_priv; local 697 struct lgdt330x_state* state = (struct lgdt330x_state*) fe->demodulator_priv; local 725 struct lgdt330x_state* state = (struct lgdt330x_state*) fe->demodulator_priv; local 735 struct lgdt330x_state* state = NULL; local [all...] |
H A D | mt352.c | 60 struct mt352_state* state = fe->demodulator_priv; local 62 struct i2c_msg msg = { .addr = state->config.demod_address, .flags = 0, 64 int err = i2c_transfer(state->i2c, &msg, 1); 82 static int mt352_read_register(struct mt352_state* state, u8 reg) argument 87 struct i2c_msg msg [] = { { .addr = state->config.demod_address, 90 { .addr = state->config.demod_address, 94 ret = i2c_transfer(state->i2c, msg, 2); 113 static void mt352_calc_nominal_rate(struct mt352_state* state, argument 132 if (state->config.adc_clock) 133 adc_clock = state 143 mt352_calc_input_freq(struct mt352_state* state, unsigned char *buf) argument 172 struct mt352_state* state = fe->demodulator_priv; local 317 struct mt352_state* state = fe->demodulator_priv; local 422 struct mt352_state* state = fe->demodulator_priv; local 465 struct mt352_state* state = fe->demodulator_priv; local 476 struct mt352_state* state = fe->demodulator_priv; local 489 struct mt352_state* state = fe->demodulator_priv; local 499 struct mt352_state* state = fe->demodulator_priv; local 518 struct mt352_state* state = fe->demodulator_priv; local 537 struct mt352_state* state = fe->demodulator_priv; local 546 struct mt352_state* state = NULL; local [all...] |
H A D | nxt6000.c | 44 static int nxt6000_writereg(struct nxt6000_state* state, u8 reg, u8 data) argument 47 struct i2c_msg msg = {.addr = state->config->demod_address,.flags = 0,.buf = buf,.len = 2 }; 50 if ((ret = i2c_transfer(state->i2c, &msg, 1)) != 1) 56 static u8 nxt6000_readreg(struct nxt6000_state* state, u8 reg) argument 62 {.addr = state->config->demod_address,.flags = 0,.buf = b0,.len = 1}, 63 {.addr = state->config->demod_address,.flags = I2C_M_RD,.buf = b1,.len = 1} 66 ret = i2c_transfer(state->i2c, msgs, 2); 74 static void nxt6000_reset(struct nxt6000_state* state) argument 78 val = nxt6000_readreg(state, OFDM_COR_CTL); 80 nxt6000_writereg(state, OFDM_COR_CT 84 nxt6000_set_bandwidth(struct nxt6000_state *state, u32 bandwidth) argument 112 nxt6000_set_guard_interval(struct nxt6000_state* state, fe_guard_interval_t guard_interval) argument 134 nxt6000_set_inversion(struct nxt6000_state* state, fe_spectral_inversion_t inversion) argument 150 nxt6000_set_transmission_mode(struct nxt6000_state* state, fe_transmit_mode_t transmission_mode) argument 177 struct nxt6000_state* state = fe->demodulator_priv; local 210 nxt6000_dump_status(struct nxt6000_state *state) argument 422 struct nxt6000_state* state = fe->demodulator_priv; local 451 struct nxt6000_state* state = fe->demodulator_priv; local 462 struct nxt6000_state* state = fe->demodulator_priv; local 492 struct nxt6000_state* state = fe->demodulator_priv; local 498 struct nxt6000_state* state = fe->demodulator_priv; local 507 struct nxt6000_state* state = fe->demodulator_priv; local 521 struct nxt6000_state* state = fe->demodulator_priv; local 538 struct nxt6000_state* state = fe->demodulator_priv; local 552 struct nxt6000_state* state = NULL; local [all...] |
H A D | or51211.c | 72 static int i2c_writebytes (struct or51211_state* state, u8 reg, const u8 *buf, argument 82 if ((err = i2c_transfer (state->i2c, &msg, 1)) != 1) { 90 static int i2c_readbytes(struct or51211_state *state, u8 reg, u8 *buf, int len) argument 99 if ((err = i2c_transfer (state->i2c, &msg, 1)) != 1) { 110 struct or51211_state* state = fe->demodulator_priv; local 118 if (i2c_writebytes(state,0x50,tudata,1)) { 122 if (i2c_readbytes(state,0x50,&tudata[145],192)) { 134 state->config->reset(fe); 136 if (i2c_writebytes(state,state 168 struct or51211_state* state = fe->demodulator_priv; local 222 struct or51211_state* state = fe->demodulator_priv; local 242 struct or51211_state* state = fe->demodulator_priv; local 297 struct or51211_state* state = fe->demodulator_priv; local 329 struct or51211_state* state = (struct or51211_state*)fe->demodulator_priv; local 365 struct or51211_state* state = fe->demodulator_priv; local 506 struct or51211_state* state = fe->demodulator_priv; local 516 struct or51211_state* state = NULL; local [all...] |
H A D | s5h1432.c | 55 static int s5h1432_writereg(struct s5h1432_state *state, argument 63 ret = i2c_transfer(state->i2c, &msg, 1); 72 static u8 s5h1432_readreg(struct s5h1432_state *state, u8 addr, u8 reg) argument 83 ret = i2c_transfer(state->i2c, msg, 2); 99 struct s5h1432_state *state = fe->demodulator_priv; local 104 reg = s5h1432_readreg(state, S5H1432_I2C_TOP_ADDR, 0x2E); 119 s5h1432_writereg(state, S5H1432_I2C_TOP_ADDR, 0x2E, reg); 125 struct s5h1432_state *state = fe->demodulator_priv; local 129 s5h1432_writereg(state, S5H1432_I2C_TOP_ADDR, 0xe4, 0x55); 130 s5h1432_writereg(state, S5H1432_I2C_TOP_ADD 185 struct s5h1432_state *state = fe->demodulator_priv; local 250 struct s5h1432_state *state = fe->demodulator_priv; local 340 struct s5h1432_state *state = fe->demodulator_priv; local 349 struct s5h1432_state *state = NULL; local [all...] |
H A D | s921.c | 206 static int s921_i2c_writereg(struct s921_state *state, argument 215 rc = i2c_transfer(state->i2c, &msg, 1); 225 static int s921_i2c_writeregdata(struct s921_state *state, u8 i2c_addr, argument 231 rc = s921_i2c_writereg(state, i2c_addr, rd[i].reg, rd[i].data); 238 static int s921_i2c_readreg(struct s921_state *state, u8 i2c_addr, u8 reg) argument 247 rc = i2c_transfer(state->i2c, msg, 2); 257 #define s921_readreg(state, reg) \ 258 s921_i2c_readreg(state, state->config->demod_address, reg) 259 #define s921_writereg(state, re 268 struct s921_state *state = fe->demodulator_priv; local 339 struct s921_state *state = fe->demodulator_priv; local 353 struct s921_state *state = fe->demodulator_priv; local 393 struct s921_state *state = fe->demodulator_priv; local 420 struct s921_state *state = fe->demodulator_priv; local 439 struct s921_state *state = fe->demodulator_priv; local 474 struct s921_state *state = fe->demodulator_priv; local 486 struct s921_state *state = local [all...] |
H A D | sp8870.c | 66 static int sp8870_writereg (struct sp8870_state* state, u16 reg, u16 data) argument 69 struct i2c_msg msg = { .addr = state->config->demod_address, .flags = 0, .buf = buf, .len = 4 }; 72 if ((err = i2c_transfer (state->i2c, &msg, 1)) != 1) { 80 static int sp8870_readreg (struct sp8870_state* state, u16 reg) argument 85 struct i2c_msg msg [] = { { .addr = state->config->demod_address, .flags = 0, .buf = b0, .len = 2 }, 86 { .addr = state->config->demod_address, .flags = I2C_M_RD, .buf = b1, .len = 2 } }; 88 ret = i2c_transfer (state->i2c, msg, 2); 98 static int sp8870_firmware_upload (struct sp8870_state* state, const struct firmware *fw) argument 113 sp8870_writereg(state, 0x0F00, 0x0000); 116 sp8870_writereg(state, 145 sp8870_microcontroller_stop(struct sp8870_state* state) argument 154 sp8870_microcontroller_start(struct sp8870_state* state) argument 166 sp8870_read_data_valid_signal(struct sp8870_state* state) argument 242 sp8870_wake_up(struct sp8870_state* state) argument 251 struct sp8870_state* state = fe->demodulator_priv; local 306 struct sp8870_state* state = fe->demodulator_priv; local 355 struct sp8870_state* state = fe->demodulator_priv; local 381 struct sp8870_state* state = fe->demodulator_priv; local 408 struct sp8870_state* state = fe->demodulator_priv; local 434 struct sp8870_state* state = fe->demodulator_priv; local 464 struct sp8870_state* state = fe->demodulator_priv; local 522 struct sp8870_state* state = fe->demodulator_priv; local 538 struct sp8870_state* state = fe->demodulator_priv; local 549 struct sp8870_state* state = fe->demodulator_priv; local 558 struct sp8870_state* state = NULL; local [all...] |
H A D | stb6100.c | 133 static int stb6100_read_regs(struct stb6100_state *state, u8 regs[]) argument 137 .addr = state->config->tuner_address, 143 rc = i2c_transfer(state->i2c, &msg, 1); 146 state->config->tuner_address, rc); 153 dprintk(verbose, FE_DEBUG, 1, " Read from 0x%02x", state->config->tuner_address); 160 static int stb6100_read_reg(struct stb6100_state *state, u8 reg) argument 165 .addr = state->config->tuner_address + reg, 171 i2c_transfer(state->i2c, &msg, 1); 178 dprintk(verbose, FE_DEBUG, 1, " Read from 0x%02x", state->config->tuner_address); 185 static int stb6100_write_reg_range(struct stb6100_state *state, u argument 227 stb6100_write_reg(struct stb6100_state *state, u8 reg, u8 data) argument 241 struct stb6100_state *state = fe->tuner_priv; local 255 struct stb6100_state *state = fe->tuner_priv; local 273 struct stb6100_state *state = fe->tuner_priv; local 312 struct stb6100_state *state = fe->tuner_priv; local 337 struct stb6100_state *state = fe->tuner_priv; local 497 struct stb6100_state *state = fe->tuner_priv; local 512 stb6100_get_state(struct dvb_frontend *fe, enum tuner_param param, struct tuner_state *state) argument 536 stb6100_set_state(struct dvb_frontend *fe, enum tuner_param param, struct tuner_state *state) argument 584 struct stb6100_state *state = NULL; local 603 struct stb6100_state *state = fe->tuner_priv; local [all...] |
H A D | ves1820.c | 59 static int ves1820_writereg(struct ves1820_state *state, u8 reg, u8 data) argument 62 struct i2c_msg msg = {.addr = state->config->demod_address,.flags = 0,.buf = buf,.len = 3 }; 65 ret = i2c_transfer(state->i2c, &msg, 1); 74 static u8 ves1820_readreg(struct ves1820_state *state, u8 reg) argument 79 {.addr = state->config->demod_address,.flags = 0,.buf = b0,.len = 2}, 80 {.addr = state->config->demod_address,.flags = I2C_M_RD,.buf = b1,.len = 1} 84 ret = i2c_transfer(state->i2c, msg, 2); 93 static int ves1820_setup_reg0(struct ves1820_state *state, u8 reg0, fe_spectral_inversion_t inversion) argument 95 reg0 |= state->reg0 & 0x62; 98 if (!state 113 ves1820_set_symbolrate(struct ves1820_state *state, u32 symbolrate) argument 193 struct ves1820_state* state = fe->demodulator_priv; local 211 struct ves1820_state* state = fe->demodulator_priv; local 242 struct ves1820_state* state = fe->demodulator_priv; local 268 struct ves1820_state* state = fe->demodulator_priv; local 280 struct ves1820_state* state = fe->demodulator_priv; local 290 struct ves1820_state* state = fe->demodulator_priv; local 300 struct ves1820_state* state = fe->demodulator_priv; local 316 struct ves1820_state* state = fe->demodulator_priv; local 347 struct ves1820_state* state = fe->demodulator_priv; local 366 struct ves1820_state* state = fe->demodulator_priv; local 376 struct ves1820_state* state = NULL; local [all...] |
H A D | zl10036.c | 71 static int zl10036_read_status_reg(struct zl10036_state *state) argument 75 { .addr = state->config->tuner_address, .flags = I2C_M_RD, 79 if (i2c_transfer(state->i2c, msg, 1) != 1) { 81 __func__, state->config->tuner_address); 94 static int zl10036_write(struct zl10036_state *state, u8 buf[], u8 count) argument 97 { .addr = state->config->tuner_address, .flags = 0, 128 ret = i2c_transfer(state->i2c, msg, 1); 139 struct zl10036_state *state = fe->tuner_priv; local 142 kfree(state); 149 struct zl10036_state *state local 184 zl10036_set_frequency(struct zl10036_state *state, u32 frequency) argument 203 zl10036_set_bandwidth(struct zl10036_state *state, u32 fbw) argument 283 zl10036_set_gain_params(struct zl10036_state *state, int c) argument 311 struct zl10036_state *state = fe->tuner_priv; local 386 struct zl10036_state *state = fe->tuner_priv; local 393 zl10036_init_regs(struct zl10036_state *state) argument 430 struct zl10036_state *state = fe->tuner_priv; local 466 struct zl10036_state *state; local [all...] |
H A D | zl10039.c | 71 static int zl10039_read(const struct zl10039_state *state, argument 78 .addr = state->i2c_addr, 83 .addr = state->i2c_addr, 92 if (i2c_transfer(state->i2c, msg, 2) != 2) { 100 static int zl10039_write(struct zl10039_state *state, argument 106 .addr = state->i2c_addr, 123 if (i2c_transfer(state->i2c, &msg, 1) != 1) { 131 static inline int zl10039_readreg(struct zl10039_state *state, argument 134 return zl10039_read(state, reg, val, 1); 137 static inline int zl10039_writereg(struct zl10039_state *state, argument 146 struct zl10039_state *state = fe->tuner_priv; local 172 struct zl10039_state *state = fe->tuner_priv; local 192 struct zl10039_state *state = fe->tuner_priv; local 250 struct zl10039_state *state = fe->tuner_priv; local 268 struct zl10039_state *state = NULL; local [all...] |
/drivers/media/i2c/ |
H A D | adv7343.c | 134 struct adv7343_state *state = to_state(sd); local 158 val = state->reg80 & (~(SD_STD_MASK)); 164 state->reg80 = val; 167 val = state->reg01 & (~((u8) INPUT_MODE_MASK)); 173 state->reg01 = val; 184 val = state->reg80; 196 state->reg80 = val; 207 struct adv7343_state *state = to_state(sd); local 219 val = state->reg00 & 0x03; 222 if (!state 290 struct adv7343_state *state = to_state(sd); local 333 struct adv7343_state *state = to_state(sd); local 349 struct adv7343_state *state = to_state(sd); local 374 struct adv7343_state *state = to_state(sd); local 441 struct adv7343_state *state; local 506 struct adv7343_state *state = to_state(sd); local [all...] |
H A D | adv7393.c | 137 struct adv7393_state *state = to_state(sd); local 162 val = state->reg80 & ~SD_STD_MASK; 168 state->reg80 = val; 171 val = state->reg01 & ~INPUT_MODE_MASK; 177 state->reg01 = val; 188 val = state->reg82; 200 state->reg82 = val; 211 struct adv7393_state *state = to_state(sd); local 223 val = state->reg00 & 0x03; 236 state 275 struct adv7393_state *state = to_state(sd); local 320 struct adv7393_state *state = to_state(sd); local 336 struct adv7393_state *state = to_state(sd); local 361 struct adv7393_state *state = to_state(sd); local 394 struct adv7393_state *state; local 450 struct adv7393_state *state = to_state(sd); local [all...] |
H A D | tda7432.c | 265 struct tda7432 *state = to_state(sd); local 267 v4l2_ctrl_handler_log_status(&state->hdl, sd->name);
|
H A D | ths7303.c | 90 struct ths7303_state *state = to_state(sd); local 91 const struct ths7303_platform_data *pdata = state->pdata; 145 struct ths7303_state *state = to_state(sd); local 148 state->std_id = 1; 149 state->bt.pixelclock = 0; 158 struct ths7303_state *state = to_state(sd); local 161 if (!state->stream_on) { 174 if (state->bt.pixelclock > 120000000) 176 else if (state->bt.pixelclock > 70000000) 178 else if (state 192 struct ths7303_state *state = to_state(sd); local 203 struct ths7303_state *state = to_state(sd); local 287 struct ths7303_state *state = to_state(sd); local 333 struct ths7303_state *state; local [all...] |
H A D | ths8200.c | 135 struct ths8200_state *state = to_state(sd); local 139 v4l2_info(sd, "version: %u\n", state->chip_version); 150 &state->dv_timings, true); 157 struct ths8200_state *state = to_state(sd); local 161 state->power_on = on; 163 /* Power up/down - leave in reset state until input video is present */ 184 struct ths8200_state *state = to_state(sd); local 186 if (enable && !state->power_on) 374 struct ths8200_state *state = to_state(sd); local 391 state 401 struct ths8200_state *state = to_state(sd); local 452 struct ths8200_state *state; local [all...] |
H A D | tw2804.c | 154 struct tw2804 *state = to_state(sd); local 157 state->norm & V4L2_STD_525_60 ? "60 Hz" : "50 Hz"); 158 v4l2_info(sd, "Channel: %d\n", state->channel); 159 v4l2_info(sd, "Input: %d\n", state->input); 178 struct tw2804 *state = to_state_from_ctrl(ctrl); local 179 struct i2c_client *client = v4l2_get_subdevdata(&state->sd); 203 struct tw2804 *state = to_state_from_ctrl(ctrl); local 204 struct i2c_client *client = v4l2_get_subdevdata(&state->sd); 211 reg = read_reg(client, addr, state->channel); 218 return write_reg(client, addr, reg, state 362 struct tw2804 *state; local 423 struct tw2804 *state = to_state(sd); local [all...] |
H A D | upd64031a.c | 115 struct upd64031a_state *state = to_state(sd); local 116 u8 reg = state->regs[R00]; 129 struct upd64031a_state *state = to_state(sd); local 132 state->gr_mode = (input & 3) << 6; 133 state->direct_3dycs_connect = (input & 0xc) << 4; 134 state->ext_comp_sync = 136 state->ext_vert_sync = 138 r00 = (state->regs[R00] & ~GR_MODE_MASK) | state->gr_mode; 139 r05 = (state 202 struct upd64031a_state *state; local [all...] |
H A D | upd64083.c | 107 struct upd64083_state *state = to_state(sd); local 112 state->mode = (input & 3) << 6; 113 state->ext_y_adc = (input & UPD64083_EXT_Y_ADC) << 3; 114 r00 = (state->regs[R00] & ~(3 << 6)) | state->mode; 115 r02 = (state->regs[R02] & ~(1 << 5)) | state->ext_y_adc; 174 struct upd64083_state *state; local 184 state = devm_kzalloc(&client->dev, sizeof(*state), GFP_KERNE [all...] |
H A D | wm8739.c | 100 struct wm8739_state *state = to_state(sd); local 115 work_l = (min(65536 - state->balance->val, 32768) * state->volume->val) / 32768; 116 work_r = (min(state->balance->val, 32768) * state->volume->val) / 32768; 122 mute = state->mute->val ? 0x80 : 0; 136 struct wm8739_state *state = to_state(sd); local 138 state->clock_freq = audiofreq; 164 struct wm8739_state *state = to_state(sd); local 166 v4l2_info(sd, "Frequency: %u Hz\n", state 204 struct wm8739_state *state; local 260 struct wm8739_state *state = to_state(sd); local [all...] |
H A D | wm8775.c | 96 struct wm8775_state *state = to_state(sd); local 98 int muted = 0 != state->mute->val; 99 u16 volume = (u16)state->vol->val; 100 u16 balance = (u16)state->bal->val; 108 wm8775_write(sd, R21, 0x0c0 | state->input); 115 wm8775_write(sd, R21, state->input); 121 struct wm8775_state *state = to_state(sd); local 132 state->input = input; 133 if (v4l2_ctrl_g_ctrl(state->mute)) 135 if (!v4l2_ctrl_g_ctrl(state 160 struct wm8775_state *state = to_state(sd); local 216 struct wm8775_state *state; local 306 struct wm8775_state *state = to_state(sd); local [all...] |
/drivers/media/i2c/cx25840/ |
H A D | cx25840-core.h | 79 static inline bool is_cx2583x(struct cx25840_state *state) argument 81 return state->id == CX25836 || 82 state->id == CX25837; 85 static inline bool is_cx231xx(struct cx25840_state *state) argument 87 return state->id == CX2310X_AV; 90 static inline bool is_cx2388x(struct cx25840_state *state) argument 92 return state->id == CX23885_AV || 93 state->id == CX23887_AV || 94 state->id == CX23888_AV; 97 static inline bool is_cx23885(struct cx25840_state *state) argument 102 is_cx23887(struct cx25840_state *state) argument 107 is_cx23888(struct cx25840_state *state) argument [all...] |
/drivers/media/i2c/s5c73m3/ |
H A D | s5c73m3-ctrls.c | 39 static int s5c73m3_get_af_status(struct s5c73m3 *state, struct v4l2_ctrl *ctrl) argument 43 int ret = s5c73m3_read(state, REG_AF_STATUS, ®); 56 v4l2_info(&state->sensor_sd, "Unknown AF status %#x\n", reg); 71 struct s5c73m3 *state = sensor_sd_to_s5c73m3(sd); local 74 if (state->power == 0) 79 ret = s5c73m3_get_af_status(state, state->ctrls.af_status); 88 static int s5c73m3_set_colorfx(struct s5c73m3 *state, int val) argument 103 v4l2_dbg(1, s5c73m3_dbg, &state->sensor_sd, 105 v4l2_ctrl_get_menu(state 114 s5c73m3_set_exposure(struct s5c73m3 *state, int auto_exp) argument 150 s5c73m3_set_white_balance(struct s5c73m3 *state, int val) argument 176 s5c73m3_af_run(struct s5c73m3 *state, bool on) argument 191 s5c73m3_3a_lock(struct s5c73m3 *state, struct v4l2_ctrl *ctrl) argument 219 s5c73m3_set_auto_focus(struct s5c73m3 *state, int caf) argument 244 s5c73m3_set_contrast(struct s5c73m3 *state, int val) argument 250 s5c73m3_set_saturation(struct s5c73m3 *state, int val) argument 256 s5c73m3_set_sharpness(struct s5c73m3 *state, int val) argument 262 s5c73m3_set_iso(struct s5c73m3 *state, int val) argument 274 s5c73m3_set_stabilization(struct s5c73m3 *state, int val) argument 284 s5c73m3_set_jpeg_quality(struct s5c73m3 *state, int quality) argument 298 s5c73m3_set_scene_program(struct s5c73m3 *state, int val) argument 323 s5c73m3_set_power_line_freq(struct s5c73m3 *state, int val) argument 348 struct s5c73m3 *state = sensor_sd_to_s5c73m3(sd); local 451 s5c73m3_init_controls(struct s5c73m3 *state) argument [all...] |
/drivers/media/pci/bt8xx/ |
H A D | bttv-i2c.c | 60 static void bttv_bit_setscl(void *data, int state) argument 64 if (state) 72 static void bttv_bit_setsda(void *data, int state) argument 76 if (state) 87 int state; local 89 state = btread(BT848_I2C) & 0x02 ? 1 : 0; 90 return state; 96 int state; local 98 state = btread(BT848_I2C) & 0x01; 99 return state; [all...] |