hci.h (f3e8fb552789f4845e60b11c47b676d14b9488e5) hci.h (412fda538f4b1317ecd0fbe6e5bc9124792bea88)
1/*
2 * Copyright (C) 2011 Intel Corporation. All rights reserved.
3 *
4 * This program is free software; you can redistribute it and/or modify
5 * it under the terms of the GNU General Public License as published by
6 * the Free Software Foundation; either version 2 of the License, or
7 * (at your option) any later version.
8 *

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

82 struct sk_buff_head rx_hcp_frags;
83
84 struct work_struct msg_rx_work;
85
86 struct sk_buff_head msg_rx_queue;
87
88 struct nfc_hci_ops *ops;
89
1/*
2 * Copyright (C) 2011 Intel Corporation. All rights reserved.
3 *
4 * This program is free software; you can redistribute it and/or modify
5 * it under the terms of the GNU General Public License as published by
6 * the Free Software Foundation; either version 2 of the License, or
7 * (at your option) any later version.
8 *

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

82 struct sk_buff_head rx_hcp_frags;
83
84 struct work_struct msg_rx_work;
85
86 struct sk_buff_head msg_rx_queue;
87
88 struct nfc_hci_ops *ops;
89
90 struct nfc_llc *llc;
91
90 struct nfc_hci_init_data init_data;
91
92 void *clientdata;
93
94 u8 gate2pipe[NFC_HCI_MAX_GATES];
95
96 u8 sw_romlib;
97 u8 sw_patch;

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

108 data_exchange_cb_t async_cb;
109 void *async_cb_context;
110};
111
112/* hci device allocation */
113struct nfc_hci_dev *nfc_hci_allocate_device(struct nfc_hci_ops *ops,
114 struct nfc_hci_init_data *init_data,
115 u32 protocols,
92 struct nfc_hci_init_data init_data;
93
94 void *clientdata;
95
96 u8 gate2pipe[NFC_HCI_MAX_GATES];
97
98 u8 sw_romlib;
99 u8 sw_patch;

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

110 data_exchange_cb_t async_cb;
111 void *async_cb_context;
112};
113
114/* hci device allocation */
115struct nfc_hci_dev *nfc_hci_allocate_device(struct nfc_hci_ops *ops,
116 struct nfc_hci_init_data *init_data,
117 u32 protocols,
118 const char *llc_name,
116 int tx_headroom,
117 int tx_tailroom,
118 int max_link_payload);
119void nfc_hci_free_device(struct nfc_hci_dev *hdev);
120
121int nfc_hci_register_device(struct nfc_hci_dev *hdev);
122void nfc_hci_unregister_device(struct nfc_hci_dev *hdev);
123

--- 92 unchanged lines hidden ---
119 int tx_headroom,
120 int tx_tailroom,
121 int max_link_payload);
122void nfc_hci_free_device(struct nfc_hci_dev *hdev);
123
124int nfc_hci_register_device(struct nfc_hci_dev *hdev);
125void nfc_hci_unregister_device(struct nfc_hci_dev *hdev);
126

--- 92 unchanged lines hidden ---