Home
last modified time | relevance | path

Searched refs:orom (Results 1 – 9 of 9) sorted by relevance

/linux-6.12.1/drivers/scsi/isci/
Dprobe_roms.c117 struct isci_orom *orom = NULL, *data; in isci_request_firmware() local
123 if (fw->size < sizeof(*orom)) in isci_request_firmware()
132 orom = devm_kzalloc(&pdev->dev, fw->size, GFP_KERNEL); in isci_request_firmware()
133 if (!orom) in isci_request_firmware()
136 memcpy(orom, fw->data, fw->size); in isci_request_firmware()
145 for (i = 0; i < ARRAY_SIZE(orom->ctrl); i++) in isci_request_firmware()
146 for (j = 0; j < ARRAY_SIZE(orom->ctrl[i].phys); j++) { in isci_request_firmware()
147 orom->ctrl[i].phys[j].afe_tx_amp_control0 = 0xe7c03; in isci_request_firmware()
148 orom->ctrl[i].phys[j].afe_tx_amp_control1 = 0xe7c03; in isci_request_firmware()
149 orom->ctrl[i].phys[j].afe_tx_amp_control2 = 0xe7c03; in isci_request_firmware()
[all …]
Dinit.c479 struct isci_orom *orom = to_pci_info(pdev)->orom; in isci_host_alloc() local
510 if (orom) { in isci_host_alloc()
511 if (id < 0 || id >= SCI_MAX_CONTROLLERS || id > orom->hdr.num_elements) { in isci_host_alloc()
515 ihost->oem_parameters = orom->ctrl[id]; in isci_host_alloc()
516 oem_version = orom->hdr.version; in isci_host_alloc()
596 struct isci_orom *orom = NULL; in isci_pci_probe() local
608 orom = isci_get_efi_var(pdev); in isci_pci_probe()
610 if (!orom) in isci_pci_probe()
611 orom = isci_request_oprom(pdev); in isci_pci_probe()
613 for (i = 0; orom && i < num_controllers(pdev); i++) { in isci_pci_probe()
[all …]
Dhost.h299 struct isci_orom *orom; member
Dphy.c184 if (pci_info->orom->hdr.version < ISCI_ROM_VER_1_1) in sci_phy_link_layer_initialization()
/linux-6.12.1/drivers/net/ethernet/intel/ice/
Dice_nvm.c722 ice_get_orom_ver_info(struct ice_hw *hw, enum ice_bank_select bank, struct ice_orom_info *orom) in ice_get_orom_ver_info() argument
736 orom->major = FIELD_GET(ICE_OROM_VER_MASK, combo_ver); in ice_get_orom_ver_info()
737 orom->patch = FIELD_GET(ICE_OROM_VER_PATCH_MASK, combo_ver); in ice_get_orom_ver_info()
738 orom->build = FIELD_GET(ICE_OROM_VER_BUILD_MASK, combo_ver); in ice_get_orom_ver_info()
752 int ice_get_inactive_orom_ver(struct ice_hw *hw, struct ice_orom_info *orom) in ice_get_inactive_orom_ver() argument
754 return ice_get_orom_ver_info(hw, ICE_INACTIVE_FLASH_BANK, orom); in ice_get_inactive_orom_ver()
1164 status = ice_get_orom_ver_info(hw, ICE_ACTIVE_FLASH_BANK, &flash->orom); in ice_init_nvm()
Dice_nvm.h26 int ice_get_inactive_orom_ver(struct ice_hw *hw, struct ice_orom_info *orom);
Dice_ethtool.c436 struct ice_orom_info *orom; in __ice_get_drvinfo() local
440 orom = &hw->flash.orom; in __ice_get_drvinfo()
449 nvm->eetrack, orom->major, orom->build, orom->patch); in __ice_get_drvinfo()
Dice_type.h516 struct ice_orom_info orom; /* Option ROM version info */ member
/linux-6.12.1/drivers/net/ethernet/intel/ice/devlink/
Ddevlink.c81 struct ice_orom_info *orom = &pf->hw.flash.orom; in ice_info_orom_ver() local
84 orom->major, orom->build, orom->patch); in ice_info_orom_ver()
91 struct ice_orom_info *orom = &ctx->pending_orom; in ice_info_pending_orom_ver() local
95 orom->major, orom->build, orom->patch); in ice_info_pending_orom_ver()