Home
last modified time | relevance | path

Searched refs:result (Results 1 – 25 of 2537) sorted by relevance

12345678910>>...102

/linux-6.1.9/lib/crypto/
Dcurve25519-selftest.c11 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 …]
/linux-6.1.9/arch/parisc/math-emu/
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()
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 …]
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()
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 …]
Dfcnvxf.c52 register unsigned int result = 0; in sgl_to_sgl_fcnvxf() local
59 Sgl_setone_sign(result); in sgl_to_sgl_fcnvxf()
63 Sgl_setzero_sign(result); in sgl_to_sgl_fcnvxf()
66 Sgl_setzero(result); in sgl_to_sgl_fcnvxf()
67 *dstptr = result; in sgl_to_sgl_fcnvxf()
84 Sgl_set_mantissa(result, src >> (SGL_EXP_LENGTH-1)); in sgl_to_sgl_fcnvxf()
85 Sgl_set_exponent(result, 30+SGL_BIAS - dst_exponent); in sgl_to_sgl_fcnvxf()
91 if (Sgl_iszero_sign(result)) in sgl_to_sgl_fcnvxf()
92 Sgl_increment(result); in sgl_to_sgl_fcnvxf()
95 if (Sgl_isone_sign(result)) in sgl_to_sgl_fcnvxf()
[all …]
/linux-6.1.9/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-6.1.9/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-6.1.9/drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/
Dphy_qmath.c28 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 …]
/linux-6.1.9/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-6.1.9/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-6.1.9/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-6.1.9/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-6.1.9/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-6.1.9/lib/
Dchecksum.c49 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 …]
/linux-6.1.9/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()
173 result); in prism2mgmt_scan()
189 result = in prism2mgmt_scan()
192 if (result) { in prism2mgmt_scan()
[all …]
Dprism2sta.c288 int result = 0; in prism2sta_mlmerequest() local
293 result = prism2mgmt_mibset_mibget(wlandev, msg); in prism2sta_mlmerequest()
297 result = prism2mgmt_mibset_mibget(wlandev, msg); in prism2sta_mlmerequest()
301 result = prism2mgmt_scan(wlandev, msg); in prism2sta_mlmerequest()
305 result = prism2mgmt_scan_results(wlandev, msg); in prism2sta_mlmerequest()
309 result = prism2mgmt_start(wlandev, msg); in prism2sta_mlmerequest()
316 result = prism2mgmt_readpda(wlandev, msg); in prism2sta_mlmerequest()
320 result = prism2mgmt_ramdl_state(wlandev, msg); in prism2sta_mlmerequest()
324 result = prism2mgmt_ramdl_write(wlandev, msg); in prism2sta_mlmerequest()
328 result = prism2mgmt_flashdl_state(wlandev, msg); in prism2sta_mlmerequest()
[all …]
/linux-6.1.9/arch/parisc/lib/
Dchecksum.c40 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 …]
/linux-6.1.9/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-6.1.9/drivers/usb/storage/
Doption_ms.c38 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 …]
Dtransport.c229 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 …]
Dsddr09.c329 int result;
334 result = sddr09_send_scsi_command(us, command, 6);
336 usb_stor_dbg(us, "sddr09_test_unit_ready returns %d\n", result);
338 return result;
350 int result; in sddr09_request_sense() local
357 result = sddr09_send_scsi_command(us, command, 12); in sddr09_request_sense()
358 if (result) in sddr09_request_sense()
359 return result; in sddr09_request_sense()
361 result = usb_stor_bulk_transfer_buf(us, us->recv_bulk_pipe, in sddr09_request_sense()
363 return (result == USB_STOR_XFER_GOOD ? 0 : -EIO); in sddr09_request_sense()
[all …]
/linux-6.1.9/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-6.1.9/drivers/gpu/drm/amd/display/dc/core/
Ddc_link_dpia.c86 is_hpd_high = cmd.query_hpd.data.result; in dc_link_dpia_query_hpd_status()
93 cmd.query_hpd.data.result); in dc_link_dpia_query_hpd_status()
295 enum link_training_result result = LINK_TRAINING_CR_FAIL_LANE0; in dpia_training_cr_non_transparent() local
336 result = LINK_TRAINING_SUCCESS; in dpia_training_cr_non_transparent()
338 result = LINK_TRAINING_ABORT; in dpia_training_cr_non_transparent()
347 result = LINK_TRAINING_ABORT; in dpia_training_cr_non_transparent()
352 result = LINK_TRAINING_ABORT; in dpia_training_cr_non_transparent()
368 result = LINK_TRAINING_ABORT; in dpia_training_cr_non_transparent()
374 result = LINK_TRAINING_ABORT; in dpia_training_cr_non_transparent()
389 result = LINK_TRAINING_ABORT; in dpia_training_cr_non_transparent()
[all …]

12345678910>>...102