Home
last modified time | relevance | path

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

123

/kernel/linux/linux-5.10/Documentation/devicetree/bindings/phy/
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 …]
/kernel/linux/linux-6.6/Documentation/devicetree/bindings/phy/
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 …]
/kernel/linux/linux-5.10/drivers/phy/lantiq/
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>
22 /* Transmitter HS Pre-Emphasis Enable */
70 .compatible = "lantiq,ase-usb2-phy",
74 .compatible = "lantiq,danube-usb2-phy",
78 .compatible = "lantiq,xrx100-usb2-phy",
82 .compatible = "lantiq,xrx200-usb2-phy",
86 .compatible = "lantiq,xrx300-usb2-phy",
97 if (priv->reg_bits->have_ana_cfg) { in ltq_rcu_usb2_phy_init()
[all …]
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 …]
/kernel/linux/linux-6.6/drivers/phy/lantiq/
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 …]
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 …]
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/mips/lantiq/
Drcu.txt1 Lantiq XWAY SoC RCU binding
4 This binding describes the RCU (reset controller unit) multifunction device,
5 where each sub-device has it's 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 …]
/kernel/linux/linux-6.6/Documentation/devicetree/bindings/mips/lantiq/
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 …]
/kernel/linux/linux-6.6/net/mac80211/
Dsta_info.h1 /* SPDX-License-Identifier: GPL-2.0-only */
3 * Copyright 2002-2005, Devicescape Software, Inc.
4 * Copyright 2013-2014 Intel Mobile Communications GmbH
5 * Copyright(c) 2015-2017 Intel Deutschland GmbH
6 * Copyright(c) 2020-2022 Intel Corporation
24 * enum ieee80211_sta_info_flags - Stations flags
31 * @WLAN_STA_PS_STA: Station is in power-save mode
35 * @WLAN_STA_SHORT_PREAMBLE: Station is capable of receiving short-preamble
45 * power-save mode logically to flush frames that might still
47 * @WLAN_STA_PSPOLL: Station sent PS-poll while driver was keeping
[all …]
/kernel/linux/linux-6.6/drivers/net/ethernet/intel/fm10k/
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 …]
/kernel/linux/linux-5.10/drivers/net/ethernet/intel/fm10k/
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 …]
/kernel/linux/linux-5.10/net/batman-adv/
Dmain.c1 // SPDX-License-Identifier: GPL-2.0
2 /* Copyright (C) 2007-2020 B.A.T.M.A.N. contributors:
48 #include "distributed-arp-table.h"
51 #include "hard-interface.h"
56 #include "network-coding.h"
60 #include "soft-interface.h"
62 #include "translation-table.h"
65 * list traversals just rcu-locked
131 return -ENOMEM; in batadv_init()
151 * batadv_mesh_init() - Initialize soft interface
[all …]
/kernel/linux/linux-6.6/net/batman-adv/
Dmain.c1 // SPDX-License-Identifier: GPL-2.0
48 #include "distributed-arp-table.h"
51 #include "hard-interface.h"
55 #include "network-coding.h"
59 #include "soft-interface.h"
61 #include "translation-table.h"
64 * list traversals just rcu-locked
127 return -ENOMEM; in batadv_init()
145 * batadv_mesh_init() - Initialize soft interface
155 spin_lock_init(&bat_priv->forw_bat_list_lock); in batadv_mesh_init()
[all …]
/kernel/linux/linux-5.10/arch/powerpc/include/asm/
Dkvm_host.h1 /* SPDX-License-Identifier: GPL-2.0-only */
52 /* PPC-specific vcpu->requests bit members */
79 /* Physical Address Mask - allowed range of real mode RAM access */
172 /* allow access to big endian 32bit upper/lower parts and 64bit var */
188 struct rcu_head rcu; member
200 struct rcu_head rcu; member
202 u64 offset; /* in pages */ member
226 * plus forward and backward pointers in a doubly-linked ring
228 * ring are 32-bit HPTE indexes, to save space.
313 struct kvm_resize_hpt *resize_hpt; /* protected by kvm->lock */
[all …]
/kernel/linux/linux-6.6/arch/powerpc/include/asm/
Dkvm_host.h1 /* SPDX-License-Identifier: GPL-2.0-only */
58 /* PPC-specific vcpu->requests bit members */
79 /* Physical Address Mask - allowed range of real mode RAM access */
166 /* allow access to big endian 32bit upper/lower parts and 64bit var */
182 struct rcu_head rcu; member
194 struct rcu_head rcu; member
196 u64 offset; /* in pages */ member
220 * plus forward and backward pointers in a doubly-linked ring
222 * ring are 32-bit HPTE indexes, to save space.
305 struct kvm_resize_hpt *resize_hpt; /* protected by kvm->lock */
[all …]
/kernel/linux/linux-6.6/drivers/net/ethernet/broadcom/bnxt/
Dbnxt_hwrm.c1 /* Broadcom NetXtreme-C/E network driver.
11 #include <linux/dma-mapping.h>
34 * __hwrm_req_init() - Initialize an HWRM request.
37 * @req_type: The request type. This will be converted to the little endian
50 * directly, taking care to covert such fields to little endian. The request
68 return -E2BIG; in __hwrm_req_init()
70 req_addr = dma_pool_alloc(bp->hwrm_dma_pool, GFP_KERNEL | __GFP_ZERO, in __hwrm_req_init()
73 return -ENOMEM; in __hwrm_req_init()
77 ctx->sentinel = hwrm_calc_sentinel(ctx, req_type); in __hwrm_req_init()
78 ctx->req_len = req_len; in __hwrm_req_init()
[all …]
/kernel/linux/linux-5.10/fs/ext4/
Dballoc.c1 // SPDX-License-Identifier: GPL-2.0
7 * Laboratoire MASI - Institut Blaise Pascal
11 * Big-endian to little-endian byte-swapping/bitmaps by
41 group = (block - in ext4_get_group_number()
42 le32_to_cpu(EXT4_SB(sb)->s_es->s_first_data_block)) >> in ext4_get_group_number()
50 * Calculate the block group number and offset into the block/cluster
56 struct ext4_super_block *es = EXT4_SB(sb)->s_es; in ext4_get_group_no_and_offset()
57 ext4_grpblk_t offset; in ext4_get_group_no_and_offset() local
59 blocknr = blocknr - le32_to_cpu(es->s_first_data_block); in ext4_get_group_no_and_offset()
60 offset = do_div(blocknr, EXT4_BLOCKS_PER_GROUP(sb)) >> in ext4_get_group_no_and_offset()
[all …]
/kernel/linux/linux-5.10/include/net/
Dipv6.h1 /* SPDX-License-Identifier: GPL-2.0-or-later */
32 #define NEXTHDR_HOP 0 /* Hop-by-hop option header. */
52 /* Limits on Hop-by-Hop and Destination options.
55 * Hop-by-Hop or Destination options other then the packet must fit in an MTU.
60 * - Limit the number of options in a Hop-by-Hop or Destination options
62 * - Limit the byte length of a Hop-by-Hop or Destination options extension
64 * - Disallow unknown options
74 * options or Hop-by-Hop options. If the number is less than zero then unknown
79 * Hop-by-Hop options extension header. Setting the value to INT_MAX
86 /* Default limits for Hop-by-Hop and Destination options */
[all …]
/kernel/linux/linux-6.6/fs/ext4/
Dballoc.c1 // SPDX-License-Identifier: GPL-2.0
7 * Laboratoire MASI - Institut Blaise Pascal
11 * Big-endian to little-endian byte-swapping/bitmaps by
41 group = (block - in ext4_get_group_number()
42 le32_to_cpu(EXT4_SB(sb)->s_es->s_first_data_block)) >> in ext4_get_group_number()
50 * Calculate the block group number and offset into the block/cluster
56 struct ext4_super_block *es = EXT4_SB(sb)->s_es; in ext4_get_group_no_and_offset()
57 ext4_grpblk_t offset; in ext4_get_group_no_and_offset() local
59 blocknr = blocknr - le32_to_cpu(es->s_first_data_block); in ext4_get_group_no_and_offset()
60 offset = do_div(blocknr, EXT4_BLOCKS_PER_GROUP(sb)) >> in ext4_get_group_no_and_offset()
[all …]
/kernel/linux/linux-6.6/include/net/
Dipv6.h1 /* SPDX-License-Identifier: GPL-2.0-or-later */
34 #define NEXTHDR_HOP 0 /* Hop-by-hop option header. */
55 /* Limits on Hop-by-Hop and Destination options.
58 * Hop-by-Hop or Destination options other then the packet must fit in an MTU.
63 * - Limit the number of options in a Hop-by-Hop or Destination options
65 * - Limit the byte length of a Hop-by-Hop or Destination options extension
67 * - Disallow unknown options
77 * options or Hop-by-Hop options. If the number is less than zero then unknown
82 * Hop-by-Hop options extension header. Setting the value to INT_MAX
89 /* Default limits for Hop-by-Hop and Destination options */
[all …]
/kernel/linux/linux-5.10/fs/qnx6/
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
49 struct super_block *sb = root->d_sb; in qnx6_show_options()
52 if (sbi->s_mount_opt & QNX6_MOUNT_MMI_FS) in qnx6_show_options()
67 return fs32_to_cpu(sbi, block) + sbi->s_blks_off; in qnx6_get_devblock()
78 inode->i_ino, (unsigned long)iblock); in qnx6_get_block()
83 map_bh(bh, inode->i_sb, phys); in qnx6_get_block()
108 * returns the block number for the no-th element in the tree
113 struct super_block *s = inode->i_sb; in qnx6_block_map()
[all …]
/kernel/linux/linux-6.6/fs/qnx6/
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
49 struct super_block *sb = root->d_sb; in qnx6_show_options()
52 if (sbi->s_mount_opt & QNX6_MOUNT_MMI_FS) in qnx6_show_options()
67 return fs32_to_cpu(sbi, block) + sbi->s_blks_off; in qnx6_get_devblock()
78 inode->i_ino, (unsigned long)iblock); in qnx6_get_block()
83 map_bh(bh, inode->i_sb, phys); in qnx6_get_block()
108 * returns the block number for the no-th element in the tree
113 struct super_block *s = inode->i_sb; in qnx6_block_map()
[all …]
/kernel/linux/linux-5.10/fs/nilfs2/
Dsuper.c1 // SPDX-License-Identifier: GPL-2.0+
3 * super.c - NILFS module and super block management.
5 * Copyright (C) 2005-2008 Nippon Telegraph and Telephone Corporation.
14 * Laboratoire MASI - Institut Blaise Pascal
23 * Big-endian to little-endian byte-swapping/bitmaps by
53 MODULE_DESCRIPTION("A New Implementation of the Log-structured Filesystem "
79 KERN_SOH_ASCII, level, sb->s_id, &vaf); in __nilfs_msg()
89 struct the_nilfs *nilfs = sb->s_fs_info; in nilfs_set_error()
92 down_write(&nilfs->ns_sem); in nilfs_set_error()
93 if (!(nilfs->ns_mount_state & NILFS_ERROR_FS)) { in nilfs_set_error()
[all …]
/kernel/linux/linux-6.6/fs/nilfs2/
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-swapping/bitmaps by
54 MODULE_DESCRIPTION("A New Implementation of the Log-structured Filesystem "
80 KERN_SOH_ASCII, level, sb->s_id, &vaf); in __nilfs_msg()
90 struct the_nilfs *nilfs = sb->s_fs_info; in nilfs_set_error()
93 down_write(&nilfs->ns_sem); in nilfs_set_error()
94 if (!(nilfs->ns_mount_state & NILFS_ERROR_FS)) { in nilfs_set_error()
95 nilfs->ns_mount_state |= NILFS_ERROR_FS; in nilfs_set_error()
[all …]
/kernel/linux/linux-6.6/drivers/net/ethernet/sfc/
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 …]

123