Searched refs:alg_data (Results 1 – 1 of 1) sorted by relevance
120 static inline void i2c_pnx_arm_timer(struct i2c_pnx_algo_data *alg_data) in i2c_pnx_arm_timer() argument122 struct timer_list *timer = &alg_data->mif.timer; in i2c_pnx_arm_timer()123 unsigned long expires = msecs_to_jiffies(alg_data->timeout); in i2c_pnx_arm_timer()130 dev_dbg(&alg_data->adapter.dev, "Timer armed at %lu plus %lu jiffies.\n", in i2c_pnx_arm_timer()146 struct i2c_pnx_algo_data *alg_data) in i2c_pnx_start() argument148 dev_dbg(&alg_data->adapter.dev, "%s(): addr 0x%x mode %d\n", __func__, in i2c_pnx_start()149 slave_addr, alg_data->mif.mode); in i2c_pnx_start()153 dev_err(&alg_data->adapter.dev, in i2c_pnx_start()155 alg_data->adapter.name, slave_addr); in i2c_pnx_start()160 if (wait_timeout(alg_data)) { in i2c_pnx_start()[all …]