| /hal_nxp-latest/mcux/mcux-sdk/CMSIS/Include/ |
| D | cmsis_armcc.h | 582 …#define __LDREXB(ptr) ((uint8_t ) __ldrex(p… argument 584 …#define __LDREXB(ptr) _Pragma("push") _Pragma("diag_suppress 3731") ((uint8_t ) __ldrex(p… argument 595 …#define __LDREXH(ptr) ((uint16_t) __ldrex(p… argument 597 …#define __LDREXH(ptr) _Pragma("push") _Pragma("diag_suppress 3731") ((uint16_t) __ldrex(p… argument 608 …#define __LDREXW(ptr) ((uint32_t ) __ldrex(… argument 610 …#define __LDREXW(ptr) _Pragma("push") _Pragma("diag_suppress 3731") ((uint32_t ) __ldrex(… argument 623 #define __STREXB(value, ptr) __strex(value, ptr) argument 625 …#define __STREXB(value, ptr) _Pragma("push") _Pragma("diag_suppress 3731") __strex(value, ptr) … argument 638 #define __STREXH(value, ptr) __strex(value, ptr) argument 640 …#define __STREXH(value, ptr) _Pragma("push") _Pragma("diag_suppress 3731") __strex(value, ptr) … argument [all …]
|
| D | cmsis_iccarm.h | 181 __IAR_FT uint16_t __iar_uint16_read(void const *ptr) in __iar_uint16_read() argument 183 return *(__packed uint16_t*)(ptr); in __iar_uint16_read() 193 __IAR_FT void __iar_uint16_write(void const *ptr, uint16_t val) in __iar_uint16_write() argument 195 *(__packed uint16_t*)(ptr) = val;; in __iar_uint16_write() 204 __IAR_FT uint32_t __iar_uint32_read(void const *ptr) in __iar_uint32_read() argument 206 return *(__packed uint32_t*)(ptr); in __iar_uint32_read() 215 __IAR_FT void __iar_uint32_write(void const *ptr, uint32_t val) in __iar_uint32_write() argument 217 *(__packed uint32_t*)(ptr) = val;; in __iar_uint32_write() 581 __IAR_FT uint32_t __LDREXW(uint32_t volatile *ptr) in __LDREXW() argument 583 return __LDREX((unsigned long *)ptr); in __LDREXW() [all …]
|
| D | cmsis_armclang.h | 1078 __STATIC_FORCEINLINE uint8_t __LDRBT(volatile uint8_t *ptr) in __LDRBT() argument 1082 __ASM volatile ("ldrbt %0, %1" : "=r" (result) : "Q" (*ptr) ); in __LDRBT() 1093 __STATIC_FORCEINLINE uint16_t __LDRHT(volatile uint16_t *ptr) in __LDRHT() argument 1097 __ASM volatile ("ldrht %0, %1" : "=r" (result) : "Q" (*ptr) ); in __LDRHT() 1108 __STATIC_FORCEINLINE uint32_t __LDRT(volatile uint32_t *ptr) in __LDRT() argument 1112 __ASM volatile ("ldrt %0, %1" : "=r" (result) : "Q" (*ptr) ); in __LDRT() 1123 __STATIC_FORCEINLINE void __STRBT(uint8_t value, volatile uint8_t *ptr) in __STRBT() argument 1125 __ASM volatile ("strbt %1, %0" : "=Q" (*ptr) : "r" ((uint32_t)value) ); in __STRBT() 1135 __STATIC_FORCEINLINE void __STRHT(uint16_t value, volatile uint16_t *ptr) in __STRHT() argument 1137 __ASM volatile ("strht %1, %0" : "=Q" (*ptr) : "r" ((uint32_t)value) ); in __STRHT() [all …]
|
| D | cmsis_gcc.h | 1283 __STATIC_FORCEINLINE uint8_t __LDRBT(volatile uint8_t *ptr) in __LDRBT() argument 1288 __ASM volatile ("ldrbt %0, %1" : "=r" (result) : "Q" (*ptr) ); in __LDRBT() 1293 __ASM volatile ("ldrbt %0, [%1]" : "=r" (result) : "r" (ptr) : "memory" ); in __LDRBT() 1305 __STATIC_FORCEINLINE uint16_t __LDRHT(volatile uint16_t *ptr) in __LDRHT() argument 1310 __ASM volatile ("ldrht %0, %1" : "=r" (result) : "Q" (*ptr) ); in __LDRHT() 1315 __ASM volatile ("ldrht %0, [%1]" : "=r" (result) : "r" (ptr) : "memory" ); in __LDRHT() 1327 __STATIC_FORCEINLINE uint32_t __LDRT(volatile uint32_t *ptr) in __LDRT() argument 1331 __ASM volatile ("ldrt %0, %1" : "=r" (result) : "Q" (*ptr) ); in __LDRT() 1342 __STATIC_FORCEINLINE void __STRBT(uint8_t value, volatile uint8_t *ptr) in __STRBT() argument 1344 __ASM volatile ("strbt %1, %0" : "=Q" (*ptr) : "r" ((uint32_t)value) ); in __STRBT() [all …]
|
| D | cmsis_armclang_ltm.h | 1077 __STATIC_FORCEINLINE uint8_t __LDRBT(volatile uint8_t *ptr) in __LDRBT() argument 1081 __ASM volatile ("ldrbt %0, %1" : "=r" (result) : "Q" (*ptr) ); in __LDRBT() 1092 __STATIC_FORCEINLINE uint16_t __LDRHT(volatile uint16_t *ptr) in __LDRHT() argument 1096 __ASM volatile ("ldrht %0, %1" : "=r" (result) : "Q" (*ptr) ); in __LDRHT() 1107 __STATIC_FORCEINLINE uint32_t __LDRT(volatile uint32_t *ptr) in __LDRT() argument 1111 __ASM volatile ("ldrt %0, %1" : "=r" (result) : "Q" (*ptr) ); in __LDRT() 1122 __STATIC_FORCEINLINE void __STRBT(uint8_t value, volatile uint8_t *ptr) in __STRBT() argument 1124 __ASM volatile ("strbt %1, %0" : "=Q" (*ptr) : "r" ((uint32_t)value) ); in __STRBT() 1134 __STATIC_FORCEINLINE void __STRHT(uint16_t value, volatile uint16_t *ptr) in __STRHT() argument 1136 __ASM volatile ("strht %1, %0" : "=Q" (*ptr) : "r" ((uint32_t)value) ); in __STRHT() [all …]
|
| /hal_nxp-latest/mcux/middleware/wifi_nxp/wifidriver/ |
| D | mlan_join.c | 131 t_u8 *ptr = rate1; in wlan_get_common_rates() local 168 HEXDUMP("Common Rates", ptr, rate1 - ptr); in wlan_get_common_rates() 173 while (*ptr != 0U) in wlan_get_common_rates() 175 if ((*ptr & 0x7fU) == pmpriv->data_rate) in wlan_get_common_rates() 180 ptr++; in wlan_get_common_rates() 313 t_u8 *ptr; local 376 ptr = ptlv_rsn_ie->rsn_ie + sizeof(t_u16) + 4 * sizeof(t_u8); 378 pairwise_cipher_count_ptr = ptr; 379 pairwise_cipher_count = wlan_le16_to_cpu(*(t_u16 *)ptr); 380 ptr += sizeof(t_u16); [all …]
|
| D | wifi-mem.c | 35 void *ptr = OSA_MemoryAllocate(size); in wifi_malloc_eventbuf() local 37 if (ptr != NULL) in wifi_malloc_eventbuf() 39 w_mem_d("[evtbuf] Alloc: A: %p S: %d", ptr, size); in wifi_malloc_eventbuf() 46 void *ptr = OSA_MemoryPoolAllocate(buf_2048_MemoryPool); in wifi_malloc_eventbuf() 49 return ptr; in wifi_malloc_eventbuf()
|
| /hal_nxp-latest/mcux/mcux-sdk/CMSIS/Core/Include/ |
| D | cmsis_armcc.h | 298 …#define __LDREXB(ptr) ((uint8_t ) __ldrex(p… argument 300 …#define __LDREXB(ptr) _Pragma("push") _Pragma("diag_suppress 3731") ((uint8_t ) __ldrex(p… argument 311 …#define __LDREXH(ptr) ((uint16_t) __ldrex(p… argument 313 …#define __LDREXH(ptr) _Pragma("push") _Pragma("diag_suppress 3731") ((uint16_t) __ldrex(p… argument 324 …#define __LDREXW(ptr) ((uint32_t ) __ldrex(… argument 326 …#define __LDREXW(ptr) _Pragma("push") _Pragma("diag_suppress 3731") ((uint32_t ) __ldrex(… argument 339 #define __STREXB(value, ptr) __strex(value, ptr) argument 341 …#define __STREXB(value, ptr) _Pragma("push") _Pragma("diag_suppress 3731") __strex(value, ptr) … argument 354 #define __STREXH(value, ptr) __strex(value, ptr) argument 356 …#define __STREXH(value, ptr) _Pragma("push") _Pragma("diag_suppress 3731") __strex(value, ptr) … argument [all …]
|
| D | cmsis_iccarm.h | 183 __IAR_FT uint16_t __iar_uint16_read(void const *ptr) in __iar_uint16_read() argument 185 return *(__packed uint16_t*)(ptr); in __iar_uint16_read() 195 __IAR_FT void __iar_uint16_write(void const *ptr, uint16_t val) in __iar_uint16_write() argument 197 *(__packed uint16_t*)(ptr) = val;; in __iar_uint16_write() 206 __IAR_FT uint32_t __iar_uint32_read(void const *ptr) in __iar_uint32_read() argument 208 return *(__packed uint32_t*)(ptr); in __iar_uint32_read() 217 __IAR_FT void __iar_uint32_write(void const *ptr, uint32_t val) in __iar_uint32_write() argument 219 *(__packed uint32_t*)(ptr) = val;; in __iar_uint32_write() 614 __IAR_FT uint32_t __LDREXW(uint32_t volatile *ptr) in __LDREXW() argument 616 return __LDREX((unsigned long *)ptr); in __LDREXW() [all …]
|
| D | cmsis_armclang.h | 440 __STATIC_FORCEINLINE uint8_t __LDRBT(volatile uint8_t *ptr) in __LDRBT() argument 444 __ASM volatile ("ldrbt %0, %1" : "=r" (result) : "Q" (*ptr) ); in __LDRBT() 455 __STATIC_FORCEINLINE uint16_t __LDRHT(volatile uint16_t *ptr) in __LDRHT() argument 459 __ASM volatile ("ldrht %0, %1" : "=r" (result) : "Q" (*ptr) ); in __LDRHT() 470 __STATIC_FORCEINLINE uint32_t __LDRT(volatile uint32_t *ptr) in __LDRT() argument 474 __ASM volatile ("ldrt %0, %1" : "=r" (result) : "Q" (*ptr) ); in __LDRT() 485 __STATIC_FORCEINLINE void __STRBT(uint8_t value, volatile uint8_t *ptr) in __STRBT() argument 487 __ASM volatile ("strbt %1, %0" : "=Q" (*ptr) : "r" ((uint32_t)value) ); in __STRBT() 497 __STATIC_FORCEINLINE void __STRHT(uint16_t value, volatile uint16_t *ptr) in __STRHT() argument 499 __ASM volatile ("strht %1, %0" : "=Q" (*ptr) : "r" ((uint32_t)value) ); in __STRHT() [all …]
|
| D | cmsis_gcc.h | 608 __STATIC_FORCEINLINE uint8_t __LDRBT(volatile uint8_t *ptr) in __LDRBT() argument 613 __ASM volatile ("ldrbt %0, %1" : "=r" (result) : "Q" (*ptr) ); in __LDRBT() 618 __ASM volatile ("ldrbt %0, [%1]" : "=r" (result) : "r" (ptr) : "memory" ); in __LDRBT() 630 __STATIC_FORCEINLINE uint16_t __LDRHT(volatile uint16_t *ptr) in __LDRHT() argument 635 __ASM volatile ("ldrht %0, %1" : "=r" (result) : "Q" (*ptr) ); in __LDRHT() 640 __ASM volatile ("ldrht %0, [%1]" : "=r" (result) : "r" (ptr) : "memory" ); in __LDRHT() 652 __STATIC_FORCEINLINE uint32_t __LDRT(volatile uint32_t *ptr) in __LDRT() argument 656 __ASM volatile ("ldrt %0, %1" : "=r" (result) : "Q" (*ptr) ); in __LDRT() 667 __STATIC_FORCEINLINE void __STRBT(uint8_t value, volatile uint8_t *ptr) in __STRBT() argument 669 __ASM volatile ("strbt %1, %0" : "=Q" (*ptr) : "r" ((uint32_t)value) ); in __STRBT() [all …]
|
| D | cmsis_armclang_ltm.h | 434 __STATIC_FORCEINLINE uint8_t __LDRBT(volatile uint8_t *ptr) in __LDRBT() argument 438 __ASM volatile ("ldrbt %0, %1" : "=r" (result) : "Q" (*ptr) ); in __LDRBT() 449 __STATIC_FORCEINLINE uint16_t __LDRHT(volatile uint16_t *ptr) in __LDRHT() argument 453 __ASM volatile ("ldrht %0, %1" : "=r" (result) : "Q" (*ptr) ); in __LDRHT() 464 __STATIC_FORCEINLINE uint32_t __LDRT(volatile uint32_t *ptr) in __LDRT() argument 468 __ASM volatile ("ldrt %0, %1" : "=r" (result) : "Q" (*ptr) ); in __LDRT() 479 __STATIC_FORCEINLINE void __STRBT(uint8_t value, volatile uint8_t *ptr) in __STRBT() argument 481 __ASM volatile ("strbt %1, %0" : "=Q" (*ptr) : "r" ((uint32_t)value) ); in __STRBT() 491 __STATIC_FORCEINLINE void __STRHT(uint16_t value, volatile uint16_t *ptr) in __STRHT() argument 493 __ASM volatile ("strht %1, %0" : "=Q" (*ptr) : "r" ((uint32_t)value) ); in __STRHT() [all …]
|
| /hal_nxp-latest/mcux/middleware/mcux-secure-subsystem/src/sscp/ |
| D | fsl_sscp_mu.c | 99 … msg[wrIdx++] = (uint32_t)((sss_sscp_session_t *)(op->params[i].context.ptr))->ctx; in prepareMessage() 102 … msg[wrIdx++] = (uint32_t)((sss_sscp_symmetric_t *)(op->params[i].context.ptr))->ctx; in prepareMessage() 105 … msg[wrIdx++] = (uint32_t)((sss_sscp_aead_t *)(op->params[i].context.ptr))->ctx; in prepareMessage() 108 … msg[wrIdx++] = (uint32_t)((sss_sscp_digest_t *)op->params[i].context.ptr)->ctx; in prepareMessage() 111 … msg[wrIdx++] = (uint32_t)((sss_sscp_asymmetric_t *)op->params[i].context.ptr)->ctx; in prepareMessage() 114 … msg[wrIdx++] = (uint32_t)((sss_sscp_object_t *)op->params[i].context.ptr)->ctx; in prepareMessage() 117 … msg[wrIdx++] = (uint32_t)((sss_sscp_key_store_t *)op->params[i].context.ptr)->ctx; in prepareMessage() 120 … msg[wrIdx++] = (uint32_t)((sss_sscp_derive_key_t *)op->params[i].context.ptr)->ctx; in prepareMessage() 123 msg[wrIdx++] = (uint32_t)((sss_mgmt_t *)op->params[i].context.ptr)->ctx; in prepareMessage() 126 … msg[wrIdx++] = (uint32_t)((sss_sscp_rng_t *)op->params[i].context.ptr)->rngTypeSpecifier; in prepareMessage() [all …]
|
| D | fsl_sss_sscp.c | 40 op.result[0].context.ptr = session; in sss_sscp_open_session() 62 op.params[0].context.ptr = session; in sss_sscp_close_session() 98 op.params[0].context.ptr = session; in sss_sscp_symmetric_context_init() 101 op.params[1].context.ptr = keyObject; in sss_sscp_symmetric_context_init() 109 op.result[0].context.ptr = context; in sss_sscp_symmetric_context_init() 134 op.params[0].context.ptr = context; in sss_sscp_cipher_one_go() 167 op.params[0].context.ptr = context; in sss_sscp_cipher_init() 195 op.params[0].context.ptr = context; in sss_sscp_cipher_update() 235 op.params[0].context.ptr = context; in sss_sscp_cipher_finish() 286 op.params[0].context.ptr = context; in sss_sscp_cipher_crypt_ctr() [all …]
|
| /hal_nxp-latest/mcux/middleware/wifi_nxp/port/osa/ |
| D | mem_pool.c | 79 unsigned char *ptr; in OSA_MemoryPoolCreate() local 103 ptr = (unsigned char *)PreallocatedMemory; in OSA_MemoryPoolCreate() 107 Node = (SlNode_t *)ptr; in OSA_MemoryPoolCreate() 110 ptr += MemPool->ItemSize; in OSA_MemoryPoolCreate() 122 unsigned char *ptr; in OSA_MemoryPoolAllocate() local 139 ptr = ((unsigned char *)Node) + MemPool->Alignment; in OSA_MemoryPoolAllocate() 141 return (void *)ptr; in OSA_MemoryPoolAllocate() 149 unsigned char *ptr; in OSA_MemoryPoolFree() local 154 ptr = ((unsigned char *)memory) - MemPool->Alignment; in OSA_MemoryPoolFree() 156 Node = (SlNode_t *)ptr; in OSA_MemoryPoolFree()
|
| /hal_nxp-latest/mcux/mcux-sdk/components/video/display/it6161/ |
| D | hdmi_tx.c | 769 uint8_t *ptr = buffer; in HDMI_InfoframeChecksum() local 775 csum += ptr[i]; in HDMI_InfoframeChecksum() 782 uint8_t *ptr = buffer; in HDMI_InfoframeSetChecksum() local 784 ptr[3] = HDMI_InfoframeChecksum(buffer, size); in HDMI_InfoframeSetChecksum() 790 uint8_t *ptr = buffer; in HDMI_AviInfoframePack() local 805 ptr[0] = (uint8_t)frame->type; in HDMI_AviInfoframePack() 806 ptr[1] = frame->version; in HDMI_AviInfoframePack() 807 ptr[2] = frame->length; in HDMI_AviInfoframePack() 808 ptr[3] = 0; /* checksum */ in HDMI_AviInfoframePack() 811 ptr += HDMI_INFOFRAME_HEADER_SIZE; in HDMI_AviInfoframePack() [all …]
|
| /hal_nxp-latest/mcux/middleware/wifi_nxp/wifidriver/incl/ |
| D | mlan_11n.h | 146 is_station_ampdu_allowed(mlan_private * priv, raListTbl * ptr, int tid) 149 if ((sta_ptr = wlan_get_station_entry(priv, ptr->ra))) { 193 wlan_is_ampdu_allowed(mlan_private * priv, raListTbl * ptr, int tid) 197 return is_station_ampdu_allowed(priv, ptr, tid); 217 static int wlan_is_amsdu_in_ampdu_allowed(mlan_private *priv, raListTbl *ptr, int tid) in wlan_is_amsdu_in_ampdu_allowed() argument 221 ptx_tbl = wlan_11n_get_txbastream_tbl(priv, ptr->ra); in wlan_is_amsdu_in_ampdu_allowed() 243 wlan_is_amsdu_allowed(mlan_private * priv, raListTbl * ptr, int tid) 248 if ((sta_ptr = wlan_get_station_entry(priv, ptr->ra))) { 296 static int wlan_is_bastream_setup(mlan_private *priv, raListTbl *ptr, int tid) in wlan_is_bastream_setup() argument 301 ptx_tbl = wlan_11n_get_txbastream_tbl(priv, ptr->ra); in wlan_is_bastream_setup()
|
| /hal_nxp-latest/mcux/mcux-sdk/components/rtt/Syscalls/ |
| D | SEGGER_RTT_Syscalls_GCC.c | 89 _ssize_t _write(int file, const void *ptr, size_t len); 90 _ssize_t _write_r(struct _reent *r, int file, const void *ptr, size_t len); 109 _ssize_t _write(int file, const void *ptr, size_t len) in _write() argument 112 SEGGER_RTT_Write(0, ptr, len); in _write() 126 _ssize_t _write_r(struct _reent *r, int file, const void *ptr, size_t len) in _write_r() argument 130 SEGGER_RTT_Write(0, ptr, len); in _write_r()
|
| /hal_nxp-latest/mcux/mcux-sdk/components/flash/mflash/lpc54s018m/ |
| D | mflash_drv.c | 208 void *ptr = mflash_drv_phys2log(addr, len); in mflash_drv_read() local 210 if (ptr == NULL) in mflash_drv_read() 215 memcpy(buffer, ptr, len); in mflash_drv_read() 233 uint32_t mflash_drv_log2phys(void *ptr, uint32_t len) in mflash_drv_log2phys() argument 235 uint32_t log_addr = (uint32_t)ptr; in mflash_drv_log2phys()
|
| /hal_nxp-latest/mcux/mcux-sdk/components/flash/mflash/lpc54xxx/ |
| D | mflash_drv.c | 208 void *ptr = mflash_drv_phys2log(addr, len); in mflash_drv_read() local 210 if (ptr == NULL) in mflash_drv_read() 215 memcpy(buffer, ptr, len); in mflash_drv_read() 233 uint32_t mflash_drv_log2phys(void *ptr, uint32_t len) in mflash_drv_log2phys() argument 235 uint32_t log_addr = (uint32_t)ptr; in mflash_drv_log2phys()
|
| /hal_nxp-latest/mcux/mcux-sdk/devices/MIMX8UD5/drivers/upower/ |
| D | upower_soc_defs.h | 922 char *ptr; in get_apd_swt_cfg() local 923 ptr = (char*)cfg; in get_apd_swt_cfg() 924 ptr += (uint64_t)cfg->swt_board_offs; in get_apd_swt_cfg() 925 return (struct upwr_switch_board_t*)ptr; in get_apd_swt_cfg() 932 char *ptr; in get_apd_mem_cfg() local 933 ptr = (char*)cfg; in get_apd_mem_cfg() 934 ptr += (uint64_t)cfg->swt_mem_offs; in get_apd_mem_cfg() 935 return (struct upwr_mem_switches_t*)ptr; in get_apd_mem_cfg()
|
| /hal_nxp-latest/mcux/mcux-sdk/devices/MIMX8UD7/drivers/upower/ |
| D | upower_soc_defs.h | 922 char *ptr; in get_apd_swt_cfg() local 923 ptr = (char*)cfg; in get_apd_swt_cfg() 924 ptr += (uint64_t)cfg->swt_board_offs; in get_apd_swt_cfg() 925 return (struct upwr_switch_board_t*)ptr; in get_apd_swt_cfg() 932 char *ptr; in get_apd_mem_cfg() local 933 ptr = (char*)cfg; in get_apd_mem_cfg() 934 ptr += (uint64_t)cfg->swt_mem_offs; in get_apd_mem_cfg() 935 return (struct upwr_mem_switches_t*)ptr; in get_apd_mem_cfg()
|
| /hal_nxp-latest/mcux/mcux-sdk/devices/MIMX8US5/drivers/upower/ |
| D | upower_soc_defs.h | 922 char *ptr; in get_apd_swt_cfg() local 923 ptr = (char*)cfg; in get_apd_swt_cfg() 924 ptr += (uint64_t)cfg->swt_board_offs; in get_apd_swt_cfg() 925 return (struct upwr_switch_board_t*)ptr; in get_apd_swt_cfg() 932 char *ptr; in get_apd_mem_cfg() local 933 ptr = (char*)cfg; in get_apd_mem_cfg() 934 ptr += (uint64_t)cfg->swt_mem_offs; in get_apd_mem_cfg() 935 return (struct upwr_mem_switches_t*)ptr; in get_apd_mem_cfg()
|
| /hal_nxp-latest/mcux/mcux-sdk/devices/MIMX8US3/drivers/upower/ |
| D | upower_soc_defs.h | 922 char *ptr; in get_apd_swt_cfg() local 923 ptr = (char*)cfg; in get_apd_swt_cfg() 924 ptr += (uint64_t)cfg->swt_board_offs; in get_apd_swt_cfg() 925 return (struct upwr_switch_board_t*)ptr; in get_apd_swt_cfg() 932 char *ptr; in get_apd_mem_cfg() local 933 ptr = (char*)cfg; in get_apd_mem_cfg() 934 ptr += (uint64_t)cfg->swt_mem_offs; in get_apd_mem_cfg() 935 return (struct upwr_mem_switches_t*)ptr; in get_apd_mem_cfg()
|
| /hal_nxp-latest/mcux/mcux-sdk/devices/MIMX8UD3/drivers/upower/ |
| D | upower_soc_defs.h | 922 char *ptr; in get_apd_swt_cfg() local 923 ptr = (char*)cfg; in get_apd_swt_cfg() 924 ptr += (uint64_t)cfg->swt_board_offs; in get_apd_swt_cfg() 925 return (struct upwr_switch_board_t*)ptr; in get_apd_swt_cfg() 932 char *ptr; in get_apd_mem_cfg() local 933 ptr = (char*)cfg; in get_apd_mem_cfg() 934 ptr += (uint64_t)cfg->swt_mem_offs; in get_apd_mem_cfg() 935 return (struct upwr_mem_switches_t*)ptr; in get_apd_mem_cfg()
|