Home
last modified time | relevance | path

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

/drivers/media/pci/ivtv/
Divtv-driver.c98 static int i2c_clock_period[IVTV_MAX_CARDS] = { -1, -1, -1, -1, -1, -1, -1, -1, variable
169 module_param_array(i2c_clock_period, int, &i2c_clock_period_c, 0644);
269 MODULE_PARM_DESC(i2c_clock_period,
654 itv->options.i2c_clock_period = i2c_clock_period[itv->instance]; in ivtv_process_options()
655 if (itv->options.i2c_clock_period == -1) in ivtv_process_options()
656 itv->options.i2c_clock_period = IVTV_DEFAULT_I2C_CLOCK_PERIOD; in ivtv_process_options()
657 else if (itv->options.i2c_clock_period < 10) in ivtv_process_options()
658 itv->options.i2c_clock_period = 10; in ivtv_process_options()
659 else if (itv->options.i2c_clock_period > 4500) in ivtv_process_options()
660 itv->options.i2c_clock_period = 4500; in ivtv_process_options()
Divtv-i2c.c710 itv->i2c_algo.udelay = itv->options.i2c_clock_period / 2; in init_ivtv_i2c()
Divtv-driver.h195 int i2c_clock_period; /* period of SCL for I2C bus */ member