Lines Matching defs:module

11  * @module_typeid: module pointer location in words from the NVM beginning
12 * @offset: byte offset from the module beginning
114 * @module_typeid: module pointer location in words from the NVM beginning
115 * @offset: byte offset from the module beginning
158 * @module_typeid: module pointer location in words from the NVM beginning
239 * @module: the module to read from
241 * Based on the module, lookup the module offset from the beginning of the
247 static u32 ice_get_flash_bank_offset(struct ice_hw *hw, enum ice_bank_select bank, u16 module)
254 switch (module) {
271 ice_debug(hw, ICE_DBG_NVM, "Unexpected value for flash module: 0x%04x\n", module);
306 * @bank: which bank of the module to read
307 * @module: the module to read
308 * @offset: the offset into the module in bytes
312 * Read data from the specified flash module. The bank parameter indicates
314 * module.
321 ice_read_flash_module(struct ice_hw *hw, enum ice_bank_select bank, u16 module,
327 start = ice_get_flash_bank_offset(hw, bank, module);
329 ice_debug(hw, ICE_DBG_NVM, "Unable to calculate flash bank offset for module 0x%04x\n",
330 module);
346 * ice_read_nvm_module - Read from the active main NVM module
348 * @bank: whether to read from active or inactive NVM module
349 * @offset: offset into the NVM module to read, in words
352 * Read the specified word from the active NVM module. This includes the CSS
353 * header at the start of the NVM module.
372 * @bank: whether to read from the active or inactive NVM module
377 * specified NVM module.
386 * ice_read_netlist_module - Read data from the netlist module area
388 * @bank: whether to read from the active or inactive module
430 * ice_get_pfa_module_tlv - Reads sub module TLV from NVM PFA
432 * @module_tlv: pointer to module TLV to return
433 * @module_tlv_len: pointer to module TLV length to return
434 * @module_type: module type requested
436 * Finds the requested sub module TLV type from the Preserved Field
610 * @bank: whether to read from the active or inactive flash module
688 * @bank: whether to read from the active or inactive flash module
764 ice_debug(hw, ICE_DBG_NVM, "Netlist Link Topology module too small. Expected at least %u words, but got %u words.\n",
931 * ice_determine_active_flash_banks - Discover active bank for each module
938 * from the active module.