Searched refs:pchild (Results 1 – 2 of 2) sorted by relevance
/drivers/sbus/char/ |
D | envctrl.c | 363 static int envctrl_read_cpu_info(int cpu, struct i2c_child_t *pchild, in envctrl_read_cpu_info() argument 372 if (pchild->mon_type[i] == mon_type) { in envctrl_read_cpu_info() 383 data = envctrl_i2c_read_8591((unsigned char)pchild->addr, in envctrl_read_cpu_info() 384 (unsigned char)pchild->chnl_array[i].chnl_no); in envctrl_read_cpu_info() 387 tbl = pchild->tables + pchild->tblprop_array[i].offset; in envctrl_read_cpu_info() 389 return envctrl_i2c_data_translate(data, pchild->tblprop_array[i].type, in envctrl_read_cpu_info() 390 pchild->tblprop_array[i].scale, in envctrl_read_cpu_info() 398 static int envctrl_read_noncpu_info(struct i2c_child_t *pchild, in envctrl_read_noncpu_info() argument 406 if (pchild->mon_type[i] == mon_type) in envctrl_read_noncpu_info() 414 data = envctrl_i2c_read_8591((unsigned char)pchild->addr, in envctrl_read_noncpu_info() [all …]
|
/drivers/pci/hotplug/ |
D | pnv_php.c | 710 struct pci_dev *pchild, *pdev = php_slot->pdev; in pnv_php_interrupt() local 741 pchild = list_first_entry_or_null(&php_slot->bus->devices, in pnv_php_interrupt() 743 edev = pchild ? pci_dev_to_eeh_dev(pchild) : NULL; in pnv_php_interrupt()
|