Searched refs:count (Results 1 – 2 of 2) sorted by relevance
36 const struct spi_buf_set tx_buf_set = { .buffers = &tx_buf, .count = 1 }; in WE_ReadReg_SPI()41 const struct spi_buf_set rx_buf_set = { .buffers = rx_buf, .count = 2 }; in WE_ReadReg_SPI()81 const struct spi_buf_set tx_buf_set = { .buffers = tx_buf, .count = 2 }; in WE_WriteReg_SPI()
49 static uint8_t HIDS_GenerateCRC(const uint8_t* data, uint16_t count) in HIDS_GenerateCRC() argument56 for (current_byte = 0; current_byte < count; ++current_byte) { in HIDS_GenerateCRC()79 static int8_t HIDS_CheckCRC(const uint8_t* data, uint16_t count, uint8_t checksum) in HIDS_CheckCRC() argument81 if (HIDS_GenerateCRC(data, count) != checksum) in HIDS_CheckCRC()