Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/sbus/char/
Denvctrl.c362 static int envctrl_read_cpu_info(int cpu, struct i2c_child_t *pchild, in envctrl_read_cpu_info() argument
371 if (pchild->mon_type[i] == mon_type) { in envctrl_read_cpu_info()
382 data = envctrl_i2c_read_8591((unsigned char)pchild->addr, in envctrl_read_cpu_info()
383 (unsigned char)pchild->chnl_array[i].chnl_no); in envctrl_read_cpu_info()
386 tbl = pchild->tables + pchild->tblprop_array[i].offset; in envctrl_read_cpu_info()
388 return envctrl_i2c_data_translate(data, pchild->tblprop_array[i].type, in envctrl_read_cpu_info()
389 pchild->tblprop_array[i].scale, in envctrl_read_cpu_info()
397 static int envctrl_read_noncpu_info(struct i2c_child_t *pchild, in envctrl_read_noncpu_info() argument
405 if (pchild->mon_type[i] == mon_type) in envctrl_read_noncpu_info()
413 data = envctrl_i2c_read_8591((unsigned char)pchild->addr, in envctrl_read_noncpu_info()
[all …]
/linux-6.12.1/drivers/gpu/drm/amd/amdkfd/
Dkfd_svm.c1174 struct svm_range *pchild, enum svm_work_list_ops op) in svm_range_add_child() argument
1177 pchild, pchild->start, pchild->last, prange, op); in svm_range_add_child()
1179 pchild->work_item.mm = mm; in svm_range_add_child()
1180 pchild->work_item.op = op; in svm_range_add_child()
1181 list_add_tail(&pchild->child_list, &prange->child_list); in svm_range_add_child()
1919 struct svm_range *pchild; in svm_range_evict() local
1933 list_for_each_entry(pchild, &prange->child_list, child_list) { in svm_range_evict()
1934 if (!pchild->mapped_to_gpu) in svm_range_evict()
1937 mutex_lock_nested(&pchild->lock, 1); in svm_range_evict()
1938 if (pchild->start <= last && pchild->last >= start) { in svm_range_evict()
[all …]
Dkfd_queue.c154 struct svm_range *prange, *pchild; in kfd_queue_buffer_svm_put() local
173 list_for_each_entry(pchild, &prange->child_list, child_list) in kfd_queue_buffer_svm_put()
174 atomic_add_unless(&pchild->queue_refcount, -1, 0); in kfd_queue_buffer_svm_put()
/linux-6.12.1/drivers/pci/hotplug/
Dpnv_php.c765 struct pci_dev *pchild, *pdev = php_slot->pdev; in pnv_php_interrupt() local
805 pchild = list_first_entry_or_null(&php_slot->bus->devices, in pnv_php_interrupt()
807 edev = pchild ? pci_dev_to_eeh_dev(pchild) : NULL; in pnv_php_interrupt()