/device/soc/hisilicon/common/platform/mmc/himci_v200/proc/ |
H A D | himci_proc.c | 45 int32_t status; in ProcStatsCardPluggedPrint() local 48 status = LosBufPrintf(s, ": unplugged_disconnected\n"); in ProcStatsCardPluggedPrint() 49 if (status != 0) { in ProcStatsCardPluggedPrint() 55 status = LosBufPrintf(s, ": plugged"); in ProcStatsCardPluggedPrint() 56 if (status != 0) { in ProcStatsCardPluggedPrint() 64 int32_t status; in ProcStatsCardConnectedPrint() local 67 status = LosBufPrintf(s, "_disconnected\n"); in ProcStatsCardConnectedPrint() 71 status = LosBufPrintf(s, "_connected\n"); in ProcStatsCardConnectedPrint() 72 if (status != 0) { in ProcStatsCardConnectedPrint() 97 int32_t status; in ProcStatsCardTypePrint() local 140 int32_t status; ProcStatsUhsPrint() local 168 int32_t status; ProcStatsSpeedPrint() local 211 int32_t status; ProcStatsClkPrint() local 241 int32_t status; ProcStatsCidPrint() local 254 int32_t status; ProcStatsCardInfoPrint() local 301 int32_t status; ProcStatsSeqPrint() local [all...] |
/device/soc/hisilicon/common/platform/mmc/sdhci/proc/ |
H A D | sdhci_proc.c | 44 int32_t status; in ProcStatsCardPluggedPrint() local 47 status = LosBufPrintf(s, ": unplugged_disconnected\n"); in ProcStatsCardPluggedPrint() 48 if (status != 0) { in ProcStatsCardPluggedPrint() 54 status = LosBufPrintf(s, ": plugged"); in ProcStatsCardPluggedPrint() 55 if (status != 0) { in ProcStatsCardPluggedPrint() 63 int32_t status; in ProcStatsCardConnectedPrint() local 66 status = LosBufPrintf(s, "_disconnected\n"); in ProcStatsCardConnectedPrint() 70 status = LosBufPrintf(s, "_connected\n"); in ProcStatsCardConnectedPrint() 71 if (status != 0) { in ProcStatsCardConnectedPrint() 96 int32_t status; in ProcStatsCardTypePrint() local 139 int32_t status; ProcStatsUhsPrint() local 167 int32_t status; ProcStatsSpeedPrint() local 210 int32_t status; ProcStatsClkPrint() local 240 int32_t status; ProcStatsCidPrint() local 253 int32_t status; ProcStatsCardInfoPrint() local 300 int32_t status; ProcStatsSeqPrint() local [all...] |
/test/xts/acts/distributeddatamgr_lite/dbm_kv_store_hal/src/ |
H A D | dbm_kv_store_func_test.c | 46 int status = DBM_GetKVStore(STORE_FULL_PATH, &g_KVStoreHandle); in DBMKvStoreFuncTestSuiteSetUp() local 47 TEST_ASSERT_EQUAL_INT(DBM_OK, status); in DBMKvStoreFuncTestSuiteSetUp() 49 status = DBM_CloseKVStore(g_KVStoreHandle); in DBMKvStoreFuncTestSuiteSetUp() 50 TEST_ASSERT_EQUAL_INT(DBM_OK, status); in DBMKvStoreFuncTestSuiteSetUp() 52 status = DBM_DeleteKVStore(STORE_FULL_PATH); in DBMKvStoreFuncTestSuiteSetUp() 53 TEST_ASSERT_EQUAL_INT(DBM_OK, status); in DBMKvStoreFuncTestSuiteSetUp() 56 status = DBM_GetKVStore(STORE_FULL_PATH, &g_KVStoreHandle); in DBMKvStoreFuncTestSuiteSetUp() 59 TEST_ASSERT_EQUAL_INT(DBM_OK, status); in DBMKvStoreFuncTestSuiteSetUp() 73 int status = DBM_CloseKVStore(g_KVStoreHandle); in DBMKvStoreFuncTestSuiteTearDown() local 76 TEST_ASSERT_EQUAL_INT(DBM_OK, status); in DBMKvStoreFuncTestSuiteTearDown() 91 int status; PutKVs() local 144 int status; GetKVs() local 190 int status; DeleteKVs() local 219 int status; global() variable 251 int status; global() variable 275 int status; global() variable 299 int status; global() variable 323 int status; global() variable 344 int status; global() variable 365 int status; global() variable 386 int status; global() variable 407 int status; global() variable 428 int status; global() variable 449 int status; global() variable 473 int status; global() variable 494 int status; global() variable 515 int status; global() variable 536 int status; global() variable 560 int status; global() variable 581 int status; global() variable 605 int status; global() variable 638 int status; global() variable 671 int status; global() variable 715 int status; global() variable 735 int status; global() variable 768 int status; global() variable [all...] |
/drivers/peripheral/usb/sample/host/src/ |
H A D | usbhost_ddk_test.c | 181 int32_t status = g_acmService->dispatcher->Dispatch(&g_acmService->object, CMD_READ_PARM, g_data, g_reply); in UsbHostDdkTestAsyncRead() local 183 int32_t status = g_acmService->dispatcher->Dispatch(g_acmService, CMD_READ_PARM, g_data, g_reply); in UsbHostDdkTestAsyncRead() local 185 if (status < 0) { in UsbHostDdkTestAsyncRead() 187 printf("%s:%d Dispatch USB_SERIAL_READ failed status = %d\n", __func__, __LINE__, status); in UsbHostDdkTestAsyncRead() 188 HDF_LOGE("%{public}s:%{public}d Dispatch USB_SERIAL_READ failed status = %{public}d", in UsbHostDdkTestAsyncRead() 189 __func__, __LINE__, status); in UsbHostDdkTestAsyncRead() 190 return status; in UsbHostDdkTestAsyncRead() 223 int32_t status = g_acmService->dispatcher->Dispatch(&g_acmService->object, CMD_WRITE_PARM, g_data, g_reply); in UsbHostDdkTestAsyncWrite() local 225 int32_t status in UsbHostDdkTestAsyncWrite() local 245 int32_t status = g_acmService->dispatcher->Dispatch(&g_acmService->object, CMD_READ_DATA_SYNC, g_data, g_reply); UsbHostDdkTestSyncRead() local 247 int32_t status = g_acmService->dispatcher->Dispatch(g_acmService, CMD_READ_DATA_SYNC, g_data, g_reply); UsbHostDdkTestSyncRead() local 282 int32_t status = g_acmService->dispatcher->Dispatch(&g_acmService->object, CMD_WRITE_DATA_SYNC, g_data, g_reply); UsbHostDdkTestSyncWrite() local 284 int32_t status = g_acmService->dispatcher->Dispatch(g_acmService, CMD_WRITE_DATA_SYNC, g_data, g_reply); UsbHostDdkTestSyncWrite() local 304 int32_t status = g_acmService->dispatcher->Dispatch(&g_acmService->object, CMD_CLASS_CTRL_SYNC, g_data, g_reply); UsbHostDdkTestCtrlClass() local 306 int32_t status = g_acmService->dispatcher->Dispatch(g_acmService, CMD_CLASS_CTRL_SYNC, g_data, g_reply); UsbHostDdkTestCtrlClass() local 330 int32_t status = UsbHostDdkTestStdGetDes() local 333 int32_t status = g_acmService->dispatcher->Dispatch(g_acmService, CMD_STD_CTRL_GET_DESCRIPTOR_CMD, g_data, g_reply); UsbHostDdkTestStdGetDes() local 364 int32_t status = UsbHostDdkTestStdGetDesAsync() local 367 int32_t status = UsbHostDdkTestStdGetDesAsync() local 402 int32_t status = UsbHostDdkTestStdGetStatus() local 405 int32_t status = g_acmService->dispatcher->Dispatch(g_acmService, CMD_STD_CTRL_GET_STATUS_CMD, g_data, g_reply); UsbHostDdkTestStdGetStatus() local 438 int32_t status = TestStdGetConf() local 441 int32_t status = g_acmService->dispatcher->Dispatch(g_acmService, CMD_STD_CTRL_GET_CONFIGURATION, g_data, g_reply); TestStdGetConf() local 465 int32_t status = TestStdGetInterface() local 468 int32_t status = g_acmService->dispatcher->Dispatch(g_acmService, CMD_STD_CTRL_GET_INTERFACE, g_data, g_reply); TestStdGetInterface() local 497 int32_t status = g_acmService->dispatcher->Dispatch(&g_acmService->object, CMD_SET_BAUDRATE, g_data, g_reply); UsbHostDdkTestSetBaudrate() local 499 int32_t status = g_acmService->dispatcher->Dispatch(g_acmService, CMD_SET_BAUDRATE, g_data, g_reply); UsbHostDdkTestSetBaudrate() local 520 int32_t status = g_acmService->dispatcher->Dispatch(&g_acmService->object, CMD_GET_BAUDRATE, g_data, g_reply); UsbHostDdkTestGetBaudrate() local 522 int32_t status = g_acmService->dispatcher->Dispatch(g_acmService, CMD_GET_BAUDRATE, g_data, g_reply); UsbHostDdkTestGetBaudrate() local 558 int32_t status = g_acmService->dispatcher->Dispatch(&g_acmService->object, CMD_ADD_INTERFACE, g_data, g_reply); UsbHostDdkTestAddInterface() local 560 int32_t status = g_acmService->dispatcher->Dispatch(g_acmService, CMD_ADD_INTERFACE, g_data, g_reply); UsbHostDdkTestAddInterface() local 582 int32_t status = g_acmService->dispatcher->Dispatch(&g_acmService->object, CMD_REMOVE_INTERFACE, g_data, g_reply); UsbHostDdkTestRemoveInterface() local 584 int32_t status = g_acmService->dispatcher->Dispatch(g_acmService, CMD_REMOVE_INTERFACE, g_data, g_reply); UsbHostDdkTestRemoveInterface() local 610 int32_t status = g_acmService->dispatcher->Dispatch(&g_acmService->object, CMD_OPEN_PARM, g_data, g_reply); UsbHostDdkTestOpen() local 612 int32_t status = g_acmService->dispatcher->Dispatch(g_acmService, CMD_OPEN_PARM, g_data, g_reply); UsbHostDdkTestOpen() local 636 int32_t status = g_acmService->dispatcher->Dispatch(&g_acmService->object, CMD_CLOSE_PARM, g_data, g_reply); UsbHostDdkTestClose() local 638 int32_t status = g_acmService->dispatcher->Dispatch(g_acmService, CMD_CLOSE_PARM, g_data, g_reply); UsbHostDdkTestClose() local [all...] |
/test/xts/acts/global_lite/i18n_lite/week_plural_number/src/ |
H A D | week_plural_number_test.cpp | 52 I18nStatus status = I18nStatus::ISUCCESS;
in HWTEST_F() local 53 PluralFormat formatter(locale, status);
in HWTEST_F() 55 int out = formatter.GetPluralRuleIndex(number, status);
in HWTEST_F() 59 out = formatter.GetPluralRuleIndex(number, status);
in HWTEST_F() 62 out = formatter.GetPluralRuleIndex(number, status);
in HWTEST_F() 73 I18nStatus status = I18nStatus::ISUCCESS;
in HWTEST_F() local 74 PluralFormat formatter(locale, status);
in HWTEST_F() 76 int out = formatter.GetPluralRuleIndex(number, status);
in HWTEST_F() 80 out = formatter.GetPluralRuleIndex(number, status);
in HWTEST_F() 83 out = formatter.GetPluralRuleIndex(number, status);
in HWTEST_F() 94 I18nStatus status = I18nStatus::ISUCCESS; HWTEST_F() local 144 I18nStatus status = I18nStatus::ISUCCESS; HWTEST_F() local 162 I18nStatus status = I18nStatus::ISUCCESS; HWTEST_F() local 189 I18nStatus status = I18nStatus::ISUCCESS; HWTEST_F() local 200 I18nStatus status = I18nStatus::ISUCCESS; HWTEST_F() local 211 I18nStatus status = I18nStatus::ISUCCESS; HWTEST_F() local 231 I18nStatus status = I18nStatus::ISUCCESS; HWTEST_F() local 251 I18nStatus status = I18nStatus::ISUCCESS; HWTEST_F() local 263 I18nStatus status = I18nStatus::ISUCCESS; HWTEST_F() local 276 I18nStatus status = I18nStatus::ISUCCESS; HWTEST_F() local 289 I18nStatus status = I18nStatus::ISUCCESS; HWTEST_F() local 302 I18nStatus status = I18nStatus::ISUCCESS; HWTEST_F() local 315 I18nStatus status = I18nStatus::ISUCCESS; HWTEST_F() local 328 I18nStatus status = I18nStatus::ISUCCESS; HWTEST_F() local 341 I18nStatus status = I18nStatus::ISUCCESS; HWTEST_F() local 354 I18nStatus status = I18nStatus::ISUCCESS; HWTEST_F() local [all...] |
/test/xts/acts/global_lite/i18n_lite/number_posix/src/ |
H A D | UnitNumberTest.cpp | 57 int status = I18nStatus::ISUCCESS;
in HWTEST_F() local 58 NumberFormat *numberForm = new OHOS::I18N::NumberFormat(*localeInfo, status);
in HWTEST_F() 60 EXPECT_EQ(status, I18nStatus::IERROR);
in HWTEST_F() 73 int status = I18nStatus::ISUCCESS;
in HWTEST_F() local 74 NumberFormat *numberForm = new OHOS::I18N::NumberFormat(localeInfo, status);
in HWTEST_F() 87 int status = I18nStatus::ISUCCESS;
in HWTEST_F() local 88 NumberFormat *numberForm = new OHOS::I18N::NumberFormat(localeInfo, status);
in HWTEST_F() 102 int status = I18nStatus::ISUCCESS;
in HWTEST_F() local 103 NumberFormat *numberForm = new NumberFormat(localeInfo1, status);
in HWTEST_F() 122 int status in HWTEST_P() local 146 int status = I18nStatus::ISUCCESS; HWTEST_P() local 170 int status = I18nStatus::ISUCCESS; HWTEST_P() local 195 int status = I18nStatus::ISUCCESS; HWTEST_P() local 221 int status = I18nStatus::ISUCCESS; HWTEST_P() local 246 int status = I18nStatus::ISUCCESS; HWTEST_P() local 272 int status = I18nStatus::ISUCCESS; HWTEST_P() local 298 int status = I18nStatus::ISUCCESS; HWTEST_P() local 322 int status = I18nStatus::ISUCCESS; HWTEST_P() local 342 int status = I18nStatus::ISUCCESS; HWTEST_P() local 362 int status = I18nStatus::ISUCCESS; HWTEST_P() local 382 int status = I18nStatus::ISUCCESS; HWTEST_P() local 402 int status = I18nStatus::ISUCCESS; HWTEST_P() local [all...] |
/drivers/hdf_core/framework/core/shared/src/ |
H A D | service_status.c | 13 int ServiceStatusMarshalling(struct ServiceStatus *status, struct HdfSBuf *buf) in ServiceStatusMarshalling() argument 15 if (status == NULL || buf == NULL || status->serviceName == NULL) { in ServiceStatusMarshalling() 18 if (!HdfSbufWriteString(buf, status->serviceName) in ServiceStatusMarshalling() 19 || !HdfSbufWriteUint16(buf, status->deviceClass) in ServiceStatusMarshalling() 20 || !HdfSbufWriteUint16(buf, status->status) in ServiceStatusMarshalling() 21 || !HdfSbufWriteString(buf, status->info != NULL ? status->info : "")) { in ServiceStatusMarshalling() 22 HDF_LOGI("failed to marshalling service status"); in ServiceStatusMarshalling() 29 ServiceStatusUnMarshalling(struct ServiceStatus *status, struct HdfSBuf *buf) ServiceStatusUnMarshalling() argument [all...] |
/drivers/peripheral/nfc/hdi_service/ |
H A D | nfc_impl.cpp | 37 static void EventCallback(unsigned char event, unsigned char status) in EventCallback() argument 40 g_callbackV1_1->OnEvent((NfcEvent)event, (NfcStatus)status); in EventCallback() 78 int32_t NfcImpl::Open(const sptr<INfcCallback> &callbackObj, NfcStatus &status) in Open() argument 92 status = NfcStatus::OK; in Open() 95 status = NfcStatus::FAILED; in Open() 99 int32_t NfcImpl::CoreInitialized(const std::vector<uint8_t> &data, NfcStatus &status) in CoreInitialized() argument 107 status = NfcStatus::OK; in CoreInitialized() 110 status = NfcStatus::FAILED; in CoreInitialized() 114 int32_t NfcImpl::Prediscover(NfcStatus &status) in Prediscover() argument 118 status in Prediscover() 125 Write(const std::vector<uint8_t> &data, NfcStatus &status) Write() argument 140 ControlGranted(NfcStatus &status) ControlGranted() argument 151 PowerCycle(NfcStatus &status) PowerCycle() argument 162 Close(NfcStatus &status) Close() argument 180 Ioctl(NfcCommand cmd, const std::vector<uint8_t> &data, NfcStatus &status) Ioctl() argument 195 IoctlWithResponse(NfcCommand cmd, const std::vector<uint8_t> &data, std::vector<uint8_t> &response, NfcStatus &status) IoctlWithResponse() argument 211 GetVendorConfig(NfcVendorConfig &config, NfcStatus &status) GetVendorConfig() argument 222 DoFactoryReset(NfcStatus &status) DoFactoryReset() argument 233 Shutdown(NfcStatus &status) Shutdown() argument 251 NfcStatus status = NfcStatus::FAILED; OnRemoteDied() local [all...] |
/test/xts/hats/hdf/sensor/hdiService/ |
H A D | hdf_sensor_hdiService_test.cpp | 522 int32_t status = IsSuppprtedSensorId(SENSOR_TYPE_NONE); in HWTEST_F() local 524 EXPECT_EQ(status,ret); in HWTEST_F() 526 EXPECT_EQ(status,ret); in HWTEST_F() 541 int32_t status = IsSuppprtedSensorId(SENSOR_TYPE_ACCELEROMETER ); in HWTEST_F() local 543 EXPECT_EQ(status,ret); in HWTEST_F() 545 EXPECT_EQ(status,ret); in HWTEST_F() 560 int32_t status = IsSuppprtedSensorId(SENSOR_TYPE_GYROSCOPE); in HWTEST_F() local 562 EXPECT_EQ(status,ret); in HWTEST_F() 564 EXPECT_EQ(status,ret); in HWTEST_F() 579 int32_t status in HWTEST_F() local 598 int32_t status = IsSuppprtedSensorId(SENSOR_TYPE_ELECTROCARDIOGRAPH); HWTEST_F() local 617 int32_t status = IsSuppprtedSensorId(SENSOR_TYPE_AMBIENT_LIGHT); HWTEST_F() local 636 int32_t status = IsSuppprtedSensorId(SENSOR_TYPE_MAGNETIC_FIELD); HWTEST_F() local 655 int32_t status = IsSuppprtedSensorId(SENSOR_TYPE_CAPACITIVE); HWTEST_F() local 674 int32_t status = IsSuppprtedSensorId(SENSOR_TYPE_BAROMETER); HWTEST_F() local 693 int32_t status = IsSuppprtedSensorId(SENSOR_TYPE_TEMPERATURE); HWTEST_F() local 712 int32_t status = IsSuppprtedSensorId(SENSOR_TYPE_HALL); HWTEST_F() local 731 int32_t status = IsSuppprtedSensorId(SENSOR_TYPE_GESTURE); HWTEST_F() local 750 int32_t status = IsSuppprtedSensorId(SENSOR_TYPE_PROXIMITY); HWTEST_F() local 769 int32_t status = IsSuppprtedSensorId(SENSOR_TYPE_HUMIDITY); HWTEST_F() local 788 int32_t status = IsSuppprtedSensorId(SENSOR_TYPE_MEDICAL_BEGIN); HWTEST_F() local 807 int32_t status = IsSuppprtedSensorId(SENSOR_TYPE_MEDICAL_END); HWTEST_F() local 826 int32_t status = IsSuppprtedSensorId(SENSOR_TYPE_PHYSICAL_MAX); HWTEST_F() local 845 int32_t status = IsSuppprtedSensorId(SENSOR_TYPE_ORIENTATION); HWTEST_F() local 864 int32_t status = IsSuppprtedSensorId(SENSOR_TYPE_GRAVITY); HWTEST_F() local 883 int32_t status = IsSuppprtedSensorId(SENSOR_TYPE_LINEAR_ACCELERATION); HWTEST_F() local 902 int32_t status = IsSuppprtedSensorId(SENSOR_TYPE_ROTATION_VECTOR); HWTEST_F() local 921 int32_t status = IsSuppprtedSensorId(SENSOR_TYPE_AMBIENT_TEMPERATURE); HWTEST_F() local 940 int32_t status = IsSuppprtedSensorId(SENSOR_TYPE_MAGNETIC_FIELD_UNCALIBRATED); HWTEST_F() local 959 int32_t status = IsSuppprtedSensorId(SENSOR_TYPE_GAME_ROTATION_VECTOR); HWTEST_F() local 978 int32_t status = IsSuppprtedSensorId(SENSOR_TYPE_GYROSCOPE_UNCALIBRATED); HWTEST_F() local 997 int32_t status = IsSuppprtedSensorId(SENSOR_TYPE_SIGNIFICANT_MOTION); HWTEST_F() local 1016 int32_t status = IsSuppprtedSensorId(SENSOR_TYPE_PEDOMETER_DETECTION); HWTEST_F() local 1035 int32_t status = IsSuppprtedSensorId(SENSOR_TYPE_PEDOMETER); HWTEST_F() local 1054 int32_t status = IsSuppprtedSensorId(SENSOR_TYPE_GEOMAGNETIC_ROTATION_VECTOR); HWTEST_F() local 1073 int32_t status = IsSuppprtedSensorId(SENSOR_TYPE_HEART_RATE); HWTEST_F() local 1092 int32_t status = IsSuppprtedSensorId(SENSOR_TYPE_DEVICE_ORIENTATION); HWTEST_F() local 1111 int32_t status = IsSuppprtedSensorId(SENSOR_TYPE_WEAR_DETECTION); HWTEST_F() local 1130 int32_t status = IsSuppprtedSensorId(SENSOR_TYPE_ACCELEROMETER_UNCALIBRATED); HWTEST_F() local 1149 int32_t status = IsSuppprtedSensorId(SENSOR_TYPE_MAX); HWTEST_F() local 1311 int32_t status = IsSuppprtedSensorId(SENSOR_TYPE_ACCELEROMETER); HWTEST_F() local 1328 int32_t status = IsSuppprtedSensorId(SENSOR_TYPE_NONE); HWTEST_F() local 1345 int32_t status = IsSuppprtedSensorId(SENSOR_TYPE_GYROSCOPE); HWTEST_F() local 1378 int32_t status = IsSuppprtedSensorId(SENSOR_TYPE_AMBIENT_LIGHT); HWTEST_F() local 1395 int32_t status = IsSuppprtedSensorId(SENSOR_TYPE_MAGNETIC_FIELD); HWTEST_F() local 1428 int32_t status = IsSuppprtedSensorId(SENSOR_TYPE_BAROMETER); HWTEST_F() local 1461 int32_t status = IsSuppprtedSensorId(SENSOR_TYPE_HALL); HWTEST_F() local [all...] |
/device/soc/hisilicon/common/platform/mtd/hifmc100/spi_nor/ |
H A D | w25qh.c | 27 uint8_t status; in HifmcCntlrSpinorEntry4AddrW25qh() local 44 status = HifmcCntlrReadDevReg(cntlr, spi, MTD_SPI_CMD_RDSR3); in HifmcCntlrSpinorEntry4AddrW25qh() 45 HDF_LOGD("%s: read status register 3[%#x]:%#x", __func__, MTD_SPI_CMD_RDSR3, status); in HifmcCntlrSpinorEntry4AddrW25qh() 46 if ((status & 0x1) == enable) { in HifmcCntlrSpinorEntry4AddrW25qh() 47 HDF_LOGD("%s: 4byte status:%#x, enable:%d", __func__, status, enable); in HifmcCntlrSpinorEntry4AddrW25qh() 64 status = HifmcCntlrReadDevReg(cntlr, spi, MTD_SPI_CMD_RDSR3); in HifmcCntlrSpinorEntry4AddrW25qh() 65 HDF_LOGD("%s: read status register 3[%#x]:%#x", __func__, MTD_SPI_CMD_RDSR3, status); in HifmcCntlrSpinorEntry4AddrW25qh() 96 uint8_t status; HifmcCntlrSpinorQeEnableW25qh() local [all...] |
/device/soc/hisilicon/hi3516dv300/sdk_linux/drv/mpp/component/hdmi/src/mkp/hal/ctrl/hisiv100/ |
H A D | hdmi_hal_scdc.c | 87 /* sink scrambled status */
in scdc_scramble_get() 96 scdc_info->status.reg_update[scdc_info->status.reg_update_ptr].scramble_status.byte = ddc_sramble_byte.byte;
in scdc_scramble_get() 104 scdc_info->status.reg_static.tmds_config0.byte = ddc_config_byte.byte;
in scdc_scramble_get() 113 hdmi_if_false_warn_return_void(scdc_info->status.init);
in scdc_mach_poll_callback() 126 if (!scdc_info->status.init) {
in hal_hdmi_scdc_init() 132 scdc_info->status.init = HI_TRUE;
in hal_hdmi_scdc_init() 133 scdc_info->status.hdmi_id = hdmi_id;
in hal_hdmi_scdc_init() 134 scdc_info->status.mach_interval = mach_ctrl.interval;
in hal_hdmi_scdc_init() 135 ret = hal_hdmi_mach_register(&mach_ctrl, &scdc_info->status in hal_hdmi_scdc_init() 377 hal_hdmi_scdc_all_status_get(hdmi_device_id hdmi_id, scdc_status *status) hal_hdmi_scdc_all_status_get() argument [all...] |
/drivers/peripheral/wlan/chip/hdi_service/ |
H A D | wifi_sta_iface.cpp | 65 WifiError status; in GetSupportFreqs() local 67 std::tie(status, validFrequencies) = vendorHal_.lock()->GetValidFrequenciesForBand( in GetSupportFreqs() 70 if (status == HAL_SUCCESS) { in GetSupportFreqs() 78 WifiError status = vendorHal_.lock()->GetSupportedFeatureSet(ifname_, capabilities); in GetIfaceCap() local 79 if (status != HAL_SUCCESS) { in GetIfaceCap() 87 bool status = ifaceUtil_.lock()->SetMacAddress(ifname_, mac); in SetMacAddress() local 88 if (!status) { in SetMacAddress() 96 WifiError status = vendorHal_.lock()->SetCountryCode(ifname_, code); in SetCountryCode() local 97 if (status == HAL_SUCCESS) { in SetCountryCode() 138 WifiError status in StartScan() local 148 WifiError status = vendorHal_.lock()->GetScanInfos(ifname_, scanResultsInfo); GetScanInfos() local 158 WifiError status = vendorHal_.lock()->StartPnoScan(ifname_, pnoParams); StartPnoScan() local 168 WifiError status = vendorHal_.lock()->StopPnoScan(ifname_); StopPnoScan() local 177 WifiError status = vendorHal_.lock()->GetSignalPollInfo(ifname_, signalPollResult); GetSignalPollInfo() local 191 WifiError status = vendorHal_.lock()->EnablePowerMode(ifname_, mode); EnablePowerMode() local 200 WifiError status = vendorHal_.lock()->SetDpiMarkRule(uid, protocol, enable); SetDpiMarkRule() local 209 WifiError status = vendorHal_.lock()->SetTxPower(ifname_, power); SetTxPower() local 226 WifiError status = vendorHal_.lock()->SendCmdToDriver(ifName, cmdId, paramBuf); SendCmdToDriver() local [all...] |
H A D | wifi_vendor_hal.cpp | 84 WifiError status = globalFuncTable_.waitDriverStart(); in Start() local 85 if (status == HAL_TIMED_OUT || status == HAL_UNKNOWN) { in Start() 87 return status; in Start() 90 status = globalFuncTable_.vendorHalInit(&globalHandle_); in Start() 91 if (status != HAL_SUCCESS || !globalHandle_) { in Start() 93 return status; in Start() 96 status = RetrieveIfaceHandles(); in Start() 97 if (status != HAL_SUCCESS || ifaceNameHandle_.empty()) { in Start() 99 return status; in Start() 177 const auto status = stopWaitCv_.wait_for( Stop() local 221 WifiError status = globalFuncTable_.vendorHalGetChannelsInBand( GetValidFrequenciesForBand() local 228 WifiError status = globalFuncTable_.vendorHalCreateIface( CreateVirtualInterface() local 239 WifiError status = globalFuncTable_.vendorHalDeleteIface( DeleteVirtualInterface() local 244 HandleIfaceChangeStatus( const std::string& ifname, WifiError status) HandleIfaceChangeStatus() argument 261 WifiError status = globalFuncTable_.vendorHalGetIfaces( RetrieveIfaceHandles() local 293 WifiError status = globalFuncTable_.vendorHalSetRestartHandler( RegisterRestartCallback() local 323 WifiError status = globalFuncTable_.getPowerMode(ifaceName.c_str(), &mode); GetPowerMode() local 345 WifiError status = globalFuncTable_.wifiStartScan(GetIfaceHandle(ifaceName), params); StartScan() local 351 WifiError status = globalFuncTable_.wifiStartPnoScan(GetIfaceHandle(ifaceName), pnoParams); StartPnoScan() local 357 WifiError status = globalFuncTable_.wifiStopPnoScan(GetIfaceHandle(ifaceName)); StopPnoScan() local 364 WifiError status = globalFuncTable_.getScanResults(GetIfaceHandle(ifaceName), scanResultsInfo); GetScanInfos() local [all...] |
/drivers/peripheral/nfc/test/unittest/nfc_impl_test/ |
H A D | nfc_impl_test.cpp | 66 NfcStatus status = NfcStatus::OK; in HWTEST_F() local 68 int ret = nfcImpl->Open(callbackObj, status); in HWTEST_F() 80 NfcStatus status = NfcStatus::OK; in HWTEST_F() local 82 int ret = nfcImpl->CoreInitialized(data, status); in HWTEST_F() 94 NfcStatus status = NfcStatus::OK; in HWTEST_F() local 96 int ret = nfcImpl->CoreInitialized(data, status); in HWTEST_F() 107 NfcStatus status = NfcStatus::OK; in HWTEST_F() local 109 int ret = nfcImpl->Prediscover(status); in HWTEST_F() 121 NfcStatus status = NfcStatus::OK; in HWTEST_F() local 123 int ret = nfcImpl->Write(data, status); in HWTEST_F() 135 NfcStatus status = NfcStatus::OK; HWTEST_F() local 148 NfcStatus status = NfcStatus::OK; HWTEST_F() local 161 NfcStatus status = NfcStatus::OK; HWTEST_F() local 174 NfcStatus status = NfcStatus::OK; HWTEST_F() local 189 NfcStatus status = NfcStatus::OK; HWTEST_F() local 204 NfcStatus status = NfcStatus::OK; HWTEST_F() local 220 NfcStatus status = NfcStatus::OK; HWTEST_F() local 236 NfcStatus status = NfcStatus::OK; HWTEST_F() local 259 NfcStatus status = NfcStatus::OK; HWTEST_F() local 273 NfcStatus status = NfcStatus::OK; HWTEST_F() local 286 NfcStatus status = NfcStatus::OK; HWTEST_F() local 299 NfcStatus status = NfcStatus::OK; HWTEST_F() local [all...] |
/drivers/hdf_core/framework/model/network/wifi/platform/src/message/ |
H A D | message_router.c | 82 HDF_STATUS status = OsalMutexTimedLock(&g_routerMutex, HDF_WAIT_FOREVER); in RefDispatcherInner() local 83 if (status != HDF_SUCCESS) { in RefDispatcherInner() 84 HDF_LOGE("Unable to get lock!status=%d", status); in RefDispatcherInner() 101 HDF_STATUS status = OsalMutexUnlock(&g_routerMutex); in RefDispatcherInner() local 102 if (status != HDF_SUCCESS) { in RefDispatcherInner() 103 HDF_LOGE("Unable to unlock!status=%d", status); in RefDispatcherInner() 111 HDF_STATUS status; in RegDispatcher() local 118 status in RegDispatcher() 341 HDF_STATUS status; RegistRemoteService() local 374 HDF_STATUS status; UnregistServiceInner() local 447 HDF_STATUS status; RefRemoteService() local 624 HDF_STATUS status; StartMessageRouter() local 687 HDF_STATUS status; ShutdownMessageRouter() local 709 HDF_STATUS status; RefMessageNode() local [all...] |
/drivers/peripheral/nfc/test/unittest/nfc_impl_mock_test/ |
H A D | nfc_impl_mock_test.cpp | 65 NfcStatus status = NfcStatus::OK; in HWTEST_F() local 67 int ret = nfcImpl->Open(callbackObj, status); in HWTEST_F() 79 NfcStatus status = NfcStatus::OK; in HWTEST_F() local 81 int ret = nfcImpl->CoreInitialized(data, status); in HWTEST_F() 93 NfcStatus status = NfcStatus::OK; in HWTEST_F() local 95 int ret = nfcImpl->CoreInitialized(data, status); in HWTEST_F() 106 NfcStatus status = NfcStatus::OK; in HWTEST_F() local 108 int ret = nfcImpl->Prediscover(status); in HWTEST_F() 120 NfcStatus status = NfcStatus::OK; in HWTEST_F() local 122 int ret = nfcImpl->Write(data, status); in HWTEST_F() 134 NfcStatus status = NfcStatus::OK; HWTEST_F() local 147 NfcStatus status = NfcStatus::OK; HWTEST_F() local 160 NfcStatus status = NfcStatus::OK; HWTEST_F() local 173 NfcStatus status = NfcStatus::OK; HWTEST_F() local 188 NfcStatus status = NfcStatus::OK; HWTEST_F() local 203 NfcStatus status = NfcStatus::OK; HWTEST_F() local 219 NfcStatus status = NfcStatus::OK; HWTEST_F() local 235 NfcStatus status = NfcStatus::OK; HWTEST_F() local 258 NfcStatus status = NfcStatus::OK; HWTEST_F() local 272 NfcStatus status = NfcStatus::OK; HWTEST_F() local 285 NfcStatus status = NfcStatus::OK; HWTEST_F() local [all...] |
/drivers/peripheral/usb/sample/device/liteos/lib/src/ |
H A D | lib_acm_test.c | 59 int32_t status; in AcmOpen() local 70 status = g_acmService->dispatcher->Dispatch(&g_acmService->object, USB_SERIAL_OPEN, g_data, g_reply); in AcmOpen() 71 if (status != HDF_SUCCESS) { in AcmOpen() 78 int32_t status; in AcmClose() local 83 status = g_acmService->dispatcher->Dispatch(&g_acmService->object, USB_SERIAL_CLOSE, g_data, g_reply); in AcmClose() 84 if (status != HDF_SUCCESS) { in AcmClose() 100 int32_t status = g_acmService->dispatcher->Dispatch(&g_acmService->object, USB_SERIAL_WRITE, g_data, g_reply); in AcmWrite() local 101 if (status != HDF_SUCCESS) { in AcmWrite() 102 HDF_LOGE("%{public}s: Dispatch USB_SERIAL_WRITE failed status = %{public}d", __func__, status); in AcmWrite() 118 int32_t status = g_acmService->dispatcher->Dispatch(&g_acmService->object, USB_SERIAL_READ, g_data, g_reply); AcmRead() local 145 int32_t status = g_acmService->dispatcher->Dispatch(&g_acmService->object, USB_SERIAL_REGIST_PROP, g_data, g_reply); acm_prop_regist() local 167 int32_t status = g_acmService->dispatcher->Dispatch(&g_acmService->object, USB_SERIAL_SET_PROP, g_data, g_reply); acm_prop_write() local 184 int32_t status = g_acmService->dispatcher->Dispatch(&g_acmService->object, USB_SERIAL_GET_PROP, g_data, g_reply); acm_prop_read() local [all...] |
/device/soc/rockchip/common/kernel/drivers/net/wireless/rockchip_wlan/rkwifi/bcmdhd_wifi6/ |
H A D | bcmsdh.c | 216 SDIOH_API_RC status; in bcmsdh_intr_query() local 220 status = sdioh_interrupt_query(bcmsdh->sdioh, &on); in bcmsdh_intr_query() 221 if (SDIOH_API_SUCCESS(status)) in bcmsdh_intr_query() 231 SDIOH_API_RC status; in bcmsdh_intr_enable() local 237 status = sdioh_interrupt_set(bcmsdh->sdioh, TRUE); in bcmsdh_intr_enable() 243 return (SDIOH_API_SUCCESS(status) ? 0 : BCME_ERROR); in bcmsdh_intr_enable() 250 SDIOH_API_RC status; in bcmsdh_intr_disable() local 256 status = sdioh_interrupt_set(bcmsdh->sdioh, FALSE); in bcmsdh_intr_disable() 262 return (SDIOH_API_SUCCESS(status) ? 0 : BCME_ERROR); in bcmsdh_intr_disable() 269 SDIOH_API_RC status; in bcmsdh_intr_reg() local 284 SDIOH_API_RC status; bcmsdh_intr_dereg() local 327 SDIOH_API_RC status; bcmsdh_cfg_read() local 360 SDIOH_API_RC status; bcmsdh_cfg_write() local 390 SDIOH_API_RC status; bcmsdh_cfg_read_word() local 414 SDIOH_API_RC status; bcmsdh_cfg_write_word() local 435 SDIOH_API_RC status; bcmsdh_cis_read() local 474 SDIOH_API_RC status; bcmsdh_cisaddr_read() local 522 SDIOH_API_RC status; bcmsdh_reg_read() local 573 SDIOH_API_RC status; bcmsdh_reg_write() local 616 SDIOH_API_RC status; bcmsdh_recv_buf() local 654 SDIOH_API_RC status; bcmsdh_send_buf() local 690 SDIOH_API_RC status; bcmsdh_rwdata() local [all...] |
/device/soc/hisilicon/hi3516dv300/sdk_linux/drv/interdrv/common/cipher/src/drv/cipher_v1.0/osal/ |
H A D | drv_osal_init_linux.c | 57 symc_chn_status *status = HI_NULL; in symc_proc_read() local 74 status = (symc_chn_status *)crypto_calloc(CRYPTO_HARD_CHANNEL_MAX, sizeof(symc_chn_status)); in symc_proc_read() 75 if (status == HI_NULL) { in symc_proc_read() 80 status[i].id = i; in symc_proc_read() 83 ret = drv_symc_proc_status(status); in symc_proc_read() 86 crypto_free(status); in symc_proc_read() 87 status = NULL; in symc_proc_read() 95 status[i].open, status[i].decrypt, status[ in symc_proc_read() [all...] |
/drivers/hdf_core/adapter/uhdf2/hdi/test/servmgr/ |
H A D | service_manager_hdi_test.cpp | 120 int status = sampleService->SendRequest(SAMPLE_SERVICE_PING, data, reply, option); in HWTEST_F() local 121 ASSERT_EQ(status, 0); in HWTEST_F() 160 int status = sampleService->SendRequest(SAMPLE_SERVICE_CALLBACK, data, reply, option); in HWTEST_F() local 161 ASSERT_EQ(status, 0); in HWTEST_F() 181 int status = sampleService->SendRequest(SAMPLE_SERVICE_SUM, data, reply, option); in HWTEST_F() local 182 ASSERT_EQ(status, 0); in HWTEST_F() 210 int status = sampleService->SendRequest(SAMPLE_BUFFER_TRANS, data, reply, option); in HWTEST_F() local 211 ASSERT_EQ(status, 0); in HWTEST_F() 251 int status = sampleService->SendRequest(SAMPLE_REGISTER_DEVICE, data, reply, option); in HWTEST_F() local 252 ASSERT_EQ(status, HDF_SUCCES in HWTEST_F() 299 callback_(status); global() variable 328 int status = servmgr->RegisterServiceStatusListener(listener, DEVICE_CLASS_DEFAULT); TestServiceListenerStop() local 400 int status = servmgr->RegisterServiceStatusListener(listener, DEVICE_CLASS_DEFAULT); TestSampleService() local 483 int status = servmgr->RegisterServiceStatusListener(listener, DEVICE_CLASS_DEFAULT); HWTEST_F() local 540 int status = sampleService->SendRequest(SAMPLE_TRANS_SMQ, data, reply, option); HWTEST_F() local 550 auto status = smq->Write(&t, 1, OHOS::MillisecToNanosec(SMQ_TEST_WAIT_TIME)); HWTEST_F() local 579 int status = sampleService->SendRequest(SAMPLE_TRANS_SMQ, data, reply, option); HWTEST_F() local 590 auto status = smq->Write(&t[0], ELEMENT_SIZE, OHOS::MillisecToNanosec(SMQ_TEST_WAIT_TIME)); HWTEST_F() local 619 auto status = sampleService->SendRequest(SAMPLE_TRANS_SMQ, data, reply, option); HWTEST_F() local 662 int status = servmgr->RegisterServiceStatusListener(listener, DEVICE_CLASS_DEFAULT); HWTEST_F() local [all...] |
/test/xts/hats/hdf/manager/managerServiceTest/ |
H A D | service_manager_hdi_test.cpp | 155 int status = sampleService->SendRequest(SAMPLE_SERVICE_PING, data, reply, option); in HWTEST_F() local 156 ASSERT_EQ(status, 0); in HWTEST_F() 183 int status = sampleService->SendRequest(SAMPLE_SERVICE_CALLBACK, data, reply, option); in HWTEST_F() local 184 ASSERT_EQ(status, 0); in HWTEST_F() 210 int status = sampleService->SendRequest(SAMPLE_SERVICE_SUM, data, reply, option); in HWTEST_F() local 211 ASSERT_EQ(status, 0); in HWTEST_F() 245 int status = sampleService->SendRequest(SAMPLE_BUFFER_TRANS, data, reply, option); in HWTEST_F() local 246 ASSERT_EQ(status, 0); in HWTEST_F() 289 int status = sampleService->SendRequest(SAMPLE_REGISTER_DEVICE, data, reply, option); in HWTEST_F() local 290 ASSERT_EQ(status, HDF_SUCCES in HWTEST_F() 337 callback_(status); global() variable 366 int status = servmgr->RegisterServiceStatusListener(listener, DEVICE_CLASS_DEFAULT); TestServiceListenerStop() local 444 int status = servmgr->RegisterServiceStatusListener(listener, DEVICE_CLASS_DEFAULT); TestSampleService() local 536 int status = servmgr->RegisterServiceStatusListener(listener, DEVICE_CLASS_DEFAULT); HWTEST_F() local 597 int status = sampleService->SendRequest(SAMPLE_TRANS_SMQ, data, reply, option); HWTEST_F() local 607 auto status = smq->Write(&t, 1, OHOS::MillisecToNanosec(SMQ_TEST_WAIT_TIME)); HWTEST_F() local 639 int status = sampleService->SendRequest(SAMPLE_TRANS_SMQ, data, reply, option); HWTEST_F() local 650 auto status = smq->Write(&t[0], ELEMENT_SIZE, OHOS::MillisecToNanosec(SMQ_TEST_WAIT_TIME)); HWTEST_F() local 682 auto status = sampleService->SendRequest(SAMPLE_TRANS_SMQ, data, reply, option); HWTEST_F() local 728 int status = servmgr->RegisterServiceStatusListener(listener, DEVICE_CLASS_DEFAULT); HWTEST_F() local [all...] |
/drivers/hdf_core/adapter/uhdf2/hdi/src/ |
H A D | servstat_listener_stub.cpp | 39 ServiceStatus status; in ServStatListenerStubOnReceive() local 46 status.serviceName = (name == nullptr) ? "" : name; in ServStatListenerStubOnReceive() 47 if (status.serviceName.empty()) { in ServStatListenerStubOnReceive() 52 if (!data.ReadUint16(status.deviceClass) || !data.ReadUint16(status.status)) { in ServStatListenerStubOnReceive() 53 HDF_LOGE("failed to read deviceClass or status in ServiceStatus"); in ServStatListenerStubOnReceive() 58 status.info = (info == nullptr) ? "" : info; in ServStatListenerStubOnReceive() 60 HDF_LOGI("call OnReceive, %{public}s, %{public}d", status.serviceName.c_str(), status in ServStatListenerStubOnReceive() [all...] |
/drivers/peripheral/usb/sample/device/linux/ |
H A D | prop_test.c | 74 int32_t status = -1; in TestPropGet() local 80 status = g_acmService->dispatcher->Dispatch(g_acmService, USB_SERIAL_GET_PROP, g_data, g_reply); in TestPropGet() 81 if (status != HDF_SUCCESS) { in TestPropGet() 82 HDF_LOGE("%{public}s: Dispatch USB_SERIAL_GET_PROP failed status = %{public}d", __func__, status); in TestPropGet() 93 return status; in TestPropGet() 98 int32_t status = -1; in TestPropSet() local 107 status = g_acmService->dispatcher->Dispatch(g_acmService, USB_SERIAL_SET_PROP, g_data, g_reply); in TestPropSet() 108 if (status != HDF_SUCCESS) { in TestPropSet() 112 return status; in TestPropSet() 117 int32_t status; TestPropRegist() local [all...] |
/drivers/peripheral/usb/sample/device/liteos/ |
H A D | prop_test.c | 82 int32_t status = -1; in TestPropGet() local 88 status = g_acmService->dispatcher->Dispatch(&g_acmService->object, USB_SERIAL_GET_PROP, g_data, g_reply); in TestPropGet() 89 if (status != HDF_SUCCESS) { in TestPropGet() 90 HDF_LOGE("%{public}s: Dispatch USB_SERIAL_GET_PROP failed status = %{public}d", __func__, status); in TestPropGet() 101 return status; in TestPropGet() 106 int32_t status = -1; in TestPropSet() local 115 status = g_acmService->dispatcher->Dispatch(&g_acmService->object, USB_SERIAL_SET_PROP, g_data, g_reply); in TestPropSet() 116 if (status != HDF_SUCCESS) { in TestPropSet() 120 return status; in TestPropSet() 125 int32_t status; TestPropRegist() local [all...] |
/device/soc/rockchip/common/kernel/drivers/gpu/arm/bifrost/mmu/backend/ |
H A D | mali_kbase_mmu_csf.c | 82 .status = fault->status, in submit_work_pagefault() 106 /* decode the fault status */ in kbase_mmu_report_mcu_as_fault_and_reset() 107 u32 exception_type = fault->status & 0xFF; in kbase_mmu_report_mcu_as_fault_and_reset() 108 u32 access_type = (fault->status >> 8) & 0x3; in kbase_mmu_report_mcu_as_fault_and_reset() 109 u32 source_id = (fault->status >> 16); in kbase_mmu_report_mcu_as_fault_and_reset() 115 "raw fault status: 0x%X\n" in kbase_mmu_report_mcu_as_fault_and_reset() 120 fault->status, in kbase_mmu_report_mcu_as_fault_and_reset() 122 access_type, kbase_gpu_access_type_name(fault->status), in kbase_mmu_report_mcu_as_fault_and_reset() 141 u32 const status in kbase_gpu_report_bus_fault_and_kill() local 207 const u32 status = fault->status; kbase_mmu_report_fault_and_kill() local 318 kbase_mmu_bus_fault_interrupt(struct kbase_device *kbdev, u32 status, u32 as_nr) kbase_mmu_bus_fault_interrupt() argument 460 u32 status; kbase_mmu_gpu_fault_worker() local 508 submit_work_gpufault(struct kbase_device *kbdev, u32 status, u32 as_nr, u64 address) submit_work_gpufault() argument 534 kbase_mmu_gpu_fault_interrupt(struct kbase_device *kbdev, u32 status, u32 as_nr, u64 address, bool as_valid) kbase_mmu_gpu_fault_interrupt() argument [all...] |