| /linux/drivers/isdn/mISDN/ |
| H A D | layer2.c | 92 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 D | tei.c | 109 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/drivers/memory/ |
| H A D | bt1-l2-ctl.c | 77 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/Documentation/devicetree/bindings/cache/ |
| H A D | freescale-l2cache.txt | 9 "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 …]
|
| /linux/arch/sparc/lib/ |
| H A D | PeeCeeI.c | 37 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/drivers/net/ethernet/mediatek/ |
| H A D | mtk_ppe_debugfs.c | 84 struct mtk_foe_mac_info *l2; in mtk_ppe_debugfs_foe_show() local 147 l2 = &entry->ipv6.l2; in mtk_ppe_debugfs_foe_show() 150 l2 = &entry->ipv4.l2; in mtk_ppe_debugfs_foe_show() 154 *((__be32 *)h_source) = htonl(l2->src_mac_hi); in mtk_ppe_debugfs_foe_show() 155 *((__be16 *)&h_source[4]) = htons(l2->src_mac_lo); in mtk_ppe_debugfs_foe_show() 156 *((__be32 *)h_dest) = htonl(l2->dest_mac_hi); in mtk_ppe_debugfs_foe_show() 157 *((__be16 *)&h_dest[4]) = htons(l2->dest_mac_lo); in mtk_ppe_debugfs_foe_show() 162 h_source, h_dest, ntohs(l2->etype), in mtk_ppe_debugfs_foe_show() 163 l2->vlan1, l2->vlan2, entry->ib1, ib2, in mtk_ppe_debugfs_foe_show()
|
| H A D | mtk_ppe.c | 190 return &entry->bridge.l2; in mtk_foe_entry_l2() 193 return &entry->ipv6.l2; in mtk_foe_entry_l2() 195 return &entry->ipv4.l2; in mtk_foe_entry_l2() 216 struct mtk_foe_mac_info *l2; in mtk_foe_entry_prepare() local 257 l2 = &entry->bridge.l2; in mtk_foe_entry_prepare() 260 l2 = &entry->ipv6.l2; in mtk_foe_entry_prepare() 263 l2 = &entry->ipv4.l2; in mtk_foe_entry_prepare() 266 l2->dest_mac_hi = get_unaligned_be32(dest_mac); in mtk_foe_entry_prepare() 267 l2->dest_mac_lo = get_unaligned_be16(dest_mac + 4); in mtk_foe_entry_prepare() 268 l2->src_mac_hi = get_unaligned_be32(src_mac); in mtk_foe_entry_prepare() [all …]
|
| /linux/fs/ntfs3/ |
| H A D | upcase.c | 36 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/Documentation/devicetree/bindings/cpufreq/ |
| H A D | brcm,stb-avs-cpu-freq.txt | 6 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/arch/arm64/boot/dts/amd/ |
| H A D | amd-seattle-cpus.dtsi | 55 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/arch/arm64/boot/dts/realtek/ |
| H A D | rtd1296.dtsi | 21 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 D | rtd1295.dtsi | 21 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 D | rtd1395.dtsi | 21 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 D | rtd1293.dtsi | 21 next-level-cache = <&l2>; 28 next-level-cache = <&l2>; 31 l2: l2-cache { label
|
| /linux/arch/s390/lib/ |
| H A D | string.c | 186 const char *s2, unsigned long l2) in clcle() argument 189 union register_pair r3 = { .even = (unsigned long)s2, .odd = l2, }; in clcle() 210 int l1, l2; in strstr() local 212 l2 = __strend(s2) - s2; in strstr() 213 if (!l2) in strstr() 216 while (l1-- >= l2) { in strstr() 219 cc = clcle(s1, l2, s2, l2); in strstr()
|
| /linux/arch/arm64/boot/dts/nuvoton/ |
| H A D | nuvoton-npcm845.dtsi | 19 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/arch/x86/kernel/cpu/ |
| H A D | cacheinfo.c | 156 union l2_cache l2; in legacy_amd_cpuid4() local 164 cpuid(0x80000006, &dummy, &dummy, &l2.val, &l3.val); in legacy_amd_cpuid4() 181 if (!l2.assoc || l2.assoc == AMD_L2_L3_INVALID_ASSOC) in legacy_amd_cpuid4() 185 assoc = assocs[l2.assoc]; in legacy_amd_cpuid4() 186 line_size = l2.line_size; in legacy_amd_cpuid4() 187 lines_per_tag = l2.lines_per_tag; in legacy_amd_cpuid4() 369 unsigned int l2, unsigned int l1i, unsigned int l1d) in intel_cacheinfo_done() argument 381 c->x86_cache_size = l3 ? l3 : (l2 ? l2 : l1i + l1d); in intel_cacheinfo_done() 383 if (!l2) in intel_cacheinfo_done() 392 unsigned int l1i = 0, l1d = 0, l2 = 0, l3 = 0; in intel_cacheinfo_0x2() local [all …]
|
| /linux/arch/sparc/kernel/ |
| H A D | head_64.S | 171 mov 0, %l2 178 stx %l2, [%sp + 2047 + 128 + 0x18] ! arg1, 0 189 mov (1b - prom_compatible_name), %l2 192 sub %l0, %l2, %l2 204 stx %l2, [%sp + 2047 + 128 + 0x20] ! arg2, "compatible" 213 mov (1b - prom_chosen_path), %l2 216 sub %l0, %l2, %l2 226 stx %l2, [%sp + 2047 + 128 + 0x18] ! arg1, "/chosen" 234 mov (1b - prom_mmu_name), %l2 237 sub %l0, %l2, %l2 [all …]
|
| H A D | rtrap_64.S | 192 mov %g6, %l2 209 mov %l2, %g6 220 ldx [%sp + PTREGS_OFF + PT_V9_TPC], %l2 229 wrpr %l2, %g0, %tpc 254 rdpr %otherwin, %l2 257 661: wrpr %l2, %g0, %canrestore 264 brnz,pt %l2, user_rtt_restore 331 ldub [%l6 + %o0], %l2 335 andcc %l2, (FPRS_FEF|FPRS_DU), %g0 337 and %l2, FPRS_DL, %l6 [all …]
|
| /linux/tools/mm/ |
| H A D | page_owner_sort.c | 126 const struct block_list *l1 = p1, *l2 = p2; in compare_txt() local 128 return strcmp(l1->txt, l2->txt); in compare_txt() 133 const struct block_list *l1 = p1, *l2 = p2; in compare_stacktrace() local 135 return strcmp(l1->stacktrace, l2->stacktrace); in compare_stacktrace() 140 const struct block_list *l1 = p1, *l2 = p2; in compare_num() local 142 return l1->num - l2->num; in compare_num() 147 const struct block_list *l1 = p1, *l2 = p2; in compare_page_num() local 149 return l1->page_num - l2->page_num; in compare_page_num() 154 const struct block_list *l1 = p1, *l2 = p2; in compare_pid() local 156 return l1->pid - l2->pid; in compare_pid() [all …]
|
| /linux/drivers/firmware/efi/libstub/ |
| H A D | string.c | 52 size_t l1, l2; in strstr() local 54 l2 = strlen(s2); in strstr() 55 if (!l2) in strstr() 58 while (l1 >= l2) { in strstr() 60 if (!memcmp(s1, s2, l2)) in strstr()
|
| /linux/drivers/gpu/drm/nouveau/nvkm/engine/gr/ |
| H A D | gp102.c | 45 const u32 ds, const u32 l2) in gp102_gr_zbc_stencil_get() argument 56 if (gr->zbc_stencil[i].l2 != l2) { in gp102_gr_zbc_stencil_get() 71 gr->zbc_stencil[zbc].l2 = l2; in gp102_gr_zbc_stencil_get() 72 nvkm_ltc_zbc_stencil_get(ltc, zbc, l2); in gp102_gr_zbc_stencil_get()
|
| /linux/arch/csky/mm/ |
| H A D | cachev1.c | 32 static void cache_op_all(unsigned int value, unsigned int l2) in cache_op_all() argument 37 if (l2 && (mfcr_ccr2() & CCR2_L2E)) { in cache_op_all() 47 unsigned int l2) in cache_op_range() argument 56 cache_op_all(value, l2); in cache_op_range() 60 if ((mfcr_ccr2() & CCR2_L2E) && l2) in cache_op_range()
|
| /linux/arch/sparc/prom/ |
| H A D | cif.S | 18 ldx [%o1 + 0x0008], %l2 ! prom_cif_handler 22 call %l2 40 ldx [%i1 + 0x000], %l2 41 call %l2
|
| /linux/fs/hpfs/ |
| H A D | name.c | 77 const unsigned char *n2, unsigned l2, int last) in hpfs_compare_names() argument 79 unsigned l = l1 < l2 ? l1 : l2; in hpfs_compare_names() 88 if (l1 < l2) return -1; in hpfs_compare_names() 89 if (l1 > l2) return 1; in hpfs_compare_names()
|