]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/blame - include/linux/bsg.h
KVM: arm64: Fix PMU probe ordering
[mirror_ubuntu-jammy-kernel.git] / include / linux / bsg.h
CommitLineData
b2441318 1/* SPDX-License-Identifier: GPL-2.0 */
17cb960f
CH
2#ifndef _LINUX_BSG_H
3#define _LINUX_BSG_H
3d6392cf 4
607ca46e 5#include <uapi/linux/bsg.h>
4ab3b73f 6
ead09dd3
CH
7struct bsg_device;
8struct device;
78011042 9struct request_queue;
17cb960f 10
75ca5640
CH
11typedef int (bsg_sg_io_fn)(struct request_queue *, struct sg_io_v4 *hdr,
12 fmode_t mode, unsigned int timeout);
45977d0e 13
ead09dd3
CH
14struct bsg_device *bsg_register_queue(struct request_queue *q,
15 struct device *parent, const char *name,
75ca5640 16 bsg_sg_io_fn *sg_io_fn);
ead09dd3 17void bsg_unregister_queue(struct bsg_device *bcd);
3d6392cf 18
17cb960f 19#endif /* _LINUX_BSG_H */