Home
last modified time | relevance | path

Searched refs:IS_ALIGNED (Results 1 – 25 of 32) sorted by relevance

12

/freebsd/sys/dev/mana/
H A Dshm_channel.c195 if (!IS_ALIGNED(eq_addr, PAGE_SIZE) || in mana_smc_setup_hwc()
196 !IS_ALIGNED(cq_addr, PAGE_SIZE) || in mana_smc_setup_hwc()
197 !IS_ALIGNED(rq_addr, PAGE_SIZE) || in mana_smc_setup_hwc()
198 !IS_ALIGNED(sq_addr, PAGE_SIZE)) in mana_smc_setup_hwc()
H A Dgdma_util.h82 #define IS_ALIGNED(x, a) (((x) & ((__typeof(x))(a) - 1)) == 0) macro
/freebsd/sys/contrib/ncsw/inc/
H A Dncsw_ext.h184 #ifndef IS_ALIGNED
185 #define IS_ALIGNED(n,align) (!((uint32_t)(n) & (align - 1))) macro
/freebsd/sys/compat/linuxkpi/common/include/linux/
H A Dsiphash.h85 !IS_ALIGNED((unsigned long)data, SIPHASH_ALIGNMENT)) in siphash()
135 !IS_ALIGNED((unsigned long)data, HSIPHASH_ALIGNMENT)) in hsiphash()
H A Dkernel.h134 #define IS_ALIGNED(x, a) (((x) & ((__typeof(x))(a) - 1)) == 0) macro
/freebsd/sys/contrib/dev/rtw88/
H A Dsdio.c59 return IS_ALIGNED(addr, alignment) && in rtw_sdio_use_memcpy_io()
216 if (!IS_ALIGNED(addr, 2)) { in rtw_sdio_indirect_read16()
239 if (!IS_ALIGNED(addr, 4)) { in rtw_sdio_indirect_read32()
360 if (!IS_ALIGNED(addr, 2)) { in rtw_sdio_indirect_write16()
381 if (!IS_ALIGNED(addr, 4)) { in rtw_sdio_indirect_write32()
654 if (!IS_ALIGNED((unsigned long)skb->data, RTW_SDIO_DATA_PTR_ALIGN)) in rtw_sdio_write_port()
/freebsd/sys/dev/mlx5/mlx5_ib/
H A Dmlx5_ib_mem.c69 if (!IS_ALIGNED(tmp, 1 << m)) in mlx5_ib_cont_pages()
/freebsd/sys/contrib/edk2/Include/
H A DBase.h921 #define IS_ALIGNED(Value, Alignment) (((Value) & ((Alignment) - 1U)) == 0U) macro
932 #define ADDRESS_IS_ALIGNED(Address, Alignment) IS_ALIGNED ((UINTN) (Address), Alignment)
/freebsd/sys/contrib/dev/rtw89/
H A Defuse_be.c72 if (!IS_ALIGNED(dump_addr, 4) || !IS_ALIGNED(dump_size, 4)) { in rtw89_dump_physical_efuse_map_ddv_be()
/freebsd/sys/contrib/dev/athk/ath12k/
H A Dhtc.c23 if (!IS_ALIGNED((unsigned long)skb->data, 4)) in ath12k_htc_alloc_skb()
45 WARN_ON_ONCE(!IS_ALIGNED((unsigned long)skb->data, 4)); in ath12k_htc_build_tx_ctrl_skb()
H A Ddp_mon.c52 if (!IS_ALIGNED((unsigned long)skb->data, in ath12k_dp_rx_alloc_mon_status_buf()
676 if (!IS_ALIGNED((unsigned long)skb->data, DP_RX_BUFFER_ALIGN_SIZE)) { in ath12k_dp_mon_buf_replenish()
765 if (!IS_ALIGNED((unsigned long)skb->data, in ath12k_dp_mon_status_bufs_replenish()
H A Dce.c78 WARN_ON_ONCE(!IS_ALIGNED((unsigned long)skb->data, 4)); in ath12k_ce_rx_post_pipe()
H A Ddp_rx.c117 if (!IS_ALIGNED((unsigned long)skb->data, in ath12k_dp_rx_bufs_replenish()
/freebsd/sys/contrib/dev/athk/ath11k/
H A Dhtc.c23 if (!IS_ALIGNED((unsigned long)skb->data, 4)) in ath11k_htc_alloc_skb()
45 WARN_ON_ONCE(!IS_ALIGNED((unsigned long)skb->data, 4)); in ath11k_htc_build_tx_ctrl_skb()
H A Dce.c340 WARN_ON_ONCE(!IS_ALIGNED((unsigned long)skb->data, 4)); in ath11k_ce_rx_post_pipe()
H A Ddp_rx.c379 if (!IS_ALIGNED((unsigned long)skb->data, in ath11k_dp_rxbufs_replenish()
2892 if (!IS_ALIGNED((unsigned long)skb->data, in ath11k_dp_rx_alloc_mon_status_buf()
/freebsd/sys/contrib/dev/broadcom/brcm80211/brcmsmac/
H A Daiutils.c323 IS_ALIGNED((x), SI_CORE_SIZE))
H A Ddma.c447 if (!IS_ALIGNED(PAGE_SIZE, align)) in dma_alloc_consistent()
/freebsd/sys/contrib/dev/athk/ath10k/
H A Dhtt_tx.c830 BUILD_BUG_ON(!IS_ALIGNED(HTT_RX_BUF_SIZE, 4)); in ath10k_htt_send_rx_ring_cfg_32()
902 BUILD_BUG_ON(!IS_ALIGNED(HTT_RX_BUF_SIZE, 4)); in ath10k_htt_send_rx_ring_cfg_64()
971 BUILD_BUG_ON(!IS_ALIGNED(HTT_RX_BUF_SIZE, 4)); in ath10k_htt_send_rx_ring_cfg_hl()
H A Dhtc.c1194 if (!IS_ALIGNED((unsigned long)skb->data, 4)) in ath10k_htc_alloc_skb()
H A Dhtt_rx.c168 if (!IS_ALIGNED((unsigned long)skb->data, HTT_RX_DESC_ALIGN)) in __ath10k_htt_rx_ring_fill_n()
4230 if (!IS_ALIGNED((unsigned long)skb->data, 4)) in ath10k_htt_t2h_msg_handler()
H A Ddebug.c707 if (!IS_ALIGNED(reg_addr, 4)) in ath10k_reg_addr_write()
/freebsd/sys/dev/drm2/
H A Ddrm_os_freebsd.h244 #define IS_ALIGNED(x, y) (((x) & ((y) - 1)) == 0) macro
/freebsd/sys/dev/oce/
H A Doce_if.h1127 #define IS_ALIGNED(x,a) ((x % a) == 0) macro
H A Doce_sysctl.c643 if (!IS_ALIGNED(fw->datasize, sizeof(uint32_t))) { in oce_lancer_fwupgrade()

12