Home
last modified time | relevance | path

Searched +full:int +full:- +full:fwd +full:- +full:mask (Results 1 – 25 of 60) sorted by relevance

123

/Linux-v6.1/drivers/gpio/
Dgpio-aggregator.c1 // SPDX-License-Identifier: GPL-2.0-only
5 // Copyright (C) 2019-2020 Glider bv
7 #define DRV_NAME "gpio-aggregator"
40 static int aggr_add_gpio(struct gpio_aggregator *aggr, const char *key, in aggr_add_gpio()
41 int hwnum, unsigned int *n) in aggr_add_gpio()
45 lookups = krealloc(aggr->lookups, struct_size(lookups, table, *n + 2), in aggr_add_gpio()
48 return -ENOMEM; in aggr_add_gpio()
50 lookups->table[*n] = GPIO_LOOKUP_IDX(key, hwnum, NULL, *n, 0); in aggr_add_gpio()
53 memset(&lookups->table[*n], 0, sizeof(lookups->table[*n])); in aggr_add_gpio()
55 aggr->lookups = lookups; in aggr_add_gpio()
[all …]
/Linux-v6.1/arch/sparc/include/asm/
Dmdesc.h1 /* SPDX-License-Identifier: GPL-2.0 */
40 u64 node, const char *name, int *lenp);
46 * mdesc_for_each_arc(arc, handle, node, MDESC_ARC_TYPE_{FWD,BACK}) {
52 #define MDESC_ARC_TYPE_FWD "fwd"
90 int mdesc_get_node_info(struct mdesc_handle *hp, u64 node,
93 void mdesc_fill_in_cpu_data(cpumask_t *mask);
94 void mdesc_populate_present_mask(cpumask_t *mask);
95 void mdesc_get_page_sizes(cpumask_t *mask, unsigned long *pgsz_mask);
/Linux-v6.1/drivers/irqchip/
Dirq-bcm7120-l2.c1 // SPDX-License-Identifier: GPL-2.0-only
42 unsigned int n_words;
45 int en_offset[MAX_WORDS];
46 int stat_offset[MAX_WORDS];
51 int num_parent_irqs;
58 struct bcm7120_l2_intc_data *b = data->b; in bcm7120_l2_intc_irq_handle()
60 unsigned int idx; in bcm7120_l2_intc_irq_handle()
64 for (idx = 0; idx < b->n_words; idx++) { in bcm7120_l2_intc_irq_handle()
65 int base = idx * IRQS_PER_WORD; in bcm7120_l2_intc_irq_handle()
67 irq_get_domain_generic_chip(b->domain, base); in bcm7120_l2_intc_irq_handle()
[all …]
Dirq-bcm7038-l1.c1 // SPDX-License-Identifier: GPL-2.0-only
40 unsigned int n_words;
80 static inline unsigned int reg_status(struct bcm7038_l1_chip *intc, in reg_status()
81 unsigned int word) in reg_status()
83 return (0 * intc->n_words + word) * sizeof(u32); in reg_status()
86 static inline unsigned int reg_mask_status(struct bcm7038_l1_chip *intc, in reg_mask_status()
87 unsigned int word) in reg_mask_status()
89 return (1 * intc->n_words + word) * sizeof(u32); in reg_mask_status()
92 static inline unsigned int reg_mask_set(struct bcm7038_l1_chip *intc, in reg_mask_set()
93 unsigned int word) in reg_mask_set()
[all …]
/Linux-v6.1/Documentation/devicetree/bindings/interrupt-controller/
Dbrcm,bcm7120-l2-intc.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/interrupt-controller/brcm,bcm7120-l2-intc.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Broadcom BCM7120-style Level 2 and Broadcom BCM3380 Level 1 / Level 2
10 - Florian Fainelli <f.fainelli@gmail.com>
14 is hooked to a parent interrupt controller: e.g: ARM GIC for ARM-based
19 - outputs multiple interrupts signals towards its interrupt controller parent
21 - controls how some of the interrupts will be flowing, whether they will
26 - has one 32-bit enable word and one 32-bit status word
[all …]
Dbrcm,bcm7038-l1-intc.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/interrupt-controller/brcm,bcm7038-l1-intc.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Broadcom BCM7038-style Level 1 interrupt controller
11 directly to one of the HW INT lines on each CPU. Every BCM7xxx set-top chip
16 - 64, 96, 128, or 160 incoming level IRQ lines
18 - Most onchip peripherals are wired directly to an L1 input
20 - A separate instance of the register set for each CPU, allowing individual
23 - Atomic mask/unmask operations
[all …]
/Linux-v6.1/fs/jfs/
Djfs_imap.c1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * Copyright (C) International Business Machines Corp., 2000-2004
51 #define IAGFREE_LOCK_INIT(imap) mutex_init(&imap->im_freelock)
52 #define IAGFREE_LOCK(imap) mutex_lock(&imap->im_freelock)
53 #define IAGFREE_UNLOCK(imap) mutex_unlock(&imap->im_freelock)
56 #define AG_LOCK_INIT(imap,index) mutex_init(&(imap->im_aglock[index]))
57 #define AG_LOCK(imap,agno) mutex_lock(&imap->im_aglock[agno])
58 #define AG_UNLOCK(imap,agno) mutex_unlock(&imap->im_aglock[agno])
63 static int diAllocAG(struct inomap *, int, bool, struct inode *);
64 static int diAllocAny(struct inomap *, int, bool, struct inode *);
[all …]
/Linux-v6.1/arch/arm/boot/dts/
Dbcm7445.dtsi1 // SPDX-License-Identifier: GPL-2.0
2 #include <dt-bindings/interrupt-controller/arm-gic.h>
5 #address-cells = <2>;
6 #size-cells = <2>;
9 interrupt-parent = <&gic>;
16 #address-cells = <1>;
17 #size-cells = <0>;
20 compatible = "brcm,brahma-b15";
22 enable-method = "brcm,brahma-b15";
27 compatible = "brcm,brahma-b15";
[all …]
/Linux-v6.1/arch/mips/boot/dts/brcm/
Dbcm7358.dtsi1 // SPDX-License-Identifier: GPL-2.0
3 #address-cells = <1>;
4 #size-cells = <1>;
8 #address-cells = <1>;
9 #size-cells = <0>;
11 mips-hpt-frequency = <375000000>;
24 cpu_intc: interrupt-controller {
25 #address-cells = <0>;
26 compatible = "mti,cpu-interrupt-controller";
28 interrupt-controller;
[all …]
Dbcm7360.dtsi1 // SPDX-License-Identifier: GPL-2.0
3 #address-cells = <1>;
4 #size-cells = <1>;
8 #address-cells = <1>;
9 #size-cells = <0>;
11 mips-hpt-frequency = <375000000>;
24 cpu_intc: interrupt-controller {
25 #address-cells = <0>;
26 compatible = "mti,cpu-interrupt-controller";
28 interrupt-controller;
[all …]
Dbcm7362.dtsi1 // SPDX-License-Identifier: GPL-2.0
3 #address-cells = <1>;
4 #size-cells = <1>;
8 #address-cells = <1>;
9 #size-cells = <0>;
11 mips-hpt-frequency = <375000000>;
30 cpu_intc: interrupt-controller {
31 #address-cells = <0>;
32 compatible = "mti,cpu-interrupt-controller";
34 interrupt-controller;
[all …]
Dbcm7346.dtsi1 // SPDX-License-Identifier: GPL-2.0
3 #address-cells = <1>;
4 #size-cells = <1>;
8 #address-cells = <1>;
9 #size-cells = <0>;
11 mips-hpt-frequency = <163125000>;
30 cpu_intc: interrupt-controller {
31 #address-cells = <0>;
32 compatible = "mti,cpu-interrupt-controller";
34 interrupt-controller;
[all …]
Dbcm7425.dtsi1 // SPDX-License-Identifier: GPL-2.0
3 #address-cells = <1>;
4 #size-cells = <1>;
8 #address-cells = <1>;
9 #size-cells = <0>;
11 mips-hpt-frequency = <163125000>;
30 cpu_intc: interrupt-controller {
31 #address-cells = <0>;
32 compatible = "mti,cpu-interrupt-controller";
34 interrupt-controller;
[all …]
Dbcm7435.dtsi1 // SPDX-License-Identifier: GPL-2.0
3 #address-cells = <1>;
4 #size-cells = <1>;
8 #address-cells = <1>;
9 #size-cells = <0>;
11 mips-hpt-frequency = <175625000>;
42 cpu_intc: interrupt-controller {
43 #address-cells = <0>;
44 compatible = "mti,cpu-interrupt-controller";
46 interrupt-controller;
[all …]
Dbcm7125.dtsi1 // SPDX-License-Identifier: GPL-2.0
3 #address-cells = <1>;
4 #size-cells = <1>;
8 #address-cells = <1>;
9 #size-cells = <0>;
11 mips-hpt-frequency = <202500000>;
30 cpu_intc: interrupt-controller {
31 #address-cells = <0>;
32 compatible = "mti,cpu-interrupt-controller";
34 interrupt-controller;
[all …]
Dbcm7420.dtsi1 // SPDX-License-Identifier: GPL-2.0
3 #address-cells = <1>;
4 #size-cells = <1>;
8 #address-cells = <1>;
9 #size-cells = <0>;
11 mips-hpt-frequency = <93750000>;
30 cpu_intc: interrupt-controller {
31 #address-cells = <0>;
32 compatible = "mti,cpu-interrupt-controller";
34 interrupt-controller;
[all …]
/Linux-v6.1/drivers/net/dsa/xrs700x/
Dxrs700x.c1 // SPDX-License-Identifier: GPL-2.0
45 unsigned int offset;
47 int stats64_offset;
50 #define XRS700X_MIB_ETHTOOL_ONLY(o, n) {o, n, -1}
86 static void xrs700x_get_strings(struct dsa_switch *ds, int port, in xrs700x_get_strings()
89 int i; in xrs700x_get_strings()
100 static int xrs700x_get_sset_count(struct dsa_switch *ds, int port, int sset) in xrs700x_get_sset_count()
103 return -EOPNOTSUPP; in xrs700x_get_sset_count()
108 static void xrs700x_read_port_counters(struct xrs700x *priv, int port) in xrs700x_read_port_counters()
110 struct xrs700x_port *p = &priv->ports[port]; in xrs700x_read_port_counters()
[all …]
/Linux-v6.1/drivers/net/ethernet/microchip/sparx5/
Dsparx5_vlan.c1 // SPDX-License-Identifier: GPL-2.0+
10 static int sparx5_vlant_set_mask(struct sparx5 *sparx5, u16 vid) in sparx5_vlant_set_mask()
12 u32 mask[3]; in sparx5_vlant_set_mask() local
14 /* Divide up mask in 32 bit words */ in sparx5_vlant_set_mask()
15 bitmap_to_arr32(mask, sparx5->vlan_mask[vid], SPX5_PORTS); in sparx5_vlant_set_mask()
17 /* Output mask to respective registers */ in sparx5_vlant_set_mask()
18 spx5_wr(mask[0], sparx5, ANA_L3_VLAN_MASK_CFG(vid)); in sparx5_vlant_set_mask()
19 spx5_wr(mask[1], sparx5, ANA_L3_VLAN_MASK_CFG1(vid)); in sparx5_vlant_set_mask()
20 spx5_wr(mask[2], sparx5, ANA_L3_VLAN_MASK_CFG2(vid)); in sparx5_vlant_set_mask()
42 void sparx5_vlan_port_setup(struct sparx5 *sparx5, int portno) in sparx5_vlan_port_setup()
[all …]
/Linux-v6.1/drivers/net/ethernet/freescale/enetc/
Denetc_qos.c1 // SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause)
17 void enetc_sched_speed_set(struct enetc_ndev_priv *priv, int speed) in enetc_sched_speed_set()
19 struct enetc_hw *hw = &priv->si->hw; in enetc_sched_speed_set()
20 u32 old_speed = priv->speed; in enetc_sched_speed_set()
41 priv->speed = speed; in enetc_sched_speed_set()
46 static int enetc_setup_taprio(struct net_device *ndev, in enetc_setup_taprio()
50 struct enetc_hw *hw = &priv->si->hw; in enetc_setup_taprio()
60 int err; in enetc_setup_taprio()
61 int i; in enetc_setup_taprio()
63 if (admin_conf->num_entries > enetc_get_max_gcl_len(hw)) in enetc_setup_taprio()
[all …]
/Linux-v6.1/include/linux/
Dparport_pc.h1 /* SPDX-License-Identifier: GPL-2.0 */
7 /* --- register definitions ------------------------------- */
9 #define ECONTROL(p) ((p)->base_hi + 0x2)
10 #define CONFIGB(p) ((p)->base_hi + 0x1)
11 #define CONFIGA(p) ((p)->base_hi + 0x0)
12 #define FIFO(p) ((p)->base_hi + 0x0)
13 #define EPPDATA(p) ((p)->base + 0x4)
14 #define EPPADDR(p) ((p)->base + 0x3)
15 #define CONTROL(p) ((p)->base + 0x2)
16 #define STATUS(p) ((p)->base + 0x1)
[all …]
/Linux-v6.1/include/net/
Dip_vs.h1 /* SPDX-License-Identifier: GPL-2.0 */
39 return net->ipvs; in net_ipvs()
43 extern int ip_vs_conn_tab_size;
46 int hdr_flags; /* ipvs flags */
57 static inline void *frag_safe_skb_hp(const struct sk_buff *skb, int offset, in frag_safe_skb_hp()
58 int len, void *buffer) in frag_safe_skb_hp()
67 static inline int
68 ip_vs_fill_iph_skb_off(int af, const struct sk_buff *skb, int offset, in ip_vs_fill_iph_skb_off()
69 int hdr_flags, struct ip_vs_iphdr *iphdr) in ip_vs_fill_iph_skb_off()
71 iphdr->hdr_flags = hdr_flags; in ip_vs_fill_iph_skb_off()
[all …]
/Linux-v6.1/drivers/net/ethernet/mellanox/mlx5/core/diag/
Dfs_tracepoint.h14 * - Redistributions of source code must retain the above
18 * - Redistributions in binary form must reproduce the above
74 __entry->ft = ft;
75 __entry->id = ft->id;
76 __entry->level = ft->level;
77 __entry->type = ft->type;
80 __entry->ft, __entry->id, __entry->level, __entry->type)
91 __entry->ft = ft;
92 __entry->id = ft->id;
96 __entry->ft, __entry->id)
[all …]
/Linux-v6.1/drivers/net/ethernet/intel/ice/
Dice_switch.h1 /* SPDX-License-Identifier: GPL-2.0 */
131 u16 mask; member
144 union ice_prot_hdr m_u; /* Mask of header values to match */
145 /* Used to iterate over header mask */
252 * is created, usually recipes can have 'fwd' and 'join'
276 int status;
322 int
325 int
328 int
335 int ice_get_initial_sw_cfg(struct ice_hw *hw);
[all …]
/Linux-v6.1/include/linux/ceph/
Dceph_fs.h1 /* SPDX-License-Identifier: GPL-2.0 */
3 * ceph_fs.h - Ceph constants and data types to share between kernel and
6 * Most types in this file are defined as little-endian, and are
20 * subprotocol versions. when specific messages types or high-level
23 * client-facing protocol.
41 /* file -> object mapping */
49 /* pg -> disk layout */
50 __le32 fl_object_stripe_unit; /* UNUSED. for per-object parity, if any */
52 /* object -> pg layout */
53 __le32 fl_unused; /* unused; used to be preferred primary for pg (-1 for none) */
[all …]
/Linux-v6.1/include/uapi/linux/
Dip_vs.h1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
23 #define IP_VS_SVC_F_ONEPACKET 0x0004 /* one-packet scheduling */
82 #define IP_VS_CONN_F_FWD_MASK 0x0007 /* mask for the fwd methods */
94 #define IP_VS_CONN_F_SEQ_MASK 0x0600 /* in/out sequence mask */
153 unsigned int flags; /* virtual service flags */
154 unsigned int timeout; /* persistent timeout in sec */
165 unsigned int conn_flags; /* connection flags */
166 int weight; /* destination weight */
195 unsigned int version;
198 unsigned int size;
[all …]

123