Lines Matching refs:nutrs

542 	for_each_set_bit(tag, &bitmap, hba->nutrs) {  in ufshcd_print_trs()
2311 hba->nutrs = (hba->capabilities & MASK_TRANSFER_REQUESTS_SLOTS) + 1; in ufshcd_hba_capabilities()
2314 hba->reserved_slot = hba->nutrs - 1; in ufshcd_hba_capabilities()
2865 WARN_ONCE(tag < 0 || tag >= hba->nutrs, "Invalid tag %d\n", tag); in ufshcd_queuecommand()
3743 ucdl_size = sizeof_utp_transfer_cmd_desc(hba) * hba->nutrs; in ufshcd_memory_alloc()
3763 utrdl_size = (sizeof(struct utp_transfer_req_desc) * hba->nutrs); in ufshcd_memory_alloc()
3802 hba->nutrs, sizeof(struct ufshcd_lrb), in ufshcd_memory_alloc()
3846 for (i = 0; i < hba->nutrs; i++) { in ufshcd_host_memory_configure()
4622 ufshcd_config_intr_aggr(hba, hba->nutrs - 1, INT_AGGR_DEF_TO); in ufshcd_make_hba_operational()
5002 u8 lun_qdepth = hba->nutrs; in ufshcd_lu_init()
5024 lun_qdepth = min_t(int, desc_buf[UNIT_DESC_PARAM_LU_Q_DEPTH], hba->nutrs); in ufshcd_lu_init()
5450 for_each_set_bit(tag, &completed_reqs, hba->nutrs) in __ufshcd_transfer_req_compl()
5464 for_each_set_bit(tag, completed_reqs, hba->nutrs) { in ufshcd_clear_polled()
6318 for_each_set_bit(tag, &hba->outstanding_reqs, hba->nutrs) { in ufshcd_abort_all()
6801 int retries = hba->nutrs; in ufshcd_intr()
7277 for_each_set_bit(pos, &hba->outstanding_reqs, hba->nutrs) in ufshcd_eh_device_reset_handler()
7312 for_each_set_bit(tag, &bitmap, hba->nutrs) { in ufshcd_set_req_abort_skip()
8412 static void ufshcd_release_sdb_queue(struct ufs_hba *hba, int nutrs) in ufshcd_release_sdb_queue() argument
8416 ucdl_size = sizeof(struct utp_transfer_cmd_desc) * nutrs; in ufshcd_release_sdb_queue()
8420 utrdl_size = sizeof(struct utp_transfer_req_desc) * nutrs; in ufshcd_release_sdb_queue()
8430 int old_nutrs = hba->nutrs; in ufshcd_alloc_mcq()
8436 hba->nutrs = ret; in ufshcd_alloc_mcq()
8445 if (hba->nutrs != old_nutrs) { in ufshcd_alloc_mcq()
8459 hba->nutrs = old_nutrs; in ufshcd_alloc_mcq()
8472 ufshcd_mcq_config_mac(hba, hba->nutrs); in ufshcd_config_mcq()
8474 hba->host->can_queue = hba->nutrs - UFSHCD_NUM_RESERVED; in ufshcd_config_mcq()
8475 hba->reserved_slot = hba->nutrs - UFSHCD_NUM_RESERVED; in ufshcd_config_mcq()
8485 hba->nutrs); in ufshcd_config_mcq()
10180 host->can_queue = hba->nutrs - UFSHCD_NUM_RESERVED; in ufshcd_init()
10181 host->cmd_per_lun = hba->nutrs - UFSHCD_NUM_RESERVED; in ufshcd_init()