Lines Matching defs:ident_buf

2357 	struct ata_params *ident_buf;
2419 ident_buf = (struct ata_params *)ptr;
2420 ata_param_fixup(ident_buf);
2435 *ident_bufp = ident_buf;
2445 struct ata_params *ident_buf;
2453 if (ata_do_identify(device, retry_count, timeout, ccb, &ident_buf) != 0) {
2461 dump_data((uint16_t *)ident_buf, sizeof(struct ata_params));
2464 if (ident_buf->support.command1 & ATA_SUPPORT_PROTECTED) {
2466 ident_buf, &hpasize);
2468 if (ident_buf->support2 & ATA_SUPPORT_AMAX_ADDR) {
2474 ata_print_ident(ident_buf);
2476 atacapprint(ident_buf);
2477 atahpa_print(ident_buf, hpasize, 0);
2478 ataama_print(ident_buf, nativesize, 0);
2480 free(ident_buf);
2660 struct ata_params* ident_buf)
2667 ata_print_ident(ident_buf);
2852 atahpa_set_confirm(struct cam_device *device, struct ata_params* ident_buf,
2860 ata_print_ident(ident_buf);
2887 struct ata_params *ident_buf;
2973 error = ata_do_identify(device, retry_count, timeout, ccb, &ident_buf);
2981 ata_print_ident(ident_buf);
2987 if (ident_buf->support.command1 & ATA_SUPPORT_PROTECTED)
2989 ident_buf, &hpasize);
2990 atahpa_print(ident_buf, hpasize, 1);
2993 free(ident_buf);
2997 if (!(ident_buf->support.command1 & ATA_SUPPORT_PROTECTED)) {
3000 free(ident_buf);
3004 if (security && !(ident_buf->support.command2 & ATA_SUPPORT_MAXSECURITY)) {
3007 free(ident_buf);
3011 is48bit = ident_buf->support.command2 & ATA_SUPPORT_ADDRESS48;
3021 atahpa_set_confirm(device, ident_buf, maxsize,
3024 free(ident_buf);
3029 ccb, ident_buf, &hpasize);
3038 &ident_buf);
3039 atahpa_print(ident_buf, hpasize, 1);
3080 free(ident_buf);
3096 struct ata_params *ident_buf;
3143 error = ata_do_identify(device, retry_count, timeout, ccb, &ident_buf);
3151 ata_print_ident(ident_buf);
3157 if (ident_buf->support2 & ATA_SUPPORT_AMAX_ADDR)
3160 ataama_print(ident_buf, nativesize, 1);
3163 free(ident_buf);
3167 if (!(ident_buf->support2 & ATA_SUPPORT_AMAX_ADDR)) {
3170 free(ident_buf);
3186 &ident_buf);
3187 ataama_print(ident_buf, nativesize, 1);
3207 free(ident_buf);
3217 struct ata_params *ident_buf;
3337 error = ata_do_identify(device, retry_count, timeout, ccb, &ident_buf);
3345 ata_print_ident(ident_buf);
3350 atasecurity_print(ident_buf);
3351 free(ident_buf);
3356 if ((ident_buf->support.command1 & ATA_SUPPORT_SECURITY) == 0) {
3358 free(ident_buf);
3366 security_enabled = ident_buf->security_status & ATA_SECURITY_ENABLED;
3374 atasecurity_erase_confirm(device, ident_buf) == 0) {
3376 free(ident_buf);
3381 pwd.revision = ident_buf->master_passwd_revision;
3391 free(ident_buf);
3405 if (ident_buf->security_status & ATA_SECURITY_LOCKED) {
3421 if (ident_buf->security_status & ATA_SECURITY_LOCKED) {
3447 ident_buf->erase_time);
3460 if (ident_buf->security_status & ATA_SECURITY_ENH_SUPP) {
3464 ident_buf->enhanced_erase_time);
3484 free(ident_buf);
7081 struct ata_params *ident_buf;
7083 ccb, &ident_buf);
7087 ata_print_ident(ident_buf);
7088 free(ident_buf);