Home
last modified time | relevance | path

Searched +full:li +full:- (Results 1 – 25 of 777) sorted by relevance

12345678910>>...32

/linux-6.12.1/tools/testing/selftests/powerpc/pmu/ebb/
Dbusy_loop.S1 /* SPDX-License-Identifier: GPL-2.0-only */
6 #include <ppc-asm.h>
11 stdu %r1, -168(%r1)
31 li r3, 0x3030
32 std r3, -96(%r1)
33 li r4, 0x4040
34 std r4, -104(%r1)
35 li r5, 0x5050
36 std r5, -112(%r1)
37 li r6, 0x6060
[all …]
/linux-6.12.1/sound/soc/generic/
Daudio-graph-card.c1 // SPDX-License-Identifier: GPL-2.0
8 // based on ${LINUX}/sound/soc/generic/simple-card.c
39 struct snd_soc_dapm_context *dapm = w->dapm; in graph_outdrv_event()
40 struct simple_util_priv *priv = snd_soc_card_get_drvdata(dapm->card); in graph_outdrv_event()
44 gpiod_set_value_cansleep(priv->pa_gpio, 1); in graph_outdrv_event()
47 gpiod_set_value_cansleep(priv->pa_gpio, 0); in graph_outdrv_event()
50 return -EINVAL; in graph_outdrv_event()
72 if (dai && (dai->component->driver->pcm_construct || in soc_component_is_pcm()
73 (dai->driver->ops && dai->driver->ops->pcm_new))) in soc_component_is_pcm()
83 struct device_node *top = dev->of_node; in graph_parse_convert()
[all …]
Dsimple-card.c1 // SPDX-License-Identifier: GPL-2.0
17 #include <sound/soc-dai.h>
22 #define DAI "sound-dai"
23 #define CELL "#sound-dai-cells"
24 #define PREFIX "simple-audio-card,"
41 * Get node via "sound-dai = <&phandle port>" in simple_parse_platform()
50 dlc->of_node = args.np; in simple_parse_platform()
68 * Get node via "sound-dai = <&phandle port>" in simple_parse_dai()
80 dlc->dai_name = snd_soc_dai_name_get(dai); in simple_parse_dai()
81 dlc->dai_args = snd_soc_copy_dai_args(dev, &args); in simple_parse_dai()
[all …]
Daudio-graph-card2.c1 // SPDX-License-Identifier: GPL-2.0
8 // based on ${LINUX}/sound/soc/generic/audio-graph-card.c
25 bitclock-master;
27 frame-master;
39 sample0: left_j, bitclock-master, frame-master
40 sample1: i2s, bitclock-master
56 linux/sound/soc/soc-utils.c
57 linux/sound/soc/generic/test-component.c
60 Normal Audio-Graph
63 CPU <---> Codec
[all …]
/linux-6.12.1/arch/powerpc/lib/
Dcrtsavres.S32 * Boston, MA 02110-1301, USA.
57 stw 14,-72(11) /* save gp registers */
60 stw 15,-68(11)
63 stw 16,-64(11)
66 stw 17,-60(11)
69 stw 18,-56(11)
72 stw 19,-52(11)
75 stw 20,-48(11)
78 stw 21,-44(11)
81 stw 22,-40(11)
[all …]
Dcopy_32.S1 /* SPDX-License-Identifier: GPL-2.0-or-later */
3 * Memory copy functions for 32-bit PowerPC.
5 * Copyright (C) 1996-2005 Paul Mackerras.
12 #include <asm/code-patching-asm.h>
45 addi r5,r5,-(16 * n); \
48 addi r5,r5,-(16 * n); \
63 CACHELINE_MASK = (L1_CACHE_BYTES-1)
68 addi r6, r3, -4
69 beq- 2f
84 * area is cacheable. -- paulus
[all …]
Dquad.S1 /* SPDX-License-Identifier: GPL-2.0-or-later */
11 #include <asm/ppc-opcode.h>
13 #include <asm/asm-offsets.h>
21 li r3, 0
23 2: li r3, -EFAULT
30 li r3, 0
32 2: li r3, -EFAULT
41 li r3, 0
43 2: li r3, -EFAULT
54 li r3, 0
[all …]
/linux-6.12.1/arch/mips/cavium-octeon/
Doct_ilm.c1 // SPDX-License-Identifier: GPL-2.0-only
5 #include <asm/octeon/cvmx-ciu-defs.h>
28 static struct latency_info li; variable
34 struct latency_info curr_li = li; in oct_ilm_show()
63 static void init_latency_info(struct latency_info *li, int startup) in init_latency_info() argument
74 li->io_interval = (octeon_get_io_clock_rate() * interval) / 1000; in init_latency_info()
75 li->cpu_interval = (octeon_get_clock_rate() * interval) / 1000; in init_latency_info()
77 li->timer_start1 = 0; in init_latency_info()
78 li->timer_start2 = 0; in init_latency_info()
79 li->max_latency = 0; in init_latency_info()
[all …]
/linux-6.12.1/arch/riscv/kernel/
Dhead.S1 /* SPDX-License-Identifier: GPL-2.0-only */
6 #include <asm/asm-offsets.h>
18 #include "efi-header.S"
23 * Image header expected by Linux boot-loaders. The image header data
32 c.li s4,-13
42 /* Image load offset (0MB) from start of RAM for M-mode */
54 .dword _end - _start
63 .word pe_head_start - _start
141 li t0, SR_FS_VS
149 li a2, SBI_HART_BOOT_TASK_PTR_OFFSET
[all …]
/linux-6.12.1/net/netfilter/
Dnft_log.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * Copyright (c) 2008-2009 Patrick McHardy <kaber@trash.net>
4 * Copyright (c) 2012-2014 Pablo Neira Ayuso <pablo@netfilter.org>
39 &ih->saddr, &ih->daddr, ih->protocol); in audit_ip4()
55 nexthdr = ih->nexthdr; in audit_ip6()
59 &ih->saddr, &ih->daddr, nexthdr); in audit_ip6()
66 struct sk_buff *skb = pkt->skb; in nft_log_eval_audit()
68 int fam = -1; in nft_log_eval_audit()
77 audit_log_format(ab, "mark=%#x", skb->mark); in nft_log_eval_audit()
81 switch (eth_hdr(skb)->h_proto) { in nft_log_eval_audit()
[all …]
/linux-6.12.1/arch/mips/kernel/
Dbmips_vec.S8 * Reset/NMI/re-entry vectors for BMIPS processors
42 li k1, CKSEG1
50 /* re-enable IRQs to wait for SW1 */
51 li k0, ST0_IE | ST0_BEV | STATUSF_IP1
55 li k0, 0xff400000
63 li k1, 0xa0080000
70 li k1, CKSEG1
88 li k1, (1 << 19)
95 li k1, PRID_IMP_BMIPS5000
101 li k1, (3 << 25)
[all …]
Dbmips_5xxx_init.S7 * Copyright (C) 2011-2012 by Broadcom Corporation
34 addiu t1, t1, -1 ; \
112 * Description: compute the I-cache size and I-cache line size
131 * vi) 0x5 - 0x7: Reserved.
139 li v0, 0x40
146 * i) 0x0: No I-cache present, i) 0x3: 16 bytes, ii) 0x4: 32 bytes, iii)
161 li v1, 1
174 * i) 0x0: Direct mapped, ii) 0x1: 2-way, iii) 0x2: 3-way, iv) 0x3:
175 * 4-way, v) 0x4 - 0x7: Reserved.
207 * Description: compute the D-cache size and D-cache line size.
[all …]
Dcps-vec.S1 /* SPDX-License-Identifier: GPL-2.0-or-later */
10 #include <asm/asm-offsets.h>
17 #include <asm/smp-cps.h>
51 * Set dest to non-zero if the core supports the MT ASE, else zero. If
66 * Set dest to non-zero if the core supports MIPSr6 multithreading
103 li t0, 0xff
131 /* Skip core-level init if we started up coherent */
135 /* Perform any further required core-level initialisation */
227 li ta1, 1
236 /* Set exclusive TC, non-active, master */
[all …]
/linux-6.12.1/arch/powerpc/kernel/
Dvector.S1 /* SPDX-License-Identifier: GPL-2.0 */
7 #include <asm/asm-offsets.h>
12 #include <asm/asm-compat.h>
19 li r4,VRSTATE_VSCR
34 li r4, VRSTATE_VSCR
47 * Note that on 32-bit this can only use registers that will be
48 * restored by fast_exception_return, i.e. r3 - r6, r10 and r11.
69 li r4,-1
82 li r4,0
86 li r4,1
[all …]
Dinterrupt_64.S1 #include <asm/asm-offsets.h>
4 #include <asm/exception-64s.h>
6 #include <asm/exception-64e.h>
8 #include <asm/feature-fixups.h>
9 #include <asm/head-64.h>
63 li r11,0
64 /* Save syscall parameters in r3-r8 */
66 /* Zero r9-r12, this should only be required when restoring all GPRs */
76 li r11,\trapnr
91 * scv enters with MSR[EE]=1 and is immediately considered soft-masked.
[all …]
/linux-6.12.1/tools/testing/selftests/powerpc/include/
Dreg.h1 /* SPDX-License-Identifier: GPL-2.0-only */
38 #define BESCR_PMEO 0x1 /* PMU Event-based exception Occurred */
39 #define BESCR_PME (0x1ul << 32) /* PMU Event-based exception Enable */
69 #define SPRN_AMR 13 /* Authority Mask Register - problem state */
115 "li 14, %[" #_asm_symbol_name_immed "];" \
116 "li 15, %[" #_asm_symbol_name_immed "];" \
117 "li 16, %[" #_asm_symbol_name_immed "];" \
118 "li 17, %[" #_asm_symbol_name_immed "];" \
119 "li 18, %[" #_asm_symbol_name_immed "];" \
120 "li 19, %[" #_asm_symbol_name_immed "];" \
[all …]
/linux-6.12.1/arch/powerpc/kvm/
Dbook3s_hv_rmhandlers.S1 /* SPDX-License-Identifier: GPL-2.0-only */
17 #include <asm/code-patching-asm.h>
24 #include <asm/asm-offsets.h>
25 #include <asm/exception-64s.h>
27 #include <asm/book3s/64/mmu-hash.h>
31 #include <asm/asm-compat.h>
32 #include <asm/feature-fixups.h>
42 #define STACK_SLOT_TRAP (SFS-4)
43 #define STACK_SLOT_TID (SFS-16)
44 #define STACK_SLOT_PSSCR (SFS-24)
[all …]
/linux-6.12.1/tools/testing/selftests/powerpc/tm/
Dtm-syscall-asm.S1 /* SPDX-License-Identifier: GPL-2.0 */
9 li r0, __NR_getppid
14 li r3, -1
20 li r0, __NR_getppid
27 li r3, -1
39 li r0, __NR_getppid
45 li r3, -1
53 li r0, __NR_getppid
61 li r3, -1
/linux-6.12.1/arch/powerpc/platforms/ps3/
Dhvcall.S1 /* SPDX-License-Identifier: GPL-2.0-only */
22 stdu r1, -STACK_FRAME_MIN_SIZE(r1); \
23 li r11, API_NUMBER; \
46 std r3, -8(r1); \
47 stdu r1, -STACK_FRAME_MIN_SIZE-8(r1); \
49 li r11, API_NUMBER; \
53 ld r11, -8(r1); \
66 std r3, -8(r1); \
67 std r4, -16(r1); \
68 stdu r1, -STACK_FRAME_MIN_SIZE-16(r1); \
[all …]
/linux-6.12.1/arch/powerpc/crypto/
Daes-gcm-p10.S1 /* SPDX-License-Identifier: GPL-2.0-or-later */
3 # Accelerated AES-GCM stitched implementation for ppc64le.
5 # Copyright 2022- IBM Inc. All rights reserved
22 # Hash keys = v3 - v14
29 # v31 - counter 1
32 # vs0 - vs14 for round keys
35 # This implementation uses stitched AES-GCM approach to improve overall performance.
48 # v15 - v18 - input states
49 # vs1 - vs9 - round keys
110 # v15 - v22 - input states
[all …]
/linux-6.12.1/arch/loongarch/kernel/
Dhead.S1 /* SPDX-License-Identifier: GPL-2.0 */
3 * Copyright (C) 2020-2022 Loongson Technology Corporation Limited
18 #include "efi-header.S"
23 .word MZ_MAGIC /* "MZ", MS-DOS header */
30 .long pe_header - _head /* Offset to the PE header */
51 li.w t0, 0xb0 # PLV=0, IE=0, PG=1
53 li.w t0, 0x04 # PLV=0, PIE=1, PWE=0
55 li.w t0, 0x00 # FPE=0, SXE=0, ASXE=0, BTE=0
60 la.pcrel t1, __bss_stop - LONGSIZE
74 li.d t0, 0
[all …]
/linux-6.12.1/Documentation/ABI/testing/
Dsysfs-platform-chipidea-usb-otg3 Contact: Li Jun <jun.li@nxp.com>
6 Set a_bus_req(A-device bus request) input to be 1 if
7 the application running on the A-device wants to use the bus,
11 from the B-device, the A-device should decide to resume the bus.
15 Reading: returns 1 if the application running on the A-device
20 Contact: Li Jun <jun.li@nxp.com>
23 The a_bus_drop(A-device bus drop) input is 1 when the
24 application running on the A-device wants to power down
31 A-device, otherwise 0.
35 Contact: Li Jun <jun.li@nxp.com>
[all …]
/linux-6.12.1/arch/s390/kvm/
Dinterrupt.c1 // SPDX-License-Identifier: GPL-2.0
10 #define KMSG_COMPONENT "kvm-s390"
22 #include <asm/access-regs.h>
23 #include <asm/asm-offsets.h>
32 #include "kvm-s390.h"
34 #include "trace-s390.h"
52 read_lock(&vcpu->kvm->arch.sca_lock); in sca_ext_call_pending()
53 if (vcpu->kvm->arch.use_esca) { in sca_ext_call_pending()
54 struct esca_block *sca = vcpu->kvm->arch.sca; in sca_ext_call_pending()
56 sca->cpu[vcpu->vcpu_id].sigp_ctrl; in sca_ext_call_pending()
[all …]
/linux-6.12.1/tools/testing/selftests/powerpc/switch_endian/
Dswitch_endian_test.S1 /* SPDX-License-Identifier: GPL-2.0 */
23 /* Setup CR, only CR2-CR4 are maintained */
40 /* r9 - r12 are clobbered */
66 * It clobbers r9-r12, XER, CTR and CR0-1,5-7.
68 li r0, __NR_switch_endian
74 #include "check-reversed.S"
82 li r5, 28 // strlen(success_message)
83 li r14, 0 // exit status
85 li r0, __NR_write
86 li r3, 1 /* stdout */
[all …]
/linux-6.12.1/arch/powerpc/kexec/
Drelocate_32.S1 /* SPDX-License-Identifier: GPL-2.0-or-later */
3 * This file contains kexec low-level functions.
5 * Copyright (C) 2002-2003 Eric Biederman <ebiederm@xmission.com>
43 li r0, 0
71 * 3) Create a 1:1 mapping for 0-2GiB in chunks of 256M in original TS.
75 * - Based on the kexec support code for FSL BookE
83 li r3, 0
100 li r4,0 /* Start at TLB entry 0 */
101 li r3,0 /* Set PAGEID inval value */
128 li r10, 1 /* r10 will hold PageSize */
[all …]

12345678910>>...32