Lines Matching defs:info
471 * so we only need this check if there's no hardware info available
784 encap->info.mlx_pn,
786 encap->info.mlx_psid);
822 tavor_flash_ioctl_t info;
952 free(manuf->info.mlx_pn);
953 free(manuf->info.mlx_psid);
954 free(manuf->info.mlx_id);
983 bzero(&info, sizeof (tavor_flash_ioctl_t));
985 info.tf_type = TAVOR_FLASH_READ_SECTOR;
986 info.tf_sector = (caddr_t)manuf->inv;
987 info.tf_sector_num = 0;
991 if ((rv = ioctl(manuf->fd, TAVOR_IOCTL_FLASH_READ, &info))
1011 bzero(&info, sizeof (tavor_flash_ioctl_t));
1013 info.tf_type = TAVOR_FLASH_READ_SECTOR;
1014 info.tf_sector = (caddr_t)manuf->pps;
1015 info.tf_sector_num = 1;
1019 if ((rv = ioctl(manuf->fd, TAVOR_IOCTL_FLASH_READ, &info))
1040 bzero(&info, sizeof (tavor_flash_ioctl_t));
1042 info.tf_type = TAVOR_FLASH_READ_SECTOR;
1043 info.tf_sector = (caddr_t)manuf->sps;
1044 info.tf_sector_num = 2;
1048 if ((rv = ioctl(manuf->fd, TAVOR_IOCTL_FLASH_READ, &info))
1084 manuf->info.mlx_pn = NULL;
1085 manuf->info.mlx_psid = NULL;
1086 manuf->info.mlx_id = NULL;
1093 if ((manuf->info.mlx_pn = calloc(1,
1099 (void) strlcpy(manuf->info.mlx_pn,
1105 if ((manuf->info.mlx_psid = calloc(1,
1111 (void) strlcpy(manuf->info.mlx_psid,
1115 if ((manuf->info.mlx_id = calloc(1,
1121 (void) strlcpy(manuf->info.mlx_id,
1139 strlen(manuf->info.mlx_psid) + 1)) != NULL) {
1141 manuf->info.mlx_psid,
1142 strlen(manuf->info.mlx_psid) + 1);
1148 free(manuf->info.mlx_pn);
1149 free(manuf->info.mlx_psid);
1150 free(manuf->info.mlx_id);
1185 tavor_flash_ioctl_t info;
1235 bzero(&info, sizeof (tavor_flash_ioctl_t));
1236 info.tf_type = TAVOR_FLASH_READ_QUADLET;
1237 info.tf_addr = handle->pfi_guid_addr;
1241 rv = ioctl(handle->fd, TAVOR_IOCTL_FLASH_READ, &info);
1257 info.tf_addr = handle->pfi_guid_addr + info.tf_quadlet
1265 &info)) < 0) {
1270 handle->pri_guid_section[j] = info.tf_quadlet;
1271 info.tf_addr += 4;
1276 bzero(&info, sizeof (tavor_flash_ioctl_t));
1277 info.tf_type = TAVOR_FLASH_READ_QUADLET;
1278 info.tf_addr = handle->sfi_guid_addr;
1283 &info)) < 0) {
1292 info.tf_addr = handle->sfi_guid_addr + info.tf_quadlet
1300 &info)) < 0) {
1306 handle->sec_guid_section[j] = info.tf_quadlet;
1307 info.tf_addr += 4;