Home
last modified time | relevance | path

Searched full:result (Results 1 – 25 of 3808) sorted by relevance

12345678910>>...153

/Linux-v6.1/arch/powerpc/platforms/ps3/
Drepository.c112 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 …]
Dinterrupt.c172 int result; in ps3_virq_setup() local
187 result = -ENOMEM; in ps3_virq_setup()
194 result = irq_set_chip_data(*virq, pd); in ps3_virq_setup()
196 if (result) { in ps3_virq_setup()
204 return result; in ps3_virq_setup()
209 return result; in ps3_virq_setup()
246 int result; in ps3_irq_plug_setup() local
249 result = ps3_virq_setup(cpu, outlet, virq); in ps3_irq_plug_setup()
251 if (result) { in ps3_irq_plug_setup()
260 result = lv1_connect_irq_plug_ext(pd->ppe_id, pd->thread_id, *virq, in ps3_irq_plug_setup()
[all …]
Ddevice-init.c26 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 …]
Dsystem-bus.c43 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()
69 dev_name(&dev->core), ps3_result(result)); in ps3_open_hv_device_sb()
70 result = -EPERM; in ps3_open_hv_device_sb()
75 return result; in ps3_open_hv_device_sb()
80 int result; in ps3_close_hv_device_sb() local
88 result = 0; in ps3_close_hv_device_sb()
[all …]
/Linux-v6.1/fs/hpfs/
Dnamei.c33 struct inode *result; in hpfs_mkdir() local
55 result = new_inode(dir->i_sb); in hpfs_mkdir()
56 if (!result) in hpfs_mkdir()
58 hpfs_init_inode(result); in hpfs_mkdir()
59 result->i_ino = fno; in hpfs_mkdir()
60 hpfs_i(result)->i_parent_dir = dir->i_ino; in hpfs_mkdir()
61 hpfs_i(result)->i_dno = dno; in hpfs_mkdir()
62result->i_ctime.tv_sec = result->i_mtime.tv_sec = result->i_atime.tv_sec = local_to_gmt(dir->i_sb,… in hpfs_mkdir()
63 result->i_ctime.tv_nsec = 0; in hpfs_mkdir()
64 result->i_mtime.tv_nsec = 0; in hpfs_mkdir()
[all …]
/Linux-v6.1/arch/xtensa/include/asm/
Datomic.h62 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 …]
/Linux-v6.1/arch/parisc/math-emu/
Dsfadd.c42 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 …]
Dsfsub.c42 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 …]
Dfcnvfx.c52 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 …]
Dfcnvfu.c52 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 …]
Dsfdiv.c40 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 …]
Dsfmpy.c43 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 …]
Dfcnvff.c52 Dbl_allp1(resultp1) = Sgl_all(src); /* set sign of result */ in sgl_to_dbl_fcnvff()
134 register unsigned int srcp1, srcp2, result; in dbl_to_sgl_fcnvff() local
142 Sgl_all(result) = Dbl_allp1(srcp1); /* set sign of result */ in dbl_to_sgl_fcnvff()
154 Sgl_setinfinity_exponentmantissa(result); in dbl_to_sgl_fcnvff()
155 *dstptr = result; in dbl_to_sgl_fcnvff()
173 Sgl_setinfinity_exponent(result); in dbl_to_sgl_fcnvff()
174 Sgl_set_mantissa(result,Dallp1(srcp1)<<3 | Dallp2(srcp2)>>29); in dbl_to_sgl_fcnvff()
175 if (Sgl_iszero_mantissa(result)) Sgl_set_quiet(result); in dbl_to_sgl_fcnvff()
176 *dstptr = result; in dbl_to_sgl_fcnvff()
180 * Generate result in dbl_to_sgl_fcnvff()
[all …]
/Linux-v6.1/drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/
Dphy_qmath.c10 * 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 …]
/Linux-v6.1/drivers/iio/imu/inv_mpu6050/
Dinv_mpu_core.c435 int result; in inv_mpu6050_set_power_itg() local
437 result = inv_mpu6050_pwr_mgmt_1_write(st, !power_on, -1, -1); in inv_mpu6050_set_power_itg()
438 if (result) in inv_mpu6050_set_power_itg()
439 return result; in inv_mpu6050_set_power_itg()
476 int result; in inv_mpu6050_set_lpf_regs() local
478 result = regmap_write(st->map, st->reg->lpf, val); in inv_mpu6050_set_lpf_regs()
479 if (result) in inv_mpu6050_set_lpf_regs()
480 return result; in inv_mpu6050_set_lpf_regs()
512 int result; in inv_mpu6050_init_config() local
516 result = inv_mpu6050_set_gyro_fsr(st, st->chip_config.fsr); in inv_mpu6050_init_config()
[all …]
/Linux-v6.1/arch/alpha/lib/
Dchecksum.c57 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 …]
/Linux-v6.1/include/linux/
Dmii.h117 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 …]
/Linux-v6.1/drivers/ps3/
Dps3-vuart.c124 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 …]
/Linux-v6.1/drivers/nfc/st95hf/
Dcore.c306 int result = 0; in st95hf_echo_command() local
309 result = st95hf_send_recv_cmd(st95context, CMD_ECHO, 0, NULL, false); in st95hf_echo_command()
310 if (result) in st95hf_echo_command()
311 return result; in st95hf_echo_command()
314 result = st95hf_spi_recv_echo_res(&st95context->spicontext, in st95hf_echo_command()
316 if (result) { in st95hf_echo_command()
318 "err: echo response receive error = 0x%x\n", result); in st95hf_echo_command()
319 return result; in st95hf_echo_command()
333 int result = 0; in secondary_configuration_type4a() local
337 result = st95hf_send_recv_cmd(stcontext, in secondary_configuration_type4a()
[all …]
/Linux-v6.1/drivers/infiniband/hw/efa/
Defa_com_cmd.c93 struct efa_com_query_qp_result *result) in efa_com_query_qp() argument
115 result->qp_state = resp.qp_state; in efa_com_query_qp()
116 result->qkey = resp.qkey; in efa_com_query_qp()
117 result->sq_draining = resp.sq_draining; in efa_com_query_qp()
118 result->sq_psn = resp.sq_psn; in efa_com_query_qp()
119 result->rnr_retry = resp.rnr_retry; in efa_com_query_qp()
152 struct efa_com_create_cq_result *result) in efa_com_create_cq() argument
190 result->cq_idx = cmd_completion.cq_idx; in efa_com_create_cq()
191 result->actual_depth = params->cq_depth; in efa_com_create_cq()
192 result->db_off = cmd_completion.db_offset; in efa_com_create_cq()
[all …]
/Linux-v6.1/drivers/staging/wlan-ng/
Dprism2mgmt.c131 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 …]
/Linux-v6.1/drivers/platform/x86/
Dmsi-laptop.c159 int result; in get_lcd_level() local
161 result = ec_transaction(MSI_EC_COMMAND_LCD_LEVEL, &wdata, 1, in get_lcd_level()
163 if (result < 0) in get_lcd_level()
164 return result; in get_lcd_level()
172 int result; in get_auto_brightness() local
174 result = ec_transaction(MSI_EC_COMMAND_LCD_LEVEL, &wdata, 1, in get_auto_brightness()
176 if (result < 0) in get_auto_brightness()
177 return result; in get_auto_brightness()
185 int result; in set_auto_brightness() local
189 result = ec_transaction(MSI_EC_COMMAND_LCD_LEVEL, wdata, 1, in set_auto_brightness()
[all …]
/Linux-v6.1/arch/ia64/lib/
Dcsum_partial_copy.c38 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 …]
/Linux-v6.1/tools/testing/kunit/
Dkunit_tool_test.py95 result = kunit_parser.extract_tap_lines(file.readlines())
96 self.assertContains('TAP version 14', result)
97 self.assertContains('# Subtest: example', result)
98 self.assertContains('1..2', result)
99 self.assertContains('ok 1 - example_simple_test', result)
100 self.assertContains('ok 2 - example_mock_test', result)
101 self.assertContains('ok 1 - example', result)
106 result = kunit_parser.extract_tap_lines(file.readlines())
107 self.assertContains('TAP version 14', result)
108 self.assertContains('# Subtest: kunit-resource-test', result)
[all …]
/Linux-v6.1/arch/um/drivers/
Dvector_user.c80 struct arglist *result; in uml_parse_vector_ifspec() local
86 result = uml_kmalloc(sizeof(struct arglist), UM_GFP_KERNEL); in uml_parse_vector_ifspec()
87 if (result == NULL) in uml_parse_vector_ifspec()
89 result->numargs = 0; in uml_parse_vector_ifspec()
94 result->tokens[result->numargs] = arg + pos; in uml_parse_vector_ifspec()
96 result->values[result->numargs] = arg + pos; in uml_parse_vector_ifspec()
97 result->numargs++; in uml_parse_vector_ifspec()
115 return result; in uml_parse_vector_ifspec()
118 kfree(result); in uml_parse_vector_ifspec()
202 struct vector_fds *result = NULL; in user_init_tap_fds() local
[all …]

12345678910>>...153