Lines Matching full:package

15 /* To support tunneling entries by PF, the package will append the PF number to
26 * ice_verify_pkg - verify package
27 * @pkg: pointer to the package buffer
28 * @len: size of the package buffer
30 * Verifies various attributes of the package file, including length, format
52 /* make sure segment array fits in package length */ in ice_verify_pkg()
76 * ice_free_seg - free package segment pointer
79 * Frees the package segment pointer in the proper manner, depending on if the
93 * ice_chk_pkg_version - check package version for compatibility with driver
96 * Check to make sure that the package about to be downloaded is compatible with
97 * the driver. To be compatible, the major and minor components of the package
440 * ice_init_pkg_regs - initialize additional package registers
572 * Enumerates a list of labels in the package. The caller will call
686 * Allocates a package buffer and returns a pointer to the buffer header.
687 * Note: all package contents must be in Little Endian form.
863 "Required profiles not found in currently loaded DDP package"); in ice_get_sw_fv_list()
923 * Frees a package buffer
935 * Reserves one or more section table entries in a package buffer. This routine
941 * Note: all package contents must be in Little Endian form.
980 * Note: all package contents must be in Little Endian form.
1029 * Allocates a package buffer with a single section.
1030 * Note: all package contents must be in Little Endian form.
1063 * Returns the number of active sections. Before using the package buffer
1064 * in an update package command, the caller should make sure that there is at
1067 * Note: all package contents must be in Little Endian form.
1116 * or writing of the package. When attempting to obtain write access, the
1120 * and can perform writing of the package.
1122 * package or has found that no update was necessary; in
1124 * update of the package.
1158 * @pkg_buf: the package buffer to transfer
1159 * @buf_size: the size of the package buffer
1165 * Download Package (0x0C40)
1205 * @pkg_hdr: pointer to the package header to be searched
1221 * @pkg_hdr: pointer to package header
1237 * @pkg_hdr: pointer to package header
1263 * ice_is_buffer_metadata - determine if package buffer is a metadata buffer
1306 * Downloads package configuration buffers to the firmware. Metadata buffers
1342 /* Save AQ status from download package */ in ice_dwnld_cfg_bufs_no_lock()
1374 * @pkg_hdr: pointer to package header
1406 * @pkg_hdr: pointer to package header
1444 * @pkg_hdr: pointer to package header
1463 * ice_post_dwnld_pkg_actions - perform post download package actions
1484 * @pkg_hdr: pointer to package header
1486 * Handles the download of a complete package.
1532 * Obtains global config lock and downloads the package configuration buffers
1572 * @ice_seg: pointer to the segment of the package to be downloaded
1574 * Handles the download of a complete package without signature segment.
1603 * @pkg_hdr: pointer to package header
1604 * @ice_seg: pointer to the segment of the package to be downloaded
1606 * Handles the download of a complete package.
1631 * Get Package Info List (0x0C43)
1647 * @pkg_buf: the package cmd buffer
1648 * @buf_size: the size of the package cmd buffer
1654 * Update Package (0x0C42)
1694 * @pkg_buf: the package buffer which will receive the section
1695 * @buf_size: the size of the package buffer
1747 * Obtains change lock and updates package.
1768 * @pkg_hdr: pointer to the package header to be searched
1770 * This function searches a package file for a particular segment type. On
1780 ice_debug(hw, ICE_DBG_PKG, "Package format version: %d.%d.%d.%d\n", in ice_find_seg_in_pkg()
1785 /* Search all package segments for the requested segment type */ in ice_find_seg_in_pkg()
1801 * ice_has_signing_seg - determine if package has a signing segment
1803 * @pkg_hdr: pointer to the driver's package hdr
1816 * ice_get_pkg_segment_id - get correct package segment id, based on device
1837 * ice_get_pkg_sign_type - get package segment sign type, based on device
1858 * ice_get_signing_req - get correct package requirements, based on device
1870 * @pkg_hdr: pointer to the driver's package hdr
1872 * Saves off the package details into the HW structure.
1896 /* Get package information from the Metadata Section */ in ice_init_pkg_info()
1901 "Did not find ice metadata section in package\n"); in ice_init_pkg_info()
1922 "Did not find ice segment in driver package\n"); in ice_init_pkg_info()
1933 * Store details of the package currently loaded in HW into the HW structure.
1980 * @ospkg: pointer to the package hdr
1981 * @seg: pointer to the package segment hdr
1983 * This function checks the package version compatibility with driver and NVM
1995 /* Check package version compatibility */ in ice_chk_pkg_compat()
1998 ice_debug(hw, ICE_DBG_INIT, "Package version check failed.\n"); in ice_chk_pkg_compat()
2002 /* find ICE segment in given package */ in ice_chk_pkg_compat()
2006 ice_debug(hw, ICE_DBG_INIT, "no ice segment in package.\n"); in ice_chk_pkg_compat()
2010 /* Check if FW is compatible with the OS package */ in ice_chk_pkg_compat()
2015 /* loop till we find the NVM package */ in ice_chk_pkg_compat()
2024 "OS package is not compatible with NVM.\n"); in ice_chk_pkg_compat()
2026 /* done processing NVM package so break */ in ice_chk_pkg_compat()
2036 * @ice_seg: pointer to the segment of the package scan (non-NULL)
2038 * This function will scan the package and save off relevant information
2122 * ice_init_pkg - initialize/download package
2124 * @buf: pointer to the package buffer
2125 * @len: size of the package buffer
2127 * This function initializes a package. The package contains HW tables
2128 * required to do packet processing. First, the function extracts package
2130 * within the package; this function then saves a copy of the segment pointer
2131 * within the supplied package buffer. Next, the function will cache any hints
2132 * from the package, followed by downloading the package itself. Note, that if
2133 * a previous PF driver has already downloaded the package successfully, then
2134 * the current driver will not have to download the package again.
2136 * The local package contents will be used to query default behavior and to
2137 * update specific sections of the HW's version of the package (e.g. to update
2140 * This function stores a pointer to the package buffer memory, and it is
2142 * package buffer needs to be freed, such as when read from a file, use
2164 /* initialize package info */ in ice_init_pkg()
2174 /* before downloading the package, check package version for in ice_init_pkg()
2181 /* initialize package hints and then download package */ in ice_init_pkg()
2186 "package previously loaded - no work.\n"); in ice_init_pkg()
2190 /* Get information on the package currently loaded in HW, then make sure in ice_init_pkg()
2201 /* on successful package download update other required in ice_init_pkg()
2202 * registers to support the package and fill HW tables in ice_init_pkg()
2203 * with package content. in ice_init_pkg()
2210 ice_debug(hw, ICE_DBG_INIT, "package load failed, %d\n", state); in ice_init_pkg()
2217 * ice_copy_and_init_pkg - initialize/download a copy of the package
2219 * @buf: pointer to the package buffer
2220 * @len: size of the package buffer
2222 * This function copies the package buffer, and then calls ice_init_pkg() to
2223 * initialize the copied package contents.
2225 * The copying is necessary if the package buffer supplied is constant, or if
2228 * If the package buffer resides in the data segment and can be modified, the
2231 * However, if the package buffer needs to be copied first, such as when being
2234 * This function will first copy the package buffer, before calling
2236 * package buffer, as the new copy will be managed by this function and
2252 /* Free the copy, since we failed to initialize the package */ in ice_copy_and_init_pkg()