Home
last modified time | relevance | path

Searched +full:parent +full:- +full:locked (Results 1 – 25 of 441) sorted by relevance

12345678910>>...18

/Linux-v5.15/Documentation/i2c/
Di2c-topology.rst6 than a straight-forward I2C bus with one adapter and one or more devices.
21 each adapter has a parent adapter (except the root adapter) and zero or
23 I2C transfers, and all adapters with a parent are part of an "i2c-mux"
38 mux-locked or parent-locked muxes. As is evident from below, it can be
39 useful to know if a mux is mux-locked or if it is parent-locked. The
45 i2c-arb-gpio-challenge Parent-locked
46 i2c-mux-gpio Normally parent-locked, mux-locked iff
49 i2c-mux-gpmux Normally parent-locked, mux-locked iff
50 specified in device-tree.
51 i2c-mux-ltc4306 Mux-locked
[all …]
/Linux-v5.15/Documentation/devicetree/bindings/i2c/
Di2c-mux-gpmux.yaml1 # SPDX-License-Identifier: GPL-2.0
3 ---
4 $id: http://devicetree.org/schemas/i2c/i2c-mux-gpmux.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Peter Rosin <peda@axentia.se>
16 .-----. .-----.
18 .------------. '-----' '-----'
20 | | .--------+--------'
21 | .------. | .------+ child bus A, on MUX value set to 0
22 | | I2C |-|--| Mux |
[all …]
/Linux-v5.15/drivers/i2c/
Di2c-mux.c4 * Copyright (c) 2008-2009 Rodolfo Giometti <giometti@linux.it>
5 * Copyright (c) 2008-2009 Eurotech S.p.A. <info@eurotech.it>
6 * Copyright (c) 2009-2010 NSN GmbH & Co KG <michael.lawnick.ext@nsn.com>
10 * Supports multi-level mux'ing (mux behind a mux).
13 * i2c-virt.c from Kumar Gala <galak@kernel.crashing.org>
14 * i2c-virtual.c from Ken Harrenstien, Copyright (c) 2004 Google, Inc.
15 * i2c-virtual.c from Brian Kuschak <bkuschak@yahoo.com>
24 #include <linux/i2c-mux.h>
42 struct i2c_mux_priv *priv = adap->algo_data; in __i2c_mux_master_xfer()
43 struct i2c_mux_core *muxc = priv->muxc; in __i2c_mux_master_xfer()
[all …]
/Linux-v5.15/drivers/vme/
Dvme_bridge.h1 /* SPDX-License-Identifier: GPL-2.0 */
13 struct vme_bridge *parent; member
19 int locked; member
30 struct vme_bridge *parent; member
32 int locked; member
56 struct vme_dma_resource *parent; member
63 struct vme_bridge *parent; member
65 int locked; member
74 struct vme_bridge *parent; member
76 int locked; member
[all …]
Dvme.c1 // SPDX-License-Identifier: GPL-2.0-or-later
24 #include <linux/dma-mapping.h>
51 switch (resource->type) { in find_bridge()
53 return list_entry(resource->entry, struct vme_master_resource, in find_bridge()
54 list)->parent; in find_bridge()
56 return list_entry(resource->entry, struct vme_slave_resource, in find_bridge()
57 list)->parent; in find_bridge()
59 return list_entry(resource->entry, struct vme_dma_resource, in find_bridge()
60 list)->parent; in find_bridge()
62 return list_entry(resource->entry, struct vme_lm_resource, in find_bridge()
[all …]
/Linux-v5.15/drivers/gpu/drm/i915/
Di915_scheduler.c2 * SPDX-License-Identifier: MIT
47 GEM_BUG_ON(rb_first_cached(&sched_engine->queue) != in assert_priolists()
48 rb_first(&sched_engine->queue.rb_root)); in assert_priolists()
51 for (rb = rb_first_cached(&sched_engine->queue); rb; rb = rb_next(rb)) { in assert_priolists()
54 GEM_BUG_ON(p->priority > last_prio); in assert_priolists()
55 last_prio = p->priority; in assert_priolists()
63 struct rb_node **parent, *rb; in i915_sched_lookup_priolist() local
66 lockdep_assert_held(&sched_engine->lock); in i915_sched_lookup_priolist()
69 if (unlikely(sched_engine->no_priolist)) in i915_sched_lookup_priolist()
75 parent = &sched_engine->queue.rb_root.rb_node; in i915_sched_lookup_priolist()
[all …]
/Linux-v5.15/drivers/clk/ti/
Ddpll3xxx.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * OMAP3/4 - specific DPLL control functions
5 * Copyright (C) 2009-2010 Texas Instruments, Inc.
6 * Copyright (C) 2009-2010 Nokia Corporation
46 /* _omap3_dpll_write_clken - write clken_bits arg to a DPLL's enable bits */
52 dd = clk->dpll_data; in _omap3_dpll_write_clken()
54 v = ti_clk_ll_ops->clk_readl(&dd->control_reg); in _omap3_dpll_write_clken()
55 v &= ~dd->enable_mask; in _omap3_dpll_write_clken()
56 v |= clken_bits << __ffs(dd->enable_mask); in _omap3_dpll_write_clken()
57 ti_clk_ll_ops->clk_writel(v, &dd->control_reg); in _omap3_dpll_write_clken()
[all …]
/Linux-v5.15/fs/reiserfs/
Dfix_node.c39 "vs-8005: for INSERT mode and item number of inserted item"); in old_item_num()
41 return new_num - 1; in old_item_num()
45 "vs-8010: old_item_num: mode must be M_DELETE (mode = \'%c\'", in old_item_num()
54 struct virtual_node *vn = tb->tb_vn; in create_virtual_node()
56 struct buffer_head *Sh; /* this comes from tb->S[h] */ in create_virtual_node()
58 Sh = PATH_H_PBUFFER(tb->tb_path, h); in create_virtual_node()
61 vn->vn_size = in create_virtual_node()
62 MAX_CHILD_SIZE(Sh) - B_FREE_SPACE(Sh) + tb->insert_size[h]; in create_virtual_node()
66 vn->vn_nr_item = (vn->vn_size - DC_SIZE) / (DC_SIZE + KEY_SIZE); in create_virtual_node()
71 vn->vn_nr_item = in create_virtual_node()
[all …]
/Linux-v5.15/Documentation/filesystems/
Ddirectory-locking.rst7 kinds of locks - per-inode (->i_rwsem) and per-filesystem
8 (->s_vfs_rename_mutex).
10 When taking the i_rwsem on multiple non-directory objects, we
22 3) object removal. Locking rules: caller locks parent, finds victim,
25 4) rename() that is _not_ cross-directory. Locking rules: caller locks
26 the parent and finds source and target. In case of exchange (with
28 if the target already exists, lock it. If the source is a non-directory,
36 * lock parent
43 6) cross-directory rename. The trickiest in the whole bunch. Locking
49 * if old parent is equal to or is a descendent of target
[all …]
/Linux-v5.15/drivers/net/ethernet/netronome/nfp/nfpcore/
Dnfp_cppcore.c1 // SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2 /* Copyright (C) 2015-2018 Netronome Systems, Inc. */
6 * Provides low-level access to the NFP's internal CPP bus
39 * struct nfp_cpp - main nfpcore device structure
40 * Following fields are read-only after probe() exits or netdevs are spawned.
42 * @op: low-level implementation ops
43 * @priv: private data of the low-level implementation
115 if (tmp->cpp_id > res->cpp_id) in __resource_add()
118 if (tmp->cpp_id == res->cpp_id && tmp->start > res->start) in __resource_add()
122 list_add_tail(&res->list, pos); in __resource_add()
[all …]
/Linux-v5.15/arch/x86/kernel/cpu/resctrl/
Dinternal.h1 /* SPDX-License-Identifier: GPL-2.0 */
50 #define MBM_CNTR_WIDTH_OFFSET_MAX (62 - MBM_CNTR_WIDTH_BASE)
62 struct kernfs_fs_context *kfc = fc->fs_private; in rdt_fc2context()
71 * struct mon_evt - Entry in the event list of a resource
74 * @list: entry in &rdt_resource->evt_list
83 * union mon_data_bits - Monitoring details for each event file
122 * enum rdtgrp_mode - Mode of a RDT resource group
125 * @RDT_MODE_PSEUDO_LOCKSETUP: Resource group will be used for Pseudo-Locking
127 * allowed AND the allocations are Cache Pseudo-Locked
135 * The "shareable", "exclusive", and "pseudo-locksetup" modes are set by
[all …]
/Linux-v5.15/Documentation/driver-api/mmc/
Dmmc-dev-parts.rst10 parent /dev/mmcblkX.
21 To enable write access to /dev/mmcblkXbootY, disable the forced read-only
26 To re-enable read-only access::
30 The boot partitions can also be locked read only until the next power on,
37 feature has been disabled on the card, the file will be read-only.
39 The boot partitions can also be locked permanently, but this feature is
/Linux-v5.15/fs/btrfs/
Dbackref.h1 /* SPDX-License-Identifier: GPL-2.0 */
11 #include "disk-io.h"
54 struct extent_buffer *eb_in, u64 parent,
79 u64 parent; member
105 btrfs_free_path(iter->path); in btrfs_backref_iter_free()
114 return iter->path->nodes[0]; in btrfs_backref_get_eb()
118 * For metadata with EXTENT_ITEM key (non-skinny) case, the first inline data
126 if (iter->cur_key.type == BTRFS_EXTENT_ITEM_KEY && in btrfs_backref_has_tree_block_info()
127 iter->cur_ptr - iter->item_ptr == sizeof(struct btrfs_extent_item)) in btrfs_backref_has_tree_block_info()
139 if (iter->cur_key.type == BTRFS_EXTENT_ITEM_KEY || in btrfs_backref_iter_is_inline_ref()
[all …]
Dtree-mod-log.c1 // SPDX-License-Identifier: GPL-2.0
3 #include "tree-mod-log.h"
4 #include "disk-io.h"
45 return atomic64_inc_return(&fs_info->tree_mod_seq); in btrfs_inc_tree_mod_seq()
51 * to record tree modifications, it should ensure to set elem->seq to zero
59 write_lock(&fs_info->tree_mod_log_lock); in btrfs_get_tree_mod_seq()
60 if (!elem->seq) { in btrfs_get_tree_mod_seq()
61 elem->seq = btrfs_inc_tree_mod_seq(fs_info); in btrfs_get_tree_mod_seq()
62 list_add_tail(&elem->list, &fs_info->tree_mod_seq_list); in btrfs_get_tree_mod_seq()
63 set_bit(BTRFS_FS_TREE_MOD_LOG_USERS, &fs_info->flags); in btrfs_get_tree_mod_seq()
[all …]
/Linux-v5.15/net/sunrpc/
Dsysfs.c1 // SPDX-License-Identifier: GPL-2.0
21 kfree(addr->addr); in free_xprt_addr()
47 struct kobject *parent) in rpc_sysfs_object_alloc() argument
53 kobj->kset = kset; in rpc_sysfs_object_alloc()
55 parent, "%s", name) == 0) in rpc_sysfs_object_alloc()
68 return xprt_get(x->xprt); in rpc_sysfs_xprt_kobj_get_xprt()
77 return xprt_switch_get(x->xprt_switch); in rpc_sysfs_xprt_kobj_get_xprt_switch()
86 return xprt_switch_get(x->xprt_switch); in rpc_sysfs_xprt_switch_kobj_get_xprt()
98 ret = sprintf(buf, "%s\n", xprt->address_strings[RPC_DISPLAY_ADDR]); in rpc_sysfs_xprt_dstaddr_show()
110 ssize_t ret = -1; in rpc_sysfs_xprt_srcaddr_show()
[all …]
/Linux-v5.15/drivers/net/ethernet/mellanox/mlx5/core/
Dfs_core.c14 * - Redistributions of source code must retain the above
18 * - Redistributions in binary form must reproduce the above
287 refcount_set(&node->refcount, 1); in tree_init_node()
288 INIT_LIST_HEAD(&node->list); in tree_init_node()
289 INIT_LIST_HEAD(&node->children); in tree_init_node()
290 init_rwsem(&node->lock); in tree_init_node()
291 node->del_hw_func = del_hw_func; in tree_init_node()
292 node->del_sw_func = del_sw_func; in tree_init_node()
293 node->active = false; in tree_init_node()
296 static void tree_add_node(struct fs_node *node, struct fs_node *parent) in tree_add_node() argument
[all …]
/Linux-v5.15/drivers/usb/core/
Dusb.c1 // SPDX-License-Identifier: GPL-2.0
6 * (C) Copyright Johannes Erdfelt 1999-2001
11 * (C) Copyright David Brownell 2000-2004
14 * (C) Copyright Greg Kroah-Hartman 2002-2003
45 #include <linux/dma-mapping.h>
118 * usb_find_common_endpoints() -- look up common endpoint descriptors
125 * Search the alternate setting's endpoint descriptors for the first bulk-in,
126 * bulk-out, interrupt-in and interrupt-out endpoints and return them in the
132 * Return: Zero if all requested descriptors were found, or -ENXIO otherwise.
152 for (i = 0; i < alt->desc.bNumEndpoints; ++i) { in usb_find_common_endpoints()
[all …]
/Linux-v5.15/Documentation/devicetree/bindings/clock/ti/
Dapll.txt3 Binding status: Unstable - ABI compatibility may be broken in the future
6 register-mapped APLL with usually two selectable input clocks
7 (reference clock and bypass clock), with analog phase locked
10 modes (locked, low power stop etc.) APLL mostly behaves like
13 [1] Documentation/devicetree/bindings/clock/clock-bindings.txt
17 - compatible : shall be "ti,dra7-apll-clock" or "ti,omap2-apll-clock"
18 - #clock-cells : from common clock binding; shall be set to 0.
19 - clocks : link phandles of parent clocks (clk-ref and clk-bypass)
20 - reg : address and length of the register set for controlling the APLL.
22 "control" - contains the control register offset
[all …]
Ddpll.txt3 Binding status: Unstable - ABI compatibility may be broken in the future
6 register-mapped DPLL with usually two selectable input clocks
7 (reference clock and bypass clock), with digital phase locked
10 modes (locked, low power stop etc.) This binding has several
11 sub-types, which effectively result in slightly different setup
14 [1] Documentation/devicetree/bindings/clock/clock-bindings.txt
17 - compatible : shall be one of:
18 "ti,omap3-dpll-clock",
19 "ti,omap3-dpll-core-clock",
20 "ti,omap3-dpll-per-clock",
[all …]
/Linux-v5.15/drivers/i2c/muxes/
Di2c-mux-gpmux.c1 // SPDX-License-Identifier: GPL-2.0-only
11 #include <linux/i2c-mux.h>
28 ret = mux_control_select(mux->control, chan); in i2c_mux_select()
29 mux->do_not_deselect = ret < 0; in i2c_mux_select()
38 if (mux->do_not_deselect) in i2c_mux_deselect()
41 return mux_control_deselect(mux->control); in i2c_mux_deselect()
46 struct device_node *np = dev->of_node; in mux_parent_adapter()
48 struct i2c_adapter *parent; in mux_parent_adapter() local
50 parent_np = of_parse_phandle(np, "i2c-parent", 0); in mux_parent_adapter()
52 dev_err(dev, "Cannot parse i2c-parent\n"); in mux_parent_adapter()
[all …]
/Linux-v5.15/Documentation/x86/
Dresctrl.rst1 .. SPDX-License-Identifier: GPL-2.0
9 :Authors: - Fenghua Yu <fenghua.yu@intel.com>
10 - Tony Luck <tony.luck@intel.com>
11 - Vikas Shivappa <vikas.shivappa@intel.com>
31 # mount -t resctrl resctrl [-o cdp[,cdpl2][,mba_MBps]] /sys/fs/resctrl
47 pseudo-locking is a unique way of using cache control to "pin" or
49 "Cache Pseudo-Locking".
86 own settings for cache use which can over-ride
118 Corresponding region is pseudo-locked. No
138 non-linear. This field is purely informational
[all …]
/Linux-v5.15/tools/perf/Documentation/
Dperf-report.txt1 perf-report(1)
5 ----
6 perf-report - Read perf.data (created by perf record) and display the profile
9 --------
11 'perf report' [-i <file> | --input=file]
14 -----------
19 -------
20 -i::
21 --input=::
24 -v::
[all …]
/Linux-v5.15/sound/core/
Dinit.c1 // SPDX-License-Identifier: GPL-2.0-or-later
37 /* locked for registering/using */
47 /* return non-zero if the given index is reserved for the given
56 if (!module || !*module->name || !slots[idx]) in module_slot_match()
59 s1 = module->name; in module_slot_match()
71 if (c1 == '-') in module_slot_match()
73 if (c2 == '-') in module_slot_match()
95 * @mask == -1 == 0xffffffff means: take any free slot up to 32
123 * snd_device_initialize - Initialize struct device for sound devices
131 dev->parent = &card->card_dev; in snd_device_initialize()
[all …]
/Linux-v5.15/drivers/gpu/drm/
Ddrm_vma_manager.c1 // SPDX-License-Identifier: GPL-2.0 OR MIT
3 * Copyright (c) 2006-2009 VMware, Inc., Palo Alto, CA., USA
39 * The vma-manager is responsible to map arbitrary driver-dependent memory
40 * regions into the linear user address-space. It provides offsets to the
41 * caller which can then be used on the address_space of the drm-device. It
43 * confuse mm-core by inconsistent fake vm_pgoff fields.
45 * only be used to manage mappings into linear user-space VMs.
48 * optimized for alloc/free calls, not lookups. Hence, we use an rb-tree to
52 * Otherwise, mm-core will be unable to tear down memory mappings as the VM will
55 * This offset manager works on page-based addresses. That is, every argument
[all …]
/Linux-v5.15/drivers/mfd/
Dwm831x-core.c1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * wm831x-core.c -- Device access for Wolfson WM831x PMICs
29 /* Current settings - values are 2*2^(reg_val/4) microamps. These are
94 if (!wm831x->locked) in wm831x_reg_locked()
126 dev_vdbg(wm831x->dev, "Registers locked\n"); in wm831x_reg_lock()
128 mutex_lock(&wm831x->io_lock); in wm831x_reg_lock()
129 WARN_ON(wm831x->locked); in wm831x_reg_lock()
130 wm831x->locked = 1; in wm831x_reg_lock()
131 mutex_unlock(&wm831x->io_lock); in wm831x_reg_lock()
133 dev_err(wm831x->dev, "Failed to lock registers: %d\n", ret); in wm831x_reg_lock()
[all …]

12345678910>>...18