nvme.h (8613dec04e746f698418e9b8344acf19efff4997) nvme.h (6887fc6495f2dfd55e088c982e983815278ee453)
1/* SPDX-License-Identifier: GPL-2.0 */
2/*
3 * Copyright (c) 2011-2014, Intel Corporation.
4 */
5
6#ifndef _NVME_H
7#define _NVME_H
8

--- 998 unchanged lines hidden (view full) ---

1007 return 0;
1008}
1009
1010static inline void nvme_hwmon_exit(struct nvme_ctrl *ctrl)
1011{
1012}
1013#endif
1014
1/* SPDX-License-Identifier: GPL-2.0 */
2/*
3 * Copyright (c) 2011-2014, Intel Corporation.
4 */
5
6#ifndef _NVME_H
7#define _NVME_H
8

--- 998 unchanged lines hidden (view full) ---

1007 return 0;
1008}
1009
1010static inline void nvme_hwmon_exit(struct nvme_ctrl *ctrl)
1011{
1012}
1013#endif
1014
1015static inline void nvme_start_request(struct request *rq)
1016{
1017 blk_mq_start_request(rq);
1018}
1019
1015static inline bool nvme_ctrl_sgl_supported(struct nvme_ctrl *ctrl)
1016{
1017 return ctrl->sgls & ((1 << 0) | (1 << 1));
1018}
1019
1020#ifdef CONFIG_NVME_AUTH
1021int __init nvme_init_auth(void);
1022void __exit nvme_exit_auth(void);

--- 63 unchanged lines hidden ---
1020static inline bool nvme_ctrl_sgl_supported(struct nvme_ctrl *ctrl)
1021{
1022 return ctrl->sgls & ((1 << 0) | (1 << 1));
1023}
1024
1025#ifdef CONFIG_NVME_AUTH
1026int __init nvme_init_auth(void);
1027void __exit nvme_exit_auth(void);

--- 63 unchanged lines hidden ---