Searched refs:sr (Results 1 – 5 of 5) sorted by relevance
/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/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/cuttlefish/guest/hals/ril/reference-ril/ |
D | reference-ril.c | 2286 RIL_SIM_IO_Response sr; local 2288 memset(&sr, 0, sizeof(sr)); 2308 at_tok_nextstr(&line, &(sr.simResponse)) < 0) { 2312 sscanf(&(sr.simResponse[len - 4]), "%02x%02x", &(sr.sw1), &(sr.sw2)); 2314 if (sr.sw1 == 0x90 && sr.sw2 == 0x00) { // 9000 is successful 2317 sscanf(sr.simResponse, "%02x", &(response[*rspLen])); 2318 sr.simResponse += 2; 2455 RIL_SIM_IO_Response sr = {0}; local 2483 err = at_tok_nextstr(&line, &(sr.simResponse)); 2486 len = strlen(sr.simResponse); [all …]
|
/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/generic/vulkan-cereal/third-party/astc-encoder/Source/ |
D | wuffs-v0.3.c | 16684 uint32_t sr = 0x101 * (0xFF & (src_nonpremul >> 16)); in wuffs_base__composite_nonpremul_nonpremul_u32_axxx() local 16698 dr = ((sr * sa) + (dr * ia)) / 0xFFFF; in wuffs_base__composite_nonpremul_nonpremul_u32_axxx() 16737 uint64_t sr = 0xFFFF & (src_nonpremul >> 32); in wuffs_base__composite_nonpremul_nonpremul_u64_axxx() local 16751 dr = ((sr * sa) + (dr * ia)) / 0xFFFF; in wuffs_base__composite_nonpremul_nonpremul_u64_axxx() 16775 uint32_t sr = 0x101 * (0xFF & (src_premul >> 16)); in wuffs_base__composite_nonpremul_premul_u32_axxx() local 16789 dr = sr + ((dr * ia) / 0xFFFF); in wuffs_base__composite_nonpremul_premul_u32_axxx() 16819 uint64_t sr = 0xFFFF & (src_premul >> 32); in wuffs_base__composite_nonpremul_premul_u64_axxx() local 16833 dr = sr + ((dr * ia) / 0xFFFF); in wuffs_base__composite_nonpremul_premul_u64_axxx() 16857 uint32_t sr = 0x101 * (0xFF & (src_nonpremul >> 16)); in wuffs_base__composite_premul_nonpremul_u32_axxx() local 16866 dr = ((sr * sa) + (dr * ia)) / 0xFFFF; in wuffs_base__composite_premul_nonpremul_u32_axxx() [all …]
|