Lines Matching full:words
300 * @words: number of words to read
305 s32 igb_read_nvm_spi(struct e1000_hw *hw, u16 offset, u16 words, u16 *data) in igb_read_nvm_spi() argument
313 /* A check for invalid values: offset too large, too many words, in igb_read_nvm_spi()
314 * and not enough words. in igb_read_nvm_spi()
316 if ((offset >= nvm->word_size) || (words > (nvm->word_size - offset)) || in igb_read_nvm_spi()
317 (words == 0)) { in igb_read_nvm_spi()
344 for (i = 0; i < words; i++) { in igb_read_nvm_spi()
360 * @words: number of words to read
365 s32 igb_read_nvm_eerd(struct e1000_hw *hw, u16 offset, u16 words, u16 *data) in igb_read_nvm_eerd() argument
371 /* A check for invalid values: offset too large, too many words, in igb_read_nvm_eerd()
372 * and not enough words. in igb_read_nvm_eerd()
374 if ((offset >= nvm->word_size) || (words > (nvm->word_size - offset)) || in igb_read_nvm_eerd()
375 (words == 0)) { in igb_read_nvm_eerd()
381 for (i = 0; i < words; i++) { in igb_read_nvm_eerd()
402 * @words: number of words to write
410 s32 igb_write_nvm_spi(struct e1000_hw *hw, u16 offset, u16 words, u16 *data) in igb_write_nvm_spi() argument
416 /* A check for invalid values: offset too large, too many words, in igb_write_nvm_spi()
417 * and not enough words. in igb_write_nvm_spi()
419 if ((offset >= nvm->word_size) || (words > (nvm->word_size - offset)) || in igb_write_nvm_spi()
420 (words == 0)) { in igb_write_nvm_spi()
425 while (widx < words) { in igb_write_nvm_spi()
458 while (widx < words) { in igb_write_nvm_spi()