Home
last modified time | relevance | path

Searched refs:pcb (Results 1 – 10 of 10) sorted by relevance

/hardware/st/secure_element/ese-spi-driver/
DT1protocol.cc57 uint8_t pcb = 0xFF; in T1protocol_getValidPcb() local
61 pcb = 0x00; in T1protocol_getValidPcb()
64 pcb |= (uint8_t)IBLOCK_NS_BIT_MASK; in T1protocol_getValidPcb()
69 pcb |= IBLOCK_M_BIT_MASK; in T1protocol_getValidPcb()
74 pcb = 0x80; in T1protocol_getValidPcb()
77 pcb |= ((uint8_t)numseqSlave) << 4; in T1protocol_getValidPcb()
80 pcb |= 0b00000001; in T1protocol_getValidPcb()
81 pcb |= ((uint8_t)numseqSlave) << 4; in T1protocol_getValidPcb()
84 pcb |= 0b00000010; in T1protocol_getValidPcb()
85 pcb |= ((uint8_t)numseqSlave) << 4; in T1protocol_getValidPcb()
[all …]
DSpiLayerComm.cc289 respTpdu->pcb = buffer[0]; in SpiLayerComm_waitForResponse()
/hardware/st/secure_element/ese-spi-driver/utils-lib/
DTpdu.cc42 baTpdu[PCB_OFFSET_IN_TPDU] = structTpdu->pcb; in Tpdu_toByteArray()
119 int Tpdu_formTpdu(uint8_t nad, uint8_t pcb, uint8_t len, uint8_t *data, in Tpdu_formTpdu() argument
129 tpdu->pcb = pcb; in Tpdu_formTpdu()
222 if ((tpdu->pcb & 0x80) == 0x00) { in Tpdu_getType()
224 } else if ((tpdu->pcb & 0xC0) == 0x80) { in Tpdu_getType()
247 dest->pcb = src->pcb; in Tpdu_copy()
DTpdu.h48 uint8_t pcb; member
90 int Tpdu_formTpdu(uint8_t nad, uint8_t pcb, uint8_t len, uint8_t *data,
/hardware/st/secure_element2/secure_element/1.0/esehal/src/
Diso7816_t1.c158 uint8_t pcb; in write_iblock() local
165 n = t1->ifsc, pcb = 0x20; in write_iblock()
167 pcb = 0; in write_iblock()
170 pcb |= 0x40; in write_iblock()
173 buf[1] = pcb; in write_iblock()
230 uint8_t pcb = buf[1]; in parse_iblock() local
231 uint8_t next = !!(pcb & 0x40); in parse_iblock()
240 return !!(pcb & 0x20); in parse_iblock()
247 uint8_t pcb = buf[1]; in parse_rblock() local
248 uint8_t next = !!(pcb & 0x10); in parse_rblock()
[all …]
/hardware/google/camera/devices/EmulatedCamera/hwl/
DJpegCompressor.cpp332 uint8_t* pcb = static_cast<uint8_t*>(frame.yuv_planes.img_cb); in CompressYUV420Frame() local
344 static_cast<JSAMPROW>(pcb + li * frame.yuv_planes.cbcr_stride); in CompressYUV420Frame()
/hardware/nxp/secure_element/pn8x/libese-spi/p73/lib/
DphNxpEseProto7816_3.cpp567 uint8_t pcb; in phNxpEseProto7816_DecodeFrame() local
572 pcb = p_data[PH_PROPTO_7816_PCB_OFFSET]; in phNxpEseProto7816_DecodeFrame()
576 phNxpEse_memcpy(&pcb_bits, &pcb, sizeof(uint8_t)); in phNxpEseProto7816_DecodeFrame()
753 int32_t frameType = (int32_t)(pcb & 0x3F); /*discard upper 2 bits */ in phNxpEseProto7816_DecodeFrame()
/hardware/nxp/secure_element/snxxx/libese-spi/p73/lib/
DphNxpEse_Api.cpp1374 uint8_t pcb; in phNxpEse_readPacket() local
1376 pcb = pBuffer[PH_PROPTO_7816_PCB_OFFSET]; in phNxpEse_readPacket()
1379 phNxpEse_memcpy(&pcb_bits, &pcb, sizeof(uint8_t)); in phNxpEse_readPacket()
DphNxpEseProto7816_3.cpp1003 uint8_t pcb; in phNxpEseProto7816_DecodeFrame() local
1008 pcb = p_data[PH_PROPTO_7816_PCB_OFFSET]; in phNxpEseProto7816_DecodeFrame()
1012 phNxpEse_memcpy(&pcb_bits, &pcb, sizeof(uint8_t)); in phNxpEseProto7816_DecodeFrame()
1225 int32_t frameType = (int32_t)(pcb & 0x3F); /*discard upper 2 bits */ in phNxpEseProto7816_DecodeFrame()
/hardware/interfaces/camera/device/3.4/default/
DExternalCameraUtils.cpp512 uint8_t *pcb = static_cast<uint8_t*>(inLayout.cb); in encodeJpegYU12() local
524 cbLines[i] = static_cast<JSAMPROW>(pcb + li * inLayout.cStride); in encodeJpegYU12()