hci_uart.h (a23e1966932464e1c5226cb9ac4ce1d5fc10ba22) hci_uart.h (37bac77e4649e8158698a60addc22ec4faf5649a)
1/* SPDX-License-Identifier: GPL-2.0-or-later */
2/*
3 *
4 * Bluetooth HCI UART driver
5 *
6 * Copyright (C) 2000-2001 Qualcomm Incorporated
7 * Copyright (C) 2002-2003 Maxim Krasnyansky <maxk@qualcomm.com>
8 * Copyright (C) 2004-2005 Marcel Holtmann <marcel@holtmann.org>

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

15/* Ioctls */
16#define HCIUARTSETPROTO _IOW('U', 200, int)
17#define HCIUARTGETPROTO _IOR('U', 201, int)
18#define HCIUARTGETDEVICE _IOR('U', 202, int)
19#define HCIUARTSETFLAGS _IOW('U', 203, int)
20#define HCIUARTGETFLAGS _IOR('U', 204, int)
21
22/* UART protocols */
1/* SPDX-License-Identifier: GPL-2.0-or-later */
2/*
3 *
4 * Bluetooth HCI UART driver
5 *
6 * Copyright (C) 2000-2001 Qualcomm Incorporated
7 * Copyright (C) 2002-2003 Maxim Krasnyansky <maxk@qualcomm.com>
8 * Copyright (C) 2004-2005 Marcel Holtmann <marcel@holtmann.org>

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

15/* Ioctls */
16#define HCIUARTSETPROTO _IOW('U', 200, int)
17#define HCIUARTGETPROTO _IOR('U', 201, int)
18#define HCIUARTGETDEVICE _IOR('U', 202, int)
19#define HCIUARTSETFLAGS _IOW('U', 203, int)
20#define HCIUARTGETFLAGS _IOR('U', 204, int)
21
22/* UART protocols */
23#define HCI_UART_MAX_PROTO 12
23#define HCI_UART_MAX_PROTO 13
24
25#define HCI_UART_H4 0
26#define HCI_UART_BCSP 1
27#define HCI_UART_3WIRE 2
28#define HCI_UART_H4DS 3
29#define HCI_UART_LL 4
30#define HCI_UART_ATH3K 5
31#define HCI_UART_INTEL 6
32#define HCI_UART_BCM 7
33#define HCI_UART_QCA 8
34#define HCI_UART_AG6XX 9
35#define HCI_UART_NOKIA 10
36#define HCI_UART_MRVL 11
24
25#define HCI_UART_H4 0
26#define HCI_UART_BCSP 1
27#define HCI_UART_3WIRE 2
28#define HCI_UART_H4DS 3
29#define HCI_UART_LL 4
30#define HCI_UART_ATH3K 5
31#define HCI_UART_INTEL 6
32#define HCI_UART_BCM 7
33#define HCI_UART_QCA 8
34#define HCI_UART_AG6XX 9
35#define HCI_UART_NOKIA 10
36#define HCI_UART_MRVL 11
37#define HCI_UART_AML 12
37
38#define HCI_UART_RAW_DEVICE 0
39#define HCI_UART_RESET_ON_INIT 1
38
39#define HCI_UART_RAW_DEVICE 0
40#define HCI_UART_RESET_ON_INIT 1
40#define HCI_UART_CREATE_AMP 2
41#define HCI_UART_INIT_PENDING 3
42#define HCI_UART_EXT_CONFIG 4
43#define HCI_UART_VND_DETECT 5
44
45struct hci_uart;
46struct serdev_device;
47
48struct hci_uart_proto {

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

205int ag6xx_init(void);
206int ag6xx_deinit(void);
207#endif
208
209#ifdef CONFIG_BT_HCIUART_MRVL
210int mrvl_init(void);
211int mrvl_deinit(void);
212#endif
41#define HCI_UART_INIT_PENDING 3
42#define HCI_UART_EXT_CONFIG 4
43#define HCI_UART_VND_DETECT 5
44
45struct hci_uart;
46struct serdev_device;
47
48struct hci_uart_proto {

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

205int ag6xx_init(void);
206int ag6xx_deinit(void);
207#endif
208
209#ifdef CONFIG_BT_HCIUART_MRVL
210int mrvl_init(void);
211int mrvl_deinit(void);
212#endif
213
214#ifdef CONFIG_BT_HCIUART_AML
215int aml_init(void);
216int aml_deinit(void);
217#endif