Make ufshcd_send_uic_cmd() public for that.
Showing the changes to include/uapi (1 of 4 files). Show all
Unified · Split
| @@ -13,6 +13,9 @@ · 12 unmodified lines | ||
| 13 | 13 | */ |
| 14 | 14 | |
| 15 | 15 | #define UFS_CDB_SIZE 16 |
| 16 | +#define UPIU_TRANSACTION_UIC_CMD 0x1F | |
| 17 | +/* uic commands are 4DW long, per UFSHCI V2.1 paragraph 5.6.1 */ | |
| 18 | +#define UIC_CMD_SIZE (sizeof(u32) * 4) | |
| 16 | 19 | |
| 17 | 20 | /** |
| 18 | 21 | * struct utp_upiu_header - UPIU header structure |