Searched refs:ident_buf (Results 1 – 4 of 4) sorted by relevance
| /NextBSD/sys/cam/ata/ |
| HD | ata_xpt.c | 289 struct ata_params *ident_buf; in probestart() local 297 ident_buf = &periph->path->device->ident_data; in probestart() 374 wantmode = mode = ata_max_mode(ident_buf, mode); in probestart() 498 sectors = max(1, min(ident_buf->sectors_intr & 0xff, in probestart() 499 bytecount / ata_logical_sector_size(ident_buf))); in probestart() 507 ata_logical_sector_size(ident_buf); in probestart() 511 ata_logical_sector_size(ident_buf); in probestart() 528 sectors = bytecount / ata_logical_sector_size(ident_buf); in probestart() 562 if (ident_buf->satacapabilities != 0x0000 && in probestart() 563 ident_buf->satacapabilities != 0xffff) { in probestart() [all …]
|
| /NextBSD/sbin/camcontrol/ |
| HD | camcontrol.c | 2050 struct ata_params *ident_buf; in ata_do_identify() local 2146 ident_buf = (struct ata_params *)ptr; in ata_do_identify() 2147 if (strncmp(ident_buf->model, "FX", 2) && in ata_do_identify() 2148 strncmp(ident_buf->model, "NEC", 3) && in ata_do_identify() 2149 strncmp(ident_buf->model, "Pioneer", 7) && in ata_do_identify() 2150 strncmp(ident_buf->model, "SHARP", 5)) { in ata_do_identify() 2151 ata_bswap(ident_buf->model, sizeof(ident_buf->model)); in ata_do_identify() 2152 ata_bswap(ident_buf->revision, sizeof(ident_buf->revision)); in ata_do_identify() 2153 ata_bswap(ident_buf->serial, sizeof(ident_buf->serial)); in ata_do_identify() 2154 ata_bswap(ident_buf->media_serial, sizeof(ident_buf->media_serial)); in ata_do_identify() [all …]
|
| HD | fwdownload.c | 264 struct ata_params *ident_buf); 288 fw_get_vendor(struct cam_device *cam_dev, struct ata_params *ident_buf) in fw_get_vendor() argument 296 if (ident_buf != NULL) { in fw_get_vendor() 297 cam_strvis((u_char *)vendor, ident_buf->model, in fw_get_vendor() 298 sizeof(ident_buf->model), sizeof(vendor)); in fw_get_vendor() 910 struct ata_params *ident_buf = NULL; in fwdownload() local 960 &ident_buf) != 0) { in fwdownload() 968 vp = fw_get_vendor(device, ident_buf); in fwdownload() 1008 ata_print_ident(ident_buf); in fwdownload() 1010 free(ident_buf); in fwdownload()
|
| /NextBSD/sbin/launchd/ |
| HD | runtime.c | 412 char ident_buf[100]; in log_kevent_struct() local 449 snprintf(ident_buf, sizeof(ident_buf), "%ld", kev->ident); in log_kevent_struct() 514 strcpy(ident_buf, signal_to_C_name(kev->ident)); in log_kevent_struct() 518 snprintf(ident_buf, sizeof(ident_buf), "0x%lx", kev->ident); in log_kevent_struct() 540 snprintf(ident_buf, sizeof(ident_buf), "0x%lx", kev->ident); in log_kevent_struct() 544 snprintf(ident_buf, sizeof(ident_buf), "0x%lx", kev->ident); in log_kevent_struct() 576 indx, kev->udata, kev->data, ident_buf, filter_str, flags_buf, fflags_buf); in log_kevent_struct()
|