/third_party/eudev/src/udev/ |
H A D | udev-builtin-path_id.c | 68 unsigned long lun = strtoul(udev_device_get_sysnum(dev), NULL, 10); in format_lun_number() local 71 if (lun < 256) in format_lun_number() 72 return path_prepend(path, "lun-%lu", lun); in format_lun_number() 73 /* handle all other lun addressing methods by using a variant of the original lun format */ in format_lun_number() 74 return path_prepend(path, "lun-0x%04lx%04lx00000000", lun & 0xffff, (lun >> 16) & 0xffff); in format_lun_number() 97 char *lun in handle_scsi_fibre_channel() local 127 char *lun = NULL; handle_scsi_sas_wide_port() local 170 char *lun = NULL; handle_scsi_sas() local 260 char *lun = NULL; handle_scsi_iscsi() local 311 int host, bus, target, lun; handle_scsi_default() local 397 char *lun = NULL; handle_scsi_hyperv() local 561 const char *lun; handle_ccw() local [all...] |
H A D | udev-builtin-usb_id.c | 308 int host, bus, target, lun; in builtin_usb_id() local 317 if (sscanf(udev_device_get_sysname(dev_scsi), "%d:%d:%d:%d", &host, &bus, &target, &lun) != 4) { in builtin_usb_id() 362 * for all luns, export the target:lun number in builtin_usb_id() 364 sprintf(instance_str, "%d:%d", target, lun); in builtin_usb_id()
|
/third_party/FatFs/source/ |
H A D | diskio.c | 47 stat = g_diskDrv.drv[pdrv]->disk_status(g_diskDrv.lun[pdrv]);
in disk_status() 69 stat = g_diskDrv.drv[pdrv]->disk_initialize(g_diskDrv.lun[pdrv]);
in disk_initialize() 98 return (DRESULT)g_diskDrv.drv[pdrv]->disk_read(g_diskDrv.lun[pdrv], buff, sector, count);
in disk_read() 161 return (DRESULT)g_diskDrv.drv[pdrv]->disk_write(g_diskDrv.lun[pdrv], buff, sector, count);
in disk_write() 202 return (DRESULT)g_diskDrv.drv[pdrv]->disk_ioctl(g_diskDrv.lun[pdrv], cmd, buff);
in disk_ioctl()
|
/third_party/backends/sanei/ |
H A D | os2_srb.h | 85 lun, /* 09 */ member 92 lun; /* 09 */ member 115 lun, /* 09 */ member
|
H A D | sanei_config2.c | 65 int bus = -1, channel = -1, id = -1, lun = -1; in sanei_config_attach_matching_devices() local 134 lun = strtol (name, &end, 10); in sanei_config_attach_matching_devices() 140 sanei_scsi_find_devices (vendor, model, type, bus, channel, id, lun, in sanei_config_attach_matching_devices()
|
H A D | sanei_scsi.c | 359 int lun; member 361 short h_cmd_per_lun; /* host (adapter) maximum commands per lun */ 428 u_int bus, target, lun; /* nexus info; used for some interfaces only */ member 662 PSRBlock->u.dev.lun = 0; /* target LUN */ in open_aspi() 685 PSRBlock->u.cmd.lun = 0; /* Target SCSI LUN */ in open_aspi() 708 PSRBlock->u.cmd.lun = 0; /* Target SCSI LUN */ in open_aspi() 870 u_int bus = 0, target = 0, lun = 0, fake_fd = 0; in sanei_scsi_open_extended() local 937 if (sscanf (dev, "b%ut%ul%u", &bus, &target, &lun) != 3) in sanei_scsi_open_extended() 958 if (sscanf (dev, "b%dt%dl%d", &bus, &target, &lun) != 3) in sanei_scsi_open_extended() 977 cam_scan.ucs_lun = lun; in sanei_scsi_open_extended() 1160 int bus, cnt, id, lun; sanei_scsi_open_extended() local 2567 lx_chk_id(int dev_fd, int host, int channel, int id, int lun) lx_chk_id() argument 2604 lx_scan_sg(int exclude_devnum, char *name, size_t name_len, int host, int channel, int id, int lun) lx_scan_sg() argument 2639 lx_chk_devicename(int guess_devnum, char *name, size_t name_len, int host, int channel, int id, int lun) lx_chk_devicename() argument 2717 int bus, channel, id, lun; sanei_proc_scsi_find_devices() local 4079 get_devicename(int bus, int target, int lun, char *name, size_t name_len) get_devicename() argument 4095 int bus, channel, id, lun, number, i; sanei_scsi_find_devices() local 4503 int bus, id, lun; /* Current Bus, ID, and LUN */ sanei_scsi_find_devices() local [all...] |
/third_party/NuttX/include/nuttx/usb/ |
H A D | storage.h | 87 uint8_t lun; /* LUN (normally 0) */ member
|
/third_party/NuttX/drivers/usbdev/gadget/ |
H A D | f_mass_storage.c | 454 put_unaligned_be32((&buf[0]), fmass->caps[fmass->lun].nsectors); in done_scsi_read_format_capacities() 455 put_unaligned_be32((&buf[4]), fmass->caps[fmass->lun].sectorsize); /* Block length */ in done_scsi_read_format_capacities() 477 sectors = fmass->caps[fmass->lun].nsectors - 1; in done_scsi_read_capacity() 478 blksizes = fmass->caps[fmass->lun].sectorsize; in done_scsi_read_capacity() 493 uintptr_t num_sectors = fmass->caps[fmass->lun].nsectors; in done_scsi_read() 596 uintptr_t num_sectors = fmass->caps[fmass->lun].nsectors; in done_scsi_write() 600 if (fmass->caps[fmass->lun].read_only) in done_scsi_write() 755 DPRINTFN(0, "non-meaningful CBW: lun = %u, flags = 0x%x, cmdlen = %u\n", in fmass_check_receive_cbw() 1164 los_part *part = fmass->parts[fmass->lun]; in fmass_dev_read() 1183 los_part *part = fmass->parts[fmass->lun]; in fmass_dev_write() [all...] |
H A D | f_mass_storage.h | 226 uint32_t lun; member
|
/third_party/backends/include/sane/ |
H A D | sanei_scsi.h | 81 * Example: vendor="HP" model=NULL, type=NULL, bus=3, id=-1, lun=-1 would 90 * @param lun 96 int bus, int channel, int id, int lun,
|
/third_party/FreeBSD/sys/dev/usb/storage/ |
H A D | umass.c | 231 #define UR_BBB_GET_MAX_LUN 0xfe /* Get maximum lun */ 414 uint8_t lun; member 1262 DPRINTF_UMASS(sc, UDMASS_BBB, "SCSI: LUN-%d %s %s\n", sc->sc_transfer.lun, name, in umass_scsi_inquiry_data() 1413 sc->cbw.bCBWLUN = sc->sc_transfer.lun; in umass_t_bbb_command_callback() 2500 uint8_t lun = cbw->bCBWLUN; in umass_bbb_dump_cbw() local 2504 "data = %db, lun = %d, dir = %s\n", in umass_bbb_dump_cbw() 2507 dlen, lun, (flags == CBWFLAGS_IN ? "in" : in umass_bbb_dump_cbw() 3082 UINT8 lun; in umass_status() local 3096 lun = sc->sc_transfer.lun; in umass_status() 3253 int lun; umass_dev_is_ready() local [all...] |
/third_party/musl/porting/liteos_m_iccarm/kernel/include/scsi/ |
H A D | sg.h | 93 int lun; member
|
/third_party/musl/porting/uniproton/kernel/include/scsi/ |
H A D | sg.h | 93 int lun; member
|
/third_party/musl/porting/liteos_m/kernel/include/scsi/ |
H A D | sg.h | 93 int lun; member
|
/third_party/musl/include/scsi/ |
H A D | sg.h | 93 int lun; member
|
/third_party/backends/backend/ |
H A D | agfafocus.c | 152 Byte lun; in reserve_unit() member 174 Byte lun; in release_unit() member 199 Byte lun; in test_ready() member 279 Byte lun; in start_scan() member 314 Byte lun; in wait_ready() member 376 0x28, 0x00, /* opcode, lun */ in get_read_sizes() 439 Byte lun; in set_window() member 643 Byte lun; in upload_dither_matrix() member 691 Byte lun; 747 Byte lun; in read_data() member [all...] |
H A D | st400.c | 185 struct { SANE_Byte cmd, lun, reserved[2], tr_len, ctrl; } scsi_cmd; in st400_inquiry() member 250 struct { SANE_Byte cmd, lun, reserved[2], tr_len, ctrl; } scsi_cmd; in st400_cmd6() member 310 SANE_Byte cmd, lun, reserved1[4], tr_len[3], ctrl; in st400_set_window() member 362 struct { SANE_Byte cmd, lun, res[4], tr_len[3], ctrl; } scsi_cmd; in st400_read10() member
|
H A D | s9036.c | 167 Byte lun; in start_scan() member 193 0x28, 0x00, /* opcode, lun */ in wait_ready() 245 0x28, 0x00, /* opcode, lun */ in get_read_sizes() 307 Byte lun; in set_window() member 444 0x28, 0x00, /* opcode, lun */ in read_more_data()
|
/third_party/ltp/testcases/kernel/fs/scsi/ltpscsi/ |
H A D | scsimain.c | 279 int lun; member 360 static const char *level_arr[LEVELS] = { "host", "bus", "target", "lun" }; 394 int lun; member 396 short h_cmd_per_lun; /* host (adapter) maximum commands per lun */ 728 printf("%s: scsi%d channel=%d id=%d lun=%d", fname, host_no, in run_sg_scan_tests() 3202 map_arr[k].sg_dat.lun, in show_scsi_maps() 3256 (((my_idlun->dev_id >> 8) & 0xff) == sidp->lun) && in find_dev_in_sg_arr() 5170 cmd[1] = 0x00; /* lun = 0, inhibitting BD makes this fail in get_mode_page() 5202 cmd[1] = 0x00; /* lun = 0, inhibitting BD makes this fail in get_mode_page10() 5383 cmd[1] = 0x00; /* lun in read_defect_list() [all...] |