| /OK3568_Linux_fs/kernel/arch/parisc/math-emu/ |
| H A D | sfsqrt.c | 44 register unsigned int src, result; in sgl_fsqrt() local 120 Sgl_setzero(result); in sgl_fsqrt() 123 Sgl_addition(result,newbit,sum); in sgl_fsqrt() 126 Sgl_addition(result,(newbit<<1),result); in sgl_fsqrt() 134 Sgl_rightshiftby1(result); in sgl_fsqrt() 139 if (!even_exponent && Sgl_islessthan(result,src)) in sgl_fsqrt() 140 Sgl_increment(result); in sgl_fsqrt() 141 guardbit = Sgl_lowmantissa(result); in sgl_fsqrt() 142 Sgl_rightshiftby1(result); in sgl_fsqrt() 147 Sgl_increment(result); in sgl_fsqrt() [all …]
|
| H A D | sfrem.c | 41 register unsigned int opnd1, opnd2, result; in sgl_frem() local 57 Sgl_makequietnan(result); in sgl_frem() 58 *dstptr = result; in sgl_frem() 128 Sgl_makequietnan(result); in sgl_frem() 129 *dstptr = result; in sgl_frem() 136 result = opnd1; in sgl_frem() 178 Sgl_all(result) = ~Sgl_all(result); /* set sign */ in sgl_frem() 187 Sgl_set_exponentmantissa(result,opnd2); in sgl_frem() 196 Sgl_set_exponentmantissa(result,opnd1); in sgl_frem() 221 Sgl_setzero_exponentmantissa(result); in sgl_frem() [all …]
|
| H A D | fcnvff.c | 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() 189 Sgl_setzero_exponentmantissa(result); in dbl_to_sgl_fcnvff() 190 *dstptr = result; in dbl_to_sgl_fcnvff() [all …]
|
| /OK3568_Linux_fs/kernel/arch/powerpc/platforms/ps3/ |
| H A D | spu.c | 152 int result; in construct_spu() local 157 result = lv1_construct_logical_spe(PAGE_SHIFT, PAGE_SHIFT, PAGE_SHIFT, in construct_spu() 166 if (result) { in construct_spu() 168 __func__, __LINE__, ps3_result(result)); in construct_spu() 169 return result; in construct_spu() 172 return result; in construct_spu() 243 int result; in setup_interrupts() local 245 result = ps3_spe_irq_setup(PS3_BINDING_CPU_ANY, spu_pdata(spu)->spe_id, in setup_interrupts() 248 if (result) in setup_interrupts() 251 result = ps3_spe_irq_setup(PS3_BINDING_CPU_ANY, spu_pdata(spu)->spe_id, in setup_interrupts() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/platform/x86/ |
| H A D | toshiba_bluetooth.c | 68 acpi_status result; in toshiba_bluetooth_present() local 76 result = acpi_evaluate_integer(handle, "_STA", NULL, &bt_present); in toshiba_bluetooth_present() 77 if (ACPI_FAILURE(result)) { in toshiba_bluetooth_present() 92 acpi_status result; in toshiba_bluetooth_status() local 95 result = acpi_evaluate_integer(handle, "BTST", NULL, &status); in toshiba_bluetooth_status() 96 if (ACPI_FAILURE(result)) { in toshiba_bluetooth_status() 106 acpi_status result; in toshiba_bluetooth_enable() local 108 result = acpi_evaluate_object(handle, "AUSB", NULL, NULL); in toshiba_bluetooth_enable() 109 if (ACPI_FAILURE(result)) { in toshiba_bluetooth_enable() 114 result = acpi_evaluate_object(handle, "BTPO", NULL, NULL); in toshiba_bluetooth_enable() [all …]
|
| H A D | intel_menlow.c | 79 unsigned long long result; in memory_get_cur_bandwidth() local 89 &arg_list, &result); in memory_get_cur_bandwidth() 93 *value = result; in memory_get_cur_bandwidth() 141 int result = -ENODEV; in intel_menlow_memory_add() local 156 result = PTR_ERR(cdev); in intel_menlow_memory_add() 161 result = sysfs_create_link(&device->dev.kobj, in intel_menlow_memory_add() 163 if (result) in intel_menlow_memory_add() 166 result = sysfs_create_link(&cdev->device.kobj, in intel_menlow_memory_add() 168 if (result) { in intel_menlow_memory_add() 174 return result; in intel_menlow_memory_add() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/usb/storage/ |
| H A D | sierra_ms.c | 50 int result; in sierra_set_ms_mode() local 52 result = usb_control_msg(udev, usb_sndctrlpipe(udev, 0), in sierra_set_ms_mode() 60 return result; in sierra_set_ms_mode() 67 int result; in sierra_get_swoc_info() local 71 result = usb_control_msg(udev, usb_rcvctrlpipe(udev, 0), in sierra_get_swoc_info() 82 return result; in sierra_get_swoc_info() 99 int result; in truinst_show() local 101 result = snprintf(buf, PAGE_SIZE, "Forced Mass Storage\n"); in truinst_show() 108 result = sierra_get_swoc_info(udev, swocInfo); in truinst_show() 109 if (result < 0) { in truinst_show() [all …]
|
| /OK3568_Linux_fs/kernel/fs/incfs/ |
| H A D | integrity.c | 19 struct incfs_hash_alg *result = NULL; in incfs_get_hash_alg() local 24 result = &sha256; in incfs_get_hash_alg() 27 if (result == NULL) in incfs_get_hash_alg() 31 shash = smp_load_acquire(&result->shash); in incfs_get_hash_alg() 33 return result; in incfs_get_hash_alg() 35 shash = crypto_alloc_shash(result->name, 0, 0); in incfs_get_hash_alg() 40 result->name, err); in incfs_get_hash_alg() 45 if (cmpxchg_release(&result->shash, NULL, shash) != NULL) in incfs_get_hash_alg() 48 return result; in incfs_get_hash_alg() 59 static bool read_u32(u8 **p, u8 *top, u32 *result) in read_u32() argument [all …]
|
| /OK3568_Linux_fs/kernel/drivers/input/sensors/ |
| H A D | sensor-dev.c | 395 int result = 0; in sensor_get_id() local 401 result = sensor_rx_data(client, &temp, 1); in sensor_get_id() 403 if (!result) in sensor_get_id() 407 if (result) in sensor_get_id() 408 return result; in sensor_get_id() 412 result = -1; in sensor_get_id() 416 return result; in sensor_get_id() 422 int result = 0; in sensor_initial() local 425 result = sensor->ops->init(client); in sensor_initial() 426 if (result < 0) { in sensor_initial() [all …]
|
| /OK3568_Linux_fs/u-boot/arch/arm/mach-keystone/ |
| H A D | mon.c | 18 int result; in mon_install() local 29 : "=&r" (result) in mon_install() 32 return result; in mon_install() 37 int result; in mon_power_on() local 47 : "=&r" (result) in mon_power_on() 50 return result; in mon_power_on() 55 int result; in mon_power_off() local 64 : "=&r" (result) in mon_power_off() 67 return result; in mon_power_off() 89 int result; in k2_hs_bm_auth() local [all …]
|
| /OK3568_Linux_fs/kernel/drivers/infiniband/hw/efa/ |
| H A 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 …]
|
| /OK3568_Linux_fs/kernel/drivers/input/sensors/lsensor/ |
| H A D | cm3217.c | 53 int result = 0; in sensor_active() local 72 result = sensor_write_reg_normal(client, sensor->ops->ctrl_data); in sensor_active() 73 if(result) in sensor_active() 76 return result; in sensor_active() 85 int result = 0; in sensor_init() local 87 result = sensor->ops->active(client,0,0); in sensor_init() 88 if(result) in sensor_init() 91 return result; in sensor_init() 98 result = sensor_write_reg_normal(client, sensor->ops->ctrl_data); in sensor_init() 99 if(result) in sensor_init() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/acpi/ |
| H A D | sbs.c | 329 int result = 0; in acpi_manager_get_info() local 332 result = acpi_smbus_read(sbs->hc, SMBUS_READ_WORD, ACPI_SBS_MANAGER, in acpi_manager_get_info() 334 if (!result) in acpi_manager_get_info() 336 return result; in acpi_manager_get_info() 341 int i, result = 0; in acpi_battery_get_info() local 344 result = acpi_smbus_read(battery->sbs->hc, in acpi_battery_get_info() 350 if (result) in acpi_battery_get_info() 353 return result; in acpi_battery_get_info() 358 int i, result = 0; in acpi_battery_get_state() local 365 result = acpi_smbus_read(battery->sbs->hc, in acpi_battery_get_state() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/usb/serial/ |
| H A D | ipw.c | 138 int result; in ipw_open() local 148 result = usb_control_msg(udev, usb_sndctrlpipe(udev, 0), in ipw_open() 156 if (result < 0) in ipw_open() 157 dev_err(dev, "Init of modem failed (error = %d)\n", result); in ipw_open() 169 result = usb_control_msg(udev, usb_sndctrlpipe(udev, 0), in ipw_open() 177 if (result < 0) in ipw_open() 178 dev_err(dev, "Enabling bulk RxRead failed (error = %d)\n", result); in ipw_open() 182 result = usb_control_msg(udev, usb_sndctrlpipe(udev, 0), in ipw_open() 190 if (result < 0) in ipw_open() 191 dev_err(dev, "initial flowcontrol failed (error = %d)\n", result); in ipw_open() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/cpufreq/ |
| H A D | speedstep-smi.c | 64 u32 command, result, magic, dummy; in speedstep_smi_ownership() local 78 : "=D" (result), in speedstep_smi_ownership() 86 pr_debug("result is %x\n", result); in speedstep_smi_ownership() 88 return result; in speedstep_smi_ownership() 102 u32 command, result = 0, edi, high_mhz, low_mhz, dummy; in speedstep_smi_get_freqs() local 120 : "=a" (result), in speedstep_smi_get_freqs() 131 result, low_mhz, high_mhz); in speedstep_smi_get_freqs() 140 return result; in speedstep_smi_get_freqs() 150 unsigned int result = 0, command, new_state, dummy; in speedstep_set_state() local 179 retry, result); in speedstep_set_state() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/gpu/drm/amd/pm/powerplay/smumgr/ |
| H A D | iceland_smumgr.c | 237 int result; in iceland_start_smu() local 240 result = iceland_smu_upload_firmware_image(hwmgr); in iceland_start_smu() 241 if (result) in iceland_start_smu() 242 return result; in iceland_start_smu() 255 result = smu7_request_smu_load_fw(hwmgr); in iceland_start_smu() 257 return result; in iceland_start_smu() 600 int result; in iceland_populate_smc_voltage_table() local 602 result = iceland_get_std_voltage_value_sidd(hwmgr, tab, in iceland_populate_smc_voltage_table() 605 if (0 != result) { in iceland_populate_smc_voltage_table() 621 int result; in iceland_populate_smc_vddc_table() local [all …]
|
| H A D | vegam_smumgr.c | 102 int result = 0; in vegam_start_smu_in_protection_mode() local 111 result = smu7_upload_smu_firmware_image(hwmgr); in vegam_start_smu_in_protection_mode() 112 if (result != 0) in vegam_start_smu_in_protection_mode() 113 return result; in vegam_start_smu_in_protection_mode() 152 return result; in vegam_start_smu_in_protection_mode() 157 int result = 0; in vegam_start_smu_in_non_protection_mode() local 171 result = smu7_upload_smu_firmware_image(hwmgr); in vegam_start_smu_in_non_protection_mode() 172 if (result != 0) in vegam_start_smu_in_non_protection_mode() 173 return result; in vegam_start_smu_in_non_protection_mode() 189 return result; in vegam_start_smu_in_non_protection_mode() [all …]
|
| /OK3568_Linux_fs/buildroot/dl/qt5location/git/src/3rdparty/mapbox-gl-native/deps/boost/1.65.1/include/boost/geometry/algorithms/detail/relate/ |
| H A D | multi_point_geometry.hpp | 93 bool result() const { return m_boundary_found; } in result() function 106 return visitor.result(); in apply() 132 bool result() const { return m_boundary_found; } in result() function 150 return visitor.result(); in apply() 163 Result & result, in apply() 176 if (! (relate::may_update<interior, interior, '0', Transpose>(result) in apply() 177 || relate::may_update<interior, boundary, '0', Transpose>(result) in apply() 178 || relate::may_update<interior, exterior, '0', Transpose>(result) ) ) in apply() 186 relate::set<interior, exterior, '0', Transpose>(result); in apply() 194 relate::set<interior, interior, '0', Transpose>(result); in apply() [all …]
|
| /OK3568_Linux_fs/kernel/fs/hpfs/ |
| H A D | dir.c | 210 struct inode *result = NULL; in hpfs_lookup() local 244 result = iget_locked(dir->i_sb, ino); in hpfs_lookup() 245 if (!result) { in hpfs_lookup() 247 result = ERR_PTR(-ENOMEM); in hpfs_lookup() 250 if (result->i_state & I_NEW) { in hpfs_lookup() 251 hpfs_init_inode(result); in hpfs_lookup() 253 hpfs_read_inode(result); in hpfs_lookup() 255 hpfs_read_inode(result); in hpfs_lookup() 257 result->i_mode |= S_IFREG; in hpfs_lookup() 258 result->i_mode &= ~0111; in hpfs_lookup() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/ps3/ |
| H A D | ps3-lpm.c | 200 int result; in ps3_read_phys_ctr() local 210 result = lv1_set_lpm_counter(lpm_priv->lpm_id, 0, 0, 0, 0, &counter0415, in ps3_read_phys_ctr() 212 if (result) { in ps3_read_phys_ctr() 215 ps3_result(result)); in ps3_read_phys_ctr() 248 int result; in ps3_write_phys_ctr() local 285 result = lv1_set_lpm_counter(lpm_priv->lpm_id, in ps3_write_phys_ctr() 289 if (result) in ps3_write_phys_ctr() 292 phys_ctr, val, ps3_result(result)); in ps3_write_phys_ctr() 364 int result; in ps3_write_pm07_control() local 374 result = lv1_set_lpm_counter_control(lpm_priv->lpm_id, ctr, val, mask, in ps3_write_pm07_control() [all …]
|
| /OK3568_Linux_fs/kernel/arch/alpha/boot/ |
| H A D | main.c | 38 unsigned long result; in find_pa() local 40 result = vptb[address >> 13]; in find_pa() 41 result >>= 32; in find_pa() 42 result <<= 13; in find_pa() 43 result |= address & 0x1fff; in find_pa() 44 return (void *) result; in find_pa() 107 long result; in openboot() local 109 result = callback_getenv(ENV_BOOTED_DEV, bootdev, 255); in openboot() 110 if (result < 0) in openboot() 111 return result; in openboot() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/isdn/mISDN/ |
| H A D | dsp_dtmf.c | 126 s32 result[NCOEFF], tresh, treshl; in dsp_dtmf_goertzel_decode() local 166 result[k] = in dsp_dtmf_goertzel_decode() 200 result[k] = in dsp_dtmf_goertzel_decode() 212 if (result[i] < 0) in dsp_dtmf_goertzel_decode() 213 result[i] = 0; in dsp_dtmf_goertzel_decode() 214 if (result[i] > dsp->dtmf.treshold) { in dsp_dtmf_goertzel_decode() 215 if (result[i] > tresh) in dsp_dtmf_goertzel_decode() 216 tresh = result[i]; in dsp_dtmf_goertzel_decode() 236 result[0] / 10000, result[1] / 10000, result[2] / 10000, in dsp_dtmf_goertzel_decode() 237 result[3] / 10000, result[4] / 10000, result[5] / 10000, in dsp_dtmf_goertzel_decode() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/usb/host/ |
| H A D | ohci-ps3.c | 23 int result; in ps3_ohci_hc_start() local 33 result = ohci_run(ohci); in ps3_ohci_hc_start() 35 if (result < 0) { in ps3_ohci_hc_start() 41 return result; in ps3_ohci_hc_start() 69 int result; in ps3_ohci_probe() local 75 result = -ENODEV; in ps3_ohci_probe() 79 result = ps3_open_hv_device(dev); in ps3_ohci_probe() 81 if (result) { in ps3_ohci_probe() 83 __func__, __LINE__, ps3_result(result)); in ps3_ohci_probe() 84 result = -EPERM; in ps3_ohci_probe() [all …]
|
| /OK3568_Linux_fs/kernel/net/wimax/ |
| H A D | op-msg.c | 110 int result; in wimax_msg_alloc() local 119 result = -ENOMEM; in wimax_msg_alloc() 129 result = nla_put_u32(skb, WIMAX_GNL_MSG_IFIDX, in wimax_msg_alloc() 131 if (result < 0) { in wimax_msg_alloc() 136 result = nla_put_string(skb, WIMAX_GNL_MSG_PIPE_NAME, in wimax_msg_alloc() 138 if (result < 0) { in wimax_msg_alloc() 143 result = nla_put(skb, WIMAX_GNL_MSG_DATA, size, msg); in wimax_msg_alloc() 144 if (result < 0) { in wimax_msg_alloc() 146 "attribute: %d\n", msg, size, result); in wimax_msg_alloc() 156 return ERR_PTR(result); in wimax_msg_alloc() [all …]
|
| /OK3568_Linux_fs/u-boot/net/ |
| H A D | cdp.c | 52 ulong result = 0; in cdp_compute_csum() local 59 result = *buff << 8; in cdp_compute_csum() 65 result += *p++; in cdp_compute_csum() 67 if (result & 0x80000000) in cdp_compute_csum() 68 result = (result & 0xFFFF) + (result >> 16); in cdp_compute_csum() 78 result = (result & 0xffff0000) | in cdp_compute_csum() 79 ((result + leftover) & 0x0000ffff); in cdp_compute_csum() 81 while (result >> 16) in cdp_compute_csum() 82 result = (result & 0xFFFF) + (result >> 16); in cdp_compute_csum() 85 result = ((result >> 8) & 0xff) | in cdp_compute_csum() [all …]
|