Lines Matching refs:vps
72 struct mlx_xps *vps;
112 if ((vps = calloc(1, sizeof (struct mlx_xps))) == NULL) {
119 bcopy(&firmware[sector_sz / 4], vps, sizeof (struct mlx_xps));
120 if ((MLXSWAPBITS32(vps->signature) != FLASH_PS_SIGNATURE) ||
121 (vps->xpsresv3 != 0)) {
127 vp_fia = MLXSWAPBITS32(vps->fia);
143 bcopy(vps->vsdpsid+0xd0, &rawpsid, 16);
176 free(vps);
194 bzero(vps, sizeof (struct mlx_xps));
196 bcopy(&firmware[sector_sz / 2], vps, sizeof (struct mlx_xps));
197 if ((MLXSWAPBITS32(vps->signature) != FLASH_PS_SIGNATURE) ||
198 (vps->xpsresv3 != 0)) {
204 vs_fia = MLXSWAPBITS32(vps->fia);
206 (void) free(vps);