Home
last modified time | relevance | path

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

/Linux-v5.10/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,
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()
Divtv-i2c.c704 itv->i2c_algo.udelay = itv->options.i2c_clock_period / 2; in init_ivtv_i2c()
Divtv-driver.h197 int i2c_clock_period; /* period of SCL for I2C bus */ member