/device/google/contexthub/firmware/lib/builtins/ |
D | udivmoddi4.c | 34 unsigned sr; in __udivmoddi4() local 102 sr = __builtin_clz(d.s.high) - __builtin_clz(n.s.high); in __udivmoddi4() 104 if (sr > n_uword_bits - 2) in __udivmoddi4() 110 ++sr; in __udivmoddi4() 114 q.s.high = n.s.low << (n_uword_bits - sr); in __udivmoddi4() 116 r.s.high = n.s.high >> sr; in __udivmoddi4() 117 r.s.low = (n.s.high << (n_uword_bits - sr)) | (n.s.low >> sr); in __udivmoddi4() 133 sr = __builtin_ctz(d.s.low); in __udivmoddi4() 134 q.s.high = n.s.high >> sr; in __udivmoddi4() 135 q.s.low = (n.s.high << (n_uword_bits - sr)) | (n.s.low >> sr); in __udivmoddi4() [all …]
|
/device/linaro/hikey/hifi/xaf/hifi-dpf/core/util/gdbstub/ |
D | gdbstub.c | 456 static inline void mark_read(int sr) in mark_read() argument 458 set_bit(sregs_read, sr); in mark_read() 460 static inline int is_read(int sr) in is_read() argument 462 return test_bit(sregs_read, sr); in is_read() 464 static inline void mark_mod(int sr) in mark_mod() argument 466 set_bit(sregs_mod, sr); in mark_mod() 468 static inline int is_mod(int sr) in is_mod() argument 470 return test_bit(sregs_mod, sr); in is_mod() 472 static inline void mark_late(int sr) in mark_late() argument 474 set_bit(sregs_late, sr); in mark_late() [all …]
|
/device/google/contexthub/firmware/os/cpu/cortexm4/ |
D | cpu.c | 92 static void cpuPackSrBits(uint32_t *dstLo, uint32_t *dstHi, uint32_t sr, uint32_t hfsr, uint32_t cf… in cpuPackSrBits() argument 100 sr &= 0xFF00FDFF; in cpuPackSrBits() 104 *dstLo = sr | ((cfsr << 4) & 0x00FF0000) | (hfsr >> 12) | (hfsr << 8); in cpuPackSrBits() 118 uint32_t i, hfsr, cfsr, sr; in cpuDbxDump() local 128 …cpuUnpackSrBits(dbx->sr_hfsr_cfsr_lo, dbx->magic & HARD_FAULT_DROPBOX_MAGIC_DATA_MASK, &sr, &hfsr,… in cpuDbxDump() 130 osLog(LOG_ERROR, " xPSR = 0x%08lX HFSR = 0x%08lX\n", sr, hfsr); in cpuDbxDump()
|
/device/google/contexthub/firmware/os/platform/stm32/ |
D | platform.c | 469 uint16_t sr; in sleepClockTmrWake() local 483 sr = tim->SR; in sleepClockTmrWake() 485 } while (sr != tim->SR || cnt != tim->CNT); in sleepClockTmrWake() 488 if (sr & 1) //if there was an overflow, account for it in sleepClockTmrWake()
|
/device/google/cuttlefish/guest/hals/ril/ |
D | cuttlefish_ril.cpp | 1781 RIL_SIM_IO_Response sr = {0, 0, 0}; in request_SIM_IO() local 1795 sr.sw1 = resp->second.sw1; in request_SIM_IO() 1796 sr.sw2 = resp->second.sw2; in request_SIM_IO() 1797 if (resp->second.data) sr.simResponse = strdup(resp->second.data); in request_SIM_IO() 1798 gce_ril_env->OnRequestComplete(t, RIL_E_SUCCESS, &sr, sizeof(sr)); in request_SIM_IO() 2090 RIL_SIM_IO_Response sr{}; in request_sim_apdu() local 2093 sr.sw1 = 144; in request_sim_apdu() 2094 sr.sw2 = 0; in request_sim_apdu() 2095 sr.simResponse = NULL; in request_sim_apdu() 2097 gce_ril_env->OnRequestComplete(t, RIL_E_SUCCESS, &sr, sizeof(sr)); in request_sim_apdu()
|
/device/google/cuttlefish/guest/hals/ril/reference-ril/ |
D | reference-ril.c | 2510 RIL_SIM_IO_Response sr; local 2519 memset(&sr, 0, sizeof(sr)); 2543 err = parseSimResponseLine(line, &sr); 2547 if (sr.simResponse != NULL && // Default to be USIM card 2549 uint8_t *bytes = convertHexStringToBytes(sr.simResponse, strlen(sr.simResponse)); 2559 if (convertUsimToSim(bytes, strlen(sr.simResponse) / 2, hexSIM)) { 2560 sr.simResponse = (char *)hexSIM; 2565 RIL_onRequestComplete(t, RIL_E_SUCCESS, &sr, sizeof(sr));
|
/device/generic/goldfish/radio/ril/ |
D | reference-ril.c | 2253 RIL_SIM_IO_Response sr; local 2259 memset(&sr, 0, sizeof(sr)); 2287 err = parseSimResponseLine(line, &sr); 2292 RIL_onRequestComplete(t, RIL_E_SUCCESS, &sr, sizeof(sr));
|
/device/linaro/dragonboard/db845c/firmware/ |
D | adsp.b13 | 33 …ious %lu) for fmt-id 0x%lxStreamRouterSvc_Utils.cpp: Media Type Message: sr %ld, num_ch %ld, bit…
|