Searched refs:lrc (Results 1 – 2 of 2) sorted by relevance
/hardware/qcom/camera/msm8998/QCamera2/stack/mm-jpeg-interface/src/ |
D | mm_jpeg_ionbuf.c | 58 int lrc = 0; in buffer_allocate() local 74 lrc = ioctl(p_buffer->ion_fd, ION_IOC_ALLOC, &p_buffer->alloc); in buffer_allocate() 75 if (lrc < 0) { in buffer_allocate() 82 lrc = ioctl(p_buffer->ion_fd, ION_IOC_SHARE, in buffer_allocate() 84 if (lrc < 0) { in buffer_allocate() 125 int lrc = 0; in buffer_deallocate() local 129 lrc = munmap(p_buffer->addr, lsize); in buffer_deallocate() 137 return lrc; in buffer_deallocate() 154 int lrc = 0; in buffer_invalidate() local 167 lrc = ioctl(p_buffer->ion_fd, ION_IOC_CUSTOM, &custom_data); in buffer_invalidate() [all …]
|
/hardware/nxp/uwb/halimpl/hal/sr1xx/ |
D | phNxpUciHal_fwd.cc | 238 uint16_t lrc, dataSz, payloadSz, segment; in phHbci_QueryInfo() local 267 lrc = payloadSz ? PHHBCI_LEN_LRC : 0; in phHbci_QueryInfo() 268 dataSz = payloadSz - lrc; in phHbci_QueryInfo() 390 uint16_t lrc, dataSz, payloadSz; in phHbci_PutCommand() local 406 lrc = imgSz ? PHHBCI_LEN_LRC : 0; in phHbci_PutCommand() 408 payloadSz = dataSz + lrc; in phHbci_PutCommand() 692 uint8_t lrc = 0; in phHbci_CalcLrc() local 696 return lrc; in phHbci_CalcLrc() 701 lrc += *pBuf++; in phHbci_CalcLrc() 704 lrc ^= 0xFF; in phHbci_CalcLrc() [all …]
|