Home
last modified time | relevance | path

Searched refs:addr (Results 1 - 25 of 1653) sorted by relevance

12345678910>>...67

/device/soc/hisilicon/hi3861v100/sdk_liteos/third_party/lwip_sack/include/lwip/
H A Dip6_addr.h61 u32_t addr[IP6_ADDR_U32_ARR_SIZE]; member
72 (ip6addr)->addr[index] = PP_HTONL(LWIP_MAKEU32(a, b, c, d))
77 (ip6addr)->addr[0] = idx0; \
78 (ip6addr)->addr[1] = idx1; \
79 (ip6addr)->addr[2] = idx2; \
80 (ip6addr)->addr[3] = idx3; \
84 #define IP6_ADDR_BLOCK1(ip6addr) ((u16_t)((lwip_htonl((ip6addr)->addr[0]) >> 16) & 0xffff))
86 #define IP6_ADDR_BLOCK2(ip6addr) ((u16_t)((lwip_htonl((ip6addr)->addr[0])) & 0xffff))
88 #define IP6_ADDR_BLOCK3(ip6addr) ((u16_t)((lwip_htonl((ip6addr)->addr[1]) >> 16) & 0xffff))
90 #define IP6_ADDR_BLOCK4(ip6addr) ((u16_t)((lwip_htonl((ip6addr)->addr[
[all...]
H A Dip4_addr.h55 u32_t addr; member
107 #define IP4_ADDR(ipaddr, a, b, c, d) (ipaddr)->addr = PP_HTONL(LWIP_MAKEU32(a, b, c, d))
110 #define ip4_addr_copy(dest, src) ((dest).addr = (src).addr)
112 #define ip4_addr_set(dest, src) ((dest)->addr = ((src) == NULL ? 0 : (src)->addr))
114 #define ip4_addr_set_zero(ipaddr) ((ipaddr)->addr = 0)
116 #define ip4_addr_set_any(ipaddr) ((ipaddr)->addr = IPADDR_ANY)
118 #define ip4_addr_set_loopback(ipaddr) ((ipaddr)->addr = PP_HTONL(IPADDR_LOOPBACK))
120 #define ip4_addr_isloopback(ipaddr) (((ipaddr)->addr
[all...]
H A Dinet.h193 * to binary notation of network byte order and store it in the structure that the addr parameter points to.
196 * @param[out] addr Indicates a the generated binary notation of the IPv4 address.
202 * of IPv4 address is updated in the addr parameter, instead of returning it.
207 int inet_aton(const char *cp, struct in_addr *addr);
209 #define inet_aton(cp, addr) ip4addr_aton(cp, (ip4_addr_t*)addr)
236 #define inet_ntoa(addr) ip4addr_ntoa((const ip4_addr_t*)&(addr))
247 * @param[in] addr Indicates the binary notation of an IPv4 address.
261 #define inet_ntoa_r(addr, bu
[all...]
/device/soc/hisilicon/hi3861v100/sdk_liteos/platform/os/Huawei_LiteOS/kernel/include/
H A Dlos_base.h63 * Align the beginning of the object with the base address addr,
67 #define ALIGN(addr, boundary) LOS_Align(addr, boundary)
71 * Align the tail of the object with the base address addr, with size bytes being the smallest unit of alignment.
73 #define TRUNCATE(addr, size) ((addr) & ~((size)-1))
77 * Read a UINT8 value from addr and stroed in value.
79 #define READ_UINT8(value, addr) ((value) = *((volatile UINT8 *)(addr)))
82 * Read a UINT16 value from addr an
[all...]
/test/xts/hats/kernel/madvise/
H A DMadviseApiTest.cpp85 void *addr = mmap(nullptr, PAGE_SIZE, PROT_READ | PROT_WRITE, MAP_ANONYMOUS | MAP_PRIVATE, -1, 0); in HWTEST_F() local
86 ASSERT_TRUE(addr != MAP_FAILED); in HWTEST_F()
87 int err = madvise(addr, PAGE_SIZE, MADV_COLD); in HWTEST_F()
89 int ret = munmap(addr, PAGE_SIZE); in HWTEST_F()
91 addr = nullptr; in HWTEST_F()
104 void *addr = mmap(nullptr, PAGE_SIZE, PROT_READ | PROT_WRITE, MAP_ANONYMOUS | MAP_SHARED | MAP_FILE, fd, 0); in HWTEST_F() local
105 ASSERT_TRUE(addr != MAP_FAILED); in HWTEST_F()
106 int ret = madvise(addr, PAGE_SIZE, MADV_COLD); in HWTEST_F()
108 ret = munmap(addr, PAGE_SIZE); in HWTEST_F()
110 addr in HWTEST_F()
127 void *addr = mmap(nullptr, PAGE_SIZE, PROT_READ | PROT_WRITE, MAP_ANONYMOUS | MAP_SHARED | MAP_FILE, fd, 0); HWTEST_F() local
149 void *addr = mmap(nullptr, PAGE_SIZE, PROT_READ | PROT_WRITE, MAP_ANONYMOUS | MAP_PRIVATE, -1, 0); HWTEST_F() local
168 void *addr = mmap(nullptr, PAGE_SIZE, PROT_READ | PROT_WRITE, MAP_ANONYMOUS | MAP_PRIVATE, -1, 0); HWTEST_F() local
189 void *addr = mmap(nullptr, PAGE_SIZE, PROT_READ | PROT_WRITE, MAP_ANONYMOUS | MAP_SHARED | MAP_FILE, fd, 0); HWTEST_F() local
213 void *addr = mmap(nullptr, PAGE_SIZE, PROT_READ | PROT_WRITE, MAP_ANONYMOUS | MAP_SHARED | MAP_FILE, fd, 0); HWTEST_F() local
237 void *addr = mmap(nullptr, PAGE_SIZE, PROT_READ | PROT_WRITE, MAP_ANONYMOUS | MAP_PRIVATE, -1, 0); HWTEST_F() local
258 char *addr = static_cast<char*>(mmap(nullptr, PAGE_SIZE, PROT_READ | PROT_WRITE, HWTEST_F() local
286 void *addr = mmap(nullptr, PAGE_SIZE, PROT_READ | PROT_WRITE, MAP_ANONYMOUS | MAP_SHARED, -1, 0); HWTEST_F() local
303 char *addr = static_cast<char*>(mmap(nullptr, PAGE_SIZE, PROT_READ | PROT_WRITE, HWTEST_F() local
334 char *addr = static_cast<char*>(mmap(nullptr, PAGE_SIZE, PROT_READ | PROT_WRITE, HWTEST_F() local
372 char *addr = static_cast<char*>(mmap(nullptr, PAGE_SIZE, PROT_READ | PROT_WRITE, HWTEST_F() local
412 char *addr = static_cast<char*>(mmap(nullptr, PAGE_SIZE, PROT_READ | PROT_WRITE, HWTEST_F() local
[all...]
/device/soc/hisilicon/hi3861v100/sdk_liteos/third_party/libcoap/include/coap2/
H A Daddress.h32 ip_addr_t addr; member
37 && (IP_GET_TYPE(&(A)->addr) == IP_GET_TYPE(&(B)->addr)) \
38 && (ip_addr_isany(&(A)->addr) || ip_addr_isany(&(B)->addr) || !!ip_addr_cmp(&(A)->addr, &(B)->addr)))
40 #define _coap_address_isany_impl(A) ip_addr_isany(&(A)->addr)
42 #define _coap_is_mcast_impl(Address) ip_addr_ismulticast(&(Address)->addr)
49 uip_ipaddr_t addr; member
71 } addr; global() member
[all...]
/device/soc/hisilicon/hi3861v100/sdk_liteos/platform/system/partition_table/
H A Dflash_partition_table.c51 #define PRODUCT_CFG_DEFAULT_FACTORY_BIN_ADDR 0x14D000 /* factory bin start addr */
69 table->table[HI_FLASH_PARTITON_BOOT].addr = PRODUCT_CFG_DEFAULT_BOOT_ADDR; in hi_flash_partition_init()
71 table->table[HI_FLASH_PARTITON_FACTORY_NV].addr = PRODUCT_CFG_DEFAULT_FNV_ADDR; in hi_flash_partition_init()
73 table->table[HI_FLASH_PARTITON_NORMAL_NV].addr = PRODUCT_CFG_DEFAULT_NORMAL_NV_ADDR; in hi_flash_partition_init()
75 table->table[HI_FLASH_PARTITON_NORMAL_NV_BACKUP].addr = PRODUCT_CFG_DEFAULT_NORMAL_NV_BACKUP_ADDR; in hi_flash_partition_init()
77 table->table[HI_FLASH_PARTITON_KERNEL_A].addr = PRODUCT_CFG_DEFAULT_KERNEL_A_ADDR; in hi_flash_partition_init()
79 table->table[HI_FLASH_PARTITON_KERNEL_B].addr = PRODUCT_CFG_DEFAULT_KERNEL_B_ADDR; in hi_flash_partition_init()
81 table->table[HI_FLASH_PARTITON_HILINK].addr = PRODUCT_CFG_DEFAULT_HILINK_ADDR; in hi_flash_partition_init()
83 table->table[HI_FLASH_PARTITON_FILE_SYSTEM].addr = PRODUCT_CFG_DEFAULT_FILE_SYSTEM_ADDR; in hi_flash_partition_init()
85 table->table[HI_FLASH_PARTITON_USR_RESERVE].addr in hi_flash_partition_init()
100 hi_get_hilink_partition_table(hi_u32 *addr, hi_u32 *size) hi_get_hilink_partition_table() argument
113 hi_get_hilink_pki_partition_table(hi_u32 *addr, hi_u32 *size) hi_get_hilink_pki_partition_table() argument
126 hi_get_crash_partition_table(hi_u32 *addr, hi_u32 *size) hi_get_crash_partition_table() argument
139 hi_get_fs_partition_table(hi_u32 *addr, hi_u32 *size) hi_get_fs_partition_table() argument
152 hi_get_normal_nv_partition_table(hi_u32 *addr, hi_u32 *size) hi_get_normal_nv_partition_table() argument
165 hi_get_normal_nv_backup_partition_table(hi_u32 *addr, hi_u32 *size) hi_get_normal_nv_backup_partition_table() argument
178 hi_get_usr_partition_table(hi_u32 *addr, hi_u32 *size) hi_get_usr_partition_table() argument
191 hi_get_factory_bin_partition_table(hi_u32 *addr, hi_u32 *size) hi_get_factory_bin_partition_table() argument
[all...]
/foundation/communication/bluetooth_service/services/bluetooth/service/src/gavdp/
H A Da2dp_state_machine.cpp49 avdtp.ConnectReq(msgData.connectInfo.addr); in Dispatch()
52 ProcessDiscoverReq(msgData.connectInfo.addr, role, msgData.connectInfo.errCode); in Dispatch()
55 avdtp.GetAllCapabilityReq(msgData.stream.addr, msgData.stream.acpSeid, label); in Dispatch()
58 avdtp.GetCapabilityReq(msgData.stream.addr, msgData.stream.acpSeid, label); in Dispatch()
64 ProcessDisconnectReq(msgData.connectInfo.addr, role); in Dispatch()
67 ProcessSDPFailure(msgData.stream.addr, role); in Dispatch()
73 ProcessDisconnectInd(msgData.stream.addr, msgData.stream.handle, role); in Dispatch()
76 ProcessDisconnectCfm(msgData.stream.addr, msgData.stream.handle, role); in Dispatch()
79 ProcessTimeout(msgData.stream.addr, role); in Dispatch()
87 void A2dpStateIdle::ProcessDisconnectCfm(BtAddr addr, uint16_ argument
112 ProcessDisconnectReq(BtAddr addr, uint8_t role) ProcessDisconnectReq() argument
126 ProcessTimeout(BtAddr addr, uint8_t role) ProcessTimeout() argument
136 ProcessDisconnectInd(BtAddr addr, uint16_t handle, uint8_t role) ProcessDisconnectInd() argument
219 ProcessDiscoverReq(BtAddr addr, uint8_t role, uint8_t errCode) ProcessDiscoverReq() argument
247 ProcessSDPFailure(BtAddr addr, uint8_t role) const ProcessSDPFailure() argument
316 ProcessOpenReq(BtAddr addr, uint16_t handle, uint8_t role) ProcessOpenReq() argument
327 ProcessDisconnectReq(BtAddr addr, uint8_t role) ProcessDisconnectReq() argument
337 ProcessDisconnectInd(BtAddr addr, uint16_t handle, uint8_t role) ProcessDisconnectInd() argument
443 BtAddr addr = msgData.delayReportInfo.addr; ProcessDelayReportInd() local
524 ProcessDisconnectReq(BtAddr addr, uint8_t role) ProcessDisconnectReq() argument
534 ProcessDisconnectInd(BtAddr addr, uint16_t handle, uint8_t role) ProcessDisconnectInd() argument
568 BtAddr addr = msgData.delayReportInfo.addr; ProcessDelayReportInd() local
698 ProcessDisconnectInd(BtAddr addr, uint16_t handle, uint8_t role) ProcessDisconnectInd() argument
718 ProcessDisconnectReq(BtAddr addr, uint8_t role) ProcessDisconnectReq() argument
728 ProcessReconfigCfm(BtAddr addr, uint8_t role, uint16_t handle) ProcessReconfigCfm() argument
754 ProcessCloseCfm(BtAddr addr, uint8_t role) ProcessCloseCfm() argument
773 ProcessStartCfm(BtAddr addr, uint8_t role) ProcessStartCfm() argument
808 BtAddr addr = msgData.delayReportInfo.addr; ProcessDelayReportInd() local
813 ProcessTimeout(BtAddr addr, uint8_t role) ProcessTimeout() argument
870 std::string addr = service->GetActiveSinkDevice().GetAddress(); ProcessSuspendCfm() local
1019 ProcessStartCfm(BtAddr addr, uint8_t role) ProcessStartCfm() argument
1079 std::string addr = service->GetActiveSinkDevice().GetAddress(); ProcessSuspendCfm() local
1100 ProcessDisconnectReq(BtAddr addr, uint8_t role) ProcessDisconnectReq() argument
1122 ProcessDisconnectInd(BtAddr addr, uint16_t handle, uint8_t role) ProcessDisconnectInd() argument
1143 ProcessCloseCfm(BtAddr addr, uint8_t role) ProcessCloseCfm() argument
1178 BtAddr addr = msgData.delayReportInfo.addr; ProcessDelayReportInd() local
1217 ProcessCloseStreamInd(BtAddr addr, uint16_t handle, uint8_t role) ProcessCloseStreamInd() argument
1236 ProcessDisconnectInd(BtAddr addr, uint16_t handle, uint8_t role) ProcessDisconnectInd() argument
1256 ProcessDisconnectCfm(BtAddr addr, uint16_t handle, uint8_t role) ProcessDisconnectCfm() argument
[all...]
/foundation/communication/bluetooth_service/services/bluetooth/service/src/ble/
H A Dble_security.cpp107 void BleSecurity::LeLocalEncryptionKeyReqEvent(const BtAddr *addr, uint64_t rand, uint16_t ediv, void *context) in LeLocalEncryptionKeyReqEvent() argument
118 (void)memcpy_s(&gapCallbackParam.leLocalEncryptionKeyReqEvent_.addr, sizeof(BtAddr), addr, sizeof(BtAddr)); in LeLocalEncryptionKeyReqEvent()
125 void BleSecurity::LeRemoteEncryptionKeyReqEvent(const BtAddr *addr, void *context) in LeRemoteEncryptionKeyReqEvent() argument
136 (void)memcpy_s(&gapCallbackParam.leRemoteEncryptionKeyReqEvent_.addr, sizeof(BtAddr), addr, sizeof(BtAddr)); in LeRemoteEncryptionKeyReqEvent()
142 const BtAddr *addr, GAP_SignCounterType type, uint32_t counter, void *context) in LeSignCounterChangeNotification()
153 (void)memcpy_s(&gapCallbackParam.leSignCounterChangeNotification_.addr, sizeof(BtAddr), addr, sizeof(BtAddr)); in LeSignCounterChangeNotification()
177 void BleSecurity::LePairFeatureInd(const BtAddr *addr, GapLePairFeatur argument
141 LeSignCounterChangeNotification( const BtAddr *addr, GAP_SignCounterType type, uint32_t counter, void *context) LeSignCounterChangeNotification() argument
194 LePairMethodNotify(const BtAddr *addr, uint8_t pairMethod, void *context) LePairMethodNotify() argument
211 LePairKeyPressNotification(const BtAddr *addr, uint8_t pressType, void *context) LePairKeyPressNotification() argument
228 LePairPassKeyReq(const BtAddr *addr, void *context) LePairPassKeyReq() argument
244 LePairOobReq(const BtAddr *addr, void *context) LePairOobReq() argument
260 LePairScOobReq(const BtAddr *addr, void *context) LePairScOobReq() argument
276 LePairScUserConfirmReq(const BtAddr *addr, uint32_t number, void *context) LePairScUserConfirmReq() argument
293 LePairComplete(const BtAddr *addr, uint8_t result, uint8_t keyType, void *context) LePairComplete() argument
311 LePairKeyNotify(const BtAddr *addr, LePairedKeys leKeys, void *context) LePairKeyNotify() argument
363 GapRequestSigningAlgorithmInfo(const BtAddr *addr, void *context) GapRequestSigningAlgorithmInfo() argument
379 LePairPassKeyNotification(const BtAddr *addr, uint32_t number, void *context) LePairPassKeyNotification() argument
396 GapLeRequestSecurityResult( const BtAddr *addr, uint8_t result, GAP_LeSecurityStatus status, void *context) GapLeRequestSecurityResult() argument
420 RawAddress addr = RawAddress::ConvertToString(param.lePairKeyNotify_.addr.addr); SavePairKeyNotify() local
450 SaveLocalPairKey(const RawAddress &addr, const BleGapCallbackParam &param) SaveLocalPairKey() argument
477 SavePeerPairKey(const RawAddress &addr, const BleGapCallbackParam &param) SavePeerPairKey() argument
521 RawAddress addr = RawAddress::ConvertToString(param.encryptionComplete_.peerAddr.addr); GapEncryptionComplete() local
534 RawAddress addr = RawAddress::ConvertToString(param.leLocalEncryptionKeyReqEvent_.addr.addr); GapLeLocalEncryptionKeyReqEvent() local
563 RawAddress addr = RawAddress::ConvertToString(param.leRemoteEncryptionKeyReqEvent_.addr.addr); GapLeRemoteEncryptionKeyReqEvent() local
591 RawAddress addr = RawAddress::ConvertToString(param.leSignCounterChangeNotification_.addr.addr); GapLeSignCounterChangeNotification() local
605 RawAddress addr = RawAddress::ConvertToString(param.gapRequestSigningAlgorithmInfo_.addr.addr); GapRequestSigningAlgorithmInfoEvt() local
640 RawAddress addr = RawAddress::ConvertToString(param.lePairFeatureReq_.peerAddr.addr); LePairFeatureReq() local
674 PairRequestReply(const RawAddress &addr, int addrType, bool accept) const PairRequestReply() argument
697 RawAddress addr = RawAddress::ConvertToString(param.lePairFeatureReq_.peerAddr.addr); GapLePairFeatureReq() local
713 RawAddress addr = RawAddress::ConvertToString(param.lePairFeatureInd_.addr.addr); GapLePairFeatureInd() local
738 RawAddress addr = RawAddress::ConvertToString(param.lePairPassKeyReq_.addr.addr); GapLePairPassKeyReq() local
752 RawAddress addr = RawAddress::ConvertToString(param.lePairPassKeyNotification_.addr.addr); GapLePairPassKeyNotification() local
767 RawAddress addr = RawAddress::ConvertToString(param.lePairOobReq_.addr.addr); GapLePairOobReq() local
781 RawAddress addr = RawAddress::ConvertToString(param.lePairScOob_req_.addr.addr); GapLePairScOobReq() local
795 RawAddress addr = RawAddress::ConvertToString(param.lePairScUserConfirmReq_.addr.addr); GapLePairScUserConfirmReq() local
810 RawAddress addr = RawAddress::ConvertToString(param.lePairComplete_.addr.addr); GapLePairComplete() local
839 GapLeRequestSecurity(uint16_t connectionHandle, const BtAddr &addr, uint8_t role) GapLeRequestSecurity() argument
899 BtAddr addr = {{0x00, 0x00, 0x00, 0x00, 0x00, 0x00}, peerAddrType}; StartPair() local
916 BtAddr addr = {{0x00, 0x00, 0x00, 0x00, 0x00, 0x00}, peerAddrType}; SetDevicePasskey() local
933 BtAddr addr = {{0x00, 0x00, 0x00, 0x00, 0x00, 0x00}, peerAddrType}; SetUserConfirm() local
948 BtAddr addr = {{0x00, 0x00, 0x00, 0x00, 0x00, 0x00}, peerAddrType}; CancelPairing() local
[all...]
H A Dble_security.h51 int GapLeRequestSecurity(uint16_t connectionHandle, const BtAddr &addr, uint8_t role);
53 bool PairRequestReply(const RawAddress &addr, int addrType, bool accept) const;
72 static void LeLocalEncryptionKeyReqEvent(const BtAddr *addr, uint64_t rand, uint16_t ediv, void *context);
73 static void LeRemoteEncryptionKeyReqEvent(const BtAddr *addr, void *context);
75 const BtAddr *addr, GAP_SignCounterType type, uint32_t counter, void *context);
76 static void GapRequestSigningAlgorithmInfo(const BtAddr *addr, void *context);
79 static void LePairFeatureInd(const BtAddr *addr, GapLePairFeature remoteFrature, void *context);
80 static void LePairMethodNotify(const BtAddr *addr, uint8_t pairMethod, void *context);
81 static void LePairKeyPressNotification(const BtAddr *addr, uint8_t pressType, void *context);
82 static void LePairPassKeyReq(const BtAddr *addr, voi
[all...]
/foundation/communication/bluetooth_service/services/bluetooth/stack/include/
H A Dgap_if.h177 void (*authorizeInd)(const BtAddr *addr, GAP_Service service, void *context);
184 void (*userConfirmReq)(const BtAddr *addr, uint32_t number, int localMitmRequired,
186 void (*userPasskeyReq)(const BtAddr *addr, void *context);
187 void (*userPasskeyNotification)(const BtAddr *addr, uint32_t number, void *context);
188 void (*remoteOobReq)(const BtAddr *addr, void *context);
189 void (*pinCodeReq)(const BtAddr *addr, void *context);
190 void (*linkKeyReq)(const BtAddr *addr, void *context);
192 const BtAddr *addr, const uint8_t linkKey[GAP_LINKKEY_SIZE], uint8_t keyType, void *context);
193 void (*simplePairComplete)(const BtAddr *addr, uint8_t status, void *context);
194 void (*IOCapabilityReq)(const BtAddr *addr, voi
[all...]
/foundation/communication/dsoftbus/core/bus_center/utils/src/
H A Dlnn_connection_addr_utils.c64 bool LnnConvertAddrToOption(const ConnectionAddr *addr, ConnectOption *option) in LnnConvertAddrToOption() argument
66 if (addr == NULL || option == NULL) { in LnnConvertAddrToOption()
67 LNN_LOGW(LNN_STATE, "addr or option is null"); in LnnConvertAddrToOption()
70 if (addr->type == CONNECTION_ADDR_BR) { in LnnConvertAddrToOption()
72 if (strncpy_s(option->brOption.brMac, BT_MAC_LEN, addr->info.br.brMac, in LnnConvertAddrToOption()
73 strlen(addr->info.br.brMac)) != EOK) { in LnnConvertAddrToOption()
74 LNN_LOGE(LNN_STATE, "copy br mac to addr fail"); in LnnConvertAddrToOption()
79 if (addr->type == CONNECTION_ADDR_BLE) { in LnnConvertAddrToOption()
81 if (strncpy_s(option->bleOption.bleMac, BT_MAC_LEN, addr->info.ble.bleMac, in LnnConvertAddrToOption()
82 strlen(addr in LnnConvertAddrToOption()
109 LnnConvertOptionToAddr(ConnectionAddr *addr, const ConnectOption *option, ConnectionAddrType hintType) LnnConvertOptionToAddr() argument
187 LnnConvertAddrToAuthConnInfo(const ConnectionAddr *addr, AuthConnInfo *connInfo) LnnConvertAddrToAuthConnInfo() argument
227 LnnConvertAuthConnInfoToAddr(ConnectionAddr *addr, const AuthConnInfo *connInfo, ConnectionAddrType hintType) LnnConvertAuthConnInfoToAddr() argument
265 LnnIsConnectionAddrInvalid(const ConnectionAddr *addr) LnnIsConnectionAddrInvalid() argument
304 LnnPrintConnectionAddr(const ConnectionAddr *addr) LnnPrintConnectionAddr() argument
[all...]
/foundation/communication/bluetooth_service/services/bluetooth/stack/src/gap/
H A Dgap_br_sec.c55 const BtAddr *addr, GapSecurityResultCallback callback, void *context, const ProfileSecurityInfo *info) in GapAllocReqSecInfo()
64 reqInfo->addr = *addr; in GapAllocReqSecInfo()
91 BtAddr addr = BT_ADDR_NULL; in GapDoAuthenticationCallback() local
97 addr = reqInfo->addr; in GapDoAuthenticationCallback()
101 g_authenticationCallback.callback.authenticationComplete(&addr, result, g_authenticationCallback.context); in GapDoAuthenticationCallback()
149 g_securityCallback.callback.authorizeInd(&reqInfo->addr, reqInfo->info.serviceId, reqInfo->context); in GapDoAuthorizationCallback()
155 GAP_AuthorizeRes(&reqInfo->addr, reqInfo->info.serviceId, GAP_NOT_ACCEPT); in GapDoAuthorizationCallback()
255 __FUNCTION__, BT_ADDR_FMT_OUTPUT(devInfo->addr in GapCheckConnection()
54 GapAllocReqSecInfo( const BtAddr *addr, GapSecurityResultCallback callback, void *context, const ProfileSecurityInfo *info) GapAllocReqSecInfo() argument
362 GapRemoteDeviceSupportHostSecureSimplePairingCallback(const BtAddr *addr, bool support) GapRemoteDeviceSupportHostSecureSimplePairingCallback() argument
376 GAP_RequestSecurity(const BtAddr *addr, const GapRequestSecurityParam *param) GAP_RequestSecurity() argument
521 GAP_AuthorizeRes(const BtAddr *addr, GAP_Service service, uint8_t accept) GAP_AuthorizeRes() argument
862 BtAddr addr = {0}; GapOnAuthenticationComplete() local
911 GapIOCapabilityRequestReply( const BtAddr *addr, uint8_t ioCapability, uint8_t authReq, uint8_t oobDataPresent) GapIOCapabilityRequestReply() argument
945 GapIOCapabilityRequestNegativeReply(const BtAddr *addr, uint8_t reason) GapIOCapabilityRequestNegativeReply() argument
958 BtAddr addr = BT_ADDR_NULL; GapOnIOCapabilityRequestEvent() local
991 BtAddr addr = BT_ADDR_NULL; GapIOCapabilityRequestReplyComplete() local
1010 BtAddr addr = BT_ADDR_NULL; GapOnIOCapabilityResponseEvent() local
1051 GAP_AuthenticationReq(const BtAddr *addr) GAP_AuthenticationReq() argument
1091 GAP_CancelAuthenticationReq(const BtAddr *addr) GAP_CancelAuthenticationReq() argument
1109 GAP_IOCapabilityRsp( const BtAddr *addr, uint8_t accept, uint8_t ioCapability, uint8_t oobDataPresent, uint8_t authReq) GAP_IOCapabilityRsp() argument
1141 GapUserConfirmationRequestReply(const BtAddr *addr) GapUserConfirmationRequestReply() argument
1150 GapUserConfirmationRequestNegativeReply(const BtAddr *addr) GapUserConfirmationRequestNegativeReply() argument
1162 BtAddr addr = BT_ADDR_NULL; GapOnUserConfirmationRequestEvent() local
1192 BtAddr addr = BT_ADDR_NULL; GapUserConfirmationRequestReplyComplete() local
1207 GAP_UserConfirmRsp(const BtAddr *addr, uint8_t accept) GAP_UserConfirmRsp() argument
1228 GapUserPasskeyRequestReply(const BtAddr *addr, int numericValue) GapUserPasskeyRequestReply() argument
1238 GapUserPasskeyRequestNegativeReply(const BtAddr *addr) GapUserPasskeyRequestNegativeReply() argument
1250 BtAddr addr = BT_ADDR_NULL; GapOnUserPasskeyNotificationEvent() local
1264 BtAddr addr = BT_ADDR_NULL; GapOnUserPasskeyRequestEvent() local
1278 BtAddr addr = BT_ADDR_NULL; GapUserPasskeyRequestReplyComplete() local
1293 GAP_UserPasskeyRsp(const BtAddr *addr, uint8_t accept, uint32_t number) GAP_UserPasskeyRsp() argument
1314 GapRemoteOOBDataRequestReply(const BtAddr *addr, const uint8_t *c, const uint8_t *r) GapRemoteOOBDataRequestReply() argument
1324 GapRemoteOOBDataRequestNegativeReply(const BtAddr *addr) GapRemoteOOBDataRequestNegativeReply() argument
1336 BtAddr addr; GapOnRemoteOOBDataRequestEvent() local
1350 BtAddr addr; GapRemoteOOBDataRequestReplyComplete() local
1360 BtAddr addr; GapRemoteOOBExtendedDataRequestReplyComplete() local
1375 GAP_RemoteOobRsp(const BtAddr *addr, uint8_t accept, const GapOOBData *data) GAP_RemoteOobRsp() argument
1400 GapPINCodeRequestReply(const BtAddr *addr, uint8_t pinCode[GAP_PINCODE_SIZE], uint8_t pinCodeLength) GapPINCodeRequestReply() argument
1411 GapPINCodeRequestNegativeReply(const BtAddr *addr) GapPINCodeRequestNegativeReply() argument
1423 BtAddr addr; GapOnPINCodeRequestEvent() local
1450 BtAddr addr; GapPINCodeRequestReplyComplete() local
1465 GAP_PinCodeRsp(const BtAddr *addr, uint8_t accept, const uint8_t *pinCode, uint8_t pinCodeLength) GAP_PinCodeRsp() argument
1494 GapLinkKeyRequestReply(const BtAddr *addr, const uint8_t *linkKey) GapLinkKeyRequestReply() argument
1505 GapLinkKeyRequestNegativeReply(const BtAddr *addr) GapLinkKeyRequestNegativeReply() argument
1514 GAP_PairIsFromLocal(const BtAddr *addr, bool *isLocal) GAP_PairIsFromLocal() argument
1539 BtAddr addr; GapOnLinkKeyNotificationEvent() local
1559 BtAddr addr; GapOnLinkKeyRequestEvent() local
1590 BtAddr addr; GapLinkKeyRequestReplyComplete() local
1605 GAP_LinkKeyRsp(const BtAddr *addr, uint8_t accept, const uint8_t linkKey[GAP_LINKKEY_SIZE], uint8_t keyType) GAP_LinkKeyRsp() argument
1640 BtAddr addr; GapOnSimplePairingComplete() local
1652 BtAddr addr = {0}; GapOnEncryptionChangeEvent() local
1705 BtAddr addr = {0}; GapOnEncryptionKeyRefreshComplete() local
[all...]
H A Dgap_le_scan.c44 BtAddr addr; member
166 BT_ADDR_FMT_OUTPUT(info->addr.addr)); in GapCallbackRPAAdvertisingReport()
174 report->eventType, &info->addr, reportParam, currentAddr, g_leScanCallback.context); in GapCallbackRPAAdvertisingReport()
201 BT_ADDR_FMT_OUTPUT(info->addr.addr)); in GapCallbackRPAExtendedAdvertisingReport()
204 report->eventType, &info->addr, advParam, currentAddr, g_leExScanCallback.context); in GapCallbackRPAExtendedAdvertisingReport()
221 BT_ADDR_FMT_OUTPUT(info->addr.addr)); in GapCallbackRPADirectedAdvertisingReport()
228 report->eventType, &info->addr, reportPara in GapCallbackRPADirectedAdvertisingReport()
270 uint8_t addr[BT_ADDRESS_SIZE]; GapRPAResolveProcess() local
287 GapResolveRPAResult(uint8_t status, bool result, const uint8_t *addr, const uint8_t *irk) GapResolveRPAResult() argument
323 GapLeAllocAdvReportRPAResolveInfo( BtAddr addr, AdvReportType type, const void *advReport) GapLeAllocAdvReportRPAResolveInfo() argument
377 GapTryChangeAddressForIdentityAddress(BtAddr *addr) GapTryChangeAddressForIdentityAddress() argument
394 BtAddr addr; GapOnLeAdvertisingReportEventProcessOnce() local
500 BtAddr addr; GapOnLeExtendedAdvertisingReportEventProcessOnce() local
550 BtAddr addr; GapOnLeDirectedAdvertisingReportProcessOnce() local
[all...]
H A Dgap_le_sec.c57 static int GapLePair(const BtAddr *addr);
92 callback(&deviceInfo->addr, result, encryptionStatus, context); in GapDoLeSecurityCallback()
98 const BtAddr *addr, uint16_t handle, uint8_t pairMethod, const void *displayValue) in GapLePasskeyRequestProcess()
105 addr, *(uint32_t *)displayValue, g_lePairCallback.context); in GapLePasskeyRequestProcess()
118 g_lePairCallback.callback.lePairPassKeyReq(addr, g_lePairCallback.context); in GapLePasskeyRequestProcess()
128 static void GapLeUserConfirmProcess(const BtAddr *addr, uint16_t handle, uint8_t pairMethod, const void *displayValue) in GapLeUserConfirmProcess() argument
131 g_lePairCallback.callback.lePairScUserConfirmReq(addr, *(uint32_t *)displayValue, g_lePairCallback.context); in GapLeUserConfirmProcess()
140 static void GapLeLegacyOOBProcess(const BtAddr *addr, uint16_t handle, uint8_t pairMethod, const void *displayValue) in GapLeLegacyOOBProcess() argument
143 g_lePairCallback.callback.lePairOobReq(addr, g_lePairCallback.context); in GapLeLegacyOOBProcess()
153 const BtAddr *addr, uint16_ in GapLeSecureConnectionOOBProcess()
97 GapLePasskeyRequestProcess( const BtAddr *addr, uint16_t handle, uint8_t pairMethod, const void *displayValue) GapLePasskeyRequestProcess() argument
152 GapLeSecureConnectionOOBProcess( const BtAddr *addr, uint16_t handle, uint8_t pairMethod, const void *displayValue) GapLeSecureConnectionOOBProcess() argument
205 GapLeAuthenticationRequestProcess( BtAddr addr, uint16_t handle, uint8_t pairMethod, const uint8_t *displayValue) GapLeAuthenticationRequestProcess() argument
240 BtAddr addr = {0}; GapLeAuthenticationRequest() local
320 GapCallbackKeyNotify(const BtAddr *addr, const SMP_PairResult *result) GapCallbackKeyNotify() argument
375 GapDoPairResultCallback(const BtAddr *addr, uint8_t status) GapDoPairResultCallback() argument
384 BtAddr addr = {0}; GapLePairResult() local
419 BtAddr addr = {0}; GapLeRemotePairRequest() local
475 BtAddr addr = {0}; GapLeRemoteSecurityRequest() local
497 BtAddr addr = {0}; GapLeLongTermKeyRequest() local
519 BtAddr addr = {0}; GapLeEncryptionComplete() local
571 GAP_LeRemoteEncryptionKeyRsp(const BtAddr *addr, uint8_t accept, LeEncKey encKey, uint8_t keyType) GAP_LeRemoteEncryptionKeyRsp() argument
601 (void)memcpy_s(&GapGetLeBondBlock()->addr, sizeof(BtAddr), addr, sizeof(BtAddr)); GAP_LeRemoteEncryptionKeyRsp() local
608 (void)memcpy_s(&GapGetLeBondBlock()->addr, sizeof(BtAddr), addr, sizeof(BtAddr)); GAP_LeRemoteEncryptionKeyRsp() local
617 GAP_LeLocalEncryptionKeyRsp(const BtAddr *addr, uint8_t accept, LeEncKey encKey, uint8_t keyType) GAP_LeLocalEncryptionKeyRsp() argument
644 GAP_RequestSigningAlgorithmInfoRsp(const BtAddr *addr, uint8_t accept, GapSigningAlgorithmInfo info) GAP_RequestSigningAlgorithmInfoRsp() argument
682 const BtAddr *addr = &deviceInfo->addr; GapLeRequestSecurityMaster() local
738 GAP_LeRequestSecurity( const BtAddr *addr, GAP_LeSecurityStatus status, GapLeRequestSecurityResult callback, void *context) GAP_LeRequestSecurity() argument
799 GapClearPairingStatus(const BtAddr *addr) GapClearPairingStatus() argument
807 GapLePair(const BtAddr *addr) GapLePair() argument
841 GapLeDoPair(const void *addr) GapLeDoPair() argument
849 GAP_LePair(const BtAddr *addr) GAP_LePair() argument
878 GAP_LeCancelPair(const BtAddr *addr) GAP_LeCancelPair() argument
916 GAP_LePairFeatureRsp(const BtAddr *addr, GapLePairFeature localFeature) GAP_LePairFeatureRsp() argument
971 GAP_LePairPassKeyRsp(const BtAddr *addr, uint8_t accept, uint32_t number) GAP_LePairPassKeyRsp() argument
1002 GAP_LePairOobRsp(const BtAddr *addr, uint8_t accept, uint8_t oobData[GAP_OOB_DATA_SIZE]) GAP_LePairOobRsp() argument
1033 GAP_LePairScOobRsp(const BtAddr *addr, uint8_t accept, const uint8_t oobDataC[GAP_OOB_DATA_SIZE], const uint8_t oobDataR[GAP_OOB_DATA_SIZE]) GAP_LePairScOobRsp() argument
1073 GAP_LePairScUserConfirmRsp(const BtAddr *addr, uint8_t accept) GAP_LePairScUserConfirmRsp() argument
1134 GAP_LeDataSignatureGeneration( const BtAddr *addr, GapSignatureData dataInfo, GAPSignatureGenerationResult callback, void *context) GAP_LeDataSignatureGeneration() argument
1181 GAP_LeDataSignatureConfirmation(const BtAddr *addr, GapSignatureData dataInfo, const uint8_t signature[GAP_SIGNATURE_SIZE], GAPSignatureConfirmationResult callback, void *context) GAP_LeDataSignatureConfirmation() argument
1285 GapRequestSigningAlgorithmInfo(const BtAddr *addr) GapRequestSigningAlgorithmInfo() argument
[all...]
H A Dgap.h32 * @param[out] addr Bluetooth address of bluetooth chip.
36 int GAP_GetLocalAddr(BtAddr *addr);
90 * @param[in] addr outgoing attributes to remote device
96 int GAP_RegisterServiceSecurity(const BtAddr *addr, const GapServiceSecurityInfo *serviceInfo, uint16_t securityMode);
100 * @param[in] addr outgoing attributes to remote device
105 int GAP_DeregisterServiceSecurity(const BtAddr *addr, const GapServiceSecurityInfo *serviceInfo);
109 * @param[in] addr target device address
114 int GAP_RequestSecurity(const BtAddr *addr, const GapRequestSecurityParam *param);
142 * @param[in] addr target device address
148 int GAP_AuthorizeRes(const BtAddr *addr, GAP_Servic
[all...]
/device/soc/rockchip/common/kernel/drivers/gpu/arm/mali400/mali/common/
H A Dmali_osk_bitops.h23 MALI_STATIC_INLINE void _mali_internal_clear_bit(u32 bit, u32 *addr) in _mali_internal_clear_bit() argument
26 MALI_DEBUG_ASSERT(NULL != addr); in _mali_internal_clear_bit()
28 (*addr) &= ~(1 << bit); in _mali_internal_clear_bit()
31 MALI_STATIC_INLINE void _mali_internal_set_bit(u32 bit, u32 *addr)
34 MALI_DEBUG_ASSERT(NULL != addr);
36 (*addr) |= (1 << bit);
89 * @param addr starting point for counting.
91 MALI_STATIC_INLINE void _mali_osk_clear_nonatomic_bit(u32 nr, u32 *addr)
93 addr += nr >> 5; /* find the correct word */
96 _mali_internal_clear_bit(nr, addr);
[all...]
/device/soc/rockchip/common/vendor/drivers/gpu/arm/mali400/mali/common/
H A Dmali_osk_bitops.h26 MALI_STATIC_INLINE void _mali_internal_clear_bit(u32 bit, u32 *addr) in _mali_internal_clear_bit() argument
29 MALI_DEBUG_ASSERT(addr != NULL); in _mali_internal_clear_bit()
31 (*addr) &= ~(1 << bit); in _mali_internal_clear_bit()
34 MALI_STATIC_INLINE void _mali_internal_set_bit(u32 bit, u32 *addr)
37 MALI_DEBUG_ASSERT(addr != NULL);
39 (*addr) |= (1 << bit);
91 * @param addr starting point for counting.
93 MALI_STATIC_INLINE void _mali_osk_clear_nonatomic_bit(u32 nr, u32 *addr)
95 addr += nr >> UINT32_BITS_NONATOMICB_BIT; /* find the correct word */
98 _mali_internal_clear_bit(nr, addr);
[all...]
/device/soc/hisilicon/hi3861v100/sdk_liteos/platform/os/Huawei_LiteOS/arch/
H A Dlos_atomic.h117 * <li>The pointer addr must not be NULL.</li>
118 * <li>The value which addr point to must not be INT_MAX to avoid integer overflow after adding 1.</li>
121 * @param addr [IN] The addSelf variable pointer.
128 static inline VOID LOS_AtomicInc(volatile INT32 *addr) in LOS_AtomicInc() argument
132 (*addr)++; in LOS_AtomicInc()
144 * <li>The pointer addr must not be NULL.</li>
148 * @param addr [IN] The addSelf variable pointer.
155 static inline INT32 LOS_AtomicIncRet(volatile INT32 *addr) in LOS_AtomicIncRet() argument
160 tmp = *addr; in LOS_AtomicIncRet()
162 *addr in LOS_AtomicIncRet()
186 LOS_AtomicDec(volatile INT32 *addr) LOS_AtomicDec() argument
213 LOS_AtomicDecRet(volatile INT32 *addr) LOS_AtomicDecRet() argument
243 LOS_AtomicXchg32bits(volatile INT32 *addr, INT32 value) LOS_AtomicXchg32bits() argument
273 LOS_AtomicCmpXchg32bits(volatile INT32 *addr, INT32 newVal, INT32 oldVal) LOS_AtomicCmpXchg32bits() argument
[all...]
/foundation/communication/bluetooth_service/services/bluetooth/stack/src/btm/
H A Dbtm_acl.c60 BtAddr addr; member
114 BtAddr addr; member
130 BtAddr addr; member
337 static BtmAclConnection *BtmAclFindConnectionByAddr(const BtAddr *addr) in BtmAclFindConnectionByAddr() argument
345 if (IsEqualAddr(connection->addr.addr, addr->addr)) { in BtmAclFindConnectionByAddr()
356 static BtmAclConnection *BtmAclFindLeConnectionByAddr(const BtAddr *addr) in BtmAclFindLeConnectionByAddr() argument
364 if (IsEqualAddr(connection->addr in BtmAclFindLeConnectionByAddr()
395 BtmAclCreateConnection(const BtAddr *addr) BtmAclCreateConnection() argument
424 BTM_AclConnect(const BtAddr *addr) BTM_AclConnect() argument
509 BtAddr addr = {0}; BtmOnConnectionComplete() local
568 BtAddr addr = { BtmOnConnectionrequest() local
619 BtmConvertAddressForConnection(BtAddr *addr) BtmConvertAddressForConnection() argument
780 BtmLeCreateConnection(const BtAddr *addr) BtmLeCreateConnection() argument
801 BTM_LeConnect(const BtAddr *addr) BTM_LeConnect() argument
857 BtmConvertAddressForConnectionComplete(BtAddr *addr) BtmConvertAddressForConnectionComplete() argument
879 BtmUpdateLeConnectionOnConnectComplete( const BtAddr *addr, uint8_t peerAddrType, const HciLeConnectionCompleteEventParam *eventParam) BtmUpdateLeConnectionOnConnectComplete() argument
934 BtAddr *addr = NULL; BtmLeCancelConnectCallback() local
1031 IsZeroAddress(const uint8_t addr[BT_ADDRESS_SIZE]) IsZeroAddress() argument
1047 BtAddr addr = { BtmUpdateUpdateWhiteListOnLeConnectionComplete() local
1093 BtAddr addr = { BtmOnLeConnectionComplete() local
1157 BtmAllocLeConnectionOnEnhancedConnectComplete( const BtAddr *addr, uint8_t peerAddrType, const HciLeEnhancedConnectionCompleteEventParam *eventParam) BtmAllocLeConnectionOnEnhancedConnectComplete() argument
1201 BtmUpdateConnectionInfoOnLeEnhancedConnectionComplete( const BtAddr *addr, uint8_t peerAddrType, const HciLeEnhancedConnectionCompleteEventParam *eventParam) BtmUpdateConnectionInfoOnLeEnhancedConnectionComplete() argument
1228 BtAddr addr = { BtmUpdateWhiteListOnLeEnhancedConnectionComplete() local
1274 BtAddr addr = { BtmOnLeEnhancedConnectionComplete() local
1419 BtmOnLeRemoteFeatureComplete(const BtAddr *addr, const List *requests, const HciLeFeatures *leFeatures) BtmOnLeRemoteFeatureComplete() argument
1440 BtAddr addr = {0}; BtmOnLeReadRemoteFeaturesComplete() local
1498 BtmOnRemoteFeatureComplete(const BtAddr *addr, const List *requests, const HciLmpFeatures *lmpFeatures) BtmOnRemoteFeatureComplete() argument
1522 BtAddr addr = {0}; BtmOnReadRemoteSupportedFeaturesComplete() local
1553 BtmOnRemoteExtendedFeatureComplete( const BtAddr *addr, const List *requests, const HciExtendedLmpFeatures *extendedFeatures) BtmOnRemoteExtendedFeatureComplete() argument
1577 BtAddr addr = {0}; BtmOnReadRemoteExtendedFeaturesComplete() local
1633 BtAddr addr; BtmOnReadRssiComplete() local
1712 BtmGetAclHandleByAddress(const BtAddr *addr, uint16_t *handle) BtmGetAclHandleByAddress() argument
1726 BtmGetLeAclHandleByAddress(const BtAddr *addr, uint16_t *handle) BtmGetLeAclHandleByAddress() argument
1740 BtmGetAclAddressByHandle(const uint16_t handle, BtAddr *addr) BtmGetAclAddressByHandle() argument
1821 BTM_ReadRssi(const BtAddr *addr) BTM_ReadRssi() argument
1882 BTM_IsSecureConnection(const BtAddr *addr) BTM_IsSecureConnection() argument
1949 BTM_AclCancelConnect(const BtAddr *addr) BTM_AclCancelConnect() argument
1979 BTM_LeCancelConnect(const BtAddr *addr) BTM_LeCancelConnect() argument
2027 BTM_IsRemoteDeviceSupportHostSecureSimplePairing(const BtAddr *addr, BTMRemoteDeviceSupportCallback callback) BTM_IsRemoteDeviceSupportHostSecureSimplePairing() argument
2064 BTM_IsRemoteDeviceSupportConnectionParametersRequest(const BtAddr *addr, BTMRemoteDeviceSupportCallback callback) BTM_IsRemoteDeviceSupportConnectionParametersRequest() argument
2101 BTM_IsRemoteDeviceSupportEdrAcl2MbMode(const BtAddr *addr, BTMRemoteDeviceSupportCallback callback) BTM_IsRemoteDeviceSupportEdrAcl2MbMode() argument
2137 BTM_IsRemoteDeviceSupportEdrAcl3MbMode(const BtAddr *addr, BTMRemoteDeviceSupportCallback callback) BTM_IsRemoteDeviceSupportEdrAcl3MbMode() argument
2192 BTM_SetLinkPolicySettings(const BtAddr *addr, uint16_t linkPolicySettings) BTM_SetLinkPolicySettings() argument
2220 BtAddr addr = { BtmOnRoleChange() local
2239 BTM_SwitchRole(const BtAddr *addr, uint8_t role) BTM_SwitchRole() argument
2358 BTM_ChangeConnectionPacketType(const BtAddr *addr, uint16_t packetType) BTM_ChangeConnectionPacketType() argument
[all...]
H A Dbtm_le_sec.c56 block->currentAddr = device->addr; in BtmAllocLePairedDeviceBlock()
97 (void)memcpy_s(param.peerIdentityAddress.raw, BT_ADDRESS_SIZE, device->remoteIdentityAddress.addr, BT_ADDRESS_SIZE); in BtmAddToResolvingList()
116 (void)memcpy_s(param.peerIdentityAddress.raw, BT_ADDRESS_SIZE, device->remoteIdentityAddress.addr, BT_ADDRESS_SIZE); in BtmSetPrivacyMode()
132 (void)memcpy_s(param.peerIdentityAddress.raw, BT_ADDRESS_SIZE, device->remoteIdentityAddress.addr, BT_ADDRESS_SIZE); in BtmRemoveFromResolvingList()
141 if (addr1->addr[i] != addr2->addr[i]) { in IsSameBtAddr()
150 static bool IsZeroAddress(const uint8_t addr[BT_ADDRESS_SIZE]) in IsZeroAddress() argument
154 if (addr[i] != 0) { in IsZeroAddress()
162 static BtmLePairedDeviceBlock *BtmFindLePairedDeviceBlockByAddress(const BtAddr *addr) in BtmFindLePairedDeviceBlockByAddress() argument
169 if (IsSameBtAddr(&block->pairedInfo.addr, add in BtmFindLePairedDeviceBlockByAddress()
181 BtmFindLePairedDeviceBlockByRemoteIdentityAddress(const BtAddr *addr) BtmFindLePairedDeviceBlockByRemoteIdentityAddress() argument
362 BTM_RemoveLePairedDevice(const BtAddr *addr) BTM_RemoveLePairedDevice() argument
421 BTM_GetRemoteIdentityResolvingKey(const BtAddr *addr, BtmKey *irk) BTM_GetRemoteIdentityResolvingKey() argument
590 BTM_GetRemoteIdentityAddress(const BtAddr *addr, BtAddr *identityAddress) BTM_GetRemoteIdentityAddress() argument
616 BTM_GetPairdAddressFromRemoteIdentityAddress(const BtAddr *identityAddress, BtAddr *addr) BTM_GetPairdAddressFromRemoteIdentityAddress() argument
642 BTM_IsDeviceInResolvingList(const BtAddr *addr) BTM_IsDeviceInResolvingList() argument
666 BTM_ConvertToPairedAddress(const BtAddr *addr, BtAddr *pairedAddress) BTM_ConvertToPairedAddress() argument
708 BTM_SetLeRandomAddress(const BtAddr *addr) BTM_SetLeRandomAddress() argument
736 BTM_GetLeRandomAddress(BtAddr *addr) BTM_GetLeRandomAddress() argument
[all...]
/device/qemu/SmartL_E802/liteos_m/board/hals/csky_driver/src/
H A Dck_usart.c42 #define WAIT_USART_IDLE(addr)\
45 while ((addr->USR & USR_UART_BUSY) && (timecount < UART_BUSY_TIMEOUT)) {\
88 \param[in] addr usart base to operate.
95 ck_usart_reg_t *addr = (ck_usart_reg_t *)(usart_priv->base); in csi_usart_config_baudrate() local
98 WAIT_USART_IDLE(addr); in csi_usart_config_baudrate()
109 addr->LCR |= LCR_SET_DLAB; in csi_usart_config_baudrate()
111 addr->DLL = divisor & 0xff; in csi_usart_config_baudrate()
112 addr->DLH = (divisor >> 8) & 0xff; in csi_usart_config_baudrate()
117 addr->LCR &= (~LCR_SET_DLAB); in csi_usart_config_baudrate()
149 ck_usart_reg_t *addr in csi_usart_config_parity() local
188 ck_usart_reg_t *addr = (ck_usart_reg_t *)(usart_priv->base); csi_usart_config_stopbits() local
223 ck_usart_reg_t *addr = (ck_usart_reg_t *)(usart_priv->base); csi_usart_config_databits() local
273 ck_usart_reg_t *addr = (ck_usart_reg_t *)(usart_priv->base); csi_usart_getchar() local
292 ck_usart_reg_t *addr = (ck_usart_reg_t *)(usart_priv->base); csi_usart_putchar() local
320 ck_usart_reg_t *addr = (ck_usart_reg_t *)(usart_priv->base); ck_usart_intr_threshold_empty() local
361 ck_usart_reg_t *addr = (ck_usart_reg_t *)(usart_priv->base); ck_usart_intr_recv_data() local
388 ck_usart_reg_t *addr = (ck_usart_reg_t *)(usart_priv->base); ck_usart_intr_recv_line() local
472 ck_usart_reg_t *addr = (ck_usart_reg_t *)(usart_priv->base); ck_usart_intr_char_timeout() local
498 ck_usart_reg_t *addr = (ck_usart_reg_t *)(usart_priv->base); ck_usart_irqhandler() local
563 ck_usart_reg_t *addr = (ck_usart_reg_t *)(usart_priv->base); csi_usart_initialize() local
680 ck_usart_reg_t *addr = (ck_usart_reg_t *)(usart_priv->base); csi_usart_send() local
697 ck_usart_reg_t *addr = (ck_usart_reg_t *)(usart_priv->base); csi_usart_abort_send() local
745 ck_usart_reg_t *addr = (ck_usart_reg_t *)(usart_priv->base); csi_usart_receive_query() local
817 ck_usart_reg_t *addr = (ck_usart_reg_t *)(usart_priv->base); csi_usart_get_status() local
888 ck_usart_reg_t *addr = (ck_usart_reg_t *)(usart_priv->base); csi_usart_flush() local
927 ck_usart_reg_t *addr = (ck_usart_reg_t *)(usart_priv->base); csi_usart_set_interrupt() local
[all...]
/device/soc/hisilicon/hi3751v350/sdk_linux/source/common/drv/mmz/
H A Ddrv_tzsmmu.c34 * input no-secure mem info(smmu addr or phys addr,indicated by iommu),
35 * and return secure address( sec smmu addr or phys addr)
53 mem_addr.addr = base_addr; in secmem_alloc()
70 * input sec mem info (sec smmu addr or phys addr, indicated by iommu),
71 * and output non-sec info (smmu addr or phys addr)
76 u32 addr; in secmem_free() local
181 unsigned int addr; secmem_unmap_from_secsmmu() local
247 HI_U32 addr = MMB_ADDR_INVALID; sec_mem_get() local
271 HI_U32 addr = MMB_ADDR_INVALID; sec_mem_put() local
[all...]
/foundation/communication/bluetooth_service/services/bluetooth/stack/src/avctp/
H A Davctp_int.h79 #define BT_ADDR_FMT_ASC(addr) addr[0], addr[1], addr[2], addr[3], addr[4], addr[5]
80 #define BT_ADDR_FMT_DSC(addr) addr[5], addr[
148 BtAddr addr; /* peer address */ global() member
[all...]
/foundation/communication/bluetooth_service/services/bluetooth/external/dummy/include/stub/
H A Dmedia_service.h69 virtual void OnConnectionStateChanged(const std::string &addr, int state) = 0;
71 virtual void OnPressButton(const std::string &addr, uint8_t button) = 0;
73 virtual void OnReleaseButton(const std::string &addr, uint8_t button) = 0;
75 virtual void OnSetAddressedPlayer(const std::string &addr, uint8_t label, int status) = 0;
77 virtual void OnSetBrowsedPlayer(const std::string &addr, uint16_t uidCounter, uint32_t numOfItems,
81 const std::string &addr, const std::deque<uint8_t> &attributes, uint8_t label) = 0;
84 const std::string &addr, const std::deque<uint8_t> &values, uint8_t label) = 0;
86 virtual void OnGetPlayerAppSettingCurrentValue(const std::string &addr, const std::deque<uint8_t> &attributes,
89 virtual void OnSetPlayerAppSettingCurrentValue(const std::string &addr, uint8_t label) = 0;
91 virtual void OnGetPlayerAppSettingAttributeText(const std::string &addr, cons
150 SetActiveDevice(const std::string &addr) SetActiveDevice() argument
158 PressButton(const std::string &addr, uint8_t button, uint8_t label) PressButton() argument
163 ReleaseButton(const std::string &addr, uint8_t button, uint8_t label) ReleaseButton() argument
172 SetAddressedPlayer(const std::string &addr, uint16_t playerId, uint16_t uidCounter, uint8_t label) SetAddressedPlayer() argument
177 SetBrowsedPlayer(const std::string &addr, uint16_t playerId, uint16_t uidCounter, uint8_t label) SetBrowsedPlayer() argument
186 GetCapabilities(const std::string &addr, uint8_t label) GetCapabilities() argument
196 GetPlayerAppSettingAttributes(const std::string &addr, uint8_t label) GetPlayerAppSettingAttributes() argument
201 GetPlayerAppSettingValues(const std::string &addr, uint8_t attribute, uint8_t label) GetPlayerAppSettingValues() argument
206 GetPlayerAppSettingCurrentValue( const std::string &addr, const std::deque<uint8_t> &attributes, uint8_t label, uint8_t context) GetPlayerAppSettingCurrentValue() argument
212 SetPlayerAppSettingCurrentValue(const std::string &addr, const std::deque<uint8_t> &attributes, const std::deque<uint8_t> &values, uint8_t label) SetPlayerAppSettingCurrentValue() argument
218 GetPlayerAppSettingAttributeText( const std::string &addr, const std::vector<uint8_t> &attributes, uint8_t label) GetPlayerAppSettingAttributeText() argument
224 GetPlayerAppSettingValueText( const std::string &addr, uint8_t attribute, const std::vector<uint8_t> &values, uint8_t label) GetPlayerAppSettingValueText() argument
234 GetElementAttributes( const std::string &addr, uint64_t identifier, const std::vector<uint32_t> &attributes, uint8_t label) GetElementAttributes() argument
244 GetPlayStatus(const std::string &addr, uint8_t label, uint8_t context) GetPlayStatus() argument
249 PlayItem(const std::string &addr, uint8_t scope, uint64_t uid, uint16_t uidCounter, uint8_t label) PlayItem() argument
254 AddToNowPlaying(const std::string &addr, uint8_t scope, uint64_t uid, uint16_t uidCounter, uint8_t label) AddToNowPlaying() argument
263 ChangePath(const std::string &addr, uint16_t uidCounter, uint8_t direction, uint64_t folderUid, uint8_t label) ChangePath() argument
268 GetFolderItems(const std::string &addr, uint8_t scope, uint32_t startItem, uint32_t endItem, const std::vector<uint32_t> &attributes, uint8_t label) GetFolderItems() argument
274 GetItemAttributes(const std::string &addr, uint8_t scope, uint64_t uid, uint16_t uidCounter, const std::vector<uint32_t> &attributes, uint8_t label) GetItemAttributes() argument
280 GetTotalNumberOfItems(const std::string &addr, uint8_t scope, uint8_t label) GetTotalNumberOfItems() argument
289 SetAbsoluteVolume(const std::string &addr, uint8_t volume, uint8_t label) SetAbsoluteVolume() argument
294 GetSelectedTrack(const std::string addr, uint8_t label) GetSelectedTrack() argument
299 GetAddressedPlayer(const std::string &addr, uint8_t label) GetAddressedPlayer() argument
304 GetUidCounter(const std::string &addr, uint8_t label) GetUidCounter() argument
309 GetCurrentAbsoluteVolume(const std::string &addr, uint8_t label) GetCurrentAbsoluteVolume() argument
314 SetPlaybackInterval(const std::string &addr, uint32_t interval) SetPlaybackInterval() argument
[all...]

Completed in 17 milliseconds

12345678910>>...67