Lines Matching refs:i2c_child_t
155 struct i2c_child_t { struct
175 static struct i2c_child_t i2c_childlist[ENVCTRL_MAX_CPU*2]; argument
182 static struct i2c_child_t *envctrl_get_i2c_child(unsigned char);
364 static int envctrl_read_cpu_info(int cpu, struct i2c_child_t *pchild, in envctrl_read_cpu_info()
399 static int envctrl_read_noncpu_info(struct i2c_child_t *pchild, in envctrl_read_noncpu_info()
429 static int envctrl_i2c_fan_status(struct i2c_child_t *pchild, in envctrl_i2c_fan_status()
468 static int envctrl_i2c_globaladdr(struct i2c_child_t *pchild, in envctrl_i2c_globaladdr()
493 static unsigned char envctrl_i2c_voltage_status(struct i2c_child_t *pchild, in envctrl_i2c_voltage_status()
541 struct i2c_child_t *pchild; in envctrl_read()
735 static void envctrl_set_mon(struct i2c_child_t *pchild, in envctrl_set_mon()
770 static void envctrl_init_adc(struct i2c_child_t *pchild, struct device_node *dp) in envctrl_init_adc()
799 static void envctrl_init_fanstat(struct i2c_child_t *pchild) in envctrl_init_fanstat()
816 static void envctrl_init_globaladdr(struct i2c_child_t *pchild) in envctrl_init_globaladdr()
847 static void envctrl_init_voltage_status(struct i2c_child_t *pchild) in envctrl_init_voltage_status()
865 struct i2c_child_t *pchild) in envctrl_init_i2c_child()
957 static struct i2c_child_t *envctrl_get_i2c_child(unsigned char mon_type) in envctrl_get_i2c_child()
964 return (struct i2c_child_t *)(&(i2c_childlist[i])); in envctrl_get_i2c_child()
995 struct i2c_child_t *cputemp; in kenvctrld()