Lines Matching refs:words
305 s32 igb_read_nvm_spi(struct e1000_hw *hw, u16 offset, u16 words, u16 *data) in igb_read_nvm_spi() argument
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()
365 s32 igb_read_nvm_eerd(struct e1000_hw *hw, u16 offset, u16 words, u16 *data) in igb_read_nvm_eerd() argument
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()
410 s32 igb_write_nvm_spi(struct e1000_hw *hw, u16 offset, u16 words, u16 *data) in igb_write_nvm_spi() argument
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()