Home
last modified time | relevance | path

Searched refs:arg0 (Results 1 – 25 of 70) sorted by relevance

123

/Linux-v6.6/drivers/mailbox/
Dzynqmp-ipi-mailbox.c151 u64 arg0, arg3; in zynqmp_ipi_interrupt() local
156 arg0 = SMC_IPI_MAILBOX_STATUS_ENQUIRY; in zynqmp_ipi_interrupt()
162 zynqmp_ipi_fw_call(ipi_mbox, arg0, arg3, &res); in zynqmp_ipi_interrupt()
191 u64 arg0; in zynqmp_ipi_peek_data() local
199 arg0 = SMC_IPI_MAILBOX_STATUS_ENQUIRY; in zynqmp_ipi_peek_data()
200 zynqmp_ipi_fw_call(ipi_mbox, arg0, 0, &res); in zynqmp_ipi_peek_data()
231 u64 arg0; in zynqmp_ipi_last_tx_done() local
243 arg0 = SMC_IPI_MAILBOX_STATUS_ENQUIRY; in zynqmp_ipi_last_tx_done()
244 zynqmp_ipi_fw_call(ipi_mbox, arg0, 0, &res); in zynqmp_ipi_last_tx_done()
269 u64 arg0; in zynqmp_ipi_send_data() local
[all …]
/Linux-v6.6/arch/alpha/include/asm/
Dpal.h31 extern inline void NAME(TYPE0 arg0) \
33 register TYPE0 __r16 __asm__("$16") = arg0; \
42 extern inline void NAME(TYPE0 arg0, TYPE1 arg1) \
44 register TYPE0 __r16 __asm__("$16") = arg0; \
54 extern inline RTYPE NAME(TYPE0 arg0) \
57 register TYPE0 __r16 __asm__("$16") = arg0; \
67 extern inline RTYPE NAME(TYPE0 arg0, TYPE1 arg1) \
70 register TYPE0 __r16 __asm__("$16") = arg0; \
/Linux-v6.6/tools/arch/x86/include/asm/
Drmwcc.h15 #define GEN_UNARY_RMWcc(op, var, arg0, cc) \ argument
16 __GEN_RMWcc(op " " arg0, var, cc)
18 #define GEN_BINARY_RMWcc(op, var, vcon, val, arg0, cc) \ argument
19 __GEN_RMWcc(op " %1, " arg0, var, cc, vcon (val))
/Linux-v6.6/arch/parisc/kernel/
Dpacache.S69 LDREG ITLB_OFF_BASE(%r1), %arg0
76 copy %arg0, %r28 /* Init base addr */
90 movb,tr %arg0, %r28, fitmanyloop /* Re-init base addr */
95 copy %arg0, %r28 /* init base addr */
113 LDREG DTLB_OFF_BASE(%r1), %arg0
120 copy %arg0, %r28 /* Init base addr */
134 movb,tr %arg0, %r28, fdtmanyloop /* Re-init base addr */
139 copy %arg0, %r28 /* init base addr */
195 LDREG ICACHE_BASE(%r1), %arg0
206 fice %r0(%sr1, %arg0)
[all …]
Dtoc_asm.S33 copy %sp,%arg0
37 copy %arg0,%r1
41 ldo PT_FR0(%arg0),%r25
56 tovirt_r1 %arg0
Dhpmc.S98 copy arg0, %r3 /* save address of PDCE_PROC */
146 ldo PDC_PIM(%r0), arg0
162 ldo PDC_IO(%r0),arg0
187 ldo PDC_IODC(%r0),arg0
207 ldw BOOT_CONSOLE_HPA_OFFSET(%r0),arg0 /* console hpa */
265 ldo PDC_BROADCAST_RESET(%r0),arg0
Dhead.S68 stw,ma %arg0,4(%r1)
83 load32 PA(msg1),%arg0
86 copy %arg0, %r10
90 ldw MEM_CONS+32(%r0),%arg0 // HPA
260 ldo PDC_PSW(%r0),%arg0 /* 21 */
275 ldi PDC_BLOCK_TLB,%arg0
330 copy %r3, %arg0 /* PDCE_PROC for smp_callin() */
418 copy %arg0,%r3
Dreal2.S53 STREG %sp, -REG_SZ(%arg0) /* save SP on real-mode stack */
54 copy %arg0, %sp /* adopt the real-mode SP */
61 ldw 0(%arg1), %arg0 /* note overwriting arg0 */
232 std %sp, -8(%arg0) /* save SP on real-mode stack */
233 copy %arg0, %sp /* adopt the real-mode SP */
240 ldd 0*REG_SZ(%arg1), %arg0 /* note overwriting arg0 */
Drelocate_kernel.S79 LDREG,ma REG_SZ(%arg0), %r3
86 movb %r3, %arg0, .Lloop
87 depi 0, 31, PAGE_SHIFT, %arg0
135 LDREG kexec_free_mem-0b(%arg2), %arg0
Dperf_asm.S84 ;* This routine shifts data in from the RDR in arg0 and returns
91 ;* arg0 : rdr to be read
98 ;* arg0 : rdr to be read
140 shladd arg0,2,%r0,%r1 ; %r1 = 4 * RDR number
1343 ;* Then the STDIAG instruction for the RDR # in arg0 is called
1347 ;* arg0 = rdr target
1354 ;* arg0 = rdr target
1377 shladd arg0,2,%r0,%r1 ; %r1 = 4 * RDR number
/Linux-v6.6/arch/arm/mach-bcm/
Dbcm_kona_smc.c17 unsigned arg0; member
127 writel_relaxed(data->arg0, args++); in __bcm_kona_smc()
139 unsigned bcm_kona_smc(unsigned service_id, unsigned arg0, unsigned arg1, in bcm_kona_smc() argument
145 data.arg0 = arg0; in bcm_kona_smc()
/Linux-v6.6/drivers/firmware/meson/
Dmeson_sm.c70 static u32 __meson_sm_call(u32 cmd, u32 arg0, u32 arg1, u32 arg2, in __meson_sm_call() argument
75 arm_smccc_smc(cmd, arg0, arg1, arg2, arg3, arg4, 0, 0, &res); in __meson_sm_call()
105 u32 *ret, u32 arg0, u32 arg1, u32 arg2, u32 arg3, u32 arg4) in meson_sm_call() argument
116 lret = __meson_sm_call(cmd, arg0, arg1, arg2, arg3, arg4); in meson_sm_call()
143 unsigned int bsize, unsigned int cmd_index, u32 arg0, in meson_sm_call_read() argument
158 if (meson_sm_call(fw, cmd_index, &size, arg0, arg1, arg2, arg3, arg4) < 0) in meson_sm_call_read()
192 unsigned int size, unsigned int cmd_index, u32 arg0, in meson_sm_call_write() argument
208 if (meson_sm_call(fw, cmd_index, &written, arg0, arg1, arg2, arg3, arg4) < 0) in meson_sm_call_write()
/Linux-v6.6/arch/x86/include/asm/
Drmwcc.h40 #define GEN_UNARY_RMWcc_4(op, var, cc, arg0) \ argument
41 __GEN_RMWcc(op " " arg0, var, cc, __CLOBBERS_MEM())
48 #define GEN_BINARY_RMWcc_6(op, var, cc, vcon, _val, arg0) \ argument
49 __GEN_RMWcc(op " %[val], " arg0, var, cc, \
/Linux-v6.6/include/linux/firmware/meson/
Dmeson_sm.h22 u32 *ret, u32 arg0, u32 arg1, u32 arg2, u32 arg3, u32 arg4);
24 unsigned int b_size, unsigned int cmd_index, u32 arg0,
27 unsigned int bsize, unsigned int cmd_index, u32 arg0,
/Linux-v6.6/arch/arm/mach-at91/
Dsam_secure.c17 struct arm_smccc_res sam_smccc_call(u32 fn, u32 arg0, u32 arg1) in sam_smccc_call() argument
24 arm_smccc_smc(SAM_SIP_SMC_STD_CALL_VAL(fn), arg0, arg1, 0, 0, 0, 0, 0, in sam_smccc_call()
/Linux-v6.6/tools/testing/selftests/x86/
Dptrace_syscall.c44 uint32_t nr, arg0, arg1, arg2, arg3, arg4, arg5; member
61 "+b" (args->arg0), "+c" (args->arg1), "+d" (args->arg2), in do_full_int80()
143 .arg0 = 10, .arg1 = 11, .arg2 = 12, in test_sys32_regs()
150 args.arg0 != 10 || args.arg1 != 11 || args.arg2 != 12 || in test_sys32_regs()
161 args.arg0 = getpid(); in test_sys32_regs()
165 args.arg0 != getpid() || args.arg1 != SIGUSR1 || args.arg2 != 12 || in test_sys32_regs()
/Linux-v6.6/include/linux/
Darm-smccc.h419 #define __constraint_read_2 "r" (arg0)
430 register unsigned long arg0 asm("r0") = (u32)a0
435 register unsigned long arg0 asm("r0") = (u32)a0; \
442 register unsigned long arg0 asm("r0") = (u32)a0; \
451 register unsigned long arg0 asm("r0") = (u32)a0; \
/Linux-v6.6/tools/testing/selftests/kvm/lib/riscv/
Ducall.c13 struct sbiret sbi_ecall(int ext, int fid, unsigned long arg0, in sbi_ecall() argument
18 register uintptr_t a0 asm ("a0") = (uintptr_t)(arg0); in sbi_ecall()
/Linux-v6.6/include/linux/usb/
Dof.h16 enum usb_dr_mode of_usb_get_dr_mode_by_phy(struct device_node *np, int arg0);
27 of_usb_get_dr_mode_by_phy(struct device_node *np, int arg0) in of_usb_get_dr_mode_by_phy() argument
/Linux-v6.6/drivers/platform/loongarch/
Dloongson-laptop.c408 union acpi_object arg0 = { ACPI_TYPE_INTEGER }; in loongson_laptop_turn_on_backlight() local
409 struct acpi_object_list args = { 1, &arg0 }; in loongson_laptop_turn_on_backlight()
411 arg0.integer.value = 1; in loongson_laptop_turn_on_backlight()
424 union acpi_object arg0 = { ACPI_TYPE_INTEGER }; in loongson_laptop_turn_off_backlight() local
425 struct acpi_object_list args = { 1, &arg0 }; in loongson_laptop_turn_off_backlight()
427 arg0.integer.value = 0; in loongson_laptop_turn_off_backlight()
/Linux-v6.6/include/linux/platform_data/x86/
Dasus-wmi.h141 int asus_wmi_evaluate_method(u32 method_id, u32 arg0, u32 arg1, u32 *retval);
143 static inline int asus_wmi_evaluate_method(u32 method_id, u32 arg0, u32 arg1, in asus_wmi_evaluate_method() argument
/Linux-v6.6/arch/parisc/boot/compressed/
Dhead.S36 copy %r1, %arg0
79 load32 KERNEL_BINARY_TEXT_START, %arg0 /* free mem */
/Linux-v6.6/tools/testing/selftests/kvm/lib/aarch64/
Dprocessor.c530 #define __smccc_call(insn, function_id, arg0, arg1, arg2, arg3, arg4, arg5, \ argument
547 : [function_id] "r"(function_id), [arg0] "r"(arg0), \
553 void smccc_hvc(uint32_t function_id, uint64_t arg0, uint64_t arg1, in smccc_hvc() argument
557 __smccc_call(hvc, function_id, arg0, arg1, arg2, arg3, arg4, arg5, in smccc_hvc()
561 void smccc_smc(uint32_t function_id, uint64_t arg0, uint64_t arg1, in smccc_smc() argument
565 __smccc_call(smc, function_id, arg0, arg1, arg2, arg3, arg4, arg5, in smccc_smc()
/Linux-v6.6/arch/sh/kernel/
Dsh_bios.c25 static inline long sh_bios_call(long func, long arg0, long arg1, long arg2, in sh_bios_call() argument
29 register long r4 __asm__("r4") = arg0; in sh_bios_call()
/Linux-v6.6/drivers/firmware/
Darm_sdei.c39 unsigned long arg0, unsigned long arg1,
136 static int invoke_sdei_fn(unsigned long function_id, unsigned long arg0, in invoke_sdei_fn() argument
145 sdei_firmware_call(function_id, arg0, arg1, arg2, arg3, arg4, in invoke_sdei_fn()
839 unsigned long arg0, unsigned long arg1, in sdei_smccc_smc() argument
843 arm_smccc_smc(function_id, arg0, arg1, arg2, arg3, arg4, 0, 0, res); in sdei_smccc_smc()
848 unsigned long arg0, unsigned long arg1, in sdei_smccc_hvc() argument
852 arm_smccc_hvc(function_id, arg0, arg1, arg2, arg3, arg4, 0, 0, res); in sdei_smccc_hvc()

123