Lines Matching refs:u16

206 enum i40e_status_code i40e_read_nvm_word_srctl(struct i40e_hw *hw, u16 offset,
207 u16 *data)
234 *data = (u16)((sr_reg &
261 u16 words, void *data,
309 static enum i40e_status_code i40e_read_nvm_word_aq(struct i40e_hw *hw, u16 offset,
310 u16 *data)
334 u16 offset,
335 u16 *data)
352 enum i40e_status_code i40e_read_nvm_word(struct i40e_hw *hw, u16 offset,
353 u16 *data)
380 static enum i40e_status_code i40e_read_nvm_buffer_srctl(struct i40e_hw *hw, u16 offset,
381 u16 *words, u16 *data)
384 u16 index, word;
413 static enum i40e_status_code i40e_read_nvm_buffer_aq(struct i40e_hw *hw, u16 offset,
414 u16 *words, u16 *data)
417 u16 read_size = *words;
419 u16 words_read = 0;
420 u16 i = 0;
431 (u16)(I40E_SR_SECTOR_SIZE_IN_WORDS -
472 u16 offset,
473 u16 *words, u16 *data)
492 enum i40e_status_code i40e_read_nvm_buffer(struct i40e_hw *hw, u16 offset,
493 u16 *words, u16 *data)
523 u32 offset, u16 words, void *data,
574 *((__le16 *)data) = CPU_TO_LE16(*((u16 *)data));
595 u16 words, void *data)
598 u16 *word_ptr = (u16 *)data;
623 enum i40e_status_code i40e_calc_nvm_checksum(struct i40e_hw *hw, u16 *checksum)
627 u16 pcie_alt_module = 0;
628 u16 checksum_local = 0;
629 u16 vpd_module = 0;
630 u16 *data;
631 u16 i = 0;
636 I40E_SR_SECTOR_SIZE_IN_WORDS * sizeof(u16));
639 data = (u16 *)vmem.va;
662 u16 words = I40E_SR_SECTOR_SIZE_IN_WORDS;
690 *checksum = (u16)I40E_SR_SW_CHECKSUM_BASE - checksum_local;
708 u16 checksum;
731 u16 *checksum)
734 u16 checksum_sr = 0;
735 u16 checksum_local = 0;
882 *((u16 *)&bytes[2]) = hw->nvm_wait_opcode;
1322 void i40e_nvmupd_check_wait_event(struct i40e_hw *hw, u16 opcode,
1655 status = i40e_aq_read_nvm(hw, module, cmd->offset, (u16)cmd->data_size,
1694 status = i40e_aq_erase_nvm(hw, module, cmd->offset, (u16)cmd->data_size,
1737 (u16)cmd->data_size, bytes, last,