Lines Matching defs:words
40 static s32 e1000_write_nvm_srwr(struct e1000_hw *hw, u16 offset, u16 words,
83 * @words: number of words to read
89 s32 e1000_read_nvm_srrd_i210(struct e1000_hw *hw, u16 offset, u16 words,
100 for (i = 0; i < words; i += E1000_EERD_EEWR_MAX_COUNT) {
101 count = (words - i) / E1000_EERD_EEWR_MAX_COUNT > 0 ?
102 E1000_EERD_EEWR_MAX_COUNT : (words - i);
122 * @words: number of words to write
134 s32 e1000_write_nvm_srwr_i210(struct e1000_hw *hw, u16 offset, u16 words,
145 for (i = 0; i < words; i += E1000_EERD_EEWR_MAX_COUNT) {
146 count = (words - i) / E1000_EERD_EEWR_MAX_COUNT > 0 ?
147 E1000_EERD_EEWR_MAX_COUNT : (words - i);
167 * @words: number of words to write
175 static s32 e1000_write_nvm_srwr(struct e1000_hw *hw, u16 offset, u16 words,
186 * A check for invalid values: offset too large, too many words,
187 * too many words for the offset, and not enough words.
189 if ((offset >= nvm->word_size) || (words > (nvm->word_size - offset)) ||
190 (words == 0)) {
196 for (i = 0; i < words; i++) {
229 * Reads 16-bit words from the OTP. Return error when the word is not
275 u16 E1000_UNUSEDARG words, u16 *data)