Home
last modified time | relevance | path

Searched refs:SIZE_PTR (Results 1 – 11 of 11) sorted by relevance

/openbmc/linux/drivers/staging/rtl8723bs/os_dep/
H A Dxmit_linux.c13 return (pfile->buf_len - ((SIZE_PTR)(pfile->cur_addr) - (SIZE_PTR)(pfile->buf_start))); in rtw_remainder_len()
54 pxmitbuf->pbuf = (u8 *)N_BYTE_ALIGMENT((SIZE_PTR)(pxmitbuf->pallocated_buf), XMITBUF_ALIGN_SZ); in rtw_os_xmit_resource_alloc()
/openbmc/linux/drivers/staging/rtl8723bs/hal/
H A Drtl8723bs_recv.c304 …skb_reserve(pkt_copy, 8 - ((SIZE_PTR)(pkt_copy->data) & 7));/* force pkt_copy->data at 8-byte alig… in rtl8723bs_recv_tasklet()
392 precvpriv->precv_buf = (u8 *)N_BYTE_ALIGMENT((SIZE_PTR)(precvpriv->pallocated_recv_buf), 4); in rtl8723bs_init_recv_priv()
400 SIZE_PTR tmpaddr = 0; in rtl8723bs_init_recv_priv()
401 SIZE_PTR alignment = 0; in rtl8723bs_init_recv_priv()
408 tmpaddr = (SIZE_PTR)precvbuf->pskb->data; in rtl8723bs_init_recv_priv()
H A Dsdio_ops.c810 SIZE_PTR tmpaddr = 0; in sd_recv_rxfifo()
811 SIZE_PTR alignment = 0; in sd_recv_rxfifo()
819 tmpaddr = (SIZE_PTR)recvbuf->pskb->data; in sd_recv_rxfifo()
/openbmc/linux/drivers/staging/rtl8723bs/include/
H A Dbasic_types.h18 #define SIZE_PTR __kernel_size_t macro
H A Drtw_recv.h469 return (union recv_frame *)(((SIZE_PTR)rxmem >> RXFRAME_ALIGN) << RXFRAME_ALIGN); in rxmem_to_recvframe()
/openbmc/linux/drivers/staging/rtl8723bs/core/
H A Drtw_xmit.c80 pxmitpriv->pxmit_frame_buf = (u8 *)N_BYTE_ALIGMENT((SIZE_PTR)(pxmitpriv->pallocated_frame_buf), 4); in _rtw_init_xmit_priv()
118 pxmitpriv->pxmitbuf = (u8 *)N_BYTE_ALIGMENT((SIZE_PTR)(pxmitpriv->pallocated_xmitbuf), 4); in _rtw_init_xmit_priv()
167 pxmitpriv->xframe_ext = (u8 *)N_BYTE_ALIGMENT((SIZE_PTR)(pxmitpriv->xframe_ext_alloc_addr), 4); in _rtw_init_xmit_priv()
201 pxmitpriv->pxmit_extbuf = (u8 *)N_BYTE_ALIGMENT((SIZE_PTR)(pxmitpriv->pallocated_xmit_extbuf), 4); in _rtw_init_xmit_priv()
813 payload = (u8 *)round_up((SIZE_PTR)(payload), 4); in xmitframe_addmic()
1027 SIZE_PTR addr; in rtw_xmitframe_coalesce()
1117 addr = (SIZE_PTR)(pframe); in rtw_xmitframe_coalesce()
1666 pxframe = (struct xmit_frame *)N_BYTE_ALIGMENT((SIZE_PTR)(alloc_addr), 4); in rtw_alloc_xmitframe_once()
H A Drtw_security.c88 pframe = (u8 *)round_up((SIZE_PTR)(pframe), 4); in rtw_wep_encrypt()
524 pframe = (u8 *)round_up((SIZE_PTR)(pframe), 4); in rtw_tkip_encrypt()
1069 pframe = (u8 *)round_up((SIZE_PTR)(pframe), 4); in rtw_aes_encrypt()
H A Drtw_sta_mgt.c64 ((SIZE_PTR)(pstapriv->pallocated_stainfo_buf) & 3); in _rtw_init_sta_priv()
H A Drtw_cmd.c179 …pcmdpriv->cmd_buf = pcmdpriv->cmd_allocated_buf + CMDBUFF_ALIGN_SZ - ((SIZE_PTR)(pcmdpriv->cmd_a… in rtw_init_cmd_priv()
188 …pcmdpriv->rsp_buf = pcmdpriv->rsp_allocated_buf + 4 - ((SIZE_PTR)(pcmdpriv->rsp_allocated_buf) &… in rtw_init_cmd_priv()
H A Drtw_mlme_ext.c718 algorithm = le16_to_cpu(*(__le16 *)((SIZE_PTR)pframe + WLAN_HDR_A3_LEN + offset)); in OnAuth()
719 seq = le16_to_cpu(*(__le16 *)((SIZE_PTR)pframe + WLAN_HDR_A3_LEN + offset + 2)); in OnAuth()
878 seq = le16_to_cpu(*(__le16 *)((SIZE_PTR)pframe + WLAN_HDR_A3_LEN + offset + 2)); in OnAuthClient()
879 status = le16_to_cpu(*(__le16 *)((SIZE_PTR)pframe + WLAN_HDR_A3_LEN + offset + 4)); in OnAuthClient()
H A Drtw_recv.c58 …precvpriv->precv_frame_buf = (u8 *)N_BYTE_ALIGMENT((SIZE_PTR)(precvpriv->pallocated_frame_buf), RX… in _rtw_init_recv_priv()