Searched refs:sector_sz (Results 1 - 5 of 5) sorted by relevance

/illumos-gate/usr/src/cmd/fwflash/plugins/vendor/
H A Dtavor-MELLANOX.c68 uint32_t sector_sz; local
97 sector_sz = 1 << MLXSWAPBITS32(firmware[offset/4]);
99 if (sector_sz != encap->sector_sz) {
104 "device's 0x%X file 0x%X\n"), encap->sector_sz, sector_sz);
119 bcopy(&firmware[sector_sz / 4], vps, sizeof (struct mlx_xps));
196 bcopy(&firmware[sector_sz / 2], vps, sizeof (struct mlx_xps));
208 if ((vfi = calloc(1, sector_sz)) == NULL) {
216 bcopy(&firmware[vp_fia / 4], vfi, sector_sz);
[all...]
/illumos-gate/usr/src/cmd/fwflash/plugins/transport/common/
H A Dtavor.c158 if ((j = write(fd, manuf->inv, manuf->sector_sz)) !=
159 manuf->sector_sz) {
163 j, manuf->sector_sz);
171 if ((j = write(fd, manuf->pps, manuf->sector_sz)) !=
172 manuf->sector_sz) {
176 j, manuf->sector_sz);
184 if ((j = write(fd, manuf->sps, manuf->sector_sz)) !=
185 manuf->sector_sz) {
189 j, manuf->sector_sz);
197 pchunks = psz / manuf->sector_sz;
[all...]
H A Dhermon.c679 sector_size = handle->sector_sz;
711 if (i && !(i % handle->sector_sz)) {
833 manuf->sector_sz = HERMON_FLASH_SECTOR_SZ_DEFAULT;
836 manuf->sector_sz = HERMON_FLASH_SPI_SECTOR_SIZE;
846 manuf->sector_sz = ((cfi.cfi_char[0x30] << 8) |
851 logmsg(MSG_INFO, "hermon: sector_sz: 0x%08x device_sz: 0x%08x\n",
852 manuf->sector_sz, manuf->device_sz);
/illumos-gate/usr/src/cmd/fwflash/plugins/hdrs/
H A Dhermon_ib.h248 uint32_t sector_sz; /* FW sector size */ member in struct:ib_cnx_encap_ident_s
H A Dtavor_ib.h127 uint32_t sector_sz; member in struct:ib_encap_ident

Completed in 117 milliseconds