Home
last modified time | relevance | path

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

12345678910>>...23

/openbmc/linux/drivers/isdn/mISDN/
H A 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 …]
H A 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 …]
/openbmc/linux/drivers/memory/
H A 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 …]
/openbmc/linux/Documentation/devicetree/bindings/cache/
H A 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 …]
/openbmc/linux/arch/parisc/lib/
H A 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 …]
/openbmc/linux/security/selinux/ss/
H A 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)))
/openbmc/qemu/target/i386/
H A Dmonitor.c74 unsigned int l1, l2; in tlb_info_32() local
86 for(l2 = 0; l2 < 1024; l2++) { in tlb_info_32()
87 cpu_physical_memory_read((pde & ~0xfff) + l2 * 4, &pte, 4); in tlb_info_32()
90 print_pte(mon, env, (l1 << 22) + (l2 << 12), in tlb_info_32()
102 unsigned int l1, l2, l3; in tlb_info_pae32() local
112 for (l2 = 0; l2 < 512; l2++) { in tlb_info_pae32()
113 cpu_physical_memory_read(pd_addr + l2 * 8, &pde, 8); in tlb_info_pae32()
118 print_pte(mon, env, (l1 << 30) + (l2 << 21), pde, in tlb_info_pae32()
126 print_pte(mon, env, (l1 << 30) + (l2 << 21) in tlb_info_pae32()
143 uint64_t l1, l2, l3, l4; in tlb_info_la48() local
[all …]
/openbmc/linux/arch/sparc/lib/
H A 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 …]
/openbmc/qemu/target/mips/tcg/
H A Dloong_translate.c32 TCGLabel *l1, *l2, *l3; in gen_lext_DIV_G() local
42 l2 = gen_new_label(); in gen_lext_DIV_G()
57 tcg_gen_brcondi_tl(TCG_COND_NE, t0, is_double ? LLONG_MIN : INT_MIN, l2); in gen_lext_DIV_G()
58 tcg_gen_brcondi_tl(TCG_COND_NE, t1, -1LL, l2); in gen_lext_DIV_G()
62 gen_set_label(l2); in gen_lext_DIV_G()
86 TCGLabel *l1, *l2; in gen_lext_DIVU_G() local
96 l2 = gen_new_label(); in gen_lext_DIVU_G()
108 tcg_gen_br(l2); in gen_lext_DIVU_G()
114 gen_set_label(l2); in gen_lext_DIVU_G()
133 TCGLabel *l1, *l2, *l3; in gen_lext_MOD_G() local
[all …]
/openbmc/linux/drivers/net/ethernet/mediatek/
H A 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()
H A 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 …]
/openbmc/linux/fs/ntfs3/
H A 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()
/openbmc/linux/Documentation/devicetree/bindings/cpufreq/
H A 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 …]
/openbmc/phosphor-webui/app/assets/icons/
H A Dicon-config.svg1l2.36 4a2 2 0 0 0 1.73 1 2 2 0 0 0 .64-.1l2.43-.82a11.35 11.35 0 0 0 1.31.75l.51 2.52a2 2 0 0 0 2 …
/openbmc/linux/arch/arm64/boot/dts/amd/
H A 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 …]
/openbmc/linux/arch/arm64/boot/dts/realtek/
H A 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
H A 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
H A 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
/openbmc/linux/arch/arm64/boot/dts/amlogic/
H A 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
/openbmc/linux/kernel/
H A 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()
/openbmc/linux/arch/s390/lib/
H A 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()
/openbmc/linux/arch/arm64/boot/dts/nuvoton/
H A 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
/openbmc/linux/arch/arm64/kernel/pi/
H A 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()
/openbmc/pldm/host-bmc/test/
H A Dutils_test.cpp51 auto l2 = pldm_entity_association_tree_add_entity( in TEST() local
56 tree, &entities[2], 0, l2, PLDM_ENTITY_ASSOCIAION_PHYSICAL, true, true, in TEST()
59 tree, &entities[3], 1, l2, PLDM_ENTITY_ASSOCIAION_PHYSICAL, true, true, in TEST()
77 {l1, l2}, {l2, l3a, l3b}, {l3a, l4a, l4b}, {l3b, l5a, l5b}}; in TEST()
81 {"/xyz/openbmc_project/inventory/chassis1/motherboard1", l2}, in TEST()
/openbmc/linux/tools/mm/
H A Dpage_owner_sort.c123 const struct block_list *l1 = p1, *l2 = p2; in compare_txt() local
125 return strcmp(l1->txt, l2->txt); in compare_txt()
130 const struct block_list *l1 = p1, *l2 = p2; in compare_stacktrace() local
132 return strcmp(l1->stacktrace, l2->stacktrace); in compare_stacktrace()
137 const struct block_list *l1 = p1, *l2 = p2; in compare_num() local
139 return l1->num - l2->num; in compare_num()
144 const struct block_list *l1 = p1, *l2 = p2; in compare_page_num() local
146 return l1->page_num - l2->page_num; in compare_page_num()
151 const struct block_list *l1 = p1, *l2 = p2; in compare_pid() local
153 return l1->pid - l2->pid; in compare_pid()
[all …]

12345678910>>...23