Home
last modified time | relevance | path

Searched refs:pvBuffer (Results 1 – 2 of 2) sorted by relevance

/hardware/st/nfc/st21nfc/adaptation/
Di2clayer.cc72 static int i2cRead(int fid, uint8_t* pvBuffer, int length);
74 static int i2cWrite(int fd, const uint8_t* pvBuffer, int length);
422 static int i2cWrite(int fid, const uint8_t* pvBuffer, int length) { in i2cWrite() argument
430 pvBuffer[0] == 0x20 && pvBuffer[1] == 0x09) { in i2cWrite()
431 if (hal_activerw_timer && (pvBuffer[3] == 0x01 || pvBuffer[3] == 0x03)) { in i2cWrite()
441 if (clk_state == 1 && (pvBuffer[3] == 0x01 || pvBuffer[3] == 0x03)) { in i2cWrite()
454 } else if (clk_state == 0 && (pvBuffer[3] == 0x02 || pvBuffer[3] == 0x00)) { in i2cWrite()
472 result = write(fid, pvBuffer, length); in i2cWrite()
508 static int i2cRead(int fid, uint8_t* pvBuffer, int length) { in i2cRead() argument
513 result = read(fid, pvBuffer, length); in i2cRead()
/hardware/st/nfc/1.0/adaptation/
Di2clayer.c64 static int i2cRead(int fid, uint8_t* pvBuffer, int length);
66 static int i2cWrite(int fd, const uint8_t* pvBuffer, int length);
346 static int i2cWrite(int fid, const uint8_t* pvBuffer, int length) in i2cWrite() argument
352 result = write(fid, pvBuffer, length); in i2cWrite()
382 static int i2cRead(int fid, uint8_t* pvBuffer, int length) in i2cRead() argument
388 result = read(fid, pvBuffer, length); in i2cRead()