/kernel/linux/linux-5.10/arch/mips/pci/ |
H A D | pci-xlp.c | 77 } else if (bus->parent->number == 0) { /* SoC bus */ in pci_cfg_read_32bit() 186 /* find bus with grand parent number == 0 */ in xlp_get_pcie_link() 187 for (p = bus->parent; p && p->parent && p->parent->number != 0; in xlp_get_pcie_link() 188 p = p->parent) in xlp_get_pcie_link() 190 return (p && p->parent) ? bus->self : NULL; in xlp_get_pcie_link() 193 for (p = bus->parent; p && p->number != 0; p = p->parent) in xlp_get_pcie_link()
|
/kernel/linux/linux-6.6/arch/powerpc/boot/ |
H A D | devtree.c | 242 void *parent; in dt_xlate() local 247 parent = get_parent(node); in dt_xlate() 248 if (!parent) in dt_xlate() 251 dt_get_reg_format(parent, &naddr, &nsize); in dt_xlate() 272 node = parent; in dt_xlate() 274 parent = get_parent(node); in dt_xlate() 275 if (!parent) in dt_xlate() 278 dt_get_reg_format(parent, &naddr, &nsize); in dt_xlate()
|
/kernel/linux/linux-5.10/drivers/irqchip/ |
H A D | irq-loongson-pch-msi.c | 138 fwspec.fwnode = domain->parent->fwnode; in pch_msi_parent_domain_alloc() 191 struct irq_domain *parent, in pch_msi_init_domains() 207 middle_domain->parent = parent; in pch_msi_init_domains() 263 static int pch_msi_of_init(struct device_node *node, struct device_node *parent) in pch_msi_of_init() argument 270 parent_domain = irq_find_host(parent); in pch_msi_of_init() 272 pr_err("Failed to find the parent domain\n"); in pch_msi_of_init() 304 struct irq_domain *pch_msi_acpi_init(struct irq_domain *parent, in pch_msi_acpi_init() argument 316 acpi_pchmsi->count, parent, domain_handle); in pch_msi_acpi_init() 190 pch_msi_init_domains(struct pch_msi_data *priv, struct irq_domain *parent, struct fwnode_handle *domain_handle) pch_msi_init_domains() argument
|
/kernel/linux/linux-5.10/drivers/misc/ |
H A D | tifm_core.c | 184 fm->dev.parent = dev; in tifm_alloc_adapter() 265 sock->dev.parent = fm->dev.parent; in tifm_alloc_device() 267 sock->dev.dma_mask = fm->dev.parent->dma_mask; in tifm_alloc_device() 282 struct tifm_adapter *fm = dev_get_drvdata(sock->dev.parent); in tifm_eject() 289 struct tifm_adapter *fm = dev_get_drvdata(sock->dev.parent); in tifm_has_ms_pif() 297 return pci_map_sg(to_pci_dev(sock->dev.parent), sg, nents, direction); in tifm_map_sg() 304 pci_unmap_sg(to_pci_dev(sock->dev.parent), sg, nents, direction); in tifm_unmap_sg()
|
/kernel/linux/linux-5.10/fs/hfsplus/ |
H A D | bfind.c | 67 cur_cnid = fd->key->cat.parent; in hfs_find_1st_rec_by_cnid() 68 search_cnid = fd->search_key->cat.parent; in hfs_find_1st_rec_by_cnid() 168 u32 nidx, parent; in hfs_brec_find() local 181 parent = 0; in hfs_brec_find() 193 bnode->parent = parent; in hfs_brec_find() 201 parent = nidx; in hfs_brec_find() 211 height, bnode->height, bnode->type, nidx, parent); in hfs_brec_find()
|
/kernel/linux/linux-5.10/fs/btrfs/ |
H A D | export.c | 18 struct inode *parent) in btrfs_encode_fh() 24 if (parent && (len < BTRFS_FID_SIZE_CONNECTABLE)) { in btrfs_encode_fh() 39 if (parent) { in btrfs_encode_fh() 42 fid->parent_objectid = BTRFS_I(parent)->location.objectid; in btrfs_encode_fh() 43 fid->parent_gen = parent->i_generation; in btrfs_encode_fh() 44 parent_root_id = BTRFS_I(parent)->root->root_key.objectid; in btrfs_encode_fh() 200 static int btrfs_get_name(struct dentry *parent, char *name, in btrfs_get_name() argument 204 struct inode *dir = d_inode(parent); in btrfs_get_name() 17 btrfs_encode_fh(struct inode *inode, u32 *fh, int *max_len, struct inode *parent) btrfs_encode_fh() argument
|
/kernel/linux/linux-5.10/kernel/ |
H A D | pid_namespace.c | 108 ns->parent = get_pid_ns(parent_pid_ns); in create_pid_namespace() 162 struct pid_namespace *parent; in put_pid_ns() local 165 parent = ns->parent; in put_pid_ns() 168 ns = parent; in put_pid_ns() 220 * parent namespace are detached and become EXIT_DEAD. in zap_pid_ns_processes() 422 ancestor = ancestor->parent; in pidns_install() 436 /* See if the parent is in the current namespace */ in pidns_get_parent() 437 pid_ns = p = to_pid_ns(ns)->parent; in pidns_get_parent() 443 p = p->parent; in pidns_get_parent() [all...] |
/kernel/linux/linux-5.10/drivers/gpu/drm/nouveau/nvif/ |
H A D | object.c | 263 nvif_object_ctor(struct nvif_object *parent, const char *name, u32 handle, in nvif_object_ctor() argument 279 if (parent) { in nvif_object_ctor() 285 object->parent = parent->parent; in nvif_object_ctor() 290 args->new.route = parent->client->route; in nvif_object_ctor() 297 ret = nvif_object_ioctl(parent, args, sizeof(*args) + size, in nvif_object_ctor() 302 object->client = parent->client; in nvif_object_ctor()
|
/kernel/linux/linux-5.10/drivers/pci/ |
H A D | slot.c | 173 static struct pci_slot *get_slot(struct pci_bus *parent, int slot_nr) in get_slot() argument 178 list_for_each_entry(slot, &parent->slots, list) in get_slot() 189 * @parent: struct pci_bus of parent bridge 225 struct pci_slot *pci_create_slot(struct pci_bus *parent, int slot_nr, in pci_create_slot() argument 243 slot = get_slot(parent, slot_nr); in pci_create_slot() 263 slot->bus = parent; in pci_create_slot() 276 list_add(&slot->list, &parent->slots); in pci_create_slot() 286 list_for_each_entry(dev, &parent->devices, bus_list) in pci_create_slot() 291 dev_dbg(&parent in pci_create_slot() [all...] |
/kernel/linux/linux-6.6/drivers/misc/ |
H A D | tifm_core.c | 182 fm->dev.parent = dev; in tifm_alloc_adapter() 263 sock->dev.parent = fm->dev.parent; in tifm_alloc_device() 265 sock->dev.dma_mask = fm->dev.parent->dma_mask; in tifm_alloc_device() 280 struct tifm_adapter *fm = dev_get_drvdata(sock->dev.parent); in tifm_eject() 287 struct tifm_adapter *fm = dev_get_drvdata(sock->dev.parent); in tifm_has_ms_pif() 295 return dma_map_sg(&to_pci_dev(sock->dev.parent)->dev, sg, nents, in tifm_map_sg() 303 dma_unmap_sg(&to_pci_dev(sock->dev.parent)->dev, sg, nents, direction); in tifm_unmap_sg()
|
/kernel/linux/linux-6.6/fs/hfsplus/ |
H A D | bfind.c | 67 cur_cnid = fd->key->cat.parent; in hfs_find_1st_rec_by_cnid() 68 search_cnid = fd->search_key->cat.parent; in hfs_find_1st_rec_by_cnid() 168 u32 nidx, parent; in hfs_brec_find() local 181 parent = 0; in hfs_brec_find() 193 bnode->parent = parent; in hfs_brec_find() 201 parent = nidx; in hfs_brec_find() 211 height, bnode->height, bnode->type, nidx, parent); in hfs_brec_find()
|
/kernel/linux/linux-6.6/include/linux/iio/ |
H A D | iio.h | 555 * @dev: [DRIVER] device structure, should be assigned a parent 678 * iio_device_set_parent() - assign parent device to the IIO device object 680 * @parent: reference to parent device object 685 * By default, the device allocation will also assign a parent device to 687 * sometimes the parent device must be different than the device used to 689 * In that case, this helper should be used to change the parent, hence the 693 struct device *parent) in iio_device_set_parent() 695 indio_dev->dev.parent = parent; in iio_device_set_parent() 692 iio_device_set_parent(struct iio_dev *indio_dev, struct device *parent) iio_device_set_parent() argument [all...] |
/kernel/linux/linux-6.6/include/linux/ |
H A D | leds.h | 254 * @parent: LED controller device this LED is driven by 262 int led_classdev_register_ext(struct device *parent, 268 * @parent: LED controller device this LED is driven by 276 static inline int led_classdev_register(struct device *parent, in led_classdev_register() argument 279 return led_classdev_register_ext(parent, led_cdev, NULL); in led_classdev_register() 283 int devm_led_classdev_register_ext(struct device *parent, 288 devm_led_classdev_register_ext(struct device *parent, in devm_led_classdev_register_ext() argument 296 static inline int devm_led_classdev_register(struct device *parent, in devm_led_classdev_register() argument 299 return devm_led_classdev_register_ext(parent, led_cdev, NULL); in devm_led_classdev_register() 302 void devm_led_classdev_unregister(struct device *parent, [all...] |
/kernel/linux/linux-6.6/fs/btrfs/ |
H A D | export.c | 20 struct inode *parent) in btrfs_encode_fh() 26 if (parent && (len < BTRFS_FID_SIZE_CONNECTABLE)) { in btrfs_encode_fh() 41 if (parent) { in btrfs_encode_fh() 44 fid->parent_objectid = BTRFS_I(parent)->location.objectid; in btrfs_encode_fh() 45 fid->parent_gen = parent->i_generation; in btrfs_encode_fh() 46 parent_root_id = BTRFS_I(parent)->root->root_key.objectid; in btrfs_encode_fh() 213 static int btrfs_get_name(struct dentry *parent, char *name, in btrfs_get_name() argument 217 struct inode *dir = d_inode(parent); in btrfs_get_name() 19 btrfs_encode_fh(struct inode *inode, u32 *fh, int *max_len, struct inode *parent) btrfs_encode_fh() argument
|
/kernel/linux/linux-6.6/drivers/pmdomain/apple/ |
H A D | pmgr-pwrstate.c | 204 regmap = syscon_node_to_regmap(node->parent); in apple_pmgr_ps_probe() 265 struct of_phandle_args parent, child; in apple_pmgr_ps_probe() local 267 parent.np = it.node; in apple_pmgr_ps_probe() 268 parent.args_count = of_phandle_iterator_args(&it, parent.args, MAX_PHANDLE_ARGS); in apple_pmgr_ps_probe() 271 ret = of_genpd_add_subdomain(&parent, &child); in apple_pmgr_ps_probe() 274 of_node_put(parent.np); in apple_pmgr_ps_probe() 277 dev_err(dev, "failed to add to parent domain: %d (%s -> %s)\n", in apple_pmgr_ps_probe() 279 of_node_put(parent.np); in apple_pmgr_ps_probe() 285 * Do not participate in regular PM; parent powe in apple_pmgr_ps_probe() [all...] |
/kernel/linux/linux-6.6/drivers/clk/mvebu/ |
H A D | cp110-system-controller.c | 321 const char *parent; in cp110_syscon_common_probe() local 328 parent = nand_name; in cp110_syscon_common_probe() 333 parent = ppv2_name; in cp110_syscon_common_probe() 336 parent = sdio_name; in cp110_syscon_common_probe() 343 parent = x2core_name; in cp110_syscon_common_probe() 346 parent = core_name; in cp110_syscon_common_probe() 349 hw = cp110_register_gate(gate_name[i], parent, regmap, i); in cp110_syscon_common_probe() 403 return cp110_syscon_common_probe(pdev, pdev->dev.of_node->parent); in cp110_clk_probe()
|
/kernel/linux/linux-6.6/drivers/clk/tegra/ |
H A D | clk.c | 285 struct clk *parent = clks[tbl->parent_id]; in tegra_init_from_table() local 286 if (clk_set_parent(clk, parent)) { in tegra_init_from_table() 287 pr_err("%s: Failed to set parent %s of %s\n", in tegra_init_from_table() 288 __func__, __clk_get_name(parent), in tegra_init_from_table() 403 struct platform_device *pdev, *parent; in tegra_clk_dev_register() local 417 parent = of_find_device_by_node(tegra_car_np); in tegra_clk_dev_register() 418 if (parent) { in tegra_clk_dev_register() 419 pdev = of_platform_device_create(np, dev_name, &parent->dev); in tegra_clk_dev_register() 420 put_device(&parent->dev); in tegra_clk_dev_register()
|
/kernel/linux/linux-6.6/kernel/ |
H A D | pid_namespace.c | 109 ns->parent = get_pid_ns(parent_pid_ns); in create_pid_namespace() 157 struct pid_namespace *parent; in put_pid_ns() local 160 parent = ns->parent; in put_pid_ns() 164 ns = parent; in put_pid_ns() 216 * parent namespace are detached and become EXIT_DEAD. in zap_pid_ns_processes() 417 ancestor = ancestor->parent; in pidns_install() 431 /* See if the parent is in the current namespace */ in pidns_get_parent() 432 pid_ns = p = to_pid_ns(ns)->parent; in pidns_get_parent() 438 p = p->parent; in pidns_get_parent() [all...] |
/kernel/linux/linux-6.6/drivers/pci/ |
H A D | slot.c | 174 static struct pci_slot *get_slot(struct pci_bus *parent, int slot_nr) in get_slot() argument 179 list_for_each_entry(slot, &parent->slots, list) in get_slot() 190 * @parent: struct pci_bus of parent bridge 226 struct pci_slot *pci_create_slot(struct pci_bus *parent, int slot_nr, in pci_create_slot() argument 244 slot = get_slot(parent, slot_nr); in pci_create_slot() 264 slot->bus = parent; in pci_create_slot() 277 list_add(&slot->list, &parent->slots); in pci_create_slot() 287 list_for_each_entry(dev, &parent->devices, bus_list) in pci_create_slot() 292 dev_dbg(&parent in pci_create_slot() [all...] |
/kernel/linux/linux-6.6/drivers/gpu/drm/i915/gt/ |
H A D | intel_context.h | 54 return !!ce->parallel.parent; in intel_context_is_child() 69 * The parent holds ref count to the child so it is always safe in intel_context_to_parent() 70 * for the parent to access the child, but the child has a in intel_context_to_parent() 71 * pointer to the parent without a ref. To ensure this is safe in intel_context_to_parent() 72 * the child should only access the parent pointer while the in intel_context_to_parent() 73 * parent is pinned. in intel_context_to_parent() 75 GEM_BUG_ON(!intel_context_is_pinned(ce->parallel.parent)); in intel_context_to_parent() 77 return ce->parallel.parent; in intel_context_to_parent() 88 void intel_context_bind_parent_child(struct intel_context *parent, 91 #define for_each_child(parent, c [all...] |
/kernel/linux/linux-6.6/drivers/gpu/drm/nouveau/nvif/ |
H A D | object.c | 262 nvif_object_ctor(struct nvif_object *parent, const char *name, u32 handle, in nvif_object_ctor() argument 278 if (parent) { in nvif_object_ctor() 284 object->parent = parent->parent; in nvif_object_ctor() 289 args->new.route = parent->client->route; in nvif_object_ctor() 296 ret = nvif_object_ioctl(parent, args, sizeof(*args) + size, in nvif_object_ctor() 301 object->client = parent->client; in nvif_object_ctor()
|
/kernel/linux/linux-5.10/tools/perf/util/ |
H A D | expr.h | 18 struct expr_id *parent; member 23 struct expr_id *parent; member 34 struct expr_id *parent; member
|
/kernel/linux/linux-5.10/fs/xfs/ |
H A D | xfs_sysfs.h | 35 struct kobject *parent; in xfs_sysfs_init() local 37 parent = parent_kobj ? &parent_kobj->kobject : NULL; in xfs_sysfs_init() 39 return kobject_init_and_add(&kobj->kobject, ktype, parent, "%s", name); in xfs_sysfs_init()
|
/kernel/linux/linux-6.6/fs/xfs/ |
H A D | xfs_sysfs.h | 35 struct kobject *parent; in xfs_sysfs_init() local 38 parent = parent_kobj ? &parent_kobj->kobject : NULL; in xfs_sysfs_init() 40 err = kobject_init_and_add(&kobj->kobject, ktype, parent, "%s", name); in xfs_sysfs_init()
|
/kernel/linux/linux-6.6/drivers/net/ethernet/mellanox/mlxsw/ |
H A D | spectrum_qdisc.c | 51 u32 parent); 87 struct mlxsw_sp_qdisc *parent; member 97 * known what qdisc their parent handle refers to. It could be a 102 * future parent handle is, and keep track of which child FIFOs were 103 * seen. Then when the parent is known, retroactively offload those 149 u32 parent = *(u32 *)data; in mlxsw_sp_qdisc_walk_cb_find() local 151 if (qdisc->ops && TC_H_MAJ(qdisc->handle) == TC_H_MAJ(parent)) { in mlxsw_sp_qdisc_walk_cb_find() 153 return qdisc->ops->find_class(qdisc, parent); in mlxsw_sp_qdisc_walk_cb_find() 160 mlxsw_sp_qdisc_find(struct mlxsw_sp_port *mlxsw_sp_port, u32 parent) in mlxsw_sp_qdisc_find() argument 166 if (parent in mlxsw_sp_qdisc_find() 206 struct mlxsw_sp_qdisc *parent = mlxsw_sp_qdisc->parent; mlxsw_sp_qdisc_get_prio_bitmap() local 220 struct mlxsw_sp_qdisc *parent = mlxsw_sp_qdisc->parent; mlxsw_sp_qdisc_get_tclass_num() local 825 mlxsw_sp_qdisc_leaf_find_class(struct mlxsw_sp_qdisc *mlxsw_sp_qdisc, u32 parent) mlxsw_sp_qdisc_leaf_find_class() argument 1491 mlxsw_sp_qdisc_prio_find_class(struct mlxsw_sp_qdisc *mlxsw_sp_qdisc, u32 parent) mlxsw_sp_qdisc_prio_find_class() argument 1624 u32 parent; mlxsw_sp_qdisc_graft() local [all...] |