| /OK3568_Linux_fs/buildroot/dl/qt5location/git/src/3rdparty/mapbox-gl-native/deps/boost/1.65.1/include/boost/math/tools/ |
| H A D | series.hpp | 32 result_type result = init_value; in sum_series() local 36 result += next_term; in sum_series() 38 while((fabs(factor * result) < fabs(next_term)) && --counter); in sum_series() 43 return result; in sum_series() 109 result_type result = func(); in kahan_sum_series() local 115 t = result + y; in kahan_sum_series() 116 carry = t - result; in kahan_sum_series() 118 result = t; in kahan_sum_series() 120 while(fabs(result) < fabs(factor * next_term)); in kahan_sum_series() 121 return result; in kahan_sum_series() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/gpu/drm/amd/pm/powerplay/hwmgr/ |
| H A D | ppatomctrl.c | 139 int result = 0; in atomctrl_initialize_mc_reg_table() local 149 result = -1; in atomctrl_initialize_mc_reg_table() 152 result = -1; in atomctrl_initialize_mc_reg_table() 155 if (0 == result) { in atomctrl_initialize_mc_reg_table() 158 result = atomctrl_set_mc_reg_address_table(reg_block, table); in atomctrl_initialize_mc_reg_table() 161 if (0 == result) { in atomctrl_initialize_mc_reg_table() 162 result = atomctrl_retrieve_ac_timing(module_index, in atomctrl_initialize_mc_reg_table() 166 return result; in atomctrl_initialize_mc_reg_table() 255 int result; in atomctrl_get_memory_pll_dividers_si() local 260 result = amdgpu_atom_execute_table(adev->mode_info.atom_context, in atomctrl_get_memory_pll_dividers_si() [all …]
|
| H A D | vega10_processpptables.c | 906 int result = 0; in init_powerplay_extended_tables() local 966 result = get_mm_clock_voltage_table(hwmgr, in init_powerplay_extended_tables() 970 if (!result && powerplay_table->usPowerTuneTableOffset) in init_powerplay_extended_tables() 971 result = get_tdp_table(hwmgr, in init_powerplay_extended_tables() 975 if (!result && powerplay_table->usSocclkDependencyTableOffset) in init_powerplay_extended_tables() 976 result = get_socclk_voltage_dependency_table(hwmgr, in init_powerplay_extended_tables() 980 if (!result && powerplay_table->usGfxclkDependencyTableOffset) in init_powerplay_extended_tables() 981 result = get_gfxclk_voltage_dependency_table(hwmgr, in init_powerplay_extended_tables() 985 if (!result && powerplay_table->usPixclkDependencyTableOffset) in init_powerplay_extended_tables() 986 result = get_pix_clk_voltage_dependency_table(hwmgr, in init_powerplay_extended_tables() [all …]
|
| H A D | processpptables.c | 627 PP_StateClassificationFlags result = 0; in make_classification_flags() local 630 result |= PP_StateClassificationFlag_Boot; in make_classification_flags() 633 result |= PP_StateClassificationFlag_Thermal; in make_classification_flags() 637 result |= PP_StateClassificationFlag_LimitedPowerSource; in make_classification_flags() 640 result |= PP_StateClassificationFlag_Rest; in make_classification_flags() 643 result |= PP_StateClassificationFlag_Forced; in make_classification_flags() 646 result |= PP_StateClassificationFlag_3DPerformance; in make_classification_flags() 650 result |= PP_StateClassificationFlag_ACOverdriveTemplate; in make_classification_flags() 653 result |= PP_StateClassificationFlag_Uvd; in make_classification_flags() 656 result |= PP_StateClassificationFlag_UvdHD; in make_classification_flags() [all …]
|
| /OK3568_Linux_fs/kernel/arch/mips/cavium-octeon/executive/ |
| H A D | cvmx-helper.c | 719 int result = 0; in __cvmx_helper_packet_hardware_enable() local 728 result = __cvmx_helper_xaui_enable(interface); in __cvmx_helper_packet_hardware_enable() 736 result = __cvmx_helper_rgmii_enable(interface); in __cvmx_helper_packet_hardware_enable() 743 result = __cvmx_helper_spi_enable(interface); in __cvmx_helper_packet_hardware_enable() 751 result = __cvmx_helper_sgmii_enable(interface); in __cvmx_helper_packet_hardware_enable() 755 result = __cvmx_helper_npi_enable(interface); in __cvmx_helper_packet_hardware_enable() 762 result = __cvmx_helper_loop_enable(interface); in __cvmx_helper_packet_hardware_enable() 765 return result; in __cvmx_helper_packet_hardware_enable() 1009 int result = 0; in cvmx_helper_initialize_packet_io_global() local 1033 result |= cvmx_helper_interface_probe(interface); in cvmx_helper_initialize_packet_io_global() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/input/sensors/lsensor/ |
| H A D | ls_ap321xx.c | 293 int result = 0; in sensor_active() local 297 result = ap321xx_lsensor_enable(client); in sensor_active() 298 if(!result){ in sensor_active() 304 result = ap321xx_lsensor_disable(client); in sensor_active() 306 if(result) in sensor_active() 309 return result; in sensor_active() 318 int result = 0; in sensor_init() local 320 result = ap321xx_product_detect(client); in sensor_init() 321 if (result) in sensor_init() 323 dev_err(&client->dev, "ret: %d, product version detect failed.\n",result); in sensor_init() [all …]
|
| /OK3568_Linux_fs/kernel/security/integrity/ima/ |
| H A D | ima_queue.c | 140 int result = 0; in ima_pcr_extend() local 143 return result; in ima_pcr_extend() 145 result = tpm_pcr_extend(ima_tpm_chip, pcr, digests_arg); in ima_pcr_extend() 146 if (result != 0) in ima_pcr_extend() 147 pr_err("Error Communicating to TPM chip, result: %d\n", result); in ima_pcr_extend() 148 return result; in ima_pcr_extend() 168 int result = 0, tpmresult = 0; in ima_add_template_entry() local 174 result = -EEXIST; in ima_add_template_entry() 179 result = ima_add_digest_entry(entry, 1); in ima_add_template_entry() 180 if (result < 0) { in ima_add_template_entry() [all …]
|
| /OK3568_Linux_fs/kernel/tools/testing/selftests/bpf/verifier/ |
| H A D | loops1.c | 9 .result = ACCEPT, 21 .result = ACCEPT, 33 .result = ACCEPT, 45 .result = ACCEPT, 56 .result = ACCEPT, 68 .result = REJECT, 82 .result = ACCEPT, 96 .result = ACCEPT, 108 .result = REJECT, 125 .result = REJECT, [all …]
|
| H A D | sock.c | 10 .result = REJECT, 25 .result = ACCEPT, 39 .result = REJECT, 51 .result = REJECT, 67 .result = REJECT, 86 .result = ACCEPT, 103 .result = ACCEPT, 121 .result = ACCEPT, 139 .result = ACCEPT, 157 .result = ACCEPT, [all …]
|
| /OK3568_Linux_fs/kernel/arch/sh/boards/mach-microdev/ |
| H A D | io.c | 57 unsigned long result; in microdev_ioport_map() local 64 result = IO_LAN91C111_PHYS + offset - IO_LAN91C111_BASE; in microdev_ioport_map() 72 result = IO_SUPERIO_PHYS + (offset << 1); in microdev_ioport_map() 81 result = IO_SUPERIO_PHYS + (offset << 1); in microdev_ioport_map() 90 result = IO_SUPERIO_PHYS + (offset << 1); in microdev_ioport_map() 98 result = IO_SUPERIO_PHYS + (offset << 1); in microdev_ioport_map() 106 result = IO_SUPERIO_PHYS + (offset << 1); in microdev_ioport_map() 112 result = IO_ISP1161_PHYS + offset - IO_ISP1161_BASE; in microdev_ioport_map() 119 result = PVR; in microdev_ioport_map() 122 return (void __iomem *)result; in microdev_ioport_map()
|
| /OK3568_Linux_fs/yocto/poky/meta/lib/oeqa/selftest/cases/ |
| H A D | incompatible_lic.py | 12 result = bitbake('%s --dry-run' % (pn), ignore_status=True) 13 if error_msg not in result.output: 14 raise AssertionError(result.output) 64 result = bitbake('%s --dry-run' % (pn), ignore_status=True) 65 if error_msg not in result.output: 66 raise AssertionError(result.output) 106 result = bitbake('core-image-minimal', ignore_status=True) 107 if error_msg not in result.output: 108 raise AssertionError(result.output) 114 result = bitbake('core-image-minimal', ignore_status=True) [all …]
|
| H A D | reproducible.py | 82 result = CompareResult() 83 result.reference = reference 84 result.test = test 87 result.status = MISSING 88 return result 93 result.status = DIFFERENT 94 return result 96 result.status = SAME 97 return result 165 result = PackageCompareResults() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/usb/gadget/function/ |
| H A D | f_loopback.c | 315 int result = 0; in alloc_requests() local 323 for (i = 0; i < loop->qlen && result == 0; i++) { in alloc_requests() 324 result = -ENOMEM; in alloc_requests() 342 result = usb_ep_queue(loop->out_ep, out_req, GFP_ATOMIC); in alloc_requests() 343 if (result) { in alloc_requests() 345 loop->out_ep->name, result); in alloc_requests() 357 return result; in alloc_requests() 363 int result; in enable_endpoint() local 365 result = config_ep_by_speed(cdev->gadget, &(loop->function), ep); in enable_endpoint() 366 if (result) in enable_endpoint() [all …]
|
| /OK3568_Linux_fs/external/rockit/mpi/example/mod/ |
| H A D | test_mpi_ai.cpp | 116 RK_S32 result; in test_open_device_ai() local 145 result = RK_MPI_AI_SetPubAttr(aiDevId, &aiAttr); in test_open_device_ai() 146 if (result != 0) { in test_open_device_ai() 147 RK_LOGE("ai set attr fail, reason = %d", result); in test_open_device_ai() 151 result = RK_MPI_AI_Enable(aiDevId); in test_open_device_ai() 152 if (result != 0) { in test_open_device_ai() 153 RK_LOGE("ai enable fail, reason = %d", result); in test_open_device_ai() 163 RK_S32 result; in test_init_mpi_ai() local 165 result = RK_MPI_AI_EnableChn(params->s32DevId, params->s32ChnIndex); in test_init_mpi_ai() 166 if (result != 0) { in test_init_mpi_ai() [all …]
|
| /OK3568_Linux_fs/u-boot/cmd/ |
| H A D | tsi148.c | 40 int j, result; in tsi148_init() local 74 result = -1; in tsi148_init() 126 return result; in tsi148_init() 135 int result, i; in tsi148_pci_slave_window() local 139 result = -1; in tsi148_pci_slave_window() 150 result = -1; in tsi148_pci_slave_window() 216 return -result; in tsi148_pci_slave_window() 260 int result, i; in tsi148_vme_slave_window() local 264 result = -1; in tsi148_vme_slave_window() 275 result = -1; in tsi148_vme_slave_window() [all …]
|
| /OK3568_Linux_fs/kernel/arch/x86/mm/ |
| H A D | ident_map.c | 65 int result; in ident_p4d_init() local 77 result = ident_pud_init(info, pud, addr, next); in ident_p4d_init() 78 if (result) in ident_p4d_init() 79 return result; in ident_p4d_init() 87 result = ident_pud_init(info, pud, addr, next); in ident_p4d_init() 88 if (result) in ident_p4d_init() 89 return result; in ident_p4d_init() 103 int result; in kernel_ident_mapping_init() local 122 result = ident_p4d_init(info, p4d, addr, next); in kernel_ident_mapping_init() 123 if (result) in kernel_ident_mapping_init() [all …]
|
| /OK3568_Linux_fs/kernel/arch/mips/include/asm/ |
| H A D | local.h | 32 unsigned long result; in local_add_return() local 47 : "=&r" (result), "=&r" (temp), "=m" (l->a.counter) in local_add_return() 63 : "=&r" (result), "=&r" (temp), "=m" (l->a.counter) in local_add_return() 70 result = l->a.counter; in local_add_return() 71 result += i; in local_add_return() 72 l->a.counter = result; in local_add_return() 76 return result; in local_add_return() 81 unsigned long result; in local_sub_return() local 96 : "=&r" (result), "=&r" (temp), "=m" (l->a.counter) in local_sub_return() 112 : "=&r" (result), "=&r" (temp), "=m" (l->a.counter) in local_sub_return() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/quantenna/qtnfmac/ |
| H A D | qlink_util.c | 10 u16 result = 0; in qlink_iface_type_to_nl_mask() local 14 result |= BIT(NL80211_IFTYPE_AP); in qlink_iface_type_to_nl_mask() 17 result |= BIT(NL80211_IFTYPE_STATION); in qlink_iface_type_to_nl_mask() 20 result |= BIT(NL80211_IFTYPE_ADHOC); in qlink_iface_type_to_nl_mask() 23 result |= BIT(NL80211_IFTYPE_MONITOR); in qlink_iface_type_to_nl_mask() 26 result |= BIT(NL80211_IFTYPE_WDS); in qlink_iface_type_to_nl_mask() 29 result |= BIT(NL80211_IFTYPE_AP_VLAN); in qlink_iface_type_to_nl_mask() 33 return result; in qlink_iface_type_to_nl_mask() 38 u8 result = 0; in qlink_chan_width_mask_to_nl() local 41 result |= BIT(NL80211_CHAN_WIDTH_5); in qlink_chan_width_mask_to_nl() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/staging/comedi/drivers/ |
| H A D | daqboard2000.c | 465 int result = -ETIMEDOUT; in db2k_wait_cpld_init() local 473 result = 0; in db2k_wait_cpld_init() 479 return result; in db2k_wait_cpld_init() 498 int result = 0; in db2k_write_cpld() local 501 result = db2k_wait_cpld_txready(dev); in db2k_write_cpld() 502 if (result) in db2k_write_cpld() 503 return result; in db2k_write_cpld() 509 result = -EIO; in db2k_write_cpld() 511 return result; in db2k_write_cpld() 535 int result = -EIO; in db2k_load_firmware() local [all …]
|
| /OK3568_Linux_fs/kernel/lib/lz4/ |
| H A D | lz4_decompress.c | 592 int result; in LZ4_decompress_safe_continue() local 597 result = LZ4_decompress_safe(source, dest, in LZ4_decompress_safe_continue() 599 if (result <= 0) in LZ4_decompress_safe_continue() 600 return result; in LZ4_decompress_safe_continue() 601 lz4sd->prefixSize = result; in LZ4_decompress_safe_continue() 602 lz4sd->prefixEnd = (BYTE *)dest + result; in LZ4_decompress_safe_continue() 606 result = LZ4_decompress_safe_withPrefix64k(source, dest, in LZ4_decompress_safe_continue() 609 result = LZ4_decompress_safe_withSmallPrefix(source, in LZ4_decompress_safe_continue() 613 result = LZ4_decompress_safe_doubleDict(source, dest, in LZ4_decompress_safe_continue() 617 if (result <= 0) in LZ4_decompress_safe_continue() [all …]
|
| /OK3568_Linux_fs/kernel/arch/um/drivers/ |
| H A D | vector_kern.c | 123 long result; in get_mtu() local 126 if (kstrtoul(mtu, 10, &result) == 0) in get_mtu() 127 if ((result < (1 << 16) - 1) && (result >= 576)) in get_mtu() 128 return result; in get_mtu() 141 long result; in get_bpf_flash() local 144 if (kstrtoul(allow, 10, &result) == 0) in get_bpf_flash() 153 long result; in get_depth() local 156 if (kstrtoul(mtu, 10, &result) == 0) in get_depth() 157 return result; in get_depth() 165 long result; in get_headroom() local [all …]
|
| /OK3568_Linux_fs/u-boot/common/ |
| H A D | usb_storage.c | 175 ALLOC_CACHE_ALIGN_BUFFER(unsigned char, result, 1); in usb_get_max_lun() 181 result, sizeof(char), in usb_get_max_lun() 183 debug("Get Max LUN -> len = %i, result = %i\n", len, (int) *result); in usb_get_max_lun() 184 return (len > 0) ? *result : 0; in usb_get_max_lun() 371 int result; in us_one_transfer() local 395 result = usb_bulk_msg(us->pusb_dev, pipe, buf, in us_one_transfer() 399 result, partial, this_xfer); in us_one_transfer() 421 return result; in us_one_transfer() 425 return result; in us_one_transfer() 437 return result; in us_one_transfer() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/staging/wlan-ng/ |
| H A D | prism2fw.c | 249 signed int result = 0; in prism2_fwapply() local 258 result = -ENOMEM; in prism2_fwapply() 291 result = 1; in prism2_fwapply() 325 result = read_fwfile(rfptr); in prism2_fwapply() 326 if (result) { in prism2_fwapply() 332 result = validate_identity(); in prism2_fwapply() 333 if (result) { in prism2_fwapply() 341 result = 1; in prism2_fwapply() 346 result = mkimage(fchunk, &nfchunks); in prism2_fwapply() 347 if (result) { in prism2_fwapply() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/net/wan/ |
| H A D | hdlc_x25.c | 112 int result; in x25_xmit() local 133 if ((result = lapb_data_request(dev, skb)) != LAPB_OK) in x25_xmit() 139 if ((result = lapb_connect_request(dev))!= LAPB_OK) { in x25_xmit() 140 if (result == LAPB_CONNECTED) in x25_xmit() 145 result); in x25_xmit() 150 if ((result = lapb_disconnect_request(dev)) != LAPB_OK) { in x25_xmit() 151 if (result == LAPB_NOTCONNECTED) in x25_xmit() 156 result); in x25_xmit() 184 int result; in x25_open() local 186 result = lapb_register(dev, &cb); in x25_open() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/input/sensors/accel/ |
| H A D | dmard10.c | 249 int result = 0; in sensor_active() local 266 result = sensor_write_reg(client, sensor->ops->ctrl_reg, sensor->ops->ctrl_data); in sensor_active() 267 if(result) in sensor_active() 270 return result; in sensor_active() 278 int result = 0; in sensor_init() local 280 result = sensor->ops->active(client,0,0); in sensor_init() 281 if(result) in sensor_init() 284 return result; in sensor_init() 291 …result = sensor_write_reg(client, DMARD10_REG_SR, (0x01<<5)| 0x02); //32 Samples/Second Active and… in sensor_init() 292 if(result) in sensor_init() [all …]
|