Lines Matching +full:0 +full:x10600
43 devlink_flash_update_status_notify(dl, "Preparing to flash", NULL, 0, 0); in bnxt_dl_flash_update()
44 rc = bnxt_flash_package_from_fw_obj(bp->dev, params->fw, 0, extack); in bnxt_dl_flash_update()
46 devlink_flash_update_status_notify(dl, "Flashing done", NULL, 0, 0); in bnxt_dl_flash_update()
48 devlink_flash_update_status_notify(dl, "Flashing failed", NULL, 0, 0); in bnxt_dl_flash_update()
64 req->fid = cpu_to_le16(0xffff); in bnxt_hwrm_remote_dev_reset_set()
105 return 0; in bnxt_fw_diagnose()
110 return 0; in bnxt_fw_diagnose()
144 return 0; in bnxt_fw_diagnose()
153 return 0; in bnxt_fw_diagnose()
338 #define BNXT_LIVEPATCH_NOT_INSTALLED 0
356 u32 installed = 0; in bnxt_dl_livepatch_activate()
431 int rc = 0; in bnxt_dl_reload_down()
443 bnxt_ulp_start(bp, 0); in bnxt_dl_reload_down()
449 bnxt_ulp_start(bp, 0); in bnxt_dl_reload_down()
514 int rc = 0; in bnxt_dl_reload_up()
518 *actions_performed = 0; in bnxt_dl_reload_up()
606 if (bnxt_get_nvram_item(bp->dev, index, 0, datalen, buf)) { in bnxt_nvm_test()
612 BNX_DIR_EXT_NONE, 0, 0, buf, datalen)) { in bnxt_nvm_test()
691 u32 val32 = 0; in bnxt_copy_to_nvm_data()
748 dim = 0; in bnxt_hwrm_get_nvm_cfg_ver()
749 i = 0; in bnxt_hwrm_get_nvm_cfg_ver()
760 while (i >= 0) { in bnxt_hwrm_get_nvm_cfg_ver()
785 return 0; in bnxt_dl_info_put()
790 return 0; in bnxt_dl_info_put()
800 return 0; in bnxt_dl_info_put()
816 return 0; in bnxt_dl_livepatch_info_put()
836 resp->active_ver[sizeof(resp->active_ver) - 1] = '\0'; in bnxt_dl_livepatch_info_put()
843 resp->install_ver[sizeof(resp->install_ver) - 1] = '\0'; in bnxt_dl_livepatch_info_put()
866 u32 ver = 0; in bnxt_dl_info_get()
872 bp->dsn[3], bp->dsn[2], bp->dsn[1], bp->dsn[0]); in bnxt_dl_info_get()
909 buf[0] = 0; in bnxt_dl_info_get()
917 sprintf(buf, "%d.%d.%d", (ver >> 16) & 0xff, (ver >> 8) & 0xff, in bnxt_dl_info_get()
918 ver & 0xff); in bnxt_dl_info_get()
979 return 0; in bnxt_dl_info_get()
982 buf[0] = 0; in bnxt_dl_info_get()
1030 int idx = 0, rc; in __bnxt_hwrm_nvm_req()
1080 for (i = 0; i < ARRAY_SIZE(nvm_params); i++) { in bnxt_hwrm_nvm_req()
1129 const struct bnxt_dl_nvm_param nvm_roce_cap = {0, NVM_OFF_RDMA_CAPABLE, in bnxt_dl_roce_validate()
1148 return 0; in bnxt_dl_roce_validate()
1168 return 0; in bnxt_dl_msix_validate()
1181 return 0; in bnxt_remote_dev_reset_get()
1237 if (bp->hwrm_spec_code < 0x10600) in bnxt_dl_params_register()
1238 return 0; in bnxt_dl_params_register()
1254 if (bp->hwrm_spec_code < 0x10600) in bnxt_dl_params_unregister()
1289 bp->hwrm_spec_code > 0x10803) in bnxt_dl_register()
1312 return 0; in bnxt_dl_register()