/arch/parisc/kernel/ |
D | firmware.c | 214 int retval; in pdc_add_valid() local 218 retval = mem_pdc_call(PDC_ADD_VALID, PDC_ADD_VALID_VERIFY, address); in pdc_add_valid() 221 return retval; in pdc_add_valid() 235 int retval; in pdc_chassis_info() local 241 retval = mem_pdc_call(PDC_CHASSIS, PDC_RETURN_CHASSIS_INFO, in pdc_chassis_info() 247 return retval; in pdc_chassis_info() 259 int retval = 0; in pdc_pat_chassis_send_log() local 266 retval = mem_pdc_call(PDC_PAT_CHASSIS_LOG, PDC_PAT_CHASSIS_WRITE_LOG, __pa(&state), __pa(&data)); in pdc_pat_chassis_send_log() 269 return retval; in pdc_pat_chassis_send_log() 279 int retval = 0; in pdc_chassis_disp() local [all …]
|
D | pdc_chassis.c | 176 int retval = 0; in pdc_chassis_send_status() local 186 retval = pdc_pat_chassis_send_log(PDC_CHASSIS_PMSG_BSTART, PDC_CHASSIS_LSTATE_RUN_NORMAL); in pdc_chassis_send_status() 190 retval = pdc_pat_chassis_send_log(PDC_CHASSIS_PMSG_BCOMPLETE, PDC_CHASSIS_LSTATE_RUN_NORMAL); in pdc_chassis_send_status() 194 retval = pdc_pat_chassis_send_log(PDC_CHASSIS_PMSG_SHUTDOWN, PDC_CHASSIS_LSTATE_NONOS); in pdc_chassis_send_status() 198 retval = pdc_pat_chassis_send_log(PDC_CHASSIS_PMSG_PANIC, PDC_CHASSIS_LSTATE_RUN_CRASHREC); in pdc_chassis_send_status() 202 retval = pdc_pat_chassis_send_log(PDC_CHASSIS_PMSG_LPMC, PDC_CHASSIS_LSTATE_RUN_SYSINT); in pdc_chassis_send_status() 206 retval = pdc_pat_chassis_send_log(PDC_CHASSIS_PMSG_HPMC, PDC_CHASSIS_LSTATE_RUN_NCRIT); in pdc_chassis_send_status() 210 retval = -1; in pdc_chassis_send_status() 212 } else retval = -1; in pdc_chassis_send_status() 217 retval = pdc_chassis_disp(PDC_CHASSIS_DISP_DATA(OSTAT_INIT)); in pdc_chassis_send_status() [all …]
|
/arch/sh/include/asm/ |
D | cmpxchg-grb.h | 6 unsigned long retval; in xchg_u32() local 17 : "=&r" (retval), in xchg_u32() 23 return retval; in xchg_u32() 28 unsigned long retval; in xchg_u16() local 39 : "=&r" (retval), in xchg_u16() 45 return retval; in xchg_u16() 50 unsigned long retval; in xchg_u8() local 61 : "=&r" (retval), in xchg_u8() 67 return retval; in xchg_u8() 73 unsigned long retval; in __cmpxchg_u32() local [all …]
|
D | cmpxchg-irq.h | 8 unsigned long flags, retval; in xchg_u32() local 11 retval = *m; in xchg_u32() 14 return retval; in xchg_u32() 19 unsigned long flags, retval; in xchg_u16() local 22 retval = *m; in xchg_u16() 25 return retval; in xchg_u16() 30 unsigned long flags, retval; in xchg_u8() local 33 retval = *m; in xchg_u8() 36 return retval; in xchg_u8() 42 __u32 retval; in __cmpxchg_u32() local [all …]
|
D | uaccess_32.h | 15 #define __get_user_size(x,ptr,size,retval) \ argument 17 retval = 0; \ 20 __get_user_asm(x, ptr, retval, "b"); \ 23 __get_user_asm(x, ptr, retval, "w"); \ 26 __get_user_asm(x, ptr, retval, "l"); \ 68 #define __put_user_size(x,ptr,size,retval) \ argument 70 retval = 0; \ 73 __put_user_asm(x, ptr, retval, "b"); \ 76 __put_user_asm(x, ptr, retval, "w"); \ 79 __put_user_asm(x, ptr, retval, "l"); \ [all …]
|
D | uaccess_64.h | 24 #define __get_user_size(x,ptr,size,retval) \ argument 26 retval = 0; \ 30 retval = __get_user_asm_b((void *)&x, \ 34 retval = __get_user_asm_w((void *)&x, \ 38 retval = __get_user_asm_l((void *)&x, \ 42 retval = __get_user_asm_q((void *)&x, \ 57 #define __put_user_size(x,ptr,size,retval) \ argument 59 retval = 0; \ 62 retval = __put_user_asm_b((void *)&x, \ 66 retval = __put_user_asm_w((void *)&x, \ [all …]
|
D | cmpxchg-llsc.h | 6 unsigned long retval; in xchg_u32() local 17 : "=&z"(tmp), "=&r" (retval) in xchg_u32() 22 return retval; in xchg_u32() 28 unsigned long retval; in __cmpxchg_u32() local 42 : "=&z" (tmp), "=&r" (retval) in __cmpxchg_u32() 47 return retval; in __cmpxchg_u32()
|
D | bitops-llsc.h | 69 int mask, retval; in test_and_set_bit() local 84 : "=&z" (tmp), "=&r" (retval) in test_and_set_bit() 89 return retval != 0; in test_and_set_bit() 94 int mask, retval; in test_and_clear_bit() local 110 : "=&z" (tmp), "=&r" (retval) in test_and_clear_bit() 115 return retval != 0; in test_and_clear_bit() 120 int mask, retval; in test_and_change_bit() local 136 : "=&z" (tmp), "=&r" (retval) in test_and_change_bit() 141 return retval != 0; in test_and_change_bit()
|
D | bitops-grb.h | 76 int mask, retval; in test_and_set_bit() local 97 "=&r" (retval), in test_and_set_bit() 102 return retval; in test_and_set_bit() 107 int mask, retval,not_mask; in test_and_clear_bit() local 130 "=&r" (retval), in test_and_clear_bit() 136 return retval; in test_and_clear_bit() 141 int mask, retval; in test_and_change_bit() local 162 "=&r" (retval), in test_and_change_bit() 167 return retval; in test_and_change_bit()
|
/arch/metag/include/asm/ |
D | cmpxchg_irq.h | 8 unsigned long flags, retval; in xchg_u32() local 11 retval = *m; in xchg_u32() 14 return retval; in xchg_u32() 19 unsigned long flags, retval; in xchg_u8() local 22 retval = *m; in xchg_u8() 25 return retval; in xchg_u8() 31 __u32 retval; in __cmpxchg_u32() local 35 retval = *m; in __cmpxchg_u32() 36 if (retval == old) in __cmpxchg_u32() 39 return retval; in __cmpxchg_u32()
|
D | cmpxchg_lock1.h | 10 unsigned long flags, retval; in xchg_u32() local 14 retval = *m; in xchg_u32() 17 return retval; in xchg_u32() 22 unsigned long flags, retval; in xchg_u8() local 26 retval = *m; in xchg_u8() 29 return retval; in xchg_u8() 35 __u32 retval; in __cmpxchg_u32() local 39 retval = *m; in __cmpxchg_u32() 40 if (retval == old) { in __cmpxchg_u32() 45 return retval; in __cmpxchg_u32()
|
/arch/cris/arch-v32/drivers/ |
D | iop_fw_load.c | 67 int retval, i; in iop_fw_load_spu() local 73 retval = request_firmware(&fw_entry, in iop_fw_load_spu() 76 if (retval != 0) in iop_fw_load_spu() 81 return retval; in iop_fw_load_spu() 103 retval = -EBUSY; in iop_fw_load_spu() 126 return retval; in iop_fw_load_spu() 135 int retval, i; in iop_fw_load_mpu() local 138 retval = request_firmware(&fw_entry, fw_name, &iop_mpu_device); in iop_fw_load_mpu() 139 if (retval != 0) in iop_fw_load_mpu() 144 return retval; in iop_fw_load_mpu() [all …]
|
/arch/mips/kernel/ |
D | mips-mt-fpaff.c | 68 int retval; in mipsmt_sys_sched_setaffinity() local 91 retval = -ENOMEM; in mipsmt_sys_sched_setaffinity() 95 retval = -ENOMEM; in mipsmt_sys_sched_setaffinity() 99 retval = -ENOMEM; in mipsmt_sys_sched_setaffinity() 102 retval = -EPERM; in mipsmt_sys_sched_setaffinity() 106 retval = security_task_setscheduler(p); in mipsmt_sys_sched_setaffinity() 107 if (retval) in mipsmt_sys_sched_setaffinity() 119 retval = set_cpus_allowed_ptr(p, effective_mask); in mipsmt_sys_sched_setaffinity() 123 retval = set_cpus_allowed_ptr(p, new_mask); in mipsmt_sys_sched_setaffinity() 126 if (!retval) { in mipsmt_sys_sched_setaffinity() [all …]
|
/arch/powerpc/platforms/pseries/ |
D | hvcserver.c | 100 long retval; in hvcs_next_partner() local 101 retval = plpar_hcall_norets(H_VTERM_PARTNER_INFO, unit_address, in hvcs_next_partner() 104 return hvcs_convert(retval); in hvcs_next_partner() 143 int retval; in hvcs_get_partner_info() local 154 retval = hvcs_next_partner(unit_address, last_p_partition_ID, in hvcs_get_partner_info() 156 if (retval) { in hvcs_get_partner_info() 163 return retval; in hvcs_get_partner_info() 229 long retval; in hvcs_register_connection() local 230 retval = plpar_hcall_norets(H_REGISTER_VTERM, unit_address, in hvcs_register_connection() 232 return hvcs_convert(retval); in hvcs_register_connection() [all …]
|
/arch/arm/mach-iop13xx/ |
D | io.c | 29 void __iomem * retval; in __iop13xx_ioremap_caller() local 34 retval = NULL; in __iop13xx_ioremap_caller() 36 retval = (iop13xx_atux_mem_base + in __iop13xx_ioremap_caller() 41 retval = NULL; in __iop13xx_ioremap_caller() 43 retval = (iop13xx_atue_mem_base + in __iop13xx_ioremap_caller() 47 retval = __arm_ioremap_caller(IOP13XX_PBI_LOWER_MEM_PA + in __iop13xx_ioremap_caller() 52 retval = IOP13XX_PMMR_PHYS_TO_VIRT(cookie); in __iop13xx_ioremap_caller() 55 retval = __arm_ioremap_caller(cookie, size, mtype, in __iop13xx_ioremap_caller() 59 return retval; in __iop13xx_ioremap_caller()
|
/arch/h8300/include/asm/ |
D | bitops.h | 96 int retval = 0; \ 109 : "=r"(retval), "+WU" (*b_addr), "=&r"(ccrsave) \ 110 : "0"(retval), "i"(nr & 7) : "cc"); \ 120 : "=r"(retval), "+WU" (*b_addr) \ 121 : "0" (retval), "r"(bit) : "cc"); \ 123 return retval; \ 128 int retval = 0; \ 137 : "=r"(retval), "+WU"(*b_addr) \ 138 : "0" (retval), "i"(nr & 7)); \ 145 : "=r"(retval), "+WU"(*b_addr) \ [all …]
|
/arch/score/include/asm/ |
D | cmpxchg.h | 12 unsigned long retval; in __xchg() local 16 retval = *m; in __xchg() 19 return retval; in __xchg() 29 unsigned long retval; in __cmpxchg() local 33 retval = *m; in __cmpxchg() 34 if (retval == old) in __cmpxchg() 37 return retval; in __cmpxchg()
|
/arch/m68k/include/asm/ |
D | bitops.h | 161 char retval; in bset_reg_test_and_set_bit() local 164 : "=d" (retval) in bset_reg_test_and_set_bit() 167 return retval; in bset_reg_test_and_set_bit() 174 char retval; in bset_mem_test_and_set_bit() local 177 : "=d" (retval), "+m" (*p) in bset_mem_test_and_set_bit() 179 return retval; in bset_mem_test_and_set_bit() 185 char retval; in bfset_mem_test_and_set_bit() local 188 : "=d" (retval) in bfset_mem_test_and_set_bit() 191 return retval; in bfset_mem_test_and_set_bit() 211 char retval; in bclr_reg_test_and_clear_bit() local [all …]
|
/arch/mips/cobalt/ |
D | lcd.c | 34 int retval; in cobalt_lcd_add() local 40 retval = platform_device_add_resources(pdev, &cobalt_lcd_resource, 1); in cobalt_lcd_add() 41 if (retval) in cobalt_lcd_add() 44 retval = platform_device_add(pdev); in cobalt_lcd_add() 45 if (retval) in cobalt_lcd_add() 53 return retval; in cobalt_lcd_add()
|
D | led.c | 36 int retval; in cobalt_led_add() local 47 retval = platform_device_add_resources(pdev, &cobalt_led_resource, 1); in cobalt_led_add() 48 if (retval) in cobalt_led_add() 51 retval = platform_device_add(pdev); in cobalt_led_add() 52 if (retval) in cobalt_led_add() 60 return retval; in cobalt_led_add()
|
D | rtc.c | 42 int retval; in cobalt_rtc_add() local 48 retval = platform_device_add_resources(pdev, cobalt_rtc_resource, in cobalt_rtc_add() 50 if (retval) in cobalt_rtc_add() 53 retval = platform_device_add(pdev); in cobalt_rtc_add() 54 if (retval) in cobalt_rtc_add() 62 return retval; in cobalt_rtc_add()
|
D | serial.c | 56 int retval; in cobalt_uart_add() local 71 …retval = platform_device_add_resources(pdev, cobalt_uart_resource, ARRAY_SIZE(cobalt_uart_resource… in cobalt_uart_add() 72 if (retval) in cobalt_uart_add() 75 retval = platform_device_add(pdev); in cobalt_uart_add() 76 if (retval) in cobalt_uart_add() 84 return retval; in cobalt_uart_add()
|
/arch/powerpc/include/asm/ |
D | trace.h | 83 TP_PROTO(unsigned long opcode, unsigned long retval, 86 TP_ARGS(opcode, retval, retbuf), 92 __field(unsigned long, retval) 97 __entry->retval = retval; 100 TP_printk("opcode=%lu retval=%lu", __entry->opcode, __entry->retval), 131 TP_PROTO(unsigned long opcode, unsigned long retval), 133 TP_ARGS(opcode, retval), 137 __field(unsigned long, retval) 142 __entry->retval = retval; 145 TP_printk("opcode=%lu retval=%lu", __entry->opcode, __entry->retval),
|
/arch/mips/vr41xx/common/ |
D | rtc.c | 80 int retval; in vr41xx_rtc_add() local 99 retval = -ENODEV; in vr41xx_rtc_add() 103 retval = platform_device_add_resources(pdev, res, num); in vr41xx_rtc_add() 104 if (retval) in vr41xx_rtc_add() 107 retval = platform_device_add(pdev); in vr41xx_rtc_add() 108 if (retval) in vr41xx_rtc_add() 116 return retval; in vr41xx_rtc_add()
|
/arch/alpha/kernel/ |
D | binfmt_loader.c | 13 int retval; in load_binary() local 28 retval = PTR_ERR(file); in load_binary() 30 return retval; in load_binary() 37 retval = prepare_binprm(bprm); in load_binary() 38 if (retval < 0) in load_binary() 39 return retval; in load_binary()
|