| /OK3568_Linux_fs/kernel/drivers/usb/serial/ |
| H A D | kobil_sct.c | 169 int result = 0; in kobil_open() local 182 result = usb_control_msg(port->serial->dev, in kobil_open() 192 dev_dbg(dev, "%s - Send get_HW_version URB returns: %i\n", __func__, result); in kobil_open() 193 if (result >= 3) { in kobil_open() 199 result = usb_control_msg(port->serial->dev, in kobil_open() 209 dev_dbg(dev, "%s - Send get_FW_version URB returns: %i\n", __func__, result); in kobil_open() 210 if (result >= 3) { in kobil_open() 218 result = usb_control_msg(port->serial->dev, in kobil_open() 229 dev_dbg(dev, "%s - Send set_baudrate URB returns: %i\n", __func__, result); in kobil_open() 232 result = usb_control_msg(port->serial->dev, in kobil_open() [all …]
|
| /OK3568_Linux_fs/yocto/poky/scripts/lib/resulttool/ |
| H A D | report.py | 27 def handle_ptest_result(self, k, status, result, machine): argument 33 for suite in result['ptestresult.sections']: 39 if 'duration' in result['ptestresult.sections'][suite]: 40 … self.ptests[machine][suite]['duration'] = result['ptestresult.sections'][suite]['duration'] 41 if 'timeout' in result['ptestresult.sections'][suite]: 52 if 'ptestresult.sections' in result and suite not in result['ptestresult.sections']: 55 if suite + "." + suite1 in result['ptestresult.sections']: 77 def handle_ltptest_result(self, k, status, result, machine): argument 83 for suite in result['ltpresult.sections']: 86 if 'duration' in result['ltpresult.sections'][suite]: [all …]
|
| /OK3568_Linux_fs/u-boot/lib/avb/libavb_atx/ |
| H A D | avb_atx_validate.c | 264 AvbIOResult result = AVB_IO_RESULT_OK; in avb_atx_validate_vbmeta_public_key() local 275 result = ops->atx_ops->read_permanent_attributes(ops->atx_ops, in avb_atx_validate_vbmeta_public_key() 277 if (result != AVB_IO_RESULT_OK) { in avb_atx_validate_vbmeta_public_key() 279 return result; in avb_atx_validate_vbmeta_public_key() 281 result = ops->atx_ops->read_permanent_attributes_hash( in avb_atx_validate_vbmeta_public_key() 283 if (result != AVB_IO_RESULT_OK) { in avb_atx_validate_vbmeta_public_key() 285 return result; in avb_atx_validate_vbmeta_public_key() 304 result = ops->read_rollback_index( in avb_atx_validate_vbmeta_public_key() 306 if (result != AVB_IO_RESULT_OK) { in avb_atx_validate_vbmeta_public_key() 308 return result; in avb_atx_validate_vbmeta_public_key() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/input/sensors/psensor/ |
| H A D | ps_stk3171.c | 90 int result = 0; in sensor_active() local 108 result = sensor_write_reg(client, sensor->ops->ctrl_reg, sensor->ops->ctrl_data); in sensor_active() 109 if(result) in sensor_active() 115 return result; in sensor_active() 124 int result = 0; in sensor_init() local 126 result = sensor->ops->active(client,0,0); in sensor_init() 127 if(result) in sensor_init() 130 return result; in sensor_init() 135 result = sensor_write_reg(client, SW_RESET, 0); in sensor_init() 136 if(result) in sensor_init() [all …]
|
| /OK3568_Linux_fs/kernel/kernel/ |
| H A D | kexec.c | 201 int result; in kexec_load_check() local 208 result = security_kernel_load_data(LOADING_KEXEC_IMAGE, false); in kexec_load_check() 209 if (result < 0) in kexec_load_check() 210 return result; in kexec_load_check() 216 result = security_locked_down(LOCKDOWN_KEXEC); in kexec_load_check() 217 if (result) in kexec_load_check() 218 return result; in kexec_load_check() 239 int result; in SYSCALL_DEFINE4() local 241 result = kexec_load_check(nr_segments, flags); in SYSCALL_DEFINE4() 242 if (result) in SYSCALL_DEFINE4() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/gpu/drm/amd/pm/powerplay/hwmgr/ |
| H A D | vega10_powertune.c | 913 int result; in vega10_enable_cac_driving_se_didt_config() local 925 …result = vega10_program_didt_config_registers(hwmgr, SEDiDtStallCtrlConfig_vega10, VEGA10_CONFIGR… in vega10_enable_cac_driving_se_didt_config() 926 …result |= vega10_program_didt_config_registers(hwmgr, SEDiDtStallPatternConfig_vega10, VEGA10_CONF… in vega10_enable_cac_driving_se_didt_config() 927 …result |= vega10_program_didt_config_registers(hwmgr, SEDiDtWeightConfig_Vega10, VEGA10_CONFIGREG_… in vega10_enable_cac_driving_se_didt_config() 928 …result |= vega10_program_didt_config_registers(hwmgr, SEDiDtCtrl1Config_Vega10, VEGA10_CONFIGREG_D… in vega10_enable_cac_driving_se_didt_config() 929 …result |= vega10_program_didt_config_registers(hwmgr, SEDiDtCtrl2Config_Vega10, VEGA10_CONFIGREG_D… in vega10_enable_cac_driving_se_didt_config() 930 …result |= vega10_program_didt_config_registers(hwmgr, SEDiDtCtrl3Config_vega10, VEGA10_CONFIGREG_D… in vega10_enable_cac_driving_se_didt_config() 931 …result |= vega10_program_didt_config_registers(hwmgr, SEDiDtTuningCtrlConfig_Vega10, VEGA10_CONFIG… in vega10_enable_cac_driving_se_didt_config() 932 …result |= vega10_program_didt_config_registers(hwmgr, SELCacConfig_Vega10, VEGA10_CONFIGREG_SECAC); in vega10_enable_cac_driving_se_didt_config() 933 …result |= vega10_program_didt_config_registers(hwmgr, SEDiDtCtrl0Config_Vega10, VEGA10_CONFIGREG_D… in vega10_enable_cac_driving_se_didt_config() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/gpu/drm/amd/pm/powerplay/smumgr/ |
| H A D | fiji_smumgr.c | 101 int result = 0; in fiji_start_smu_in_protection_mode() local 110 result = smu7_upload_smu_firmware_image(hwmgr); in fiji_start_smu_in_protection_mode() 111 if (result) in fiji_start_smu_in_protection_mode() 112 return result; in fiji_start_smu_in_protection_mode() 157 return result; in fiji_start_smu_in_protection_mode() 162 int result = 0; in fiji_start_smu_in_non_protection_mode() local 176 result = smu7_upload_smu_firmware_image(hwmgr); in fiji_start_smu_in_non_protection_mode() 177 if (result) in fiji_start_smu_in_non_protection_mode() 178 return result; in fiji_start_smu_in_non_protection_mode() 195 return result; in fiji_start_smu_in_non_protection_mode() [all …]
|
| H A D | ci_smumgr.c | 112 int result; in ci_copy_bytes_to_smc() local 130 result = ci_set_smc_sram_address(hwmgr, addr, limit); in ci_copy_bytes_to_smc() 132 if (0 != result) in ci_copy_bytes_to_smc() 133 return result; in ci_copy_bytes_to_smc() 146 result = ci_set_smc_sram_address(hwmgr, addr, limit); in ci_copy_bytes_to_smc() 148 if (0 != result) in ci_copy_bytes_to_smc() 149 return result; in ci_copy_bytes_to_smc() 166 result = ci_set_smc_sram_address(hwmgr, addr, limit); in ci_copy_bytes_to_smc() 168 if (0 != result) in ci_copy_bytes_to_smc() 169 return result; in ci_copy_bytes_to_smc() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/platform/x86/ |
| H A D | sony-laptop.c | 728 union acpi_object *result = NULL; in __call_snc_method() local 753 result = (union acpi_object *) output.pointer; in __call_snc_method() 754 if (!result) in __call_snc_method() 757 return result; in __call_snc_method() 793 *result) in sony_nc_int_call() argument 800 ret = sony_nc_buffer_call(handle, name, &v, result, in sony_nc_int_call() 801 sizeof(*result)); in sony_nc_int_call() 803 ret = sony_nc_buffer_call(handle, name, NULL, result, in sony_nc_int_call() 804 sizeof(*result)); in sony_nc_int_call() 833 int i, r, result, arg; in sony_nc_handles_setup() local [all …]
|
| /OK3568_Linux_fs/kernel/drivers/net/wimax/i2400m/ |
| H A D | netdev.c | 88 int result; in i2400m_open() local 96 result = 0; in i2400m_open() 98 result = -EBUSY; in i2400m_open() 101 net_dev, i2400m, result); in i2400m_open() 102 return result; in i2400m_open() 140 int result; in i2400m_wake_tx_work() local 153 result = -EINVAL; in i2400m_wake_tx_work() 163 result = i2400m_cmd_exit_idle(i2400m); in i2400m_wake_tx_work() 164 if (result == -EILSEQ) in i2400m_wake_tx_work() 165 result = 0; in i2400m_wake_tx_work() [all …]
|
| H A D | usb.c | 89 int result; in i2400mu_bus_dev_start() local 94 result = i2400mu_tx_setup(i2400mu); in i2400mu_bus_dev_start() 95 if (result < 0) in i2400mu_bus_dev_start() 97 result = i2400mu_rx_setup(i2400mu); in i2400mu_bus_dev_start() 98 if (result < 0) in i2400mu_bus_dev_start() 100 result = i2400mu_notification_setup(i2400mu); in i2400mu_bus_dev_start() 101 if (result < 0) in i2400mu_bus_dev_start() 103 d_fnend(3, dev, "(i2400m %p) = %d\n", i2400m, result); in i2400mu_bus_dev_start() 104 return result; in i2400mu_bus_dev_start() 112 return result; in i2400mu_bus_dev_start() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/usb/storage/ |
| H A D | ene_ub6250.c | 495 int result; in ene_send_scsi_cmd() local 502 result = usb_stor_bulk_transfer_buf(us, us->send_bulk_pipe, in ene_send_scsi_cmd() 504 if (result != USB_STOR_XFER_GOOD) { in ene_send_scsi_cmd() 519 result = usb_stor_bulk_srb(us, pipe, us->srb); in ene_send_scsi_cmd() 521 result = usb_stor_bulk_transfer_sg(us, pipe, buf, in ene_send_scsi_cmd() 524 if (result != USB_STOR_XFER_GOOD) { in ene_send_scsi_cmd() 531 result = usb_stor_bulk_transfer_buf(us, us->recv_bulk_pipe, bcs, in ene_send_scsi_cmd() 534 if (result == USB_STOR_XFER_SHORT && cswlen == 0) { in ene_send_scsi_cmd() 536 result = usb_stor_bulk_transfer_buf(us, us->recv_bulk_pipe, in ene_send_scsi_cmd() 540 if (result == USB_STOR_XFER_STALLED) { in ene_send_scsi_cmd() [all …]
|
| /OK3568_Linux_fs/yocto/poky/meta/lib/oeqa/selftest/cases/ |
| H A D | runcmd.py | 34 result = runCmd("true") 35 self.assertEqual(result.status, 0) 38 result = runCmd("false", ignore_status=True) 39 self.assertEqual(result.status, 1) 43 result = runCmd("false; true", ignore_status=True) 44 self.assertEqual(result.status, 0) 55 result = runCmd(["true"]) 56 self.assertEqual(result.status, 0) 67 result = runCmd("echo stdout; echo stderr >&2", shell=True, sync=False) 68 self.assertEqual("stdout\nstderr", result.output) [all …]
|
| /OK3568_Linux_fs/kernel/lib/ |
| H A D | test_string.c | 119 char *result; in strchr_selftest() local 123 result = strchr(test_string, test_string[i]); in strchr_selftest() 124 if (result - test_string != i) in strchr_selftest() 128 result = strchr(empty_string, '\0'); in strchr_selftest() 129 if (result != empty_string) in strchr_selftest() 132 result = strchr(empty_string, 'a'); in strchr_selftest() 133 if (result) in strchr_selftest() 136 result = strchr(test_string, 'z'); in strchr_selftest() 137 if (result) in strchr_selftest() 147 char *result; in strnchr_selftest() local [all …]
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/microchip/wilc1000/ |
| H A D | hif.c | 115 int result = 0; in handle_scan_done() local 128 result = wilc_send_config_pkt(vif, WILC_SET_CFG, &wid, 1); in handle_scan_done() 129 if (result) { in handle_scan_done() 131 result = -EFAULT; in handle_scan_done() 137 return result; in handle_scan_done() 146 return result; in handle_scan_done() 155 int result = 0; in wilc_scan() local 167 result = -EBUSY; in wilc_scan() 173 result = -EBUSY; in wilc_scan() 249 result = wilc_send_config_pkt(vif, WILC_SET_CFG, wid_list, index); in wilc_scan() [all …]
|
| /OK3568_Linux_fs/u-boot/lib/ |
| H A D | strto.c | 36 unsigned long result = 0; in simple_strtoul() local 43 result = result*base + value; in simple_strtoul() 50 return result; in simple_strtoul() 87 unsigned long result = simple_strtoul(cp, endp, base); in ustrtoul() local 90 result *= 1024; in ustrtoul() 93 result *= 1024; in ustrtoul() 97 result *= 1024; in ustrtoul() 105 return result; in ustrtoul() 110 unsigned long long result = simple_strtoull(cp, endp, base); in ustrtoull() local 113 result *= 1024; in ustrtoull() [all …]
|
| /OK3568_Linux_fs/u-boot/cmd/ |
| H A D | tpm_test.c | 14 uint32_t result; \ 16 result = (tpm_command); \ 17 if (result != TPM_SUCCESS) { \ 19 __LINE__, result); \ 20 return result; \ 34 uint32_t result = tpm_startup(TPM_ST_CLEAR); in TlclStartupIfNeeded() local 36 return result == TPM_INVALID_POSTINIT ? TPM_SUCCESS : result; in TlclStartupIfNeeded() 49 uint32_t result; in tpm_get_flags() local 51 result = tpm_get_permanent_flags(&pflags); in tpm_get_flags() 52 if (result) in tpm_get_flags() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8188eu/hal/phydm/halrf/rtl8188e/ |
| H A D | halrf_8188e_ap.c | 260 u8 result = 0x00; in phy_path_a_iqk_8188e() local 297 result |= 0x01; in phy_path_a_iqk_8188e() 304 result |= 0x02; in phy_path_a_iqk_8188e() 309 return result; in phy_path_a_iqk_8188e() 321 u8 result = 0x00; in phy_path_a_rx_iqk() local 369 result |= 0x01; in phy_path_a_rx_iqk() 371 return result; in phy_path_a_rx_iqk() 426 result |= 0x01; in phy_path_a_rx_iqk() 428 return result; in phy_path_a_rx_iqk() 434 result |= 0x02; in phy_path_a_rx_iqk() [all …]
|
| /OK3568_Linux_fs/kernel/tools/testing/selftests/mqueue/ |
| H A D | mq_open_tests.c | 68 static inline void test_queue(struct mq_attr *attr, struct mq_attr *result); 69 static inline int test_queue_fail(struct mq_attr *attr, struct mq_attr *result); 200 static inline void test_queue(struct mq_attr *attr, struct mq_attr *result) in test_queue() argument 207 if (mq_getattr(queue, result)) in test_queue() 222 static inline int test_queue_fail(struct mq_attr *attr, struct mq_attr *result) in test_queue_fail() argument 229 if (mq_getattr(queue, result)) in test_queue_fail() 241 struct mq_attr attr, result; in main() local 328 test_queue(NULL, &result); in main() 331 if (result.mq_maxmsg != cur_max_msgs || in main() 332 result.mq_msgsize != cur_max_msgsize) { in main() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/usb/host/ |
| H A D | ehci-ps3.c | 42 int result; in ps3_ehci_hc_reset() local 48 result = ehci_setup(hcd); in ps3_ehci_hc_reset() 49 if (result) in ps3_ehci_hc_reset() 50 return result; in ps3_ehci_hc_reset() 54 return result; in ps3_ehci_hc_reset() 86 int result; in ps3_ehci_probe() local 92 result = -ENODEV; in ps3_ehci_probe() 96 result = ps3_open_hv_device(dev); in ps3_ehci_probe() 98 if (result) { in ps3_ehci_probe() 104 result = ps3_dma_region_create(dev->d_region); in ps3_ehci_probe() [all …]
|
| /OK3568_Linux_fs/yocto/poky/bitbake/lib/bb/tests/ |
| H A D | utils.py | 18 result = bb.utils.vercmp_string('1', '2') 19 self.assertTrue(result < 0) 20 result = bb.utils.vercmp_string('2', '1') 21 self.assertTrue(result > 0) 22 result = bb.utils.vercmp_string('1', '1.0') 23 self.assertTrue(result < 0) 24 result = bb.utils.vercmp_string('1', '1.1') 25 self.assertTrue(result < 0) 26 result = bb.utils.vercmp_string('1.1', '1_p2') 27 self.assertTrue(result < 0) [all …]
|
| /OK3568_Linux_fs/u-boot/board/gdsys/p1022/ |
| H A D | controlcenterd-id.c | 158 int result = 0; in ccdm_mmc_read() local 178 result = min(size, (int)(blk_len - ofs)); in ccdm_mmc_read() 179 memcpy(dst, tmp_buf + ofs, result); in ccdm_mmc_read() 180 dst += result; in ccdm_mmc_read() 181 size -= result; in ccdm_mmc_read() 190 result += cnt * blk_len; in ccdm_mmc_read() 200 result += size; in ccdm_mmc_read() 204 result = -1; in ccdm_mmc_read() 208 return result; in ccdm_mmc_read() 396 int result = 0; in compute_second_stage_hash() local [all …]
|
| /OK3568_Linux_fs/kernel/drivers/staging/wlan-ng/ |
| H A D | hfa384x_usb.c | 221 struct hfa384x_cmdresult *result); 225 struct hfa384x_rridresult *result); 326 int result; in submit_rx_urb() local 330 result = -ENOMEM; in submit_rx_urb() 342 result = -ENOLINK; in submit_rx_urb() 345 result = usb_submit_urb(&hw->rx_urb, memflags); in submit_rx_urb() 348 if (result == -EPIPE) { in submit_rx_urb() 358 if (result != 0) { in submit_rx_urb() 364 return result; in submit_rx_urb() 389 int result; in submit_tx_urb() local [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 | areal_areal.hpp | 214 Result & result, in apply() 220 …relate::set<exterior, exterior, result_dimension<Geometry2>::value>(result);// FFFFFFFFd, d in [1,… in apply() 222 if ( BOOST_GEOMETRY_CONDITION(result.interrupt) ) in apply() 229 interrupt_policy_areal_areal<Result> interrupt_policy(geometry1, geometry2, result); in apply() 232 if ( BOOST_GEOMETRY_CONDITION(result.interrupt) ) in apply() 249 pred1(geometry2, result, point_in_areal_strategy12); in apply() 251 if ( BOOST_GEOMETRY_CONDITION(result.interrupt) ) in apply() 255 pred2(geometry1, result, point_in_areal_strategy21); in apply() 257 if ( BOOST_GEOMETRY_CONDITION(result.interrupt) ) in apply() 263 if ( may_update<interior, interior, '2'>(result) in apply() [all …]
|
| /OK3568_Linux_fs/kernel/arch/ia64/lib/ |
| H A D | checksum.c | 52 unsigned long result; in csum_tcpudp_nofold() local 54 result = (__force u64)saddr + (__force u64)daddr + in csum_tcpudp_nofold() 59 result = (result & 0xffffffff) + (result >> 32); in csum_tcpudp_nofold() 61 result = (result & 0xffffffff) + (result >> 32); in csum_tcpudp_nofold() 62 return (__force __wsum)result; in csum_tcpudp_nofold() 82 u64 result = do_csum(buff, len); in csum_partial() local 85 result += (__force u32)sum; in csum_partial() 87 result = (result & 0xffffffff) + (result >> 32); in csum_partial() 88 return (__force __wsum)result; in csum_partial()
|