/kernel/liteos_m/arch/risc-v/nuclei/gcc/nmsis/Core/Include/ |
D | core_feature_dsp.h | 443 register unsigned long result; in __RV_ADD8() local 444 __ASM volatile("add8 %0, %1, %2" : "=r"(result) : "r"(a), "r"(b)); in __RV_ADD8() 445 return result; in __RV_ADD8() 484 register unsigned long result; in __RV_ADD16() local 485 __ASM volatile("add16 %0, %1, %2" : "=r"(result) : "r"(a), "r"(b)); in __RV_ADD16() 486 return result; in __RV_ADD16() 537 register unsigned long long result; in __RV_ADD64() local 538 __ASM volatile("add64 %0, %1, %2" : "=r"(result) : "r"(a), "r"(b)); in __RV_ADD64() 539 return result; in __RV_ADD64() 576 register long result; in __RV_AVE() local [all …]
|
/kernel/linux/linux-5.10/lib/crypto/ |
D | curve25519-selftest.c | 11 u8 result[CURVE25519_KEY_SIZE]; member 24 .result = { 0x4a, 0x5d, 0x9d, 0x5b, 0xa4, 0xce, 0x2d, 0xe1, 39 .result = { 0x4a, 0x5d, 0x9d, 0x5b, 0xa4, 0xce, 0x2d, 0xe1, 51 .result = { 0x3c, 0x77, 0x77, 0xca, 0xf9, 0x97, 0xb2, 0x64, 63 .result = { 0xb3, 0x2d, 0x13, 0x62, 0xc2, 0x48, 0xd6, 0x2f, 78 .result = { 0xc3, 0xda, 0x55, 0x37, 0x9d, 0xe9, 0xc6, 0x90, 87 .result = { 0 }, 96 .result = { 0 }, 108 .result = { 0x77, 0x52, 0xb6, 0x18, 0xc1, 0x2d, 0x48, 0xd2, 123 .result = { 0x5a, 0xdf, 0xaa, 0x25, 0x86, 0x8e, 0x32, 0x3d, [all …]
|
/kernel/linux/linux-5.10/arch/parisc/math-emu/ |
D | sfsub.c | 42 register unsigned int left, right, result, extent; in sgl_fsub() local 73 Sgl_makequietnan(result); in sgl_fsub() 74 *dstptr = result; in sgl_fsub() 215 Sgl_subtract(left,/*minus*/right,/*into*/result); in sgl_fsub() 216 if(Sgl_iszero_mantissa(result)) in sgl_fsub() 220 Sgl_setone_sign(result); in sgl_fsub() 224 Sgl_setzero_sign(result); in sgl_fsub() 226 *dstptr = result; in sgl_fsub() 232 Sgl_addition(left,right,/*into*/result); in sgl_fsub() 233 if(Sgl_isone_hidden(result)) in sgl_fsub() [all …]
|
D | sfadd.c | 42 register unsigned int left, right, result, extent; in sgl_fadd() local 75 Sgl_makequietnan(result); in sgl_fadd() 76 *dstptr = result; in sgl_fadd() 213 Sgl_subtract(left,/*minus*/right,/*into*/result); in sgl_fadd() 214 if(Sgl_iszero_mantissa(result)) in sgl_fadd() 218 Sgl_setone_sign(result); in sgl_fadd() 222 Sgl_setzero_sign(result); in sgl_fadd() 224 *dstptr = result; in sgl_fadd() 230 Sgl_addition(left,right,/*into*/result); in sgl_fadd() 231 if(Sgl_isone_hidden(result)) in sgl_fadd() [all …]
|
/kernel/linux/linux-5.10/arch/powerpc/platforms/ps3/ |
D | repository.c | 112 int result; in read_node() local 122 result = lv1_read_repository_node(lpar_id, n1, n2, n3, n4, &v1, in read_node() 125 if (result) { in read_node() 127 __func__, __LINE__, ps3_result(result)); in read_node() 168 int result; in ps3_repository_read_bus_type() local 171 result = read_node(PS3_LPAR_ID_PME, in ps3_repository_read_bus_type() 177 return result; in ps3_repository_read_bus_type() 183 int result; in ps3_repository_read_bus_num_dev() local 186 result = read_node(PS3_LPAR_ID_PME, in ps3_repository_read_bus_num_dev() 192 return result; in ps3_repository_read_bus_num_dev() [all …]
|
D | interrupt.c | 171 int result; in ps3_virq_setup() local 186 result = -ENOMEM; in ps3_virq_setup() 193 result = irq_set_chip_data(*virq, pd); in ps3_virq_setup() 195 if (result) { in ps3_virq_setup() 203 return result; in ps3_virq_setup() 208 return result; in ps3_virq_setup() 245 int result; in ps3_irq_plug_setup() local 248 result = ps3_virq_setup(cpu, outlet, virq); in ps3_irq_plug_setup() 250 if (result) { in ps3_irq_plug_setup() 259 result = lv1_connect_irq_plug_ext(pd->ppe_id, pd->thread_id, *virq, in ps3_irq_plug_setup() [all …]
|
D | device-init.c | 26 int result; in ps3_register_lpm_devices() local 42 result = ps3_repository_read_be_node_id(0, &dev->lpm.node_id); in ps3_register_lpm_devices() 44 if (result) { in ps3_register_lpm_devices() 50 result = ps3_repository_read_lpm_privileges(dev->lpm.node_id, &tmp1, in ps3_register_lpm_devices() 53 if (result) { in ps3_register_lpm_devices() 64 result = -ENODEV; in ps3_register_lpm_devices() 71 result = -EPERM; in ps3_register_lpm_devices() 79 result = ps3_repository_read_pu_id(0, &dev->lpm.pu_id); in ps3_register_lpm_devices() 81 if (result) { in ps3_register_lpm_devices() 87 result = ps3_system_bus_device_register(dev); in ps3_register_lpm_devices() [all …]
|
/kernel/linux/linux-5.10/arch/alpha/lib/ |
D | checksum.c | 57 unsigned long result; in csum_tcpudp_nofold() local 59 result = (__force u64)saddr + (__force u64)daddr + in csum_tcpudp_nofold() 65 result = (result & 0xffffffff) + (result >> 32); in csum_tcpudp_nofold() 67 result = (result & 0xffffffff) + (result >> 32); in csum_tcpudp_nofold() 68 return (__force __wsum)result; in csum_tcpudp_nofold() 82 unsigned long result = 0; in do_csum() local 88 result = *buff << 8; in do_csum() 95 result += *(unsigned short *) buff; in do_csum() 103 result += *(unsigned int *) buff; in do_csum() 115 result += carry; in do_csum() [all …]
|
/kernel/linux/linux-5.10/drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/ |
D | phy_qmath.c | 28 s32 result; in qm_muls16() local 30 result = 0x7fffffff; in qm_muls16() 32 result = ((s32) (op1) * (s32) (op2)); in qm_muls16() 34 return (s16) (result >> 15); in qm_muls16() 44 s32 result; in qm_add32() local 45 result = op1 + op2; in qm_add32() 46 if (op1 < 0 && op2 < 0 && result > 0) in qm_add32() 47 result = 0x80000000; in qm_add32() 48 else if (op1 > 0 && op2 > 0 && result < 0) in qm_add32() 49 result = 0x7fffffff; in qm_add32() [all …]
|
/kernel/linux/linux-5.10/drivers/net/wimax/i2400m/ |
D | driver.c | 116 int result; in i2400m_op_msg_from_user() local 125 result = PTR_ERR(ack_skb); in i2400m_op_msg_from_user() 128 result = wimax_msg_send(&i2400m->wimax_dev, ack_skb); in i2400m_op_msg_from_user() 132 genl_info, result); in i2400m_op_msg_from_user() 133 return result; in i2400m_op_msg_from_user() 142 int result; member 165 int result; in i2400m_op_reset() local 170 .result = 0, in i2400m_op_reset() 177 result = i2400m_reset(i2400m, I2400M_RT_WARM); in i2400m_op_reset() 178 if (result < 0) in i2400m_op_reset() [all …]
|
D | usb-fw.c | 92 int result; in i2400mu_tx_bulk_out() local 98 result = usb_autopm_get_interface(i2400mu->usb_iface); in i2400mu_tx_bulk_out() 99 if (result < 0) { in i2400mu_tx_bulk_out() 100 dev_err(dev, "BM-CMD: can't get autopm: %d\n", result); in i2400mu_tx_bulk_out() 106 result = usb_bulk_msg(i2400mu->usb_dev, pipe, buf, buf_size, &len, 200); in i2400mu_tx_bulk_out() 107 switch (result) { in i2400mu_tx_bulk_out() 112 result = -EIO; in i2400mu_tx_bulk_out() 115 result = len; in i2400mu_tx_bulk_out() 144 result = -ESHUTDOWN; in i2400mu_tx_bulk_out() 154 result = -ENODEV; in i2400mu_tx_bulk_out() [all …]
|
/kernel/linux/linux-5.10/include/linux/ |
D | mii.h | 117 u32 result = 0; in ethtool_adv_to_mii_adv_t() local 120 result |= ADVERTISE_10HALF; in ethtool_adv_to_mii_adv_t() 122 result |= ADVERTISE_10FULL; in ethtool_adv_to_mii_adv_t() 124 result |= ADVERTISE_100HALF; in ethtool_adv_to_mii_adv_t() 126 result |= ADVERTISE_100FULL; in ethtool_adv_to_mii_adv_t() 128 result |= ADVERTISE_PAUSE_CAP; in ethtool_adv_to_mii_adv_t() 130 result |= ADVERTISE_PAUSE_ASYM; in ethtool_adv_to_mii_adv_t() 132 return result; in ethtool_adv_to_mii_adv_t() 145 u32 result = 0; in linkmode_adv_to_mii_adv_t() local 148 result |= ADVERTISE_10HALF; in linkmode_adv_to_mii_adv_t() [all …]
|
/kernel/liteos_a/testsuites/unittest/libc/posix/pthread/full/ |
D | It_posix_pthread_053.cpp | 39 VOID *result; in pthread_f01() local 44 result = pthread_getspecific(g_key); in pthread_f01() 45 ICUNIT_GOTO_EQUAL(result, NULL, result, EXIT); in pthread_f01() 47 result = pthread_getspecific(g_key1); in pthread_f01() 48 ICUNIT_GOTO_EQUAL(result, NULL, result, EXIT); in pthread_f01() 50 result = pthread_getspecific(g_key2); in pthread_f01() 51 ICUNIT_GOTO_EQUAL(result, NULL, result, EXIT); in pthread_f01() 68 result = pthread_getspecific(g_key2); in pthread_f01() 69 ICUNIT_GOTO_STRING_EQUAL((char *)result, "1234567890", (char *)result, EXIT); in pthread_f01() 83 VOID *result; in pthread_f02() local [all …]
|
/kernel/linux/linux-5.10/arch/x86/lib/ |
D | csum-partial_64.c | 38 unsigned long result = 0; in do_csum() local 41 return result; in do_csum() 44 result = *buff << 8; in do_csum() 51 result += *(unsigned short *)buff; in do_csum() 61 result += *(unsigned int *) buff; in do_csum() 81 : [res] "=r" (result) in do_csum() 83 "[res]" (result)); in do_csum() 93 : "=r" (result) in do_csum() 95 "r" (zero), "0" (result)); in do_csum() 99 result = add32_with_carry(result>>32, in do_csum() [all …]
|
/kernel/linux/linux-5.10/drivers/nfc/st95hf/ |
D | core.c | 307 int result = 0; in st95hf_echo_command() local 310 result = st95hf_send_recv_cmd(st95context, CMD_ECHO, 0, NULL, false); in st95hf_echo_command() 311 if (result) in st95hf_echo_command() 312 return result; in st95hf_echo_command() 315 result = st95hf_spi_recv_echo_res(&st95context->spicontext, in st95hf_echo_command() 317 if (result) { in st95hf_echo_command() 319 "err: echo response receive error = 0x%x\n", result); in st95hf_echo_command() 320 return result; in st95hf_echo_command() 334 int result = 0; in secondary_configuration_type4a() local 338 result = st95hf_send_recv_cmd(stcontext, in secondary_configuration_type4a() [all …]
|
/kernel/linux/linux-5.10/drivers/iio/imu/inv_mpu6050/ |
D | inv_mpu_core.c | 404 int result; in inv_mpu6050_set_power_itg() local 406 result = inv_mpu6050_pwr_mgmt_1_write(st, !power_on, -1, -1); in inv_mpu6050_set_power_itg() 407 if (result) in inv_mpu6050_set_power_itg() 408 return result; in inv_mpu6050_set_power_itg() 445 int result; in inv_mpu6050_set_lpf_regs() local 447 result = regmap_write(st->map, st->reg->lpf, val); in inv_mpu6050_set_lpf_regs() 448 if (result) in inv_mpu6050_set_lpf_regs() 449 return result; in inv_mpu6050_set_lpf_regs() 481 int result; in inv_mpu6050_init_config() local 485 result = inv_mpu6050_set_gyro_fsr(st, st->chip_config.fsr); in inv_mpu6050_init_config() [all …]
|
/kernel/linux/linux-5.10/fs/hpfs/ |
D | namei.c | 32 struct inode *result; in hpfs_mkdir() local 54 result = new_inode(dir->i_sb); in hpfs_mkdir() 55 if (!result) in hpfs_mkdir() 57 hpfs_init_inode(result); in hpfs_mkdir() 58 result->i_ino = fno; in hpfs_mkdir() 59 hpfs_i(result)->i_parent_dir = dir->i_ino; in hpfs_mkdir() 60 hpfs_i(result)->i_dno = dno; in hpfs_mkdir() 61 …result->i_ctime.tv_sec = result->i_mtime.tv_sec = result->i_atime.tv_sec = local_to_gmt(dir->i_sb,… in hpfs_mkdir() 62 result->i_ctime.tv_nsec = 0; in hpfs_mkdir() 63 result->i_mtime.tv_nsec = 0; in hpfs_mkdir() [all …]
|
/kernel/linux/linux-5.10/net/wimax/ |
D | op-rfkill.c | 81 int result; in wimax_report_rfkill_hw() local 90 result = wimax_dev_is_ready(wimax_dev); in wimax_report_rfkill_hw() 91 if (result < 0) in wimax_report_rfkill_hw() 102 result = rfkill_set_hw_state(wimax_dev->rfkill, in wimax_report_rfkill_hw() 110 wimax_dev, state, result); in wimax_report_rfkill_hw() 136 int result; in wimax_report_rfkill_sw() local 145 result = wimax_dev_is_ready(wimax_dev); in wimax_report_rfkill_sw() 146 if (result < 0) in wimax_report_rfkill_sw() 162 wimax_dev, state, result); in wimax_report_rfkill_sw() 193 int result = 0; in __wimax_rf_toggle_radio() local [all …]
|
/kernel/linux/linux-5.10/arch/ia64/lib/ |
D | csum_partial_copy.c | 38 unsigned long result = (unsigned long)psum; in do_csum_c() local 44 result = *buff << 8; in do_csum_c() 51 result += *(unsigned short *) buff; in do_csum_c() 59 result += *(unsigned int *) buff; in do_csum_c() 71 result += carry; in do_csum_c() 72 result += w; in do_csum_c() 73 carry = (w > result); in do_csum_c() 75 result += carry; in do_csum_c() 76 result = (result & 0xffffffff) + (result >> 32); in do_csum_c() 79 result += *(unsigned int *) buff; in do_csum_c() [all …]
|
/kernel/linux/linux-5.10/lib/ |
D | checksum.c | 49 unsigned int result = 0; in do_csum() local 56 result += (*buff << 8); in do_csum() 58 result = *buff; in do_csum() 65 result += *(unsigned short *) buff; in do_csum() 75 result += carry; in do_csum() 76 result += w; in do_csum() 77 carry = (w > result); in do_csum() 79 result += carry; in do_csum() 80 result = (result & 0xffff) + (result >> 16); in do_csum() 83 result += *(unsigned short *) buff; in do_csum() [all …]
|
/kernel/linux/linux-5.10/arch/parisc/lib/ |
D | checksum.c | 40 unsigned int result = 0; in do_csum() local 46 result = be16_to_cpu(*buff); in do_csum() 53 result += *(unsigned short *) buff; in do_csum() 66 addc(result, r1); in do_csum() 67 addc(result, r2); in do_csum() 68 addc(result, r3); in do_csum() 69 addc(result, r4); in do_csum() 77 addc(result, w); in do_csum() 79 result = (result & 0xffff) + (result >> 16); in do_csum() 82 result += *(unsigned short *) buff; in do_csum() [all …]
|
/kernel/linux/linux-5.10/drivers/staging/wlan-ng/ |
D | prism2mgmt.c | 131 int result = 0; in prism2mgmt_scan() local 147 result = 1; in prism2mgmt_scan() 155 result = hfa384x_drvr_getconfig16(hw, in prism2mgmt_scan() 158 if (result) { in prism2mgmt_scan() 160 "getconfig(ROAMMODE) failed. result=%d\n", result); in prism2mgmt_scan() 167 result = hfa384x_drvr_setconfig16(hw, in prism2mgmt_scan() 170 if (result) { in prism2mgmt_scan() 173 result); in prism2mgmt_scan() 189 result = in prism2mgmt_scan() 192 if (result) { in prism2mgmt_scan() [all …]
|
/kernel/linux/linux-5.10/drivers/ps3/ |
D | ps3-vuart.c | 124 int result; in _dump_port_params() local 129 result = lv1_get_virtual_uart_param(port_number, i, &value); in _dump_port_params() 131 if (result) { in _dump_port_params() 133 port_number, strings[i], ps3_result(result)); in _dump_port_params() 145 int result; in ps3_vuart_get_triggers() local 150 result = lv1_get_virtual_uart_param(dev->port_number, in ps3_vuart_get_triggers() 154 if (result) { in ps3_vuart_get_triggers() 156 __func__, __LINE__, ps3_result(result)); in ps3_vuart_get_triggers() 157 return result; in ps3_vuart_get_triggers() 160 result = lv1_get_virtual_uart_param(dev->port_number, in ps3_vuart_get_triggers() [all …]
|
/kernel/linux/linux-5.10/drivers/usb/storage/ |
D | option_ms.c | 38 int result; in option_rezero() local 47 result = usb_stor_bulk_transfer_buf(us, in option_rezero() 50 if (result != USB_STOR_XFER_GOOD) { in option_rezero() 51 result = USB_STOR_XFER_ERROR; in option_rezero() 68 result = USB_STOR_XFER_GOOD; in option_rezero() 72 return result; in option_rezero() 84 int result; in option_inquiry() local 93 result = usb_stor_bulk_transfer_buf(us, in option_inquiry() 96 if (result != USB_STOR_XFER_GOOD) { in option_inquiry() 97 result = USB_STOR_XFER_ERROR; in option_inquiry() [all …]
|
D | transport.c | 229 int result; in usb_stor_clear_halt() local 235 result = usb_stor_control_msg(us, us->send_ctrl_pipe, in usb_stor_clear_halt() 240 if (result >= 0) in usb_stor_clear_halt() 243 usb_stor_dbg(us, "result = %d\n", result); in usb_stor_clear_halt() 244 return result; in usb_stor_clear_halt() 257 unsigned int length, int result, unsigned int partial) in interpret_urb_result() argument 260 result, partial, length); in interpret_urb_result() 261 switch (result) { in interpret_urb_result() 326 int result; in usb_stor_ctrl_transfer() local 342 result = usb_stor_msg_common(us, 0); in usb_stor_ctrl_transfer() [all …]
|