/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 …]
|
D | system-bus.c | 43 int result; in ps3_open_hv_device_sb() local 51 result = 0; in ps3_open_hv_device_sb() 59 result = 0; in ps3_open_hv_device_sb() 64 result = lv1_open_device(dev->bus_id, dev->dev_id, 0); in ps3_open_hv_device_sb() 66 if (result) { in ps3_open_hv_device_sb() 68 __LINE__, ps3_result(result)); in ps3_open_hv_device_sb() 69 result = -EPERM; in ps3_open_hv_device_sb() 74 return result; in ps3_open_hv_device_sb() 79 int result; in ps3_close_hv_device_sb() local 87 result = 0; in ps3_close_hv_device_sb() [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/arch/xtensa/include/asm/ |
D | atomic.h | 62 int result; \ 66 " " #op " %[result], %[tmp], %[i]\n" \ 67 " s32ex %[result], %[addr]\n" \ 68 " getex %[result]\n" \ 69 " beqz %[result], 1b\n" \ 70 : [result] "=&a" (result), [tmp] "=&a" (tmp) \ 80 int result; \ 84 " " #op " %[result], %[tmp], %[i]\n" \ 85 " s32ex %[result], %[addr]\n" \ 86 " getex %[result]\n" \ [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() 186 /* Left is not a zero and must be the result. Trapped in sgl_fsub() 187 * underflows are signaled if left is denormalized. Result in sgl_fsub() 210 /* Both operands are denormalized. The result must be exact 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() [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() 185 /* Left is not a zero and must be the result. Trapped in sgl_fadd() 186 * underflows are signaled if left is denormalized. Result in sgl_fadd() 208 /* Both operands are denormalized. The result must be exact 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() [all …]
|
D | fcnvfx.c | 52 register int src_exponent, result; in sgl_to_sgl_fcnvfx() local 65 if (Sgl_iszero_sign(src)) result = 0x7fffffff; in sgl_to_sgl_fcnvfx() 66 else result = 0x80000000; in sgl_to_sgl_fcnvfx() 72 *dstptr = result; in sgl_to_sgl_fcnvfx() 77 * Generate result in sgl_to_sgl_fcnvfx() 83 if (Sgl_isone_sign(src)) result = -Sgl_all(temp); in sgl_to_sgl_fcnvfx() 84 else result = Sgl_all(temp); in sgl_to_sgl_fcnvfx() 89 /* round result */ in sgl_to_sgl_fcnvfx() 92 if (Sgl_iszero_sign(src)) result++; in sgl_to_sgl_fcnvfx() 95 if (Sgl_isone_sign(src)) result--; in sgl_to_sgl_fcnvfx() [all …]
|
D | fcnvfu.c | 52 register unsigned int src, result; in sgl_to_sgl_fcnvfu() local 64 result = 0; in sgl_to_sgl_fcnvfu() 66 result = 0xffffffff; in sgl_to_sgl_fcnvfu() 72 *dstptr = result; in sgl_to_sgl_fcnvfu() 76 * Generate result in sgl_to_sgl_fcnvfu() 84 result = 0; in sgl_to_sgl_fcnvfu() 89 *dstptr = result; in sgl_to_sgl_fcnvfu() 93 Suint_from_sgl_mantissa(src,src_exponent,result); in sgl_to_sgl_fcnvfu() 98 /* round result */ in sgl_to_sgl_fcnvfu() 101 result++; in sgl_to_sgl_fcnvfu() [all …]
|
D | sfmpy.c | 43 register unsigned int opnd1, opnd2, opnd3, result; in sgl_fmpy() local 51 * set sign bit of result in sgl_fmpy() 53 if (Sgl_sign(opnd1) ^ Sgl_sign(opnd2)) Sgl_setnegativezero(result); in sgl_fmpy() 54 else Sgl_setzero(result); in sgl_fmpy() 69 Sgl_makequietnan(result); in sgl_fmpy() 70 *dstptr = result; in sgl_fmpy() 76 Sgl_setinfinity_exponentmantissa(result); in sgl_fmpy() 77 *dstptr = result; in sgl_fmpy() 130 Sgl_setinfinity_exponentmantissa(result); in sgl_fmpy() 131 *dstptr = result; in sgl_fmpy() [all …]
|
D | sfdiv.c | 40 register unsigned int opnd1, opnd2, opnd3, result; in sgl_fdiv() local 48 * set sign bit of result in sgl_fdiv() 50 if (Sgl_sign(opnd1) ^ Sgl_sign(opnd2)) Sgl_setnegativezero(result); in sgl_fdiv() 51 else Sgl_setzero(result); in sgl_fdiv() 66 Sgl_makequietnan(result); in sgl_fdiv() 67 *dstptr = result; in sgl_fdiv() 73 Sgl_setinfinity_exponentmantissa(result); in sgl_fdiv() 74 *dstptr = result; in sgl_fdiv() 118 Sgl_setzero_exponentmantissa(result); in sgl_fdiv() 119 *dstptr = result; in sgl_fdiv() [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/drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/ |
D | phy_qmath.c | 10 * To fit the output into 16 bits the 32 bit multiplication result is right 19 * Description: This function make 16 bit multiplication and return the result 20 * in 16 bits. To fit the multiplication result into 16 bits the multiplication 21 * result is right shifted by 15 bits. Right shifting 15 bits instead of 16 bits 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() 39 * result. If the result overflow 32 bits, the output will be saturated to 44 s32 result; in qm_add32() local [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/tools/testing/kunit/ |
D | kunit_tool_test.py | 104 result = kunit_parser.isolate_kunit_output(file.readlines()) 105 self.assertContains('TAP version 14', result) 106 self.assertContains(' # Subtest: example', result) 107 self.assertContains(' 1..2', result) 108 self.assertContains(' ok 1 - example_simple_test', result) 109 self.assertContains(' ok 2 - example_mock_test', result) 110 self.assertContains('ok 1 - example', result) 117 result = kunit_parser.isolate_kunit_output(file.readlines()) 118 self.assertContains('TAP version 14', result) 119 self.assertContains(' # Subtest: kunit-resource-test', result) [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/liteos_a/fs/fat/os_adapt/ |
D | fatfs.c | 77 int fatfs_2_vfs(int result) in fatfs_2_vfs() argument 82 if (result < 0 || result >= VIRERR_BASE) { in fatfs_2_vfs() 83 return result; in fatfs_2_vfs() 86 if (result < 0) { in fatfs_2_vfs() 87 return result; in fatfs_2_vfs() 92 switch (result) { in fatfs_2_vfs() 261 FRESULT result; in init_cluster() local 276 result = sync_window(fs); /* Flush FAT */ in init_cluster() 277 if (result != FR_OK) { in init_cluster() 279 return result; in init_cluster() [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/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/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/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() 172 "setconfig(ROAMINGMODE) failed. result=%d\n", in prism2mgmt_scan() 173 result); in prism2mgmt_scan() 189 result = in prism2mgmt_scan() [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 …]
|
/kernel/linux/linux-5.10/drivers/infiniband/hw/efa/ |
D | efa_com_cmd.c | 99 struct efa_com_query_qp_result *result) in efa_com_query_qp() argument 121 result->qp_state = resp.qp_state; in efa_com_query_qp() 122 result->qkey = resp.qkey; in efa_com_query_qp() 123 result->sq_draining = resp.sq_draining; in efa_com_query_qp() 124 result->sq_psn = resp.sq_psn; in efa_com_query_qp() 125 result->rnr_retry = resp.rnr_retry; in efa_com_query_qp() 158 struct efa_com_create_cq_result *result) in efa_com_create_cq() argument 188 result->cq_idx = cmd_completion.cq_idx; in efa_com_create_cq() 189 result->actual_depth = params->cq_depth; in efa_com_create_cq() 223 struct efa_com_reg_mr_result *result) in efa_com_register_mr() argument [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 …]
|