Lines Matching defs:words
6869 * words - number of words to read
6872 em_read_eeprom(struct em_hw *hw, uint16_t offset, uint16_t words,
6883 * A check for invalid values: offset too large, too many words, and
6884 * not enough words.
6887 (words > eeprom->word_size - offset) ||
6888 (words == 0)) {
6889 DEBUGOUT2("\"words\" parameter out of bounds. Words = %d,"
6907 return em_read_eeprom_eerd(hw, offset, words, data);
6911 return em_read_eeprom_ich8(hw, offset, words, data);
6915 return em_read_invm_i210(hw, offset, words, data);
6948 for (i = 0; i < words; i++) {
6953 for (i = 0; i < words; i++) {
6979 * words - number of words to read
6982 em_read_eeprom_eerd(struct em_hw *hw, uint16_t offset, uint16_t words,
6987 for (i = 0; i < words; i++) {
7011 * words - number of words to read
7014 em_write_eeprom_eewr(struct em_hw *hw, uint16_t offset, uint16_t words,
7023 for (i = 0; i < words; i++) {
7127 * Reads the first 64 16 bit words of the EEPROM and sums the values read.
7128 * If the sum of the 64 16 bit words is 0xBABA, the EEPROM's checksum is
7218 * Sums the first 63 16 bit words of the EEPROM. Subtracts the sum from 0xBABA.
7257 * Parent function for writing words to the different EEPROM types.
7261 * words - number of words to write
7268 em_write_eeprom(struct em_hw *hw, uint16_t offset, uint16_t words,
7279 * A check for invalid values: offset too large, too many words, and
7280 * not enough words.
7283 (words > eeprom->word_size - offset) ||
7284 (words == 0)) {
7285 DEBUGOUT("\"words\" parameter out of bounds\n");
7290 return em_write_eeprom_eewr(hw, offset, words, data);
7293 return em_write_eeprom_ich8(hw, offset, words, data);
7300 status = em_write_eeprom_microwire(hw, offset, words, data);
7302 status = em_write_eeprom_spi(hw, offset, words, data);
7317 * words - number of words to write
7318 * data - pointer to array of 8 bit words to be written to the EEPROM
7322 em_write_eeprom_spi(struct em_hw *hw, uint16_t offset, uint16_t words,
7329 while (widx < words) {
7359 while (widx < words) {
7385 * words - number of words to write
7386 * data - pointer to array of 16 bit words to be written to the EEPROM
7390 em_write_eeprom_microwire(struct em_hw *hw, uint16_t offset, uint16_t words,
7413 while (words_written < words) {
7472 * words - number of words to read
7545 * of words.
10111 em_read_eeprom_spt(struct em_hw *hw, uint16_t offset, uint16_t words,
10147 for (i = add = 0; i < words; i += add) {
10180 if (add == 1 || words-i == 1)
10197 * Reads a 16 bit word or words from the EEPROM using the ICH8's flash access
10203 * words - number of words to read
10206 em_read_eeprom_ich8(struct em_hw *hw, uint16_t offset, uint16_t words,
10223 return em_read_eeprom_spt(hw, offset, words, data);
10241 for (i = 0; i < words; i++) {
10262 * Writes a 16 bit word or words to the EEPROM using the ICH8's flash access
10269 * words - number of words to write
10270 * data - words to write to the EEPROM
10273 em_write_eeprom_ich8(struct em_hw *hw, uint16_t offset, uint16_t words,
10283 * allocated. Subsequent reads to the modified words are read from
10290 for (i = 0; i < words; i++) {
10967 * Reads 16-bit words from the OTP. Return error when the word is not
10973 * words - number of words to read
10976 em_read_invm_i210(struct em_hw *hw, uint16_t offset, uint16_t words,
11039 * Reads 16-bit words from the OTP. Return error when the word is not