Home
last modified time | relevance | path

Searched refs:l2 (Results 1 – 25 of 490) sorted by relevance

12345678910>>...20

/linux-6.6.21/drivers/isdn/mISDN/
Dlayer2.c92 struct layer2 *l2 = fi->userdata; in l2m_debug() local
105 mISDNDevName4ch(&l2->ch), l2->sapi, l2->tei, &vaf); in l2m_debug()
111 l2headersize(struct layer2 *l2, int ui) in l2headersize() argument
113 return ((test_bit(FLG_MOD128, &l2->flag) && (!ui)) ? 2 : 1) + in l2headersize()
114 (test_bit(FLG_LAPD, &l2->flag) ? 2 : 1); in l2headersize()
118 l2addrsize(struct layer2 *l2) in l2addrsize() argument
120 return test_bit(FLG_LAPD, &l2->flag) ? 2 : 1; in l2addrsize()
124 l2_newid(struct layer2 *l2) in l2_newid() argument
128 id = l2->next_id++; in l2_newid()
130 l2->next_id = 1; in l2_newid()
[all …]
Dtei.c109 struct layer2 *l2; in da_deactivate() local
113 list_for_each_entry(l2, &mgr->layer2, list) { in da_deactivate()
114 if (l2->l2m.state > ST_L2_4) { in da_deactivate()
146 struct layer2 *l2; in da_timer() local
151 list_for_each_entry(l2, &mgr->layer2, list) { in da_timer()
152 if (l2->l2m.state > ST_L2_4) { in da_timer()
234 tm->l2->sapi, tm->l2->tei, &vaf); in tei_debug()
246 struct layer2 *l2; in get_free_id() local
248 list_for_each_entry(l2, &mgr->layer2, list) { in get_free_id()
249 if (l2->ch.nr > 63) { in get_free_id()
[all …]
/linux-6.6.21/drivers/memory/
Dbt1-l2-ctl.c77 static int l2_ctl_get_latency(struct l2_ctl *l2, enum l2_ctl_stall id, u32 *val) in l2_ctl_get_latency() argument
82 ret = regmap_read(l2->sys_regs, L2_CTL_REG, &data); in l2_ctl_get_latency()
103 static int l2_ctl_set_latency(struct l2_ctl *l2, enum l2_ctl_stall id, u32 val) in l2_ctl_set_latency() argument
130 ret = regmap_update_bits(l2->sys_regs, L2_CTL_REG, mask, data); in l2_ctl_set_latency()
134 return regmap_read_poll_timeout(l2->sys_regs, L2_CTL_REG, data, in l2_ctl_set_latency()
142 struct l2_ctl *l2 = data; in l2_ctl_clear_data() local
143 struct platform_device *pdev = to_platform_device(l2->dev); in l2_ctl_clear_data()
151 struct l2_ctl *l2; in l2_ctl_create_data() local
154 l2 = devm_kzalloc(dev, sizeof(*l2), GFP_KERNEL); in l2_ctl_create_data()
155 if (!l2) in l2_ctl_create_data()
[all …]
/linux-6.6.21/Documentation/devicetree/bindings/cache/
Dfreescale-l2cache.txt9 "fsl,b4420-l2-cache-controller"
10 "fsl,b4860-l2-cache-controller"
11 "fsl,bsc9131-l2-cache-controller"
12 "fsl,bsc9132-l2-cache-controller"
13 "fsl,c293-l2-cache-controller"
14 "fsl,mpc8536-l2-cache-controller"
15 "fsl,mpc8540-l2-cache-controller"
16 "fsl,mpc8541-l2-cache-controller"
17 "fsl,mpc8544-l2-cache-controller"
18 "fsl,mpc8548-l2-cache-controller"
[all …]
Dbaikal,bt1-l2-ctl.yaml5 $id: http://devicetree.org/schemas/cache/baikal,bt1-l2-ctl.yaml#
22 const: baikal,bt1-l2-ctl
27 baikal,l2-ws-latency:
34 baikal,l2-tag-latency:
41 baikal,l2-data-latency:
55 l2@1f04d028 {
56 compatible = "baikal,bt1-l2-ctl";
59 baikal,l2-ws-latency = <1>;
60 baikal,l2-tag-latency = <1>;
61 baikal,l2-data-latency = <2>;
/linux-6.6.21/arch/parisc/lib/
Dio.c169 unsigned int l = 0, l2; in insw() local
221 l2 = cpu_to_le16(inw(port)); in insw()
222 *(unsigned short *)p = (l & 0xff) << 8 | (l2 >> 8); in insw()
224 l = l2; in insw()
241 unsigned int l = 0, l2; in insl() local
268 l2 = cpu_to_le32(inl(port)); in insl()
269 *(unsigned int *)p = (l & 0xffff) << 16 | (l2 >> 16); in insl()
271 l = l2; in insl()
285 l2 = cpu_to_le32(inl(port)); in insl()
286 *(unsigned int *)p = (l & 0xff) << 24 | (l2 >> 8); in insl()
[all …]
/linux-6.6.21/security/selinux/ss/
Dmls_types.h30 static inline int mls_level_eq(const struct mls_level *l1, const struct mls_level *l2) in mls_level_eq() argument
32 return ((l1->sens == l2->sens) && in mls_level_eq()
33 ebitmap_cmp(&l1->cat, &l2->cat)); in mls_level_eq()
36 static inline int mls_level_dom(const struct mls_level *l1, const struct mls_level *l2) in mls_level_dom() argument
38 return ((l1->sens >= l2->sens) && in mls_level_dom()
39 ebitmap_contains(&l1->cat, &l2->cat, 0)); in mls_level_dom()
42 #define mls_level_incomp(l1, l2) \ argument
43 (!mls_level_dom((l1), (l2)) && !mls_level_dom((l2), (l1)))
45 #define mls_level_between(l1, l2, l3) \ argument
46 (mls_level_dom((l1), (l2)) && mls_level_dom((l3), (l1)))
/linux-6.6.21/arch/sparc/lib/
DPeeCeeI.c37 u32 l, l2; in outsl() local
65 l2 = *(u32 *)src; in outsl()
66 l |= (l2 >> 24); in outsl()
68 l = l2 << 8; in outsl()
77 l2 = *(u32 *)src; in outsl()
78 l |= (l2 >> 8); in outsl()
80 l = l2 << 24; in outsl()
154 u32 l = 0, l2, *pi; in insl() local
166 l2 = __raw_readl(addr); in insl()
167 *pi++ = (l << 16) | (l2 >> 16); in insl()
[all …]
/linux-6.6.21/Documentation/devicetree/bindings/interrupt-controller/
Dbrcm,l2-intc.yaml4 $id: http://devicetree.org/schemas/interrupt-controller/brcm,l2-intc.yaml#
20 - brcm,hif-spi-l2-intc
21 - brcm,upg-aux-aon-l2-intc
22 - const: brcm,l2-intc
25 - brcm,bcm2711-l2-intc
26 - const: brcm,l2-intc
28 - const: brcm,bcm7271-l2-intc
30 - const: brcm,l2-intc
66 compatible = "brcm,l2-intc";
/linux-6.6.21/fs/ntfs3/
Dupcase.c36 int ntfs_cmp_names(const __le16 *s1, size_t l1, const __le16 *s2, size_t l2, in ntfs_cmp_names() argument
41 size_t len = min(l1, l2); in ntfs_cmp_names()
55 return l1 - l2; in ntfs_cmp_names()
65 diff2 = l1 - l2; in ntfs_cmp_names()
75 size_t l2 = uni2->len; in ntfs_cmp_names_cpu() local
76 size_t len = min(l1, l2); in ntfs_cmp_names_cpu()
92 return l1 - l2; in ntfs_cmp_names_cpu()
102 diff2 = l1 - l2; in ntfs_cmp_names_cpu()
/linux-6.6.21/drivers/net/ethernet/mediatek/
Dmtk_ppe_debugfs.c83 struct mtk_foe_mac_info *l2; in mtk_ppe_debugfs_foe_show() local
146 l2 = &entry->ipv6.l2; in mtk_ppe_debugfs_foe_show()
149 l2 = &entry->ipv4.l2; in mtk_ppe_debugfs_foe_show()
153 *((__be32 *)h_source) = htonl(l2->src_mac_hi); in mtk_ppe_debugfs_foe_show()
154 *((__be16 *)&h_source[4]) = htons(l2->src_mac_lo); in mtk_ppe_debugfs_foe_show()
155 *((__be32 *)h_dest) = htonl(l2->dest_mac_hi); in mtk_ppe_debugfs_foe_show()
156 *((__be16 *)&h_dest[4]) = htons(l2->dest_mac_lo); in mtk_ppe_debugfs_foe_show()
161 h_source, h_dest, ntohs(l2->etype), in mtk_ppe_debugfs_foe_show()
162 l2->vlan1, l2->vlan2, entry->ib1, ib2, in mtk_ppe_debugfs_foe_show()
Dmtk_ppe.c187 return &entry->bridge.l2; in mtk_foe_entry_l2()
190 return &entry->ipv6.l2; in mtk_foe_entry_l2()
192 return &entry->ipv4.l2; in mtk_foe_entry_l2()
213 struct mtk_foe_mac_info *l2; in mtk_foe_entry_prepare() local
254 l2 = &entry->bridge.l2; in mtk_foe_entry_prepare()
257 l2 = &entry->ipv6.l2; in mtk_foe_entry_prepare()
260 l2 = &entry->ipv4.l2; in mtk_foe_entry_prepare()
263 l2->dest_mac_hi = get_unaligned_be32(dest_mac); in mtk_foe_entry_prepare()
264 l2->dest_mac_lo = get_unaligned_be16(dest_mac + 4); in mtk_foe_entry_prepare()
265 l2->src_mac_hi = get_unaligned_be32(src_mac); in mtk_foe_entry_prepare()
[all …]
/linux-6.6.21/Documentation/devicetree/bindings/cpufreq/
Dbrcm,stb-avs-cpu-freq.txt6 second node (brcm,avs-cpu-l2-intr) is required to trigger an interrupt on
13 has been processed. See [2] for more information on the brcm,l2-intc node.
19 [2] Documentation/devicetree/bindings/interrupt-controller/brcm,l2-intc.yaml
37 Node brcm,avs-cpu-l2-intr
41 - compatible: must include: brcm,avs-cpu-l2-intr and
42 should include: one of brcm,bcm7271-avs-cpu-l2-intr or
43 brcm,bcm7268-avs-cpu-l2-intr
55 compatible = "brcm,l2-intc";
72 avs-cpu-l2-intr@f04d1100 {
73 compatible = "brcm,bcm7271-avs-cpu-l2-intr",
[all …]
/linux-6.6.21/arch/arm64/boot/dts/amd/
Damd-seattle-cpus.dtsi55 l2-cache = <&L2_0>;
71 l2-cache = <&L2_0>;
86 l2-cache = <&L2_1>;
101 l2-cache = <&L2_1>;
116 l2-cache = <&L2_2>;
131 l2-cache = <&L2_2>;
146 l2-cache = <&L2_3>;
161 l2-cache = <&L2_3>;
165 L2_0: l2-cache0 {
173 L2_1: l2-cache1 {
[all …]
/linux-6.6.21/arch/arm64/boot/dts/realtek/
Drtd1395.dtsi21 next-level-cache = <&l2>;
28 next-level-cache = <&l2>;
35 next-level-cache = <&l2>;
42 next-level-cache = <&l2>;
45 l2: l2-cache { label
Drtd1295.dtsi21 next-level-cache = <&l2>;
28 next-level-cache = <&l2>;
35 next-level-cache = <&l2>;
42 next-level-cache = <&l2>;
45 l2: l2-cache { label
Drtd1296.dtsi21 next-level-cache = <&l2>;
28 next-level-cache = <&l2>;
35 next-level-cache = <&l2>;
42 next-level-cache = <&l2>;
45 l2: l2-cache { label
/linux-6.6.21/Documentation/devicetree/bindings/soc/qcom/
Dqcom,spm.yaml21 - qcom,sdm660-gold-saw2-v4.1-l2
22 - qcom,sdm660-silver-saw2-v4.1-l2
23 - qcom,msm8998-gold-saw2-v4.1-l2
24 - qcom,msm8998-silver-saw2-v4.1-l2
30 - qcom,msm8976-gold-saw2-v2.3-l2
31 - qcom,msm8976-silver-saw2-v2.3-l2
76 compatible = "qcom,msm8998-gold-saw2-v4.1-l2", "qcom,saw2";
81 compatible = "qcom,msm8998-silver-saw2-v4.1-l2", "qcom,saw2";
/linux-6.6.21/arch/arm64/boot/dts/amlogic/
Dmeson-g12b.dtsi52 next-level-cache = <&l2>;
62 next-level-cache = <&l2>;
72 next-level-cache = <&l2>;
82 next-level-cache = <&l2>;
92 next-level-cache = <&l2>;
102 next-level-cache = <&l2>;
106 l2: l2-cache0 { label
Dmeson-g12a.dtsi20 next-level-cache = <&l2>;
29 next-level-cache = <&l2>;
38 next-level-cache = <&l2>;
47 next-level-cache = <&l2>;
51 l2: l2-cache0 { label
/linux-6.6.21/arch/arm64/boot/dts/nuvoton/
Dnuvoton-npcm845.dtsi19 next-level-cache = <&l2>;
28 next-level-cache = <&l2>;
37 next-level-cache = <&l2>;
46 next-level-cache = <&l2>;
50 l2: l2-cache { label
/linux-6.6.21/kernel/
Dkcmp.c73 static void kcmp_unlock(struct rw_semaphore *l1, struct rw_semaphore *l2) in kcmp_unlock() argument
75 if (likely(l2 != l1)) in kcmp_unlock()
76 up_read(l2); in kcmp_unlock()
80 static int kcmp_lock(struct rw_semaphore *l1, struct rw_semaphore *l2) in kcmp_lock() argument
84 if (l2 > l1) in kcmp_lock()
85 swap(l1, l2); in kcmp_lock()
88 if (!err && likely(l1 != l2)) { in kcmp_lock()
89 err = down_read_killable_nested(l2, SINGLE_DEPTH_NESTING); in kcmp_lock()
/linux-6.6.21/arch/s390/lib/
Dstring.c232 const char *s2, unsigned long l2) in clcle() argument
235 union register_pair r3 = { .even = (unsigned long)s2, .odd = l2, }; in clcle()
257 int l1, l2; in strstr() local
259 l2 = __strend(s2) - s2; in strstr()
260 if (!l2) in strstr()
263 while (l1-- >= l2) { in strstr()
266 cc = clcle(s1, l2, s2, l2); in strstr()
/linux-6.6.21/arch/arm64/kernel/pi/
Dkaslr_early.c21 size_t l1, l2; in __strstr() local
23 l2 = strlen(s2); in __strstr()
24 if (!l2) in __strstr()
27 while (l1 >= l2) { in __strstr()
29 if (!memcmp(s1, s2, l2)) in __strstr()
/linux-6.6.21/Documentation/devicetree/bindings/regulator/
Dqcom,smd-rpm-regulator.yaml27 For pm2250, s1, s2, s3, s4, l1, l2, l3, l4, l5, l6, l7, l8, l9, l10, l11,
30 For pm6125 s1, s2, s3, s4, s5, s6, s7, s8, l1, l2, l3, l5, l6, l7, l8, l9,
33 For pm660, s1, s2, s3, s4, s5, s6, l1, l2, l3, l5, l6, l7, l8, l9, l10, l22,
36 For pm660l s1, s2, s3, s5, l1, l2, l3, l4, l5, l6, l7, l8, l9, l10, bob
38 For pm8226, s1, s2, s3, s4, s5, l1, l2, l3, l4, l5, l6, l7, l8, l9, l10,
44 For pm8909, s1, s2, l1, l2, l3, l4, l5, l6, l7, l8, l9, l10, l11, l12, l13,
47 For pm8916, s1, s2, s3, s4, l1, l2, l3, l4, l5, l6, l7, l8, l9, l10, l11,
50 For pm8941, s1, s2, s3, s4, l1, l2, l3, l4, l5, l6, l7, l8, l9, l10, l11,
54 For pm8950 and pm8953, s1, s2, s3, s4, s5, s6, s7, l1, l2, l3, l4, l5, l6,
58 For pm8994, s1, s2, s3, s4, s5, s6, s7, s8, s9, s10, s11, s12, l1, l2, l3,
[all …]

12345678910>>...20