Home
last modified time | relevance | path

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

/linux-2.6.39/drivers/sbus/char/
Denvctrl.c364 static int envctrl_read_cpu_info(int cpu, struct i2c_child_t *pchild, in envctrl_read_cpu_info() argument
373 if (pchild->mon_type[i] == mon_type) { in envctrl_read_cpu_info()
384 data = envctrl_i2c_read_8591((unsigned char)pchild->addr, in envctrl_read_cpu_info()
385 (unsigned char)pchild->chnl_array[i].chnl_no); in envctrl_read_cpu_info()
388 tbl = pchild->tables + pchild->tblprop_array[i].offset; in envctrl_read_cpu_info()
390 return envctrl_i2c_data_translate(data, pchild->tblprop_array[i].type, in envctrl_read_cpu_info()
391 pchild->tblprop_array[i].scale, in envctrl_read_cpu_info()
399 static int envctrl_read_noncpu_info(struct i2c_child_t *pchild, in envctrl_read_noncpu_info() argument
407 if (pchild->mon_type[i] == mon_type) in envctrl_read_noncpu_info()
415 data = envctrl_i2c_read_8591((unsigned char)pchild->addr, in envctrl_read_noncpu_info()
[all …]