• Home
  • Raw
  • Download

Lines Matching refs:words

226 				    u32 offset, u16 words, void *data,  in i40e_read_nvm_aq()  argument
239 if ((offset + words) > hw->nvm.sr_size) in i40e_read_nvm_aq()
242 (offset + words), hw->nvm.sr_size); in i40e_read_nvm_aq()
243 else if (words > I40E_SR_SECTOR_SIZE_IN_WORDS) in i40e_read_nvm_aq()
247 words, I40E_SR_SECTOR_SIZE_IN_WORDS); in i40e_read_nvm_aq()
248 else if (((offset + (words - 1)) / I40E_SR_SECTOR_SIZE_IN_WORDS) in i40e_read_nvm_aq()
253 offset, words); in i40e_read_nvm_aq()
257 2 * words, /*bytes*/ in i40e_read_nvm_aq()
341 u16 *words, u16 *data) in i40e_read_nvm_buffer_srctl() argument
347 for (word = 0; word < *words; word++) { in i40e_read_nvm_buffer_srctl()
355 *words = word; in i40e_read_nvm_buffer_srctl()
372 u16 *words, u16 *data) in i40e_read_nvm_buffer_aq() argument
375 u16 read_size = *words; in i40e_read_nvm_buffer_aq()
386 read_size = min(*words, in i40e_read_nvm_buffer_aq()
390 read_size = min((*words - words_read), in i40e_read_nvm_buffer_aq()
394 if ((words_read + read_size) >= *words) in i40e_read_nvm_buffer_aq()
407 } while (words_read < *words); in i40e_read_nvm_buffer_aq()
409 for (i = 0; i < *words; i++) in i40e_read_nvm_buffer_aq()
413 *words = words_read; in i40e_read_nvm_buffer_aq()
428 u16 offset, u16 *words, in __i40e_read_nvm_buffer() argument
434 ret_code = i40e_read_nvm_buffer_aq(hw, offset, words, data); in __i40e_read_nvm_buffer()
436 ret_code = i40e_read_nvm_buffer_srctl(hw, offset, words, data); in __i40e_read_nvm_buffer()
452 u32 offset, u16 words, void *data, in i40e_write_nvm_aq() argument
466 if ((offset + words) > hw->nvm.sr_size) in i40e_write_nvm_aq()
469 (offset + words), hw->nvm.sr_size); in i40e_write_nvm_aq()
470 else if (words > I40E_SR_SECTOR_SIZE_IN_WORDS) in i40e_write_nvm_aq()
474 words, I40E_SR_SECTOR_SIZE_IN_WORDS); in i40e_write_nvm_aq()
475 else if (((offset + (words - 1)) / I40E_SR_SECTOR_SIZE_IN_WORDS) in i40e_write_nvm_aq()
480 offset, words); in i40e_write_nvm_aq()
484 2 * words, /*bytes*/ in i40e_write_nvm_aq()
538 u16 words = I40E_SR_SECTOR_SIZE_IN_WORDS; in i40e_calc_nvm_checksum() local
540 ret_code = __i40e_read_nvm_buffer(hw, i, &words, data); in i40e_calc_nvm_checksum()