coreboot
coreboot is an Open Source project aimed at replacing the proprietary BIOS found in most computers.
crc_byte.c File Reference
#include <crc_byte.h>
Include dependency graph for crc_byte.c:

Go to the source code of this file.

Functions

uint8_t crc7_byte (uint8_t prev_crc, uint8_t data)
 
uint16_t crc16_byte (uint16_t prev_crc, uint8_t data)
 
uint32_t crc32_byte (uint32_t prev_crc, uint8_t data)
 

Function Documentation

◆ crc16_byte()

uint16_t crc16_byte ( uint16_t  prev_crc,
uint8_t  data 
)

◆ crc32_byte()

uint32_t crc32_byte ( uint32_t  prev_crc,
uint8_t  data 
)

Definition at line 27 of file crc_byte.c.

Referenced by acpi_device_uid(), get_board_settings_from_eeprom(), and update_board_layout().

Here is the caller graph for this function:

◆ crc7_byte()

uint8_t crc7_byte ( uint8_t  prev_crc,
uint8_t  data 
)

Definition at line 5 of file crc_byte.c.

Referenced by spi_sdcard_calculate_command_crc().

Here is the caller graph for this function: