Home
last modified time | relevance | path

Searched refs:lun (Results 1 – 18 of 18) sorted by relevance

/u-boot/drivers/scsi/
A Dscsi.c65 pccb->cmd[1] = pccb->lun << 5; in scsi_setup_read16()
162 pccb->lun = block_dev->lun; in scsi_read()
232 pccb->lun = block_dev->lun; in scsi_write()
443 dev_desc->lun = 0xff; in scsi_init_dev_desc_priv()
494 pccb->lun = lun; in scsi_detect_dev()
526 dev_desc->lun = pccb->lun; in scsi_detect_dev()
591 bdesc->lun = lun; in do_scsi_scan_one()
610 int lun; in scsi_scan_dev() local
621 for (lun = 0; lun < uc_plat->max_lun; lun++) in scsi_scan_dev()
653 unsigned char i, lun; in scsi_scan() local
[all …]
/u-boot/include/linux/mtd/
A Dnand.h74 unsigned int lun; member
451 pos->lun = do_div(tmp, nand->memorg.luns_per_target); in nanddev_offs_to_pos()
472 if (a->lun != b->lun) in nanddev_pos_cmp()
473 return a->lun < b->lun ? -1 : 1; in nanddev_pos_cmp()
502 (pos->lun + in nanddev_pos_to_offs()
523 return (pos->lun << nand->rowconv.lun_addr_shift) | in nanddev_pos_to_row()
542 pos->lun = 0; in nanddev_pos_next_target()
557 if (pos->lun >= nand->memorg.luns_per_target - 1) in nanddev_pos_next_lun()
560 pos->lun++; in nanddev_pos_next_lun()
730 ((pos->lun + (pos->target * nand->memorg.luns_per_target)) * in nanddev_bbt_pos_to_entry()
/u-boot/common/
A Dusb_storage.c191 int lun, max_lun; in usb_stor_probe_device() local
214 for (lun = 0; lun <= max_lun; lun++) { in usb_stor_probe_device()
230 blkdev->lun = lun; in usb_stor_probe_device()
261 for (lun = 0; lun <= max_lun && usb_max_devs < USB_MAX_STOR_DEV; in usb_stor_probe_device()
262 lun++) { in usb_stor_probe_device()
274 blkdev->lun = lun; in usb_stor_probe_device()
567 cbw->bCBWLUN = srb->lun; in usb_stor_BBB_comdat()
1007 srb->cmd[1] = srb->lun << 5; in usb_request_sense()
1165 srb->lun = block_dev->lun; in usb_stor_read()
1250 srb->lun = block_dev->lun; in usb_stor_write()
[all …]
/u-boot/drivers/usb/gadget/
A Df_mass_storage.c310 unsigned int lun; member
765 rc = ums[common->lun].read_sector(&ums[common->lun], in do_read()
939 rc = ums[common->lun].write_sector(&ums[common->lun], in do_write()
1055 rc = ums[common->lun].read_sector(&ums[common->lun], in do_verify()
1670 int lun = common->cmnd[1] >> 5; in check_command() local
1731 if (common->lun != lun) in check_command()
1733 common->lun, lun); in check_command()
2108 common->lun = cbw->Lun; in received_cbw()
2498 common->lun = 0; in fsg_common_init()
2571 for (; i; --i, ++lun) in fsg_common_release()
[all …]
A Dstorage_common.c72 #define VLDBG(lun, fmt, args...) do { } while (0) argument
82 #define LDBG(lun, fmt, args...) do { } while (0) argument
83 #define LERROR(lun, fmt, args...) do { } while (0) argument
84 #define LWARN(lun, fmt, args...) do { } while (0) argument
85 #define LINFO(lun, fmt, args...) do { } while (0) argument
A Df_rockusb.c361 debug("cbw: lun=%d\n", cbw->lun); in printcbw()
/u-boot/include/linux/
A Dedd.h114 __u8 lun; member
122 __u64 lun; member
136 __u64 lun; member
/u-boot/arch/arm/include/asm/arch-rockchip/
A Df_rockusb.h89 u8 lun; /* lun (normally 0) */ member
/u-boot/include/
A Dscsi.h21 unsigned char lun; /* Target LUN */ member
A Dblk.h70 unsigned char lun; /* target LUN */ member
/u-boot/arch/arm/dts/
A Darmada-3720-uDPU.dts53 max-lun = <1>;
/u-boot/drivers/block/
A Dide.c486 dev_desc->lun = 0; in atapi_inquiry()
693 dev_desc->lun = 0; /* just to fill something in... */ in ide_ident()
/u-boot/lib/efi_loader/
A Defi_device_path.c611 dp->logical_unit_number = desc->lun; in dp_fill()
643 dp->logical_unit_number = desc->lun; in dp_fill()
/u-boot/disk/
A Dpart.c135 dev_desc->target,dev_desc->lun, in dev_print()
/u-boot/drivers/ata/
A Dsata_sil3114.c177 sata_dev_desc[devno].lun = 0; /* just to fill something in... */ in sata_identify()
A Ddwc_ahsata.c780 pdev->lun = 0; in dwc_ahsata_scan_common()
/u-boot/drivers/ufs/
A Dufs.c1395 pccb->lun, TASK_TAG); in ufshcd_prepare_utp_scsi_cmd_upiu()
/u-boot/drivers/mmc/
A Dmmc.c2610 bdesc->lun = 0; in mmc_startup()

Completed in 36 milliseconds