Lines Matching refs:recv
254 unsigned long recv = 0;
256 msg.rx_buf = (unsigned long) &recv;
265 return (int) recv;
276 uint16_t recv = 0;
278 msg.rx_buf = (unsigned long) &recv;
287 return recv;
331 uint8_t* recv = malloc(sizeof(uint8_t) * length);
333 if (mraa_spi_transfer_buf(dev, data, recv, length) != MRAA_SUCCESS) {
334 free(recv);
337 return recv;
343 uint16_t* recv = malloc(sizeof(uint16_t) * length);
345 if (mraa_spi_transfer_buf_word(dev, data, recv, length) != MRAA_SUCCESS) {
346 free(recv);
349 return recv;