Home
last modified time | relevance | path

Searched refs:nutrs (Results 1 – 8 of 8) sorted by relevance

/openbmc/qemu/hw/ufs/
H A Dufs.c325 uint32_t nutrs = u->params.nutrs; in ufs_process_db() local
334 slot = find_first_bit(doorbell, nutrs); in ufs_process_db()
336 while (slot < nutrs) { in ufs_process_db()
350 slot = find_next_bit(doorbell, nutrs, slot + 1); in ufs_process_db()
1473 for (slot = 0; slot < u->params.nutrs; slot++) { in ufs_process_req()
1529 for (slot = 0; slot < u->params.nutrs; slot++) { in ufs_sendback_req()
1564 if (u->params.nutrs > UFS_MAX_NUTRS) { in ufs_check_constraints()
1599 u->req_list = g_new0(UfsRequest, u->params.nutrs); in ufs_init_state()
1601 for (int i = 0; i < u->params.nutrs; i++) { in ufs_init_state()
1630 cap = FIELD_DP32(cap, CAP, NUTRS, (u->params.nutrs - 1)); in ufs_init_hc()
[all …]
H A Dufs.h89 uint8_t nutrs; /* Number of UTP Transfer Request Slots */ member
/openbmc/linux/drivers/ufs/core/
H A Dufshcd.c2283 /* nutrs and nutmrs are 0 based values */ in ufshcd_hba_capabilities()
2284 hba->nutrs = (hba->capabilities & MASK_TRANSFER_REQUESTS_SLOTS) + 1; in ufshcd_hba_capabilities()
2287 hba->reserved_slot = hba->nutrs - 1; in ufshcd_hba_capabilities()
2845 WARN_ONCE(tag < 0 || tag >= hba->nutrs, "Invalid tag %d\n", tag); in ufshcd_queuecommand()
3750 ucdl_size = ufshcd_get_ucd_size(hba) * hba->nutrs; in ufshcd_memory_alloc()
3770 utrdl_size = (sizeof(struct utp_transfer_req_desc) * hba->nutrs); in ufshcd_memory_alloc()
3809 hba->nutrs, sizeof(struct ufshcd_lrb),
3853 for (i = 0; i < hba->nutrs; i++) { in ufshcd_host_memory_configure()
4675 ufshcd_config_intr_aggr(hba, hba->nutrs - 1, INT_AGGR_DEF_TO); in ufshcd_make_hba_operational()
5057 u8 lun_qdepth = hba->nutrs; in ufshcd_lu_init()
8602 ufshcd_release_sdb_queue(struct ufs_hba * hba,int nutrs) ufshcd_release_sdb_queue() argument
[all...]
H A Dufs-mcq.c436 hwq->max_entries = hba->nutrs + 1; in ufshcd_mcq_init()
507 if (task_tag != hba->nutrs - UFSHCD_NUM_RESERVED) { in ufshcd_mcq_sq_cleanup()
/openbmc/qemu/tests/qtest/
H A Dufs-test.c260 uint32_t nutrs, nutmrs; in ufs_init() local
328 nutrs = FIELD_EX32(cap, CAP, NUTRS) + 1; in ufs_init()
331 guest_alloc(alloc, nutrs * UTP_COMMAND_DESCRIPTOR_SIZE); in ufs_init()
334 ufs->utrlba = guest_alloc(alloc, nutrs * sizeof(UtpTransferReqDesc)); in ufs_init()
/openbmc/linux/include/ufs/
H A Dufshcd.h818 * @nutrs: Transfer Request Queue depth supported by controller
953 int nutrs;
951 int nutrs; global() member
/openbmc/linux/drivers/ufs/host/
H A Dufs-mediatek.c1221 ufshcd_mcq_config_mac(hba, hba->nutrs); in ufs_mtk_link_set_hpm()
H A Dufs-exynos.c1025 hci_writel(ufs, (1 << hba->nutrs) - 1, HCI_UTRL_NEXUS_TYPE); in exynos_ufs_post_link()