Searched refs:i2c_clock_period (Results 1 – 3 of 3) sorted by relevance
/Linux-v5.10/drivers/media/pci/ivtv/ |
D | ivtv-driver.c | 98 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, 657 itv->options.i2c_clock_period = i2c_clock_period[itv->instance]; in ivtv_process_options() 658 if (itv->options.i2c_clock_period == -1) in ivtv_process_options() 659 itv->options.i2c_clock_period = IVTV_DEFAULT_I2C_CLOCK_PERIOD; in ivtv_process_options() 660 else if (itv->options.i2c_clock_period < 10) in ivtv_process_options() 661 itv->options.i2c_clock_period = 10; in ivtv_process_options() 662 else if (itv->options.i2c_clock_period > 4500) in ivtv_process_options() 663 itv->options.i2c_clock_period = 4500; in ivtv_process_options()
|
D | ivtv-i2c.c | 704 itv->i2c_algo.udelay = itv->options.i2c_clock_period / 2; in init_ivtv_i2c()
|
D | ivtv-driver.h | 197 int i2c_clock_period; /* period of SCL for I2C bus */ member
|