/hardware/nxp/nfc/pn8x/halimpl/log/ |
D | phNxpLog.cc | 57 unsigned long num = 0; in phNxpLog_SetGlobalLogLevel() local 63 sscanf(valueStr, "%lu", &num); in phNxpLog_SetGlobalLogLevel() 64 level = (unsigned char)num; in phNxpLog_SetGlobalLogLevel() 80 unsigned long num = 0; in phNxpLog_SetHALLogLevel() local 84 if (GetNxpNumValue(NAME_NXPLOG_HAL_LOGLEVEL, &num, sizeof(num))) { in phNxpLog_SetHALLogLevel() 86 (level > (unsigned char)num) ? level : (unsigned char)num; in phNxpLog_SetHALLogLevel() 93 sscanf(valueStr, "%lu", &num); in phNxpLog_SetHALLogLevel() 94 gLog_level.hal_log_level = (unsigned char)num; in phNxpLog_SetHALLogLevel() 108 unsigned long num = 0; in phNxpLog_SetExtnsLogLevel() local 111 if (GetNxpNumValue(NAME_NXPLOG_EXTNS_LOGLEVEL, &num, sizeof(num))) { in phNxpLog_SetExtnsLogLevel() [all …]
|
/hardware/nxp/uwb/halimpl/log/ |
D | phNxpLog.cc | 54 unsigned long num = 0; in phNxpLog_SetGlobalLogLevel() local 60 sscanf(valueStr, "%lu", &num); in phNxpLog_SetGlobalLogLevel() 61 level = (unsigned char)num; in phNxpLog_SetGlobalLogLevel() 77 unsigned long num = 0; in phNxpLog_SetHALLogLevel() local 81 if (NxpConfig_GetNum(NAME_NXPLOG_HAL_LOGLEVEL, &num, sizeof(num))) { in phNxpLog_SetHALLogLevel() 83 (level > (unsigned char)num) ? level : (unsigned char)num; in phNxpLog_SetHALLogLevel() 90 sscanf(valueStr, "%lu", &num); in phNxpLog_SetHALLogLevel() 92 gLog_level.hal_log_level = (unsigned char)num; in phNxpLog_SetHALLogLevel() 106 unsigned long num = 0; in phNxpLog_SetExtnsLogLevel() local 109 if (NxpConfig_GetNum(NAME_NXPLOG_EXTNS_LOGLEVEL, &num, sizeof(num))) { in phNxpLog_SetExtnsLogLevel() [all …]
|
/hardware/nxp/nfc/snxxx/halimpl/log/ |
D | phNxpLog.cc | 58 unsigned long num = 0; in phNxpLog_SetGlobalLogLevel() local 64 int ret = sscanf(valueStr, "%lu", &num); in phNxpLog_SetGlobalLogLevel() 65 if (ret) level = (unsigned char)num; in phNxpLog_SetGlobalLogLevel() 81 unsigned long num = 0; in phNxpLog_SetHALLogLevel() local 85 if (GetNxpNumValue(NAME_NXPLOG_NCIHAL_LOGLEVEL, &num, sizeof(num))) { in phNxpLog_SetHALLogLevel() 87 (level > (unsigned char)num) ? level : (unsigned char)num; in phNxpLog_SetHALLogLevel() 94 int ret = sscanf(valueStr, "%lu", &num); in phNxpLog_SetHALLogLevel() 95 if (ret) gLog_level.hal_log_level = (unsigned char)num; in phNxpLog_SetHALLogLevel() 109 unsigned long num = 0; in phNxpLog_SetExtnsLogLevel() local 112 if (GetNxpNumValue(NAME_NXPLOG_EXTNS_LOGLEVEL, &num, sizeof(num))) { in phNxpLog_SetExtnsLogLevel() [all …]
|
/hardware/nxp/nfc/snxxx/1.1/ |
D | NfcExtns.cpp | 40 unsigned long num = 0; in getConfig() local 46 if (GetNxpNumValue(NAME_NFA_POLL_BAIL_OUT_MODE, &num, sizeof(num))) { in getConfig() 47 config.nfaPollBailOutMode = (bool)num; in getConfig() 49 if (GetNxpNumValue(NAME_ISO_DEP_MAX_TRANSCEIVE, &num, sizeof(num))) { in getConfig() 50 config.maxIsoDepTransceiveLength = (uint32_t)num; in getConfig() 52 if (GetNxpNumValue(NAME_DEFAULT_OFFHOST_ROUTE, &num, sizeof(num))) { in getConfig() 53 config.defaultOffHostRoute = (uint8_t)num; in getConfig() 55 if (GetNxpNumValue(NAME_DEFAULT_NFCF_ROUTE, &num, sizeof(num))) { in getConfig() 56 config.defaultOffHostRouteFelica = (uint8_t)num; in getConfig() 58 if (GetNxpNumValue(NAME_DEFAULT_SYS_CODE_ROUTE, &num, sizeof(num))) { in getConfig() [all …]
|
/hardware/nxp/nfc/snxxx/aidl/ |
D | NfcExtns.cpp | 30 unsigned long num = 0; in getConfig() local 38 if (GetNxpNumValue(NAME_NFA_POLL_BAIL_OUT_MODE, &num, sizeof(num))) { in getConfig() 39 config.nfaPollBailOutMode = (bool)num; in getConfig() 41 if (GetNxpNumValue(NAME_ISO_DEP_MAX_TRANSCEIVE, &num, sizeof(num))) { in getConfig() 42 config.maxIsoDepTransceiveLength = (uint32_t)num; in getConfig() 44 if (GetNxpNumValue(NAME_DEFAULT_OFFHOST_ROUTE, &num, sizeof(num))) { in getConfig() 45 config.defaultOffHostRoute = (uint8_t)num; in getConfig() 47 if (GetNxpNumValue(NAME_DEFAULT_NFCF_ROUTE, &num, sizeof(num))) { in getConfig() 48 config.defaultOffHostRouteFelica = (uint8_t)num; in getConfig() 50 if (GetNxpNumValue(NAME_DEFAULT_SYS_CODE_ROUTE, &num, sizeof(num))) { in getConfig() [all …]
|
/hardware/nxp/nfc/snxxx/1.2/ |
D | NfcExtns.cpp | 40 unsigned long num = 0; in getConfig() local 59 if (GetNxpNumValue(NAME_DEFAULT_ISODEP_ROUTE, &num, sizeof(num))) { in getConfig() 60 config.defaultIsoDepRoute = num; in getConfig() 74 unsigned long num = 0; in getConfig() local 80 if (GetNxpNumValue(NAME_NFA_POLL_BAIL_OUT_MODE, &num, sizeof(num))) { in getConfig() 81 config.nfaPollBailOutMode = (bool)num; in getConfig() 83 if (GetNxpNumValue(NAME_ISO_DEP_MAX_TRANSCEIVE, &num, sizeof(num))) { in getConfig() 84 config.maxIsoDepTransceiveLength = (uint32_t)num; in getConfig() 86 if (GetNxpNumValue(NAME_DEFAULT_OFFHOST_ROUTE, &num, sizeof(num))) { in getConfig() 87 config.defaultOffHostRoute = (uint8_t)num; in getConfig() [all …]
|
/hardware/st/nfc/1.2/ |
D | hal_st21nfc.cc | 447 unsigned long num = 0; in StNfc_hal_getConfig() local 455 if (GetNumValue(NAME_CE_ON_SWITCH_OFF_STATE, &num, sizeof(num))) { in StNfc_hal_getConfig() 456 if (num == 0x1) { in StNfc_hal_getConfig() 461 if (GetNumValue(NAME_POLL_BAIL_OUT_MODE, &num, sizeof(num))) { in StNfc_hal_getConfig() 462 config.nfaPollBailOutMode = num; in StNfc_hal_getConfig() 465 if (GetNumValue(NAME_ISO_DEP_MAX_TRANSCEIVE, &num, sizeof(num))) { in StNfc_hal_getConfig() 466 config.maxIsoDepTransceiveLength = num; in StNfc_hal_getConfig() 468 if (GetNumValue(NAME_DEFAULT_OFFHOST_ROUTE, &num, sizeof(num))) { in StNfc_hal_getConfig() 469 config.defaultOffHostRoute = num; in StNfc_hal_getConfig() 471 if (GetNumValue(NAME_DEFAULT_NFCF_ROUTE, &num, sizeof(num))) { in StNfc_hal_getConfig() [all …]
|
/hardware/st/nfc/aidl/ |
D | hal_st21nfc.cc | 464 unsigned long num = 0; in StNfc_hal_getConfig() local 472 if (GetNumValue(NAME_CE_ON_SWITCH_OFF_STATE, &num, sizeof(num))) { in StNfc_hal_getConfig() 473 if (num == 0x1) { in StNfc_hal_getConfig() 478 if (GetNumValue(NAME_POLL_BAIL_OUT_MODE, &num, sizeof(num))) { in StNfc_hal_getConfig() 479 config.nfaPollBailOutMode = num; in StNfc_hal_getConfig() 482 if (GetNumValue(NAME_ISO_DEP_MAX_TRANSCEIVE, &num, sizeof(num))) { in StNfc_hal_getConfig() 483 config.maxIsoDepTransceiveLength = num; in StNfc_hal_getConfig() 485 if (GetNumValue(NAME_DEFAULT_OFFHOST_ROUTE, &num, sizeof(num))) { in StNfc_hal_getConfig() 486 config.defaultOffHostRoute = num; in StNfc_hal_getConfig() 488 if (GetNumValue(NAME_DEFAULT_NFCF_ROUTE, &num, sizeof(num))) { in StNfc_hal_getConfig() [all …]
|
/hardware/st/nfc/1.1/ |
D | hal_st21nfc.cc | 425 unsigned long num = 0; in StNfc_hal_getConfig() local 433 if (GetNumValue(NAME_CE_ON_SWITCH_OFF_STATE, &num, sizeof(num))) { in StNfc_hal_getConfig() 434 if (num == 0x1) { in StNfc_hal_getConfig() 439 if (GetNumValue(NAME_POLL_BAIL_OUT_MODE, &num, sizeof(num))) { in StNfc_hal_getConfig() 440 config.nfaPollBailOutMode = num; in StNfc_hal_getConfig() 443 if (GetNumValue(NAME_ISO_DEP_MAX_TRANSCEIVE, &num, sizeof(num))) { in StNfc_hal_getConfig() 444 config.maxIsoDepTransceiveLength = num; in StNfc_hal_getConfig() 446 if (GetNumValue(NAME_DEFAULT_OFFHOST_ROUTE, &num, sizeof(num))) { in StNfc_hal_getConfig() 447 config.defaultOffHostRoute = num; in StNfc_hal_getConfig() 449 if (GetNumValue(NAME_DEFAULT_NFCF_ROUTE, &num, sizeof(num))) { in StNfc_hal_getConfig() [all …]
|
/hardware/samsung/nfc/halimpl/src/ |
D | hal.cc | 360 unsigned long num = 0; in nfc_hal_getVendorConfig() local 366 if (GetNumValue(NAME_ISO_DEP_MAX_TRANSCEIVE, &num, sizeof(num))) { in nfc_hal_getVendorConfig() 367 config.maxIsoDepTransceiveLength = num; in nfc_hal_getVendorConfig() 369 if (GetNumValue(NAME_DEFAULT_OFFHOST_ROUTE, &num, sizeof(num))) { in nfc_hal_getVendorConfig() 370 config.defaultOffHostRoute = num; in nfc_hal_getVendorConfig() 372 if (GetNumValue(NAME_DEFAULT_NFCF_ROUTE, &num, sizeof(num))) { in nfc_hal_getVendorConfig() 373 config.defaultOffHostRouteFelica = num; in nfc_hal_getVendorConfig() 375 if (GetNumValue(NAME_DEFAULT_SYS_CODE_ROUTE, &num, sizeof(num))) { in nfc_hal_getVendorConfig() 376 config.defaultSystemCodeRoute = num; in nfc_hal_getVendorConfig() 378 if (GetNumValue(NAME_DEFAULT_SYS_CODE_PWR_STATE, &num, sizeof(num))) { in nfc_hal_getVendorConfig() [all …]
|
/hardware/st/nfc/1.0/adaptation/ |
D | android_logmsg.cpp | 45 unsigned long num = 0; in InitializeSTLogLevel() local 48 num = 1; in InitializeSTLogLevel() 49 if (GetNumValue(NAME_STNFC_HAL_LOGLEVEL, &num, sizeof(num))) in InitializeSTLogLevel() 50 hal_trace_level = (unsigned char)num; in InitializeSTLogLevel() 55 sscanf(valueStr, "%lu", &num); in InitializeSTLogLevel() 56 hal_trace_level = (unsigned char)num; in InitializeSTLogLevel()
|
/hardware/google/gfxstream/guest/android-emu/aemu/base/files/ |
D | Stream.cpp | 154 void Stream::putPackedNum(uint64_t num) { in putPackedNum() argument 156 auto byte = uint8_t(num & 0x7f); in putPackedNum() 157 num >>= 7; in putPackedNum() 158 if (num) { in putPackedNum() 162 } while (num != 0); in putPackedNum() 176 void Stream::putPackedSignedNum(int64_t num) { in putPackedSignedNum() argument 177 if (num >= 0) { in putPackedSignedNum() 178 assert((uint64_t(num) & (1ULL << 63)) == 0); in putPackedSignedNum() 179 putPackedNum(uint64_t(num) << 1); in putPackedSignedNum() 181 assert((uint64_t(-num) & (1ULL << 63)) == 0); in putPackedSignedNum() [all …]
|
/hardware/google/aemu/base/ |
D | Stream.cpp | 148 void Stream::putPackedNum(uint64_t num) { in putPackedNum() argument 150 auto byte = uint8_t(num & 0x7f); in putPackedNum() 151 num >>= 7; in putPackedNum() 152 if (num) { in putPackedNum() 156 } while (num != 0); in putPackedNum() 170 void Stream::putPackedSignedNum(int64_t num) { in putPackedSignedNum() argument 171 if (num >= 0) { in putPackedSignedNum() 172 assert((uint64_t(num) & (1ULL << 63)) == 0); in putPackedSignedNum() 173 putPackedNum(uint64_t(num) << 1); in putPackedSignedNum() 175 assert((uint64_t(-num) & (1ULL << 63)) == 0); in putPackedSignedNum() [all …]
|
/hardware/invensense/65xx/libsensors_iio/software/core/mllite/ |
D | storage_manager.c | 44 int num; /**< Number of differnt save entities */ member 75 for (kk=0; kk<ds.num; ++kk) { in inv_register_load_store() 81 if (ds.num >= NUM_STORAGE_BOXES) { in inv_register_load_store() 85 ds.hd[ds.num].key = key; in inv_register_load_store() 86 ds.hd[ds.num].size = size; in inv_register_load_store() 87 ds.load[ds.num] = load_func; in inv_register_load_store() 88 ds.save[ds.num] = save_func; in inv_register_load_store() 90 ds.num++; in inv_register_load_store() 112 for (kk=0; kk<ds.num; ++kk) { in inv_find_entry() 186 for (kk = 0; kk < ds.num; ++kk) { in inv_save_mpl_states()
|
/hardware/invensense/6515/libsensors_iio/software/core/mllite/ |
D | storage_manager.c | 44 int num; /**< Number of differnt save entities */ member 75 for (kk=0; kk<ds.num; ++kk) { in inv_register_load_store() 81 if (ds.num >= NUM_STORAGE_BOXES) { in inv_register_load_store() 85 ds.hd[ds.num].key = key; in inv_register_load_store() 86 ds.hd[ds.num].size = size; in inv_register_load_store() 87 ds.load[ds.num] = load_func; in inv_register_load_store() 88 ds.save[ds.num] = save_func; in inv_register_load_store() 90 ds.num++; in inv_register_load_store() 112 for (kk=0; kk<ds.num; ++kk) { in inv_find_entry() 186 for (kk = 0; kk < ds.num; ++kk) { in inv_save_mpl_states()
|
/hardware/st/secure_element/ese-spi-driver/utils-lib/ |
D | android_logmsg.cc | 47 unsigned long num = 0; in InitializeSTLogLevel() local 49 num = 1; in InitializeSTLogLevel() 50 num = EseConfig::getUnsigned(NAME_STESE_HAL_LOGLEVEL, 0); in InitializeSTLogLevel() 51 if (num >= 0) hal_trace_level = (unsigned char)num; in InitializeSTLogLevel()
|
/hardware/interfaces/media/omx/1.0/ |
D | IOmxStore.hal | 38 * num: 0 | [1-9][0-9]* 40 * size: <num>x<num> 41 * ratio: <num>:<num> 54 * key: 'max-video-encoder-input-buffers', value-type: num 79 * key: 'bitrate-range', value-type: range<num> 80 * key: 'max-concurrent-instances', value-type: num 81 * key: 'max-supported-instances', value-type: num 84 * key: 'max-channel-count', value-type: num 85 * key: 'sample-rate-ranges', value-type: list<range<num>> 90 * key: 'block-count-range', value-type: range<num> [all …]
|
/hardware/nxp/nfc/snxxx/halimpl/hal/ |
D | phNxpNciHal_PowerTrackerIface.cc | 35 unsigned long num = 0; in phNxpNciHal_isPowerTrackerConfigured() local 37 if ((GetNxpNumValue(NAME_NXP_SYSTEM_POWER_TRACE_POLL_DURATION, &num, in phNxpNciHal_isPowerTrackerConfigured() 38 sizeof(num)))) { in phNxpNciHal_isPowerTrackerConfigured() 39 if ((uint8_t)num > 0) { in phNxpNciHal_isPowerTrackerConfigured() 43 *pollDuration = num * 1000; in phNxpNciHal_isPowerTrackerConfigured()
|
D | phNxpNciHal_ULPDet.cc | 41 unsigned long num = 0; in phNxpNciHal_isULPDetSupported() local 42 if ((GetNxpNumValue(NAME_NXP_DEFAULT_ULPDET_MODE, &num, sizeof(num)))) { in phNxpNciHal_isULPDetSupported() 43 if ((uint8_t)num > 0) { in phNxpNciHal_isULPDetSupported()
|
/hardware/google/gfxstream/guest/mesa/src/util/ |
D | u_idalloc.c | 100 util_idalloc_alloc_range(struct util_idalloc *buf, unsigned num) in util_idalloc_alloc_range() argument 102 if (num == 1) in util_idalloc_alloc_range() 105 unsigned num_alloc = DIV_ROUND_UP(num, 32); in util_idalloc_alloc_range() 129 for (unsigned i = base; i < base + num_alloc - (num % 32 != 0); i++) in util_idalloc_alloc_range() 131 if (num % 32 != 0) in util_idalloc_alloc_range() 132 buf->data[base + num_alloc - 1] |= BITFIELD_MASK(num % 32); in util_idalloc_alloc_range() 135 buf->lowest_free_idx = base + num / 32; in util_idalloc_alloc_range() 138 for (unsigned i = 0; i < num; i++) in util_idalloc_alloc_range()
|
/hardware/knowles/athletico/sound_trigger_hal/tests/ |
D | oslo_config_test.c | 406 int num; in cal_read_persist() local 411 num = fscanf(fid, "Version: %f\n", &coef.version); in cal_read_persist() 412 if (num != 1) { in cal_read_persist() 413 ALOGE("%s: Parse Version failed, num:%d\n", __func__, num); in cal_read_persist() 417 num = fscanf(fid, "Mode: %d\n", &coef.mode); in cal_read_persist() 418 if (num != 1) { in cal_read_persist() 419 ALOGE("%s: Parse Mode failed, num:%d\n", __func__, num); in cal_read_persist() 423 num = fscanf(fid, "ch1: %f %f\n", &coef.ch1_i_val, &coef.ch1_q_val); in cal_read_persist() 424 if (num != 2) { in cal_read_persist() 425 ALOGE("%s: Parse ch1 failed, num:%d\n", __func__, num); in cal_read_persist() [all …]
|
/hardware/st/nfc/st21nfc/adaptation/ |
D | android_logmsg.cpp | 49 unsigned long num = 0; in InitializeSTLogLevel() local 52 num = 1; in InitializeSTLogLevel() 53 if (GetNumValue(NAME_STNFC_HAL_LOGLEVEL, &num, sizeof(num))) { in InitializeSTLogLevel() 54 hal_conf_trace_level = (unsigned char)num; in InitializeSTLogLevel()
|
/hardware/nxp/nfc/pn8x/halimpl/hal/ |
D | phNxpNciHal.cc | 144 unsigned long num = 0; in phNxpNciHal_initialize_debug_enabled_flag() local 146 if (GetNxpNumValue(NAME_NFC_DEBUG_ENABLED, &num, sizeof(num))) { in phNxpNciHal_initialize_debug_enabled_flag() 147 nfc_debug_enabled = (num == 0) ? false : true; in phNxpNciHal_initialize_debug_enabled_flag() 440 unsigned long num = 0; in phNxpNciHal_CheckValidFwVersion() local 465 GetNxpNumValue(NAME_NXP_FW_PROTECION_OVERRIDE, &num, sizeof(num)); in phNxpNciHal_CheckValidFwVersion() 467 if (num == 0x01) { in phNxpNciHal_CheckValidFwVersion() 495 unsigned long num = 0; in phNxpNciHal_get_clk_freq() local 502 isfound = GetNxpNumValue(NAME_NXP_SYS_CLK_SRC_SEL, &num, sizeof(num)); in phNxpNciHal_get_clk_freq() 504 nxpprofile_ctrl.bClkSrcVal = num; in phNxpNciHal_get_clk_freq() 507 num = 0; in phNxpNciHal_get_clk_freq() [all …]
|
/hardware/nxp/secure_element/snxxx/libese-spi/p73/lib/ |
D | phNxpEse_Api.cpp | 142 unsigned long int num, ifsd_value = 0; in phNxpEse_init() local 161 num = EseConfig::getUnsigned(NAME_RNACK_RETRY_DELAY); in phNxpEse_init() 162 nxpese_ctxt.invalidFrame_Rnack_Delay = num; in phNxpEse_init() 163 NXP_LOG_ESE_D("Rnack retry_delay read from config file - %lu", num); in phNxpEse_init() 192 num = EseConfig::getUnsigned(NAME_NXP_WTX_NTF_COUNT); in phNxpEse_init() 193 protoInitParam.wtx_ntf_limit = num; in phNxpEse_init() 283 unsigned long int num = 0, tpm_enable = 0; in phNxpEse_open() local 311 num = EseConfig::getUnsigned(NAME_NXP_OS_VERSION); in phNxpEse_open() 312 NXP_LOG_ESE_D("Chip type read from config file - %lu", num); in phNxpEse_open() 313 sOsVersion = (num == 1) ? OS_VERSION_4_0 in phNxpEse_open() [all …]
|
/hardware/nxp/secure_element/pn8x/libese-spi/p73/lib/ |
D | phNxpEse_Api.cpp | 93 unsigned long int num; in phNxpEse_init() local 101 num = EseConfig::getUnsigned(NAME_NXP_WTX_COUNT_VALUE); in phNxpEse_init() 102 protoInitParam.wtx_counter_limit = num; in phNxpEse_init() 195 unsigned long int num = 0; in phNxpEse_open() local 197 num = EseConfig::getUnsigned(NAME_NXP_POWER_SCHEME); in phNxpEse_open() 198 nxpese_ctxt.pwr_scheme = num; in phNxpEse_open() 199 ALOGE("Power scheme read from config file - %lu", num); in phNxpEse_open() 202 ALOGE("Power scheme not defined in config file - %lu", num); in phNxpEse_open() 347 unsigned long int num = 0; in phNxpEse_openPrioSession() local 364 num = EseConfig::getUnsigned(NAME_NXP_POWER_SCHEME); in phNxpEse_openPrioSession() [all …]
|