Searched refs:parent (Results 151 - 175 of 4987) sorted by relevance

1234567891011>>

/linux-master/drivers/irqchip/
H A Dirq-gic-v3-its-fsl-mc-msi.c61 msi_info = msi_get_domain_info(msi_domain->parent);
65 return msi_info->ops->msi_prepare(msi_domain->parent, dev, nvec, info);
86 struct irq_domain *parent; local
89 parent = irq_find_matching_fwnode(handle, DOMAIN_BUS_NEXUS);
90 if (!parent || !msi_get_domain_info(parent)) {
97 parent);
/linux-master/drivers/hid/
H A Dhid-roccat-arvo.c30 hid_get_drvdata(dev_get_drvdata(dev->parent->parent));
32 interface_to_usbdev(to_usb_interface(dev->parent->parent));
50 hid_get_drvdata(dev_get_drvdata(dev->parent->parent));
52 interface_to_usbdev(to_usb_interface(dev->parent->parent));
80 hid_get_drvdata(dev_get_drvdata(dev->parent->parent));
[all...]
/linux-master/drivers/firmware/
H A Dsysfb.c115 struct device *parent; local
129 parent = sysfb_parent_dev(si);
130 if (IS_ERR(parent)) {
131 ret = PTR_ERR(parent);
138 pd = sysfb_create_simplefb(si, &mode, parent);
161 pd->dev.parent = parent;
/linux-master/drivers/usb/typec/
H A Dretimer.c53 WARN_ON(!try_module_get(retimer->dev.parent->driver->owner));
68 module_put(retimer->dev.parent->driver->owner);
95 * @parent: Parent device.
105 typec_retimer_register(struct device *parent, const struct typec_retimer_desc *desc) argument
120 retimer->dev.parent = parent;
126 desc->name ? desc->name : dev_name(parent));
130 dev_err(parent, "failed to register retimer (%d)\n", ret);
/linux-master/fs/hfs/
H A Dbrec.c137 * update parent key if we inserted a key
147 if (!new_node->parent) {
149 new_node->parent = tree->root;
151 fd->bnode = hfs_bnode_find(tree, new_node->parent);
180 struct hfs_bnode *node, *parent; local
198 if (!node->parent)
200 parent = hfs_bnode_find(tree, node->parent);
201 if (IS_ERR(parent))
202 return PTR_ERR(parent);
355 struct hfs_bnode *node, *new_node, *parent; local
[all...]
/linux-master/drivers/clk/sunxi/
H A Dclk-a10-pll2.c41 const char *clk_name = node->name, *parent; local
61 parent = of_clk_get_parent_name(node, 0);
63 parent, 0, reg,
94 parent = __clk_get_name(prediv_clk);
96 &parent, 1,
106 parent = __clk_get_name(base_clk);
123 parent,
138 parent,
147 parent,
156 parent,
[all...]
/linux-master/drivers/clk/pistachio/
H A Dclk.h16 const char *parent; member in struct:pistachio_gate
25 .parent = _pname, \
56 const char *parent; member in struct:pistachio_div
66 .parent = _pname, \
76 .parent = _pname, \
83 const char *parent; member in struct:pistachio_fixed_factor
91 .parent = _pname, \
116 const char *parent; member in struct:pistachio_pll
127 .parent = _pname, \
138 .parent
[all...]
/linux-master/drivers/acpi/
H A Dacpi_platform.c77 struct device *parent; local
82 * If the device has parent we need to take its resources into
85 parent = acpi_get_first_physical_node(acpi_dev_parent(adev));
86 if (parent && dev_is_pci(parent))
87 dest->parent = pci_find_resource(to_pci_dev(parent), dest);
113 struct acpi_device *parent = acpi_dev_parent(adev); local
160 * If the ACPI node has a parent and that parent ha
[all...]
/linux-master/drivers/gpu/drm/xe/
H A Dxe_pt_walk.c61 * @parent: The root page table for walk start.
73 int xe_pt_walk_range(struct xe_ptw *parent, unsigned int level, argument
77 struct xe_ptw **entries = parent->children ? parent->children : NULL;
92 err = ops->pt_entry(parent, offset, level, addr, next,
107 err = ops->pt_post_descend(parent, offset, level, addr,
119 * @parent: Root page table directory.
126 * that are private to the range. Since the root (or @parent) page table is
130 * parent == *child.
139 int xe_pt_walk_shared(struct xe_ptw *parent, unsigne argument
[all...]
/linux-master/drivers/gpu/drm/scheduler/
H A Dsched_fence.c55 * fence's parent set before test_bit()
57 smp_store_release(&s_fence->parent, dma_fence_get(fence));
64 struct dma_fence *parent)
66 /* Set the parent before signaling the scheduled fence, such that,
67 * any waiter expecting the parent to be filled after the job has
69 * to some firmware) doesn't have to busy wait for parent to show
72 if (!IS_ERR_OR_NULL(parent))
73 drm_sched_fence_set_parent(fence, parent);
132 dma_fence_put(fence->parent);
154 struct dma_fence *parent; local
63 drm_sched_fence_scheduled(struct drm_sched_fence *fence, struct dma_fence *parent) argument
[all...]
/linux-master/drivers/pci/pcie/
H A Daspm.c107 struct pci_dev *parent = pdev->bus->self; local
117 if (pcie_downstream_port(pdev) || !parent)
120 if (!pdev->l1ss || !parent->l1ss)
124 pl_save_state = pci_find_saved_ext_cap(parent, PCI_EXT_CAP_ID_L1SS);
137 pcie_capability_read_word(parent, PCI_EXP_LNKCTL, &plnkctl);
142 pcie_capability_write_word(parent, PCI_EXP_LNKCTL,
152 pci_clear_and_set_config_dword(parent, parent->l1ss + PCI_L1SS_CTL1,
166 pci_write_config_dword(parent, parent
211 struct pcie_link_state *parent; /* pointer to the parent Link state */ member in struct:pcie_link_state
391 struct pci_dev *child, *parent = link->pdev; local
618 struct pci_dev *child = link->downstream, *parent = link->pdev; local
716 struct pci_dev *child = link->downstream, *parent = link->pdev; local
773 struct pci_dev *child = link->downstream, *parent = link->pdev; local
852 struct pci_dev *child = link->downstream, *parent = link->pdev; local
911 struct pci_dev *child = link->downstream, *parent = link->pdev; local
1038 struct pcie_link_state *parent; local
1231 struct pci_dev *parent = pdev->bus->self; local
[all...]
/linux-master/arch/sh/kernel/cpu/sh4a/
H A Dclock-sh7780.c34 return clk->parent->rate / pfc_divisors[idx];
44 return clk->parent->rate / bfc_divisors[idx];
54 return clk->parent->rate / ifc_divisors[idx];
77 return clk->parent->rate / cfc_divisors[idx];
113 clkp->parent = clk;
/linux-master/drivers/clk/versatile/
H A Dclk-versatile.c65 struct device_node *parent; local
67 parent = of_get_parent(np);
68 if (!parent) {
69 pr_err("no parent on core module clock\n");
72 cm_base = of_iomap(parent, 0);
73 of_node_put(parent);
/linux-master/drivers/net/mdio/
H A Dmdio-regmap.c59 if (!config->parent)
62 mii = devm_mdiobus_alloc_size(config->parent, sizeof(*mr));
72 mii->parent = config->parent;
83 dev_err(config->parent, "Cannot register MDIO bus![%s] (%d)\n", mii->id, rc);
/linux-master/include/linux/
H A Dwwan.h80 * @parent: Device to use as parent and shared by all WWAN ports
88 * based on the parent pointer. The parent pointer is the device shared by all
98 struct wwan_port *wwan_create_port(struct device *parent,
185 int wwan_register_ops(struct device *parent, const struct wwan_ops *ops,
188 void wwan_unregister_ops(struct device *parent);
191 struct dentry *wwan_get_debugfs_dir(struct device *parent);
194 static inline struct dentry *wwan_get_debugfs_dir(struct device *parent) argument
/linux-master/include/trace/events/
H A Dtimer_migration.h42 __field( void *, parent )
51 __entry->parent = child->parent;
52 __entry->lvl = child->parent->level;
53 __entry->numa_node = child->parent->numa_node;
54 __entry->num_children = child->parent->num_children;
58 TP_printk("group=%p childmask=%0x parent=%p lvl=%d numa=%d num_children=%d",
59 __entry->child, __entry->childmask, __entry->parent,
70 __field( void *, parent )
79 __entry->parent
[all...]
/linux-master/drivers/md/dm-vdo/
H A Dcompletion.h36 * parent information.
115 * Resets the completion, and then sets its callback, error handler, callback thread, and parent.
120 thread_id_t callback_thread_id, void *parent)
125 completion->parent = parent;
132 * Resets the completion, and then sets its callback, error handler, callback thread, and parent.
138 void *parent)
141 callback_thread_id, parent);
117 vdo_prepare_completion(struct vdo_completion *completion, vdo_action_fn callback, vdo_action_fn error_handler, thread_id_t callback_thread_id, void *parent) argument
134 vdo_prepare_completion_for_requeue(struct vdo_completion *completion, vdo_action_fn callback, vdo_action_fn error_handler, thread_id_t callback_thread_id, void *parent) argument
/linux-master/lib/
H A Dkobject.c26 * Returns namespace tag of @kobj if its parent has namespace ops enabled
109 const struct kobject *parent = kobj; local
116 if (kobject_name(parent) == NULL)
118 length += strlen(kobject_name(parent)) + 1;
119 parent = parent->parent;
120 } while (parent);
126 const struct kobject *parent; local
129 for (parent
213 struct kobject *parent; local
362 kobject_add_varg(struct kobject *kobj, struct kobject *parent, const char *fmt, va_list vargs) argument
410 kobject_add(struct kobject *kobj, struct kobject *parent, const char *fmt, ...) argument
448 kobject_init_and_add(struct kobject *kobj, const struct kobj_type *ktype, struct kobject *parent, const char *fmt, ...) argument
621 struct kobject *parent; local
665 struct kobject *parent = kobj->parent; local
789 kobject_create_and_add(const char *name, struct kobject *parent) argument
1059 kobj_child_ns_ops(const struct kobject *parent) argument
[all...]
H A Drbtree_test.c34 struct rb_node **new = &root->rb_root.rb_node, *parent = NULL; local
38 parent = *new;
39 if (key < rb_entry(parent, struct test_node, rb)->key)
40 new = &parent->rb_left;
42 new = &parent->rb_right;
45 rb_link_node(&node->rb, parent, new);
51 struct rb_node **new = &root->rb_root.rb_node, *parent = NULL; local
56 parent = *new;
57 if (key < rb_entry(parent, struct test_node, rb)->key)
58 new = &parent
91 struct test_node *parent; local
115 struct test_node *parent; local
[all...]
/linux-master/fs/hfsplus/
H A Dbrec.c137 * update parent key if we inserted a key
147 if (!new_node->parent) {
149 new_node->parent = tree->root;
151 fd->bnode = hfs_bnode_find(tree, new_node->parent);
182 struct hfs_bnode *node, *parent; local
200 if (!node->parent)
202 parent = hfs_bnode_find(tree, node->parent);
203 if (IS_ERR(parent))
204 return PTR_ERR(parent);
359 struct hfs_bnode *node, *new_node, *parent; local
[all...]
/linux-master/drivers/staging/vme_user/
H A Dvme.c54 list)->parent;
57 list)->parent;
60 list)->parent;
63 list)->parent;
86 dev_err(bridge->parent,
92 return bridge->alloc_consistent(bridge->parent, size, dma);
111 dev_err(bridge->parent,
117 bridge->free_consistent(bridge->parent, size, vaddr, dma);
157 dev_err(bridge->parent, "Unknown resource type\n");
198 dev_err(bridge->parent, "Invali
[all...]
/linux-master/drivers/regulator/
H A Dmc13xxx-regulator-core.c142 struct device_node *parent; local
145 if (!pdev->dev.parent->of_node)
148 parent = of_get_child_by_name(pdev->dev.parent->of_node, "regulators");
149 if (!parent)
152 num = of_get_child_count(parent);
153 of_node_put(parent);
164 struct device_node *parent, *child; local
167 if (!pdev->dev.parent->of_node)
170 parent
[all...]
/linux-master/fs/
H A Dpnode.c245 struct mount *parent = last_source->mnt_parent; local
248 done = parent->mnt_master == p;
249 if (done && peers(n, parent))
401 * other mounts its parent propagates to.
410 struct mount *parent = mnt->mnt_parent; local
412 if (mnt == parent)
423 for (m = propagation_next(parent, parent); m;
424 m = propagation_next(m, parent)) {
452 struct mount *parent local
538 struct mount *mnt, *parent; local
582 struct mount *parent = mnt->mnt_parent; local
[all...]
/linux-master/drivers/mfd/
H A Dmfd-core.c59 struct acpi_device *parent; local
61 parent = ACPI_COMPANION(pdev->dev.parent);
62 if (!parent)
67 * directly under the parent that matches the either _HID or _CID, or
68 * _ADR or it will use the parent handle if is no ID is given.
83 acpi_dev_for_each_child(parent, match_device_ids, &wd);
86 adev = acpi_find_child_device(parent, match->adr, false);
90 ACPI_COMPANION_SET(&pdev->dev, adev ?: parent);
140 static int mfd_add_device(struct device *parent, in argument
319 mfd_add_devices(struct device *parent, int id, const struct mfd_cell *cells, int n_devs, struct resource *mem_base, int irq_base, struct irq_domain *domain) argument
376 mfd_remove_devices_late(struct device *parent) argument
384 mfd_remove_devices(struct device *parent) argument
[all...]
/linux-master/crypto/
H A Dhmac.c31 static int hmac_setkey(struct crypto_shash *parent, argument
34 int bs = crypto_shash_blocksize(parent);
35 int ds = crypto_shash_digestsize(parent);
36 int ss = crypto_shash_statesize(parent);
37 struct hmac_ctx *tctx = crypto_shash_ctx(parent);
110 struct crypto_shash *parent = pdesc->tfm; local
111 int ds = crypto_shash_digestsize(parent);
112 int ss = crypto_shash_statesize(parent);
113 const struct hmac_ctx *tctx = crypto_shash_ctx(parent);
126 struct crypto_shash *parent local
138 hmac_init_tfm(struct crypto_shash *parent) argument
170 hmac_exit_tfm(struct crypto_shash *parent) argument
[all...]

Completed in 194 milliseconds

1234567891011>>