Lines Matching defs:host
361 short h_cmd_per_lun; /* host (adapter) maximum commands per lun */
600 PSRBlock->cmd = SRB_Inquiry; /* host adapter inquiry */
602 PSRBlock->ha_num = 0; /* host adapter number */
613 DBG (1, "OS/2: host adapter is '%s'\n", PSRBlock->u.inq.host_id);
633 PSRBlock->cmd = SRB_Inquiry; /* host adapter inquiry */
635 PSRBlock->ha_num = i; /* host adapter number */
656 PSRBlock->ha_num = i; /* host adapter number */
682 PSRBlock->ha_num = i; /* host adapter number */
705 PSRBlock->ha_num = i; /* host adapter number */
2336 DBG (10, "target status: %02x host status: %02x"
2404 "target status: %02x host status: %04x"
2492 numbers (i.e. <host,bus,id,lun>) with a sg device file name
2496 #define DEVFS_MSK "/dev/scsi/host%d/bus%d/target%d/lun%d/generic"
2567 lx_chk_id (int dev_fd, int host, int channel, int id, int lun)
2574 DBG (2, "lx_chk_id: %d,%d %d,%d %d,%d %d,%d\n", host, ssid.host_no,
2576 if ((host == ssid.host_no) &&
2596 return 1; /* cheating, assume 'host' number matches */
2605 int host, int channel, int id, int lun)
2624 if (lx_chk_id (dev_fd, host, channel, id, lun))
2640 int host, int channel, int id, int lun)
2644 if (host < 0)
2654 snprintf (name, name_len, DEVFS_MSK, host, channel, id, lun);
2677 /* now check this fd for match on <host, channel, id, lun> */
2678 if (lx_chk_id (dev_fd, host, channel, id, lun))
2687 if (lx_scan_sg (guess_devnum, name, name_len, host, channel, id, lun))
4288 PSRBlock->ha_num = fd_info[fd].bus; /* host adapter number */