Home
last modified time | relevance | path

Searched +full:rcu +full:- +full:endian +full:- +full:offset (Results 1 – 21 of 21) sorted by relevance

/linux/Documentation/devicetree/bindings/phy/
H A Dlantiq,vrx200-pcie-phy.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/phy/lantiq,vrx200-pcie-phy.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Martin Blumenstingl <martin.blumenstingl@googlemail.com>
13 "#phy-cells":
15 description: selects the PHY mode as defined in <dt-bindings/phy/phy-lantiq-vrx200-pcie.h>
19 - lantiq,vrx200-pcie-phy
20 - lantiq,arx300-pcie-phy
27 - description: PHY module clock
[all …]
/linux/drivers/phy/lantiq/
H A Dphy-lantiq-rcu-usb2.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * Lantiq XWAY SoC RCU module based USB 1.1/2.0 PHY driver
6 * Copyright (C) 2017 Hauke Mehrtens <hauke@hauke-m.de>
21 /* Transmitter HS Pre-Emphasis Enable */
69 .compatible = "lantiq,ase-usb2-phy",
73 .compatible = "lantiq,danube-usb2-phy",
77 .compatible = "lantiq,xrx100-usb2-phy",
81 .compatible = "lantiq,xrx200-usb2-phy",
85 .compatible = "lantiq,xrx300-usb2-phy",
96 if (priv->reg_bits->have_ana_cfg) { in ltq_rcu_usb2_phy_init()
[all …]
H A Dphy-lantiq-vrx200-pcie.c1 // SPDX-License-Identifier: GPL-2.0-only
8 * Copyright (C) 2009-2015 Lei Chuanhua <chuanhua.lei@lantiq.com>
27 #include <dt-bindings/phy/phy-lantiq-vrx200-pcie.h>
103 regmap_write(priv->phy_regmap, PCIE_PHY_PLL_A_CTRL1, 0x120e); in ltq_vrx200_pcie_phy_common_setup()
106 regmap_write(priv->phy_regmap, PCIE_PHY_PLL_A_CTRL2, 0x39d7); in ltq_vrx200_pcie_phy_common_setup()
107 regmap_write(priv->phy_regmap, PCIE_PHY_PLL_A_CTRL3, 0x0900); in ltq_vrx200_pcie_phy_common_setup()
110 regmap_write(priv->phy_regmap, PCIE_PHY_RX1_EI, 0x0004); in ltq_vrx200_pcie_phy_common_setup()
111 regmap_write(priv->phy_regmap, PCIE_PHY_RX1_A_CTRL, 0x6803); in ltq_vrx200_pcie_phy_common_setup()
113 regmap_update_bits(priv->phy_regmap, PCIE_PHY_TX1_CTRL1, in ltq_vrx200_pcie_phy_common_setup()
118 regmap_write(priv->phy_regmap, PCIE_PHY_TX1_A_CTRL2, 0x0706); in ltq_vrx200_pcie_phy_common_setup()
[all …]
/linux/Documentation/devicetree/bindings/mips/lantiq/
H A Drcu.txt1 Lantiq XWAY SoC RCU binding
4 This binding describes the RCU (reset controller unit) multifunction device,
5 where each sub-device has its own set of registers.
7 The RCU register range is used for multiple purposes. Mostly one device
10 With this patch all accesses to the RCU registers will go through
14 -------------------------------------------------------------------------------
16 - compatible : The first and second values must be:
17 "lantiq,xrx200-rcu", "simple-mfd", "syscon"
18 - reg : The address and length of the system control registers
21 -------------------------------------------------------------------------------
[all …]
/linux/drivers/net/ethernet/intel/fm10k/
H A Dfm10k.h1 /* SPDX-License-Identifier: GPL-2.0 */
2 /* Copyright(c) 2013 - 2019 Intel Corporation. */
43 struct rcu_head rcu; member
56 test_bit(__FM10K_TX_DETECT_HANG, (ring)->state)
58 set_bit(__FM10K_TX_DETECT_HANG, (ring)->state)
60 clear_bit(__FM10K_TX_DETECT_HANG, (ring)->state)
120 * the hardware register offset
169 return &ring->netdev->_tx[ring->queue_index]; in txring_txq()
174 for (pos = &(head).ring[(head).count]; (--pos) >= (head).ring;)
198 struct rcu_head rcu; /* to avoid race with update stats on free */ member
[all …]
/linux/kernel/bpf/
H A Dhelpers.c1 // SPDX-License-Identifier: GPL-2.0-only
2 /* Copyright (c) 2011-2014 PLUMgrid, http://plumgrid.com
6 #include <linux/bpf-cgroup.h>
30 * inside its own verifier_ops->get_func_proto() callback it should return
33 * Different map implementations will rely on rcu in map methods
34 * lookup/update/delete, therefore eBPF programs must run under rcu lock
42 return (unsigned long) map->ops->map_lookup_elem(map, key); in BPF_CALL_2()
59 return map->ops->map_update_elem(map, key, value, flags); in BPF_CALL_4()
77 return map->ops->map_delete_elem(map, key); in BPF_CALL_2()
91 return map->ops->map_push_elem(map, value, flags); in BPF_CALL_3()
[all …]
/linux/fs/qnx6/
H A Dinode.c1 // SPDX-License-Identifier: GPL-2.0-only
9 * 01-02-2012 by Kai Bankett (chaosman@ontika.net) : first release.
10 * 16-02-2012 pagemap extension by Al Viro
48 struct super_block *sb = root->d_sb; in qnx6_show_options()
51 if (sbi->s_mount_opt & QNX6_MOUNT_MMI_FS) in qnx6_show_options()
58 struct super_block *sb = fc->root->d_sb; in qnx6_reconfigure()
61 fc->sb_flags |= SB_RDONLY; in qnx6_reconfigure()
68 return fs32_to_cpu(sbi, block) + sbi->s_blks_off; in qnx6_get_devblock()
79 inode->i_ino, (unsigned long)iblock); in qnx6_get_block()
84 map_bh(bh, inode->i_sb, phys); in qnx6_get_block()
[all …]
/linux/fs/nilfs2/
H A Dsuper.c1 // SPDX-License-Identifier: GPL-2.0+
5 * Copyright (C) 2005-2008 Nippon Telegraph and Telephone Corporation.
14 * Laboratoire MASI - Institut Blaise Pascal
23 * Big-endian to little-endian byte-swappin
349 unsigned long offset; nilfs_move_2nd_super() local
848 unsigned long offset; nilfs_read_super_block() local
[all...]
/linux/drivers/net/ethernet/sfc/
H A Dtc_counters.c1 // SPDX-License-Identifier: GPL-2.0-only
17 /* Counter-management hashtables */
35 WARN_ON(!list_empty(&cnt->users)); in efx_tc_counter_free()
42 flush_work(&cnt->work); in efx_tc_counter_free()
43 EFX_WARN_ON_PARANOID(spin_is_locked(&cnt->lock)); in efx_tc_counter_free()
51 WARN_ON(refcount_read(&ctr->ref)); in efx_tc_counter_id_free()
59 rc = rhashtable_init(&efx->tc->counter_id_ht, &efx_tc_counter_id_ht_params); in efx_tc_init_counters()
62 rc = rhashtable_init(&efx->tc->counter_ht, &efx_tc_counter_ht_params); in efx_tc_init_counters()
67 rhashtable_destroy(&efx->tc->counter_id_ht); in efx_tc_init_counters()
77 rhashtable_destroy(&efx->tc->counter_ht); in efx_tc_destroy_counters()
[all …]
/linux/fs/fat/
H A Dinode.c1 // SPDX-License-Identifier: GPL-2.0-only
11 * Max Cohan: Fixed invalid FSINFO offset when info_sector is 0
21 #include <linux/backing-dev.h>
40 * A deserialized copy of the on-disk structure laid out in struct
122 struct super_block *sb = inode->i_sb; in __fat_get_block()
126 int err, offset; in __fat_get_block() local
139 if (iblock != MSDOS_I(inode)->mmu_private >> sb->s_blocksize_bits) { in __fat_get_block()
141 MSDOS_I(inode)->i_pos, MSDOS_I(inode)->mmu_private); in __fat_get_block()
142 return -EIO; in __fat_get_block()
145 last_block = inode->i_blocks >> (sb->s_blocksize_bits - 9); in __fat_get_block()
[all …]
/linux/fs/ext2/
H A Dsuper.c1 // SPDX-License-Identifier: GPL-2.0-only
7 * Laboratoire MASI - Institut Blaise Pascal
16 * Big-endian to little-endian byte-swapping/bitmaps by
55 struct ext2_super_block *es = sbi->s_es; in ext2_error()
58 spin_lock(&sbi->s_lock); in ext2_error()
59 sbi->s_mount_state |= EXT2_ERROR_FS; in ext2_error()
60 es->s_state |= cpu_to_le16(EXT2_ERROR_FS); in ext2_error()
61 spin_unlock(&sbi->s_lock); in ext2_error()
70 printk(KERN_CRIT "EXT2-fs (%s): error: %s: %pV\n", in ext2_error()
71 sb->s_id, function, &vaf); in ext2_error()
[all …]
/linux/net/core/
H A Dfilter.c1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * Linux Socket Filter - Kernel level socket filtering
8 * Copyright (c) 2011 - 2014 PLUMgrid, http://plumgrid.com
16 * Andi Kleen - Fix a few bad bugs and races.
17 * Kris Katterjohn - Added many additional checks in bpf_check_classic()
103 return -EINVAL; in copy_bpf_fprog_from_user()
105 return -EFAULT; in copy_bpf_fprog_from_user()
107 dst->len = f32.len; in copy_bpf_fprog_from_user()
108 dst->filter = compat_ptr(f32.filter); in copy_bpf_fprog_from_user()
111 return -EINVAL; in copy_bpf_fprog_from_user()
[all …]
/linux/include/net/
H A Dmac80211.h1 /* SPDX-License-Identifier: GPL-2.0-only */
3 * mac80211 <-> driver interface
5 * Copyright 2002-2005, Devicescape Software, Inc.
6 * Copyright 2006-2007 Jiri Benc <jbenc@suse.cz>
7 * Copyright 2007-2010 Johannes Berg <johannes@sipsolutions.net>
8 * Copyright 2013-2014 Intel Mobile Communications GmbH
9 * Copyright (C) 2015 - 2017 Intel Deutschland GmbH
10 * Copyright (C) 2018 - 2024 Intel Corporation
31 * only partial functionality in hard- or firmware. This document
32 * defines the interface between mac80211 and low-level hardware
[all …]
/linux/drivers/misc/cxl/
H A Dcxl.h1 /* SPDX-License-Identifier: GPL-2.0-or-later */
21 #include <misc/cxl-base.h>
64 /* Configuration and Control area - CAIA 1&2 */
74 /* PSL Lookaside Buffer Management Area - CAIA 1 */
83 /* PSL registers - CAIA 1 */
94 /* PSL registers - CAIA 2 */
116 /* 0x7F00:7FFF Reserved PCIe MSI-X Pending Bit Array area */
117 /* 0x8000:FFFF Reserved PCIe MSI-X Table Area */
120 /* Configuration Area - CAIA 1&2 */
127 /* Memory Management and Lookaside Buffer Management - CAIA 1*/
[all …]
/linux/fs/btrfs/
H A Dsuper.c1 // SPDX-License-Identifier: GPL-2.0
15 #include <linux/backing-dev.h>
32 #include "delayed-inode.h"
34 #include "disk-io.h"
37 #include "direct-io.h"
43 #include "dev-replace.h"
44 #include "free-space-cache.h"
46 #include "space-info.h"
49 #include "tests/btrfs-tests.h"
50 #include "block-group.h"
[all …]
/linux/fs/ext4/
H A Dsuper.c1 // SPDX-License-Identifier: GPL-2.0
7 * Laboratoire MASI - Institut Blaise Pascal
16 * Big-endian to little-endian byte-swapping/bitmaps by
28 #include <linux/backing-dev.h>
103 * mmap_lock -> sb_start_pagefault -> invalidate_lock (r) -> transaction start
104 * -> page lock -> i_data_sem (rw)
107 * sb_start_write -> i_mutex -> mmap_lock
108 * sb_start_write -> i_mutex -> transaction start -> page lock ->
112 * sb_start_write -> i_mutex -> invalidate_lock (w) -> i_mmap_rwsem (w) ->
114 * sb_start_write -> i_mutex -> invalidate_lock (w) -> transaction start ->
[all …]
/linux/drivers/vhost/
H A Dvhost.c1 // SPDX-License-Identifier: GPL-2.0-only
49 #define vhost_used_event(vq) ((__virtio16 __user *)&vq->avail->ring[vq->num])
50 #define vhost_avail_event(vq) ((__virtio16 __user *)&vq->used->ring[vq->num])
55 vq->user_be = !virtio_legacy_is_little_endian(); in vhost_disable_cross_endian()
60 vq->user_be = true; in vhost_enable_cross_endian_big()
65 vq->user_be = false; in vhost_enable_cross_endian_little()
72 if (vq->private_data) in vhost_set_vring_endian()
73 return -EBUSY; in vhost_set_vring_endian()
76 return -EFAULT; in vhost_set_vring_endian()
80 return -EINVAL; in vhost_set_vring_endian()
[all …]
/linux/init/
H A DKconfig1 # SPDX-License-Identifier: GPL-2.0-only
8 - Re-run Kconfig when the compiler is updated
13 - Ensure full rebuild when the compiler is updated
14 include/linux/compiler-version.h contains this option in the comment
16 auto-generated dependency. When the compiler is updated, syncconfig
20 def_bool $(success,test "$(cc-name)" = GCC)
24 default $(cc-version) if CC_IS_GCC
28 def_bool $(success,test "$(cc-name)" = Clang)
32 default $(cc-version) if CC_IS_CLANG
36 def_bool $(success,test "$(as-name)" = GNU)
[all …]
/linux/drivers/net/ethernet/ibm/
H A Dibmvnic.c1 // SPDX-License-Identifier: GPL-2.0-or-later
26 /* In lieu of a more conventional "on-the-fly" DMA mapping strategy in */
41 #include <linux/dma-mapping.h>
124 int offset; member
182 if (!(queue && queue->irq)) in ibmvnic_clean_queue_affinity()
185 cpumask_clear(queue->affinity_mask); in ibmvnic_clean_queue_affinity()
187 if (irq_set_affinity_and_hint(queue->irq, NULL)) in ibmvnic_clean_queue_affinity()
188 netdev_warn(adapter->netdev, in ibmvnic_clean_queue_affinity()
190 __func__, queue, queue->irq); in ibmvnic_clean_queue_affinity()
200 rxqs = adapter->rx_scrq; in ibmvnic_clean_affinity()
[all …]
/linux/drivers/net/ethernet/intel/igb/
H A Digb_main.c1 // SPDX-License-Identifier: GPL-2.0
2 /* Copyright(c) 2007 - 2018 Intel Corporation. */
56 "Copyright (c) 2007-2014 Intel Corporation.";
208 static int debug = -1;
253 /* igb_regdump - register printout routine */
260 switch (reginfo->ofs) { in igb_regdump()
310 pr_info("%-15s %08x\n", reginfo->name, rd32(reginfo->ofs)); in igb_regdump()
314 snprintf(rname, 16, "%s%s", reginfo->name, "[0-3]"); in igb_regdump()
315 pr_info("%-15s %08x %08x %08x %08x\n", rname, regs[0], regs[1], in igb_regdump()
319 /* igb_dump - Print registers, Tx-rings and Rx-rings */
[all …]
/linux/drivers/block/drbd/
H A Ddrbd_receiver.c1 // SPDX-License-Identifier: GPL-2.0-only
7 Copyright (C) 2001-2008, LINBIT Information Technologies GmbH.
8 Copyright (C) 1999-2008, Philipp Reisner <philipp.reisner@linbit.com>.
9 Copyright (C) 2002-2008, Lars Ellenberg <lars.ellenberg@linbit.com>.
68 * page->private being our "next" pointer.
90 if (--n == 0) in page_chain_del()
160 drbd_pp_vacant -= number; in __drbd_alloc_pages()
166 /* GFP_TRY, because we must not cause arbitrary write-out: in a DRBD in __drbd_alloc_pages()
167 * "criss-cross" setup, that might cause write-out on some other DRBD, in __drbd_alloc_pages()
203 list_for_each_entry_safe(peer_req, tmp, &device->net_ee, w.list) { in reclaim_finished_net_peer_reqs()
[all …]