Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/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.c498 struct isci_orom *orom = to_pci_info(pdev)->orom; in isci_host_alloc() local
529 if (orom) { in isci_host_alloc()
530 if (id < 0 || id >= SCI_MAX_CONTROLLERS || id > orom->hdr.num_elements) { in isci_host_alloc()
534 ihost->oem_parameters = orom->ctrl[id]; in isci_host_alloc()
535 oem_version = orom->hdr.version; in isci_host_alloc()
615 struct isci_orom *orom = NULL; in isci_pci_probe() local
627 orom = isci_get_efi_var(pdev); in isci_pci_probe()
629 if (!orom) in isci_pci_probe()
630 orom = isci_request_oprom(pdev); in isci_pci_probe()
632 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()
/kernel/linux/linux-5.10/drivers/net/ethernet/intel/ice/
Dice_devlink.c63 struct ice_orom_info *orom = &pf->hw.nvm.orom; in ice_info_orom_ver() local
65 snprintf(buf, len, "%u.%u.%u", orom->major, orom->build, orom->patch); in ice_info_orom_ver()
Dice_nvm.c393 struct ice_orom_info *orom = &hw->nvm.orom; in ice_get_orom_ver_info() local
430 orom->major = (u8)((combo_ver & ICE_OROM_VER_MASK) >> in ice_get_orom_ver_info()
432 orom->patch = (u8)(combo_ver & ICE_OROM_VER_PATCH_MASK); in ice_get_orom_ver_info()
433 orom->build = (u16)((combo_ver & ICE_OROM_VER_BUILD_MASK) >> in ice_get_orom_ver_info()
Dice_ethtool.c180 struct ice_orom_info *orom; in ice_get_drvinfo() local
184 orom = &nvm->orom; in ice_get_drvinfo()
193 nvm->eetrack, orom->major, orom->build, orom->patch); in ice_get_drvinfo()
Dice_type.h318 struct ice_orom_info orom; /* Option ROM version info */ member