Lines Matching refs:hwinfo

188 	cp = nfp_hwinfo_lookup(pf->hwinfo, "board.state");  in nfp_board_ready()
214 kfree(pf->hwinfo); in nfp_pf_board_state_wait()
215 pf->hwinfo = nfp_hwinfo_read(pf->cpp); in nfp_pf_board_state_wait()
413 fw_model = nfp_hwinfo_lookup(pf->hwinfo, "nffw.partno"); in nfp_net_fw_find()
415 fw_model = nfp_hwinfo_lookup(pf->hwinfo, "assembly.partno"); in nfp_net_fw_find()
450 char hwinfo[64]; in nfp_get_fw_policy_value() local
454 snprintf(hwinfo, sizeof(hwinfo), key); in nfp_get_fw_policy_value()
455 err = nfp_nsp_hwinfo_lookup_optional(nsp, hwinfo, sizeof(hwinfo), in nfp_get_fw_policy_value()
460 err = kstrtol(hwinfo, 0, &hi_val); in nfp_get_fw_policy_value()
464 hwinfo, key); in nfp_get_fw_policy_value()
487 char hwinfo[64]; in nfp_fw_load() local
490 snprintf(hwinfo, sizeof(hwinfo), "abi_drv_load_ifc"); in nfp_fw_load()
491 err = nfp_nsp_hwinfo_lookup_optional(nsp, hwinfo, sizeof(hwinfo), in nfp_fw_load()
497 ptr = hwinfo; in nfp_fw_load()
722 char hwinfo[32]; in nfp_pf_cfg_hwinfo() local
739 snprintf(hwinfo, sizeof(hwinfo), "sp_indiff=%d", sp_indiff); in nfp_pf_cfg_hwinfo()
740 err = nfp_nsp_hwinfo_set(nsp, hwinfo, sizeof(hwinfo)); in nfp_pf_cfg_hwinfo()
816 pf->hwinfo = nfp_hwinfo_read(pf->cpp); in nfp_pci_probe()
819 nfp_hwinfo_lookup(pf->hwinfo, "assembly.vendor"), in nfp_pci_probe()
820 nfp_hwinfo_lookup(pf->hwinfo, "assembly.partno"), in nfp_pci_probe()
821 nfp_hwinfo_lookup(pf->hwinfo, "assembly.serial"), in nfp_pci_probe()
822 nfp_hwinfo_lookup(pf->hwinfo, "assembly.revision"), in nfp_pci_probe()
823 nfp_hwinfo_lookup(pf->hwinfo, "cpld.version")); in nfp_pci_probe()
881 kfree(pf->hwinfo); in nfp_pci_probe()
919 kfree(pf->hwinfo); in __nfp_pci_shutdown()