Home
last modified time | relevance | path

Searched refs:PTR_ALIGN (Results 1 – 17 of 17) sorted by relevance

/freebsd/sys/compat/linuxkpi/common/include/linux/
H A Dkernel.h129 #undef PTR_ALIGN
130 #define PTR_ALIGN(p, a) ((__typeof(p))ALIGN((uintptr_t)(p), (a))) macro
/freebsd/sys/contrib/dev/athk/ath12k/
H A Ddbring.c31 ptr_aligned = PTR_ALIGN(ptr_unaligned, ring->buf_align); in ath12k_dbring_bufs_replenish()
319 handler_data.data = PTR_ALIGN(vaddr_unalign, in ath12k_dbring_buffer_release_event()
H A Ddp_mon.c54 skb_pull(skb, PTR_ALIGN(skb->data, RX_MON_STATUS_BUF_ALIGN) - in ath12k_dp_rx_alloc_mon_status_buf()
678 PTR_ALIGN(skb->data, DP_RX_BUFFER_ALIGN_SIZE) - in ath12k_dp_mon_buf_replenish()
768 PTR_ALIGN(skb->data, RX_MON_STATUS_BUF_ALIGN) - in ath12k_dp_mon_status_bufs_replenish()
H A Ddp.c257 ring->vaddr = PTR_ALIGN(ring->vaddr_unaligned, HAL_RING_BASE_ALIGN); in ath12k_dp_srng_setup()
687 desc_bank[i].vaddr = PTR_ALIGN(desc_bank[i].vaddr_unaligned, in ath12k_dp_link_desc_bank_alloc()
1436 lut->vaddr = PTR_ALIGN(lut->vaddr_unaligned, HAL_REO_QLUT_ADDR_ALIGN); in ath12k_dp_alloc_reoq_lut()
H A Dce.c357 PTR_ALIGN(ce_ring->base_addr_owner_space_unaligned, in ath12k_ce_alloc_ring()
H A Ddp_rx.c120 PTR_ALIGN(skb->data, DP_RX_BUFFER_ALIGN_SIZE) - in ath12k_dp_rx_bufs_replenish()
/freebsd/sys/contrib/dev/athk/ath11k/
H A Ddbring.c59 ptr_aligned = PTR_ALIGN(ptr_unaligned, ring->buf_align); in ath11k_dbring_bufs_replenish()
382 handler_data.data = PTR_ALIGN(vaddr_unalign, in ath11k_dbring_buffer_release_event()
H A Ddp.c270 ring->vaddr = PTR_ALIGN(ring->vaddr_unaligned, HAL_RING_BASE_ALIGN); in ath11k_dp_srng_setup()
629 desc_bank[i].vaddr = PTR_ALIGN(desc_bank[i].vaddr_unaligned, in ath11k_dp_link_desc_bank_alloc()
H A Dce.c639 ce_ring->base_addr_owner_space = PTR_ALIGN( in ath11k_ce_alloc_ring()
H A Dhal_rx.c1530 ptr = PTR_ALIGN(ptr, HAL_TLV_ALIGN); in ath11k_hal_rx_parse_mon_status()
H A Ddp_rx.c382 PTR_ALIGN(skb->data, DP_RX_BUFFER_ALIGN_SIZE) - in ath11k_dp_rxbufs_replenish()
1062 vaddr = PTR_ALIGN(vaddr_unaligned, HAL_LINK_DESC_ALIGN); in ath11k_peer_rx_tid_setup()
2894 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 Dce.c1448 PTR_ALIGN(src_ring->shadow_base_unaligned, in ath10k_ce_alloc_shadow_base()
1488 PTR_ALIGN(src_ring->base_addr_owner_space_unaligned, in ath10k_ce_alloc_src_ring()
1544 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()
1645 PTR_ALIGN(dest_ring->base_addr_owner_space_unaligned, in ath10k_ce_alloc_dest_ring_64()
H A Dhtt_rx.c170 PTR_ALIGN(skb->data, HTT_RX_DESC_ALIGN) - in __ath10k_htt_rx_ring_fill_n()
/freebsd/sys/dev/mlx5/mlx5_ib/
H A Dmlx5_ib_mr.c563 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()
/freebsd/sys/contrib/dev/athk/ath12k/wifi7/
H A Ddp_mon.c1921 skb_pull(skb, PTR_ALIGN(skb->data, 4) - skb->data); in ath12k_wifi7_dp_mon_tx_alloc_skb()
2556 ptr = PTR_ALIGN(ptr, HAL_TLV_ALIGN); in ath12k_wifi7_dp_mon_tx_parse_mon_status()
2962 ptr = PTR_ALIGN(ptr, HAL_TLV_64_ALIGN); in ath12k_wifi7_dp_mon_parse_rx_dest()
H A Ddp_rx.c279 vaddr_aligned = PTR_ALIGN(vaddr, HAL_LINK_DESC_ALIGN); in ath12k_wifi7_dp_rx_assign_reoq()
/freebsd/sys/contrib/dev/iwlwifi/pcie/gen1_2/
H A Dtx.c1893 sgt = (void *)PTR_ALIGN(*hdr + hdr_room, __alignof__(struct sg_table)); in iwl_pcie_prep_tso()