Home
last modified time | relevance | path

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

/hardware/st/nfc/st21nfc/adaptation/
Di2clayer.cc75 static int i2cRead(int fid, uint8_t* pvBuffer, int length);
77 static int i2cWrite(int fd, const uint8_t* pvBuffer, int length);
458 static int i2cWrite(int fid, const uint8_t* pvBuffer, int length) { in i2cWrite() argument
466 pvBuffer[0] == 0x20 && pvBuffer[1] == 0x09) { in i2cWrite()
467 if (hal_activerw_timer && (pvBuffer[3] == 0x01 || pvBuffer[3] == 0x03)) { in i2cWrite()
477 if (clk_state == 1 && (pvBuffer[3] == 0x01 || pvBuffer[3] == 0x03)) { in i2cWrite()
490 } else if (clk_state == 0 && (pvBuffer[3] == 0x02 || pvBuffer[3] == 0x00)) { in i2cWrite()
508 result = write(fid, pvBuffer, length); in i2cWrite()
545 static int i2cRead(int fid, uint8_t* pvBuffer, int length) { in i2cRead() argument
550 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()