/netbsd-6-1-5-RELEASE/sys/arch/next68k/stand/boot/ |
H A D | devopen.c | 74 * dev(count, lun, part)file 78 char *count, char *lun, char *part, char **file) 104 *lun = atoi(args[1]); 108 *lun = atoi(args[0]); 134 char count, lun, part; local 139 lun = 0; 142 if ((error = devparse(fname, &dev, &count, &lun, &part, file)) != 0) 152 if ((error = (*dp->dv_open)(f, count, lun, part)) != 0) 154 count, lun, part, error, strerror(error)); 77 devparse(const char *fname, int *dev, char *count, char *lun, char *part, char **file) argument
|
H A D | sd.c | 68 int sdprobe(char target, char lun); 70 int sdopen(struct open_file *f, char count, char lun, char part); 74 sdprobe(char target, char lun) argument 88 error = scsiicmd(target, lun, (u_char *)&cdb1, sizeof(cdb1), NULL, &count); 102 error = scsiicmd(target, lun, (u_char *)&cdb2, sizeof(cdb2), 185 sdopen(struct open_file *f, char count, char lun, char part) argument 191 DPRINTF(("open: sd(%d,%d,%d)\n", count, lun, part)); 193 if (lun >= NSD) 200 DPRINTF(("trying target %d lun %d.\n", unit, lun)); [all...] |
H A D | boot.c | 79 char count, lun, part; local 140 count = lun = part = 0; 141 if (devparse(kernel, &dev, &count, &lun, &part, &file) == 0) { 146 sprintf (p, "(%d,%d,%d)", count, lun, part);
|
/netbsd-6-1-5-RELEASE/sys/arch/next68k/next68k/ |
H A D | autoconf.c | 137 int count, lun, part; local 139 count = lun = part = 0; 141 devidentparse (rom_boot_info, &count, &lun, &part); 169 * (count, lun, part) 172 devidentparse(const char *spec, int *count, int *lun, int *part) argument 190 *lun = atoi(args[1]); 194 *lun = atoi(args[0]);
|
/netbsd-6-1-5-RELEASE/sys/arch/mac68k/mac68k/ |
H A D | autoconf.c | 157 * Map a SCSI bus, target, lun to a device number. 163 target_to_unit(u_long bus, u_long target, u_long lun) argument 169 if (target < 0 || target > 7 || lun < 0 || lun > 7) { 170 printf("scsi target to unit, target (%ld) or lun (%ld)" 171 " out of range.\n", target, lun); 181 target, lun); 197 target, lun);
|
/netbsd-6-1-5-RELEASE/sys/dev/ic/ |
H A D | isp_target.h | 78 #define MATCH_TMD(tmd, iid, lun, tag) \ 82 (lun == LUN_ANY || lun == tmd->cd_lun) && \
|
H A D | isp_tpublic.h | 85 * lun width capapbilities of this inner layer. It's up to each 148 * If an error occurs in either enabling or disabling the described lun 226 * channel and lun that have been enabled cause an interrupt which 250 * claim to be, and the lun on that target. 342 #define FLATLUN_TO_L0LUN(lptr, lun) \ 343 (lptr)[1] = lun & 0xff; \ 344 if (sizeof (lun) == 1) { \ 347 uint16_t nl = lun; \
|
H A D | wd33c93var.h | 89 int lun; member in struct:wd33c93_linfo 114 struct wd33c93_linfo *lun[SBIC_NLUN]; /* LUN list for this target */ member in struct:wd33c93_tinfo 117 /* Look up a lun in a tinfo */ 118 #define TINFO_LUN(t, l) ((t)->lun[(l)]) 130 int lun; /* Currently active LUN */ member in struct:wd33c93_softc
|
H A D | wd33c93.c | 669 int lun, tag, flags; local 679 lun = periph->periph_lun; 681 li = TINFO_LUN(ti, lun); 703 li->lun = lun; 704 if (lun < SBIC_NLUN) 705 ti->lun[lun] = li; 710 * We've found a potential command, but is the target/lun busy? 781 KASSERT(sc->lun 846 int lun = acb->xs->xs_periph->periph_lun; local 985 u_char target, lun, asr, csr, id; local 2165 wd33c93_reselect(struct wd33c93_softc *sc, int target, int lun, int tag_type, int tag_id) argument [all...] |
H A D | esiop.c | 407 int offset, target, lun, tag; local 448 lun = (tflags & A_f_c_lun) ? ((tflags >> 16) & 0xff) : -1; 449 if (lun > sc->sc_c.sc_chan.chan_nluns) lun = -1; 452 if (target >= 0 && lun >= 0) { 458 esiop_lun = esiop_target->esiop_lun[lun]; 460 printf("esiop_lun (target %d lun %d) not valid\n", 461 target, lun); 467 printf("esiop_cmd (target %d lun %d tag %d)" 469 target, lun, ta 1212 int target, lun, tag; local 1313 esiop_unqueue(struct esiop_softc *sc, int target, int lun) argument 1361 int lun = esiop_cmd->cmd_c.xs->xs_periph->periph_lun; local 1405 int target, lun, tag; local 1479 int lun; local 1695 int target, lun, slot; local 2097 esiop_add_dev(struct esiop_softc *sc, int target, int lun) argument 2126 esiop_del_dev(struct esiop_softc *sc, int target, int lun) argument 2147 int lun; local [all...] |
/netbsd-6-1-5-RELEASE/sys/arch/atari/stand/tostools/aptck/ |
H A D | aptck.h | 36 #define MINOR(bus, target, lun) (lun) 37 #define MAJOR(bus, target, lun) (((bus) << 3) + (target)) 62 char * fname; /* full name (scsi target 0 lun 0)*/
|
H A D | diskio.c | 159 u_int target, lun; local 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); 243 error(-1, "invalid %s lun `%d'", bs, l); 251 sprintf(ls, " lun %d", l);
|
/netbsd-6-1-5-RELEASE/sys/arch/atari/stand/tostools/libtos/ |
H A D | diskio.h | 36 #define MINOR(bus, target, lun) (lun) 37 #define MAJOR(bus, target, lun) (((bus) << 3) + (target)) 54 char * fname; /* full name (scsi target 0 lun 0)*/
|
H A D | diskio.c | 159 u_int target, lun; local 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); 243 error(-1, "invalid %s lun `%d'", bs, l); 251 sprintf(ls, " lun %d", l);
|
/netbsd-6-1-5-RELEASE/sys/arch/hp300/include/ |
H A D | bootinfo.h | 57 int lun; member in struct:btinfo_bootpath
|
/netbsd-6-1-5-RELEASE/external/bsd/iscsi/dist/src/osd/ |
H A D | osd.c | 183 iscsi_trace(TRACE_SCSI_CMD, "SCSI op 0x%x (lun %llu)\n", args->cdb[0], args->lun); 185 if (args->lun >= osd_luns) { 186 iscsi_trace(TRACE_SCSI_DEBUG, "invalid lun: %llu\n", args->lun); 196 iscsi_trace(TRACE_SCSI_CMD, "TEST_UNIT_READY(lun %llu)\n", args->lun); 203 iscsi_trace(TRACE_SCSI_CMD, "INQUIRY(lun %llu)\n", args->lun); 290 iscsi_trace(TRACE_OSD, "OSD_SET_ATTR(lun [all...] |
/netbsd-6-1-5-RELEASE/sys/arch/x68k/include/ |
H A D | bootinfo.h | 75 #define X68K_MAKESCSIBOOTDEV(major, type_if, unit_if, scsi_id, lun, part) \ 76 MAKEBOOTDEV(major, type_if, unit_if, scsi_id, ((lun) << 4) | (part))
|
/netbsd-6-1-5-RELEASE/sys/arch/mvme68k/stand/sboot/ |
H A D | start.s | 49 clrl %d0 | dev lun 50 clrl %d1 | ctrl lun
|
/netbsd-6-1-5-RELEASE/sys/arch/bebox/bebox/ |
H A D | autoconf.c | 77 static int bus, target, lun, drive; variable 140 lun = 0; 142 lun = lun * 10 + (*p++) - '0'; 231 sa->sa_periph->periph_lun == lun)
|
/netbsd-6-1-5-RELEASE/external/bsd/iscsi/dist/include/ |
H A D | iscsiprotocol.h | 152 uint64_t lun; member in struct:iscsi_task_cmd_t 204 uint64_t lun; member in struct:iscsi_nop_out_args_t 223 uint64_t lun; member in struct:iscsi_nop_in_args_t 245 uint64_t lun; member in struct:iscsi_text_cmd_args_t 266 uint64_t lun; member in struct:iscsi_text_rsp_args_t 383 uint64_t lun; member in struct:iscsi_scsi_cmd_args_t 443 uint64_t lun; member in struct:iscsi_r2t_args_t 466 uint64_t lun; member in struct:iscsi_write_data_args_t 491 uint64_t lun; member in struct:iscsi_read_data_args_t 530 uint64_t lun; member in struct:iscsi_async_msg_args_t [all...] |
/netbsd-6-1-5-RELEASE/sys/arch/xen/include/xen-public/io/ |
H A D | vscsiif.h | 65 uint16_t channel, id, lun; member in struct:vscsiif_request
|
/netbsd-6-1-5-RELEASE/usr.sbin/mmcformat/ |
H A D | uscsilib.h | 60 int lun; /* -1 if wildcard */ member in struct:uscsi_addr::__anon10012::__anon10013
|
/netbsd-6-1-5-RELEASE/sys/dev/scsipi/ |
H A D | scsi_message.h | 42 #define MSG_IDENTIFY(lun, disc) \ 43 (MSG_IDENTIFYFLAG | ((disc) ? MSG_IDENTIFY_DISCFLAG : 0) | (lun))
|
H A D | scsiconf.c | 206 aprint_normal(": %d target%s, %d lun%s per target\n", 350 * target and lun optionally narrow the search if not -1 353 scsi_probe_bus(struct scsibus_softc *sc, int target, int lun) argument 371 if (lun == -1) { 375 if (lun < 0 || lun >= chan->chan_nluns) 377 maxlun = minlun = lun; 393 for (lun = minlun; lun <= maxlun; lun 433 int target, lun; local 469 int target, lun; local 765 scsi_probe_device(struct scsibus_softc *sc, int target, int lun) argument [all...] |
/netbsd-6-1-5-RELEASE/external/bsd/iscsi/dist/src/initiator/ |
H A D | iscsi-initiator.c | 75 uint32_t lun; /* LUN number */ member in struct:targetinfo_t 134 read_capacity(uint64_t target, uint32_t lun, uint32_t *maxlba, uint32_t *blocklen) argument 143 cdb[1] = lun << 5; 148 args.lun = lun; 183 inquiry(uint64_t target, uint32_t lun, uint8_t type, uint8_t inquire, uint8_t *data) argument 191 cdb[1] = type | (lun << 5); 199 args.lun = lun; 220 blockop(uint64_t target, uint32_t lun, uint32_ argument 267 sgblockop(uint64_t target, uint32_t lun, uint32_t lba, uint32_t len, uint32_t blocklen, uint8_t *data, int sglen, int writing) argument [all...] |