/src/sys/arch/next68k/stand/boot/ |
devopen.c | 63 * dev(count, lun, part)file 67 int *count, int *lun, int *part, char **file) 93 *lun = atoi(args[1]); 97 *lun = atoi(args[0]); 123 int count, lun, part; local in function:devopen 128 lun = 0; 131 if ((error = devparse(fname, &dev, &count, &lun, &part, file)) != 0) 141 if ((error = (*dp->dv_open)(f, count, lun, part)) != 0) 143 count, lun, part, error, strerror(error));
|
boot.c | 73 char count, lun, part; local in function:main 139 count = lun = part = 0; 140 if (devparse(kernel, &dev, &count, &lun, &part, &file) == 0) { 145 snprintf (p, 1024, "(%d,%d,%d)", count, lun, part); /* XXX */
|
sd.c | 68 int sdprobe(char target, char lun); 72 sdprobe(char target, char lun) 86 error = scsiicmd(target, lun, (u_char *)&cdb1, sizeof(cdb1), NULL, &count); 100 error = scsiicmd(target, lun, (u_char *)&cdb2, sizeof(cdb2), 190 int count, lun, part; local in function:sdopen 197 lun = va_arg(ap, int); 201 DPRINTF(("open: sd(%d,%d,%d)\n", count, lun, part)); 203 if (lun >= NSD) 210 DPRINTF(("trying target %d lun %d.\n", unit, lun)); [all...] |
/src/sys/arch/next68k/next68k/ |
autoconf.c | 137 int count, lun, part; local in function:cpu_rootconf 139 count = lun = part = 0; 141 devidentparse (rom_boot_info, &count, &lun, &part); 170 * (count, lun, part) 173 devidentparse(const char *spec, int *count, int *lun, int *part) 191 *lun = atoi(args[1]); 195 *lun = atoi(args[0]);
|
/src/sys/dev/scsipi/ |
scsi_base.c | 82 * Set the LUN in the CDB if we have an older device. We also 199 int lun, announce, mode, period, offset; local in function:scsi_async_event_xfer_mode 201 for (lun = 0; lun < chan->chan_nluns; lun++) { 202 periph = scsipi_lookup_periph_locked(chan, xm->xm_target, lun); 250 int lun, announce, mode; local in function:scsi_fc_sas_async_event_xfer_mode 252 for (lun = 0; lun < chan->chan_nluns; lun++) [all...] |
/src/usr.sbin/mmcformat/ |
uscsilib.h | 60 int lun; /* -1 if wildcard */ member in struct:uscsi_addr::__anon076a3679010a::__anon076a36790208
|
/src/sys/arch/bebox/bebox/ |
autoconf.c | 76 static int bus, target, lun, drive; variable in typeref:typename:int 117 target = lun = drive = -1; 138 lun = (*p++) - '0'; 223 sa->sa_periph->periph_lun == lun)
|
/src/sys/arch/hp300/include/ |
bootinfo.h | 57 int lun; member in struct:btinfo_bootpath
|
/src/sys/arch/sparc64/include/ |
bootinfo.h | 138 uint32_t lun; /* scsi address details */ member in struct:btinfo_bootdev_unit
|
/src/sys/arch/sun3/sun3/ |
autoconf.c | 249 * scsibus number, and the unit number is (targ*8 + LUN). 257 int target, lun; local in function:scsi_find 263 /* Compute SCSI target/LUN from PROM unit. */ 265 lun = unit & 7; 267 /* Find the device at this target/LUN */ 269 periph = scsipi_lookup_periph(sbsc->sc_channel, target, lun);
|
/src/sys/arch/sun68k/sun68k/ |
autoconf.c | 381 * scsibus number, and the unit number is (targ*8 + LUN). 389 int target, lun; local in function:scsi_find 394 /* Compute SCSI target/LUN from PROM unit. */ 396 lun = unit & 7; 398 /* Find the device at this target/LUN */ 400 periph = scsipi_lookup_periph(sbsc->sc_channel, target, lun);
|
/src/sys/external/mit/xen-include-public/dist/xen/include/public/io/ |
vscsiif.h | 62 * (host, controller, target, lun, all integers), or a WWN (e.g. 69 * (host, controller, target, lun, all integers). 120 * <domid>/<vhost>/vscsi-devs/dev-0/p-dev = "8:0:2:1" or "naa.wwn:lun" 180 * The target is specified via channel, id and lun. 213 * channel, id, lun and the operation's rqid in ref_rqid. 270 uint16_t channel, id, lun; /* (virtual) device specification */ member in struct:vscsiif_request
|
/src/sys/arch/newsmips/dev/ |
sc_wrap.c | 274 int chan, lun; local in function:sc_sched 296 lun = periph->periph_lun; 298 scb->identify = MSG_IDENT | sc_disconnect | (lun & IDT_DRMASK); 431 scop_rsense(int intr, struct scsi *sc_param, int lun, int ie, int count, 436 sc_param->identify = MSG_IDENT | sc_disconnect | (lun & IDT_DRMASK); 437 sc_param->sc_lun = lun;
|
/src/sys/arch/acorn32/podulebus/ |
esc.c | 799 int sync, target, lun; local in function:esc_setup_nexus 802 lun = pendp->xs->xs_periph->periph_lun; 820 nexus->ID = ((mode & ESC_SELECT_R) ? 0xC0 : 0x80) | lun; 823 nexus->cbuf[1] |= lun << 5; /* Fix the lun bits */ 831 nexus->lun_unit = (lun << 4) | target;
|
sfas.c | 726 char sync, target, lun; local in function:sfas_setup_nexus 729 lun = pendp->xs->xs_periph->periph_lun; 747 nexus->ID = ((mode & SFAS_SELECT_R) ? 0xC0 : 0x80) | lun; 750 nexus->cbuf[1] |= lun << 5; /* Fix the lun bits */ 758 nexus->lun_unit = (lun << 4) | target;
|
/src/sys/arch/atari/stand/tostools/aptck/ |
diskio.c | 159 u_int target, lun; local in function:setmami 172 lun = 0; 198 error(-1, "%s: invalid %s lun `%c'", name, 202 lun = 0; 204 lun = *p++ - '0'; 210 dd->major = MAJOR(bus, target, lun); 211 dd->minor = MINOR(bus, target, lun); 223 l = LUN(dd->major, dd->minor); 243 error(-1, "invalid %s lun `%d'", bs, l); 251 snprintf(ls, sizeof(ls), " lun %d", l) [all...] |
/src/sys/arch/atari/stand/tostools/libtos/ |
diskio.c | 159 u_int target, lun; local in function:setmami 172 lun = 0; 198 error(-1, "%s: invalid %s lun `%c'", name, 202 lun = 0; 204 lun = *p++ - '0'; 210 dd->major = MAJOR(bus, target, lun); 211 dd->minor = MINOR(bus, target, lun); 223 l = LUN(dd->major, dd->minor); 243 error(-1, "invalid %s lun `%d'", bs, l); 251 snprintf(ls, sizeof(ls), " lun %d", l) [all...] |
/src/sys/arch/pmax/ibus/ |
siivar.h | 18 int lun; /* LUN for MI SCSI */ member in struct:ScsiCmd
|
/src/sys/arch/sgimips/stand/common/ |
iris_scsicmd.h | 79 uint8_t lun: 3, /* logical unit on ctlr */ member in struct:scsi_cdb6 89 uint8_t lun: 3, /* logical unit on ctlr */ member in struct:scsi_cdb10
|
iris_scsi.c | 224 uint8_t asr, csr, id, lun, target; local in function:wd33c93_selectbus 230 lun = SCSI_LUN; 311 SEND_BYTE(sc, MSG_IDENTIFY(lun, 0)); 318 sc->sc_omsg[0] = MSG_IDENTIFY(lun, 0);
|
/src/sys/dev/i2o/ |
iopsp.c | 225 u_int tid, nent, i, targ, lun, size, rv, bptid; local in function:iopsp_reconfig 242 * Allocate memory for the target/LUN -> TID map. Use zero to 279 lun = param.sdi.luninfo[1]; 282 lun >= sc_chan->chan_nluns) { 284 "bad target/LUN\n", targ, lun, tid); 316 IOPSP_TIDMAP(sc->sc_tidmap, targ, lun) != 320 targ, lun, tid, 323 IOPSP_TIDMAP(tidmap, targ, lun) = IOPSP_TID_INUSE; 325 IOPSP_TIDMAP(tidmap, targ, lun) = (u_short)tid [all...] |
/src/sys/dev/pci/ |
vioscsireg.h | 55 uint8_t lun[8]; member in struct:virtio_scsi_req_hdr
|
/src/sys/arch/x68k/stand/loadbsd/ |
loadbsd.c | 145 * [/<controller>@<unit>/]<device>@<unit>[,<lun>][:<partition>] 170 unsigned major, unit, lun, partition; local in function:bootdev 210 * <type>@unit[,lun][:part] 226 lun = 0; 231 GETDECIMAL(lun, s); 251 if (lun >= 8) 252 xerrx(1, "%s: SCSI LUN >= 8 is not supported yet", devstr); 267 unit, lun, partition); 274 xwarnx("%s: major %u, if %u, un_if %u, unit %u, lun %u, partition %u; bootdev 0x%x", 275 devstr, major, interface, unit_if, unit, lun, partition, dev) [all...] |
/src/sys/dev/ic/ |
siop_common.c | 257 int lun = xs->xs_periph->periph_lun; local in function:siop_setuptables 265 siop_cmd->siop_tables->msg_out[0] = MSG_IDENTIFY(lun, 0); 276 siop_cmd->siop_tables->msg_out[0] = MSG_IDENTIFY(lun, 0); 278 siop_cmd->siop_tables->msg_out[0] = MSG_IDENTIFY(lun, 1);
|
/src/sys/sys/ |
ipmi.h | 86 unsigned char lun; member in struct:ipmi_system_interface_addr 93 unsigned char lun; member in struct:ipmi_ipmb_addr
|