Lines Matching full:package

16 /* To support tunneling entries by PF, the package will append the PF number to
27 * ice_verify_pkg - verify package
28 * @pkg: pointer to the package buffer
29 * @len: size of the package buffer
31 * Verifies various attributes of the package file, including length, format
53 /* make sure segment array fits in package length */ in ice_verify_pkg()
77 * ice_free_seg - free package segment pointer
80 * Frees the package segment pointer in the proper manner, depending on if the
94 * ice_chk_pkg_version - check package version for compatibility with driver
97 * Check to make sure that the package about to be downloaded is compatible with
98 * the driver. To be compatible, the major and minor components of the package
441 * ice_init_pkg_regs - initialize additional package registers
573 * Enumerates a list of labels in the package. The caller will call
687 * Allocates a package buffer and returns a pointer to the buffer header.
688 * Note: all package contents must be in Little Endian form.
873 "Required profiles not found in currently loaded DDP package"); in ice_get_sw_fv_list()
933 * Frees a package buffer
945 * Reserves one or more section table entries in a package buffer. This routine
951 * Note: all package contents must be in Little Endian form.
990 * Note: all package contents must be in Little Endian form.
1039 * Allocates a package buffer with a single section.
1040 * Note: all package contents must be in Little Endian form.
1073 * Returns the number of active sections. Before using the package buffer
1074 * in an update package command, the caller should make sure that there is at
1077 * Note: all package contents must be in Little Endian form.
1126 * or writing of the package. When attempting to obtain write access, the
1130 * and can perform writing of the package.
1132 * package or has found that no update was necessary; in
1134 * update of the package.
1168 * @pkg_buf: the package buffer to transfer
1169 * @buf_size: the size of the package buffer
1175 * Download Package (0x0C40)
1214 * ice_is_buffer_metadata - determine if package buffer is a metadata buffer
1304 * Downloads package configuration buffers to the firmware. Metadata buffers
1340 * @pkg_hdr: pointer to the package header to be searched
1356 * @pkg_hdr: pointer to package header
1372 * @pkg_hdr: pointer to package header
1412 * @pkg_hdr: pointer to package header
1450 * @pkg_hdr: pointer to package header
1493 * @pkg_hdr: pointer to package header
1512 * ice_post_dwnld_pkg_actions - perform post download package actions
1533 * @pkg_hdr: pointer to package header
1535 * Handles the download of a complete package.
1582 * Obtains global config lock and downloads the package configuration buffers
1625 * @ice_seg: pointer to the segment of the package to be downloaded
1627 * Handles the download of a complete package without signature segment.
1656 * @pkg_hdr: pointer to package header
1657 * @ice_seg: pointer to the segment of the package to be downloaded
1659 * Handles the download of a complete package.
1684 * Get Package Info List (0x0C43)
1700 * @pkg_buf: the package cmd buffer
1701 * @buf_size: the size of the package cmd buffer
1707 * Update Package (0x0C42)
1747 * @pkg_buf: the package buffer which will receive the section
1748 * @buf_size: the size of the package buffer
1800 * Obtains change lock and updates package.
1821 * @pkg_hdr: pointer to the package header to be searched
1823 * This function searches a package file for a particular segment type. On
1833 ice_debug(hw, ICE_DBG_PKG, "Package format version: %d.%d.%d.%d\n", in ice_find_seg_in_pkg()
1838 /* Search all package segments for the requested segment type */ in ice_find_seg_in_pkg()
1852 * ice_has_signing_seg - determine if package has a signing segment
1854 * @pkg_hdr: pointer to the driver's package hdr
1867 * ice_get_pkg_segment_id - get correct package segment id, based on device
1889 * ice_get_pkg_sign_type - get package segment sign type, based on device
1913 * ice_get_signing_req - get correct package requirements, based on device
1925 * @pkg_hdr: pointer to the driver's package hdr
1927 * Saves off the package details into the HW structure.
1951 /* Get package information from the Metadata Section */ in ice_init_pkg_info()
1956 "Did not find ice metadata section in package\n"); in ice_init_pkg_info()
1977 "Did not find ice segment in driver package\n"); in ice_init_pkg_info()
1988 * Store details of the package currently loaded in HW into the HW structure.
2035 * @ospkg: pointer to the package hdr
2036 * @seg: pointer to the package segment hdr
2038 * This function checks the package version compatibility with driver and NVM
2050 /* Check package version compatibility */ in ice_chk_pkg_compat()
2053 ice_debug(hw, ICE_DBG_INIT, "Package version check failed.\n"); in ice_chk_pkg_compat()
2057 /* find ICE segment in given package */ in ice_chk_pkg_compat()
2061 ice_debug(hw, ICE_DBG_INIT, "no ice segment in package.\n"); in ice_chk_pkg_compat()
2065 /* Check if FW is compatible with the OS package */ in ice_chk_pkg_compat()
2070 /* loop till we find the NVM package */ in ice_chk_pkg_compat()
2079 "OS package is not compatible with NVM.\n"); in ice_chk_pkg_compat()
2081 /* done processing NVM package so break */ in ice_chk_pkg_compat()
2091 * @ice_seg: pointer to the segment of the package scan (non-NULL)
2093 * This function will scan the package and save off relevant information
2177 * ice_init_pkg - initialize/download package
2179 * @buf: pointer to the package buffer
2180 * @len: size of the package buffer
2182 * This function initializes a package. The package contains HW tables
2183 * required to do packet processing. First, the function extracts package
2185 * within the package; this function then saves a copy of the segment pointer
2186 * within the supplied package buffer. Next, the function will cache any hints
2187 * from the package, followed by downloading the package itself. Note, that if
2188 * a previous PF driver has already downloaded the package successfully, then
2189 * the current driver will not have to download the package again.
2191 * The local package contents will be used to query default behavior and to
2192 * update specific sections of the HW's version of the package (e.g. to update
2195 * This function stores a pointer to the package buffer memory, and it is
2197 * package buffer needs to be freed, such as when read from a file, use
2219 /* initialize package info */ in ice_init_pkg()
2229 /* before downloading the package, check package version for in ice_init_pkg()
2236 /* initialize package hints and then download package */ in ice_init_pkg()
2241 "package previously loaded - no work.\n"); in ice_init_pkg()
2245 /* Get information on the package currently loaded in HW, then make sure in ice_init_pkg()
2256 /* on successful package download update other required in ice_init_pkg()
2257 * registers to support the package and fill HW tables in ice_init_pkg()
2258 * with package content. in ice_init_pkg()
2265 ice_debug(hw, ICE_DBG_INIT, "package load failed, %d\n", state); in ice_init_pkg()
2272 * ice_copy_and_init_pkg - initialize/download a copy of the package
2274 * @buf: pointer to the package buffer
2275 * @len: size of the package buffer
2277 * This function copies the package buffer, and then calls ice_init_pkg() to
2278 * initialize the copied package contents.
2280 * The copying is necessary if the package buffer supplied is constant, or if
2283 * If the package buffer resides in the data segment and can be modified, the
2286 * However, if the package buffer needs to be copied first, such as when being
2289 * This function will first copy the package buffer, before calling
2291 * package buffer, as the new copy will be managed by this function and
2307 /* Free the copy, since we failed to initialize the package */ in ice_copy_and_init_pkg()
2374 * The function will apply the new Tx topology from the package buffer