linux/include/ufs
Asutosh Das 7224c80687 scsi: ufs: core: mcq: Calculate queue depth
The UFS device defines the supported queuedepth by bqueuedepth which has a
max value of 256.  The HC defines MAC (Max Active Commands) that defines
the max number of commands that in flight to the UFS device.  Calculate and
configure the nutrs based on both these values.

Co-developed-by: Can Guo <quic_cang@quicinc.com>
Signed-off-by: Can Guo <quic_cang@quicinc.com>
Signed-off-by: Asutosh Das <quic_asutoshd@quicinc.com>
Reviewed-by: Manivannan Sadhasivam <mani@kernel.org>
Reviewed-by: Bart Van Assche <bvanassche@acm.org>
Reviewed-by: Stanley Chu <stanley.chu@mediatek.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
2023-01-13 21:03:37 -05:00
..
ufs_quirks.h
ufs.h scsi: ufs: core: mcq: Calculate queue depth 2023-01-13 21:03:37 -05:00
ufshcd.h scsi: ufs: core: mcq: Calculate queue depth 2023-01-13 21:03:37 -05:00
ufshci.h scsi: ufs: core: mcq: Calculate queue depth 2023-01-13 21:03:37 -05:00
unipro.h scsi: ufs: ufs-mediatek: Introduce workaround for power mode change 2022-06-16 22:08:43 -04:00