Lines Matching defs:words
201 * @words: number of words to read
207 static s32 igb_read_nvm_srrd_i210(struct e1000_hw *hw, u16 offset, u16 words,
217 for (i = 0; i < words; i += E1000_EERD_EEWR_MAX_COUNT) {
218 count = (words - i) / E1000_EERD_EEWR_MAX_COUNT > 0 ?
219 E1000_EERD_EEWR_MAX_COUNT : (words - i);
239 * @words: number of words to write
247 static s32 igb_write_nvm_srwr(struct e1000_hw *hw, u16 offset, u16 words,
255 /* A check for invalid values: offset too large, too many words,
256 * too many words for the offset, and not enough words.
258 if ((offset >= nvm->word_size) || (words > (nvm->word_size - offset)) ||
259 (words == 0)) {
265 for (i = 0; i < words; i++) {
295 * @words: number of words to write
307 static s32 igb_write_nvm_srwr_i210(struct e1000_hw *hw, u16 offset, u16 words,
317 for (i = 0; i < words; i += E1000_EERD_EEWR_MAX_COUNT) {
318 count = (words - i) / E1000_EERD_EEWR_MAX_COUNT > 0 ?
319 E1000_EERD_EEWR_MAX_COUNT : (words - i);
341 * Reads 16-bit words from the OTP. Return error when the word is not
380 * @words: number of words to read
386 u16 words __always_unused, u16 *data)