Lines Matching full:words
173 * @words: number of words to read
179 static s32 igc_read_nvm_srrd_i225(struct igc_hw *hw, u16 offset, u16 words, in igc_read_nvm_srrd_i225() argument
189 for (i = 0; i < words; i += IGC_EERD_EEWR_MAX_COUNT) { in igc_read_nvm_srrd_i225()
190 count = (words - i) / IGC_EERD_EEWR_MAX_COUNT > 0 ? in igc_read_nvm_srrd_i225()
191 IGC_EERD_EEWR_MAX_COUNT : (words - i); in igc_read_nvm_srrd_i225()
210 * @words: number of words to write
218 static s32 igc_write_nvm_srwr(struct igc_hw *hw, u16 offset, u16 words, in igc_write_nvm_srwr() argument
226 /* A check for invalid values: offset too large, too many words, in igc_write_nvm_srwr()
227 * too many words for the offset, and not enough words. in igc_write_nvm_srwr()
229 if (offset >= nvm->word_size || (words > (nvm->word_size - offset)) || in igc_write_nvm_srwr()
230 words == 0) { in igc_write_nvm_srwr()
236 for (i = 0; i < words; i++) { in igc_write_nvm_srwr()
266 * @words: number of words to write
278 static s32 igc_write_nvm_srwr_i225(struct igc_hw *hw, u16 offset, u16 words, in igc_write_nvm_srwr_i225() argument
288 for (i = 0; i < words; i += IGC_EERD_EEWR_MAX_COUNT) { in igc_write_nvm_srwr_i225()
289 count = (words - i) / IGC_EERD_EEWR_MAX_COUNT > 0 ? in igc_write_nvm_srwr_i225()
290 IGC_EERD_EEWR_MAX_COUNT : (words - i); in igc_write_nvm_srwr_i225()