Home
last modified time | relevance | path

Searched refs:UFS_MAX_LUS (Results 1 – 3 of 3) sorted by relevance

/openbmc/qemu/hw/ufs/
H A Dlu.c87 .max_lun = UFS_MAX_LUS,
107 for (uint8_t lun = 0; lun < UFS_MAX_LUS; ++lun) { in ufs_emulate_report_luns()
290 if (u->device_desc.number_lu >= UFS_MAX_LUS) { in ufs_add_lu()
337 if (lu->lun >= UFS_MAX_LUS) { in ufs_lu_check_constraints()
338 error_setg(errp, "lun must be between 0 and %d", UFS_MAX_LUS - 1); in ufs_lu_check_constraints()
H A Dufs.h18 #define UFS_MAX_LUS 32 macro
132 UfsLu *lus[UFS_MAX_LUS];
H A Dufs.c863 if (!is_wlun(lun) && (lun >= UFS_MAX_LUS || u->lus[lun] == NULL)) { in ufs_exec_scsi_cmd()
1175 (lun >= UFS_MAX_LUS || u->lus[lun] == NULL)) { in ufs_read_unit_desc()
1674 u->geometry_desc.max_number_lu = (UFS_MAX_LUS == 32) ? 0x1 : 0x0; in ufs_init_hc()