]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdePkg/Include/Protocol/BluetoothConfig.h
MdePkg: Apply uncrustify changes
[mirror_edk2.git] / MdePkg / Include / Protocol / BluetoothConfig.h
index 052b860137370067f500f82317c964bb8ea2bad3..57ff991670d5bae7cd43aa87d4261737008b564b 100644 (file)
@@ -22,9 +22,9 @@
 \r
 typedef struct _EFI_BLUETOOTH_CONFIG_PROTOCOL EFI_BLUETOOTH_CONFIG_PROTOCOL;\r
 \r
-typedef UINT32      EFI_BLUETOOTH_CONFIG_REMOTE_DEVICE_STATE_TYPE;\r
-#define EFI_BLUETOOTH_CONFIG_REMOTE_DEVICE_STATE_CONNECTED    0x1\r
-#define EFI_BLUETOOTH_CONFIG_REMOTE_DEVICE_STATE_PAIRED       0x2\r
+typedef UINT32 EFI_BLUETOOTH_CONFIG_REMOTE_DEVICE_STATE_TYPE;\r
+#define EFI_BLUETOOTH_CONFIG_REMOTE_DEVICE_STATE_CONNECTED  0x1\r
+#define EFI_BLUETOOTH_CONFIG_REMOTE_DEVICE_STATE_PAIRED     0x2\r
 \r
 ///\r
 /// EFI_BLUETOOTH_SCAN_CALLBACK_INFORMATION\r
@@ -33,19 +33,19 @@ typedef struct {
   ///\r
   /// 48bit Bluetooth device address.\r
   ///\r
-  BLUETOOTH_ADDRESS         BDAddr;\r
+  BLUETOOTH_ADDRESS            BDAddr;\r
   ///\r
   /// State of the remote deive\r
   ///\r
-  UINT8                     RemoteDeviceState;\r
+  UINT8                        RemoteDeviceState;\r
   ///\r
   /// Bluetooth ClassOfDevice. See Bluetooth specification for detail.\r
   ///\r
-  BLUETOOTH_CLASS_OF_DEVICE ClassOfDevice;\r
+  BLUETOOTH_CLASS_OF_DEVICE    ClassOfDevice;\r
   ///\r
   /// Remote device name\r
   ///\r
-  UINT8                     RemoteDeviceName[BLUETOOTH_HCI_COMMAND_LOCAL_READABLE_NAME_MAX_SIZE];\r
+  UINT8                        RemoteDeviceName[BLUETOOTH_HCI_COMMAND_LOCAL_READABLE_NAME_MAX_SIZE];\r
 } EFI_BLUETOOTH_SCAN_CALLBACK_INFORMATION;\r
 \r
 ///\r
@@ -85,19 +85,19 @@ typedef enum {
   ///\r
   EfiBluetoothConfigDataTypeAvailableDeviceList,\r
   EfiBluetoothConfigDataTypeRandomAddress, /* Relevant for LE*/\r
-  EfiBluetoothConfigDataTypeRSSI, /* Relevant for LE*/\r
+  EfiBluetoothConfigDataTypeRSSI,          /* Relevant for LE*/\r
   ///\r
   /// Advertisement report. Data structure is UNIT8[].\r
   ///\r
   EfiBluetoothConfigDataTypeAdvertisementData, /* Relevant for LE*/\r
-  EfiBluetoothConfigDataTypeIoCapability, /* Relevant for LE*/\r
-  EfiBluetoothConfigDataTypeOOBDataFlag, /* Relevant for LE*/\r
+  EfiBluetoothConfigDataTypeIoCapability,      /* Relevant for LE*/\r
+  EfiBluetoothConfigDataTypeOOBDataFlag,       /* Relevant for LE*/\r
   ///\r
   /// KeyType of Authentication Requirements flag of local\r
   /// device as UINT8, indicating requested security properties.\r
   /// See Bluetooth specification 3.H.3.5.1. BIT0: MITM, BIT1:SC.\r
   ///\r
-  EfiBluetoothConfigDataTypeKeyType, /* Relevant for LE*/\r
+  EfiBluetoothConfigDataTypeKeyType,    /* Relevant for LE*/\r
   EfiBluetoothConfigDataTypeEncKeySize, /* Relevant for LE*/\r
   EfiBluetoothConfigDataTypeMax,\r
 } EFI_BLUETOOTH_CONFIG_DATA_TYPE;\r
@@ -154,7 +154,6 @@ typedef enum {
   EfiBluetoothConnCallbackTypeEncrypted\r
 } EFI_BLUETOOTH_CONNECT_COMPLETE_CALLBACK_TYPE;\r
 \r
-\r
 /**\r
   Initialize Bluetooth host controller and local device.\r
 \r
@@ -183,7 +182,7 @@ EFI_STATUS
 **/\r
 typedef\r
 EFI_STATUS\r
-(EFIAPI *EFI_BLUETOOTH_CONFIG_SCAN_CALLBACK_FUNCTION) (\r
+(EFIAPI *EFI_BLUETOOTH_CONFIG_SCAN_CALLBACK_FUNCTION)(\r
   IN EFI_BLUETOOTH_CONFIG_PROTOCOL            *This,\r
   IN VOID                                     *Context,\r
   IN EFI_BLUETOOTH_SCAN_CALLBACK_INFORMATION  *CallbackInfo\r
@@ -505,19 +504,19 @@ EFI_STATUS
 /// This protocol abstracts user interface configuration for Bluetooth device.\r
 ///\r
 struct _EFI_BLUETOOTH_CONFIG_PROTOCOL {\r
-  EFI_BLUETOOTH_CONFIG_INIT                               Init;\r
-  EFI_BLUETOOTH_CONFIG_SCAN                               Scan;\r
-  EFI_BLUETOOTH_CONFIG_CONNECT                            Connect;\r
-  EFI_BLUETOOTH_CONFIG_DISCONNECT                         Disconnect;\r
-  EFI_BLUETOOTH_CONFIG_GET_DATA                           GetData;\r
-  EFI_BLUETOOTH_CONFIG_SET_DATA                           SetData;\r
-  EFI_BLUETOOTH_CONFIG_GET_REMOTE_DATA                    GetRemoteData;\r
-  EFI_BLUETOOTH_CONFIG_REGISTER_PIN_CALLBACK              RegisterPinCallback;\r
-  EFI_BLUETOOTH_CONFIG_REGISTER_GET_LINK_KEY_CALLBACK     RegisterGetLinkKeyCallback;\r
-  EFI_BLUETOOTH_CONFIG_REGISTER_SET_LINK_KEY_CALLBACK     RegisterSetLinkKeyCallback;\r
-  EFI_BLUETOOTH_CONFIG_REGISTER_CONNECT_COMPLETE_CALLBACK RegisterLinkConnectCompleteCallback;\r
+  EFI_BLUETOOTH_CONFIG_INIT                                  Init;\r
+  EFI_BLUETOOTH_CONFIG_SCAN                                  Scan;\r
+  EFI_BLUETOOTH_CONFIG_CONNECT                               Connect;\r
+  EFI_BLUETOOTH_CONFIG_DISCONNECT                            Disconnect;\r
+  EFI_BLUETOOTH_CONFIG_GET_DATA                              GetData;\r
+  EFI_BLUETOOTH_CONFIG_SET_DATA                              SetData;\r
+  EFI_BLUETOOTH_CONFIG_GET_REMOTE_DATA                       GetRemoteData;\r
+  EFI_BLUETOOTH_CONFIG_REGISTER_PIN_CALLBACK                 RegisterPinCallback;\r
+  EFI_BLUETOOTH_CONFIG_REGISTER_GET_LINK_KEY_CALLBACK        RegisterGetLinkKeyCallback;\r
+  EFI_BLUETOOTH_CONFIG_REGISTER_SET_LINK_KEY_CALLBACK        RegisterSetLinkKeyCallback;\r
+  EFI_BLUETOOTH_CONFIG_REGISTER_CONNECT_COMPLETE_CALLBACK    RegisterLinkConnectCompleteCallback;\r
 };\r
 \r
-extern EFI_GUID gEfiBluetoothConfigProtocolGuid;\r
+extern EFI_GUID  gEfiBluetoothConfigProtocolGuid;\r
 \r
 #endif\r