XenevaOS
Loading...
Searching...
No Matches
BluetoothHc.h
Go to the documentation of this file.
1
19#ifndef __EFI_BLUETOOTH_HC_PROTOCOL_H__
20#define __EFI_BLUETOOTH_HC_PROTOCOL_H__
21
22#define EFI_BLUETOOTH_HC_PROTOCOL_GUID \
23 { \
24 0xb3930571, 0xbeba, 0x4fc5, { 0x92, 0x3, 0x94, 0x27, 0x24, 0x2e, 0x6a, 0x43 } \
25 }
26
28
60typedef
64 IN OUT UINTN *BufferSize,
65 IN VOID *Buffer,
66 IN UINTN Timeout
67 );
68
96typedef
100 IN OUT UINTN *BufferSize,
101 OUT VOID *Buffer,
102 IN UINTN Timeout
103 );
104
117typedef
120 IN VOID *Data,
121 IN UINTN DataLength,
123 );
124
149typedef
153 IN BOOLEAN IsNewTransfer,
154 IN UINTN PollingInterval,
155 IN UINTN DataLength,
158 );
159
193typedef
197 IN OUT UINTN *BufferSize,
198 IN VOID *Buffer,
199 IN UINTN Timeout
200 );
201
229typedef
233 IN OUT UINTN *BufferSize,
234 OUT VOID *Buffer,
235 IN UINTN Timeout
236 );
237
262typedef
266 IN BOOLEAN IsNewTransfer,
267 IN UINTN PollingInterval,
268 IN UINTN DataLength,
271 );
272
300typedef
304 IN OUT UINTN *BufferSize,
305 IN VOID *Buffer,
306 IN UINTN Timeout
307 );
308
335typedef
339 IN OUT UINTN *BufferSize,
340 OUT VOID *Buffer,
341 IN UINTN Timeout
342 );
343
368typedef
372 IN BOOLEAN IsNewTransfer,
373 IN UINTN PollingInterval,
374 IN UINTN DataLength,
377 );
378
379//
380// The EFI_BLUETOOTH_HC_PROTOCOL is used to transmit or receive HCI layer data packets.
381//
383 //
384 // Send HCI command packet.
385 //
387 //
388 // Receive HCI event packets.
389 //
391 //
392 // Non-blocking receive HCI event packets.
393 //
395 //
396 // Send HCI ACL (asynchronous connection-oriented) data packets.
397 //
399 //
400 // Receive HCI ACL data packets.
401 //
403 //
404 // Non-blocking receive HCI ACL data packets.
405 //
407 //
408 // Send HCI synchronous (SCO and eSCO) data packets.
409 //
411 //
412 // Receive HCI synchronous data packets.
413 //
415 //
416 // Non-blocking receive HCI synchronous data packets.
417 //
419};
420
422
423#endif
424
UINT64 UINTN
Definition ProcessorBind.h:118
#define EFIAPI
Definition ProcessorBind.h:172
#define IN
Definition Base.h:347
#define OUT
Definition Base.h:352
EFI_STATUS(EFIAPI * EFI_BLUETOOTH_HC_ASYNC_FUNC_CALLBACK)(IN VOID *Data, IN UINTN DataLength, IN VOID *Context)
Definition BluetoothHc.h:119
EFI_STATUS(EFIAPI * EFI_BLUETOOTH_HC_RECEIVE_EVENT)(IN EFI_BLUETOOTH_HC_PROTOCOL *This, IN OUT UINTN *BufferSize, OUT VOID *Buffer, IN UINTN Timeout)
Definition BluetoothHc.h:98
EFI_STATUS(EFIAPI * EFI_BLUETOOTH_HC_SEND_ACL_DATA)(IN EFI_BLUETOOTH_HC_PROTOCOL *This, IN OUT UINTN *BufferSize, IN VOID *Buffer, IN UINTN Timeout)
Definition BluetoothHc.h:195
EFI_STATUS(EFIAPI * EFI_BLUETOOTH_HC_ASYNC_RECEIVE_SCO_DATA)(IN EFI_BLUETOOTH_HC_PROTOCOL *This, IN BOOLEAN IsNewTransfer, IN UINTN PollingInterval, IN UINTN DataLength, IN EFI_BLUETOOTH_HC_ASYNC_FUNC_CALLBACK Callback, IN VOID *Context)
Definition BluetoothHc.h:370
EFI_STATUS(EFIAPI * EFI_BLUETOOTH_HC_ASYNC_RECEIVE_ACL_DATA)(IN EFI_BLUETOOTH_HC_PROTOCOL *This, IN BOOLEAN IsNewTransfer, IN UINTN PollingInterval, IN UINTN DataLength, IN EFI_BLUETOOTH_HC_ASYNC_FUNC_CALLBACK Callback, IN VOID *Context)
Definition BluetoothHc.h:264
EFI_STATUS(EFIAPI * EFI_BLUETOOTH_HC_SEND_SCO_DATA)(IN EFI_BLUETOOTH_HC_PROTOCOL *This, IN OUT UINTN *BufferSize, IN VOID *Buffer, IN UINTN Timeout)
Definition BluetoothHc.h:302
EFI_STATUS(EFIAPI * EFI_BLUETOOTH_HC_SEND_COMMAND)(IN EFI_BLUETOOTH_HC_PROTOCOL *This, IN OUT UINTN *BufferSize, IN VOID *Buffer, IN UINTN Timeout)
Definition BluetoothHc.h:62
EFI_STATUS(EFIAPI * EFI_BLUETOOTH_HC_ASYNC_RECEIVE_EVENT)(IN EFI_BLUETOOTH_HC_PROTOCOL *This, IN BOOLEAN IsNewTransfer, IN UINTN PollingInterval, IN UINTN DataLength, IN EFI_BLUETOOTH_HC_ASYNC_FUNC_CALLBACK Callback, IN VOID *Context)
Definition BluetoothHc.h:151
EFI_GUID gEfiBluetoothHcProtocolGuid
EFI_STATUS(EFIAPI * EFI_BLUETOOTH_HC_RECEIVE_ACL_DATA)(IN EFI_BLUETOOTH_HC_PROTOCOL *This, IN OUT UINTN *BufferSize, OUT VOID *Buffer, IN UINTN Timeout)
Definition BluetoothHc.h:231
EFI_STATUS(EFIAPI * EFI_BLUETOOTH_HC_RECEIVE_SCO_DATA)(IN EFI_BLUETOOTH_HC_PROTOCOL *This, IN OUT UINTN *BufferSize, OUT VOID *Buffer, IN UINTN Timeout)
Definition BluetoothHc.h:337
RETURN_STATUS EFI_STATUS
Definition UefiBaseType.h:33
#define VOID
Definition acefi.h:190
UINT32 void * Context
Definition acevents.h:322
unsigned char BOOLEAN
Definition actypes.h:235
Definition Base.h:281
Definition BluetoothHc.h:382
EFI_BLUETOOTH_HC_SEND_COMMAND SendCommand
Definition BluetoothHc.h:386
EFI_BLUETOOTH_HC_SEND_ACL_DATA SendACLData
Definition BluetoothHc.h:398
EFI_BLUETOOTH_HC_RECEIVE_ACL_DATA ReceiveACLData
Definition BluetoothHc.h:402
EFI_BLUETOOTH_HC_ASYNC_RECEIVE_ACL_DATA AsyncReceiveACLData
Definition BluetoothHc.h:406
EFI_BLUETOOTH_HC_RECEIVE_EVENT ReceiveEvent
Definition BluetoothHc.h:390
EFI_BLUETOOTH_HC_SEND_SCO_DATA SendSCOData
Definition BluetoothHc.h:410
EFI_BLUETOOTH_HC_ASYNC_RECEIVE_EVENT AsyncReceiveEvent
Definition BluetoothHc.h:394
EFI_BLUETOOTH_HC_ASYNC_RECEIVE_SCO_DATA AsyncReceiveSCOData
Definition BluetoothHc.h:418
EFI_BLUETOOTH_HC_RECEIVE_SCO_DATA ReceiveSCOData
Definition BluetoothHc.h:414