Searched refs:PTR_ALIGN (Results 1 – 14 of 14) sorted by relevance
/freebsd/sys/compat/linuxkpi/common/include/linux/ |
H A D | kernel.h | 125 #undef PTR_ALIGN 126 #define PTR_ALIGN(p, a) ((__typeof(p))ALIGN((uintptr_t)(p), (a))) macro
|
/freebsd/sys/contrib/dev/athk/ath12k/ |
H A D | dbring.c | 30 ptr_aligned = PTR_ALIGN(ptr_unaligned, ring->buf_align); in ath12k_dbring_bufs_replenish() 318 handler_data.data = PTR_ALIGN(vaddr_unalign, in ath12k_dbring_buffer_release_event()
|
H A D | dp_mon.c | 1222 ptr = PTR_ALIGN(ptr, HAL_TLV_ALIGN); in ath12k_dp_mon_parse_rx_dest() 1285 PTR_ALIGN(skb->data, DP_RX_BUFFER_ALIGN_SIZE) - in ath12k_dp_mon_buf_replenish() 1428 skb_pull(skb, PTR_ALIGN(skb->data, 4) - skb->data); in ath12k_dp_mon_tx_alloc_skb() 2048 ptr = PTR_ALIGN(ptr, HAL_TLV_ALIGN); in ath12k_dp_mon_tx_parse_mon_status()
|
H A D | dp.c | 239 ring->vaddr = PTR_ALIGN(ring->vaddr_unaligned, HAL_RING_BASE_ALIGN); in ath12k_dp_srng_setup() 716 desc_bank[i].vaddr = PTR_ALIGN(desc_bank[i].vaddr_unaligned, in ath12k_dp_link_desc_bank_alloc()
|
H A D | ce.c | 571 PTR_ALIGN(ce_ring->base_addr_owner_space_unaligned, in ath12k_ce_alloc_ring()
|
H A D | dp_rx.c | 300 PTR_ALIGN(skb->data, DP_RX_BUFFER_ALIGN_SIZE) - in ath12k_dp_rx_bufs_replenish() 1014 addr_aligned = PTR_ALIGN(vaddr, HAL_LINK_DESC_ALIGN); in ath12k_dp_rx_peer_tid_setup()
|
/freebsd/sys/contrib/dev/athk/ath11k/ |
H A D | dbring.c | 58 ptr_aligned = PTR_ALIGN(ptr_unaligned, ring->buf_align); in ath11k_dbring_bufs_replenish() 358 handler_data.data = PTR_ALIGN(vaddr_unalign, in ath11k_dbring_buffer_release_event()
|
H A D | dp.c | 267 ring->vaddr = PTR_ALIGN(ring->vaddr_unaligned, HAL_RING_BASE_ALIGN); in ath11k_dp_srng_setup() 626 desc_bank[i].vaddr = PTR_ALIGN(desc_bank[i].vaddr_unaligned, in ath11k_dp_link_desc_bank_alloc()
|
H A D | ce.c | 640 ce_ring->base_addr_owner_space = PTR_ALIGN( in ath11k_ce_alloc_ring()
|
H A D | hal_rx.c | 1530 ptr = PTR_ALIGN(ptr, HAL_TLV_ALIGN); in ath11k_hal_rx_parse_mon_status()
|
H A D | dp_rx.c | 381 PTR_ALIGN(skb->data, DP_RX_BUFFER_ALIGN_SIZE) - in ath11k_dp_rxbufs_replenish() 1058 addr_aligned = PTR_ALIGN(vaddr, HAL_LINK_DESC_ALIGN); in ath11k_peer_rx_tid_setup() 2903 skb_pull(skb, PTR_ALIGN(skb->data, DP_RX_BUFFER_ALIGN_SIZE) - in ath11k_dp_rx_alloc_mon_status_buf()
|
/freebsd/sys/contrib/dev/athk/ath10k/ |
H A D | ce.c | 1445 PTR_ALIGN(src_ring->shadow_base_unaligned, in ath10k_ce_alloc_shadow_base() 1486 PTR_ALIGN(src_ring->base_addr_owner_space_unaligned, in ath10k_ce_alloc_src_ring() 1543 PTR_ALIGN(src_ring->base_addr_owner_space_unaligned, in ath10k_ce_alloc_src_ring_64() 1600 PTR_ALIGN(dest_ring->base_addr_owner_space_unaligned, in ath10k_ce_alloc_dest_ring() 1646 PTR_ALIGN(dest_ring->base_addr_owner_space_unaligned, in ath10k_ce_alloc_dest_ring_64()
|
H A D | htt_rx.c | 166 PTR_ALIGN(skb->data, HTT_RX_DESC_ALIGN) - in __ath10k_htt_rx_ring_fill_n()
|
/freebsd/sys/dev/mlx5/mlx5_ib/ |
H A D | mlx5_ib_mr.c | 563 pas = PTR_ALIGN(*mr_pas, MLX5_UMR_ALIGN); in dma_map_mr_pas() 1234 mr->descs = PTR_ALIGN(mr->descs_alloc, MLX5_UMR_ALIGN); in mlx5_alloc_priv_descs()
|