Home
last modified time | relevance | path

Searched refs:wb_flush_threshold (Results 1 – 5 of 5) sorted by relevance

/openbmc/linux/drivers/ufs/core/
H A Dufs-sysfs.c307 return sysfs_emit(buf, "%u\n", hba->vps->wb_flush_threshold); in wb_flush_threshold_show()
315 unsigned int wb_flush_threshold; in wb_flush_threshold_store() local
317 if (kstrtouint(buf, 0, &wb_flush_threshold)) in wb_flush_threshold_store()
321 if (wb_flush_threshold > UFS_WB_BUF_REMAIN_PERCENT(100) || in wb_flush_threshold_store()
322 wb_flush_threshold == 0) { in wb_flush_threshold_store()
327 hba->vps->wb_flush_threshold = wb_flush_threshold; in wb_flush_threshold_store()
341 static DEVICE_ATTR_RW(wb_flush_threshold);
H A Dufshcd.c6030 return avail_buf < hba->vps->wb_flush_threshold; in ufshcd_wb_presrv_usrspc_keep_vcc_on()
8996 .wb_flush_threshold = UFS_WB_BUF_REMAIN_PERCENT(40),
/openbmc/linux/include/ufs/
H A Dufshcd.h726 u32 wb_flush_threshold; member
/openbmc/linux/Documentation/ABI/testing/
H A Dsysfs-driver-ufs1429 What: /sys/bus/platform/drivers/ufshcd/*/wb_flush_threshold
1430 What: /sys/bus/platform/devices/*.ufs/wb_flush_threshold
1434 wb_flush_threshold represents the threshold for flushing WriteBooster buffer,
1437 If avail_wb_buff < wb_flush_threshold, it indicates that WriteBooster buffer needs to
/openbmc/linux/drivers/ufs/host/
H A Dufs-mediatek.c943 hba->vps->wb_flush_threshold = UFS_WB_BUF_REMAIN_PERCENT(80); in ufs_mtk_init()