Lines Matching refs:b_lu_write_protect
2720 * ufshcd_get_lu_wp - returns the "b_lu_write_protect" from UNIT DESCRIPTOR
2723 * @b_lu_write_protect: pointer to buffer to hold the LU's write protect info
2725 * Returns 0 in case of success and b_lu_write_protect status would be returned
2726 * @b_lu_write_protect parameter.
2727 * Returns -ENOTSUPP if reading b_lu_write_protect is not supported.
2732 u8 *b_lu_write_protect)
2736 if (!b_lu_write_protect)
2749 b_lu_write_protect,
2750 sizeof(*b_lu_write_protect));
2766 u8 b_lu_write_protect;
2769 &b_lu_write_protect) &&
2770 (b_lu_write_protect == UFS_LU_POWER_ON_WP))