| /freebsd/sys/dev/mana/ |
| H A D | shm_channel.c | 195 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 D | gdma_util.h | 82 #define IS_ALIGNED(x, a) (((x) & ((__typeof(x))(a) - 1)) == 0) macro
|
| /freebsd/sys/contrib/ncsw/inc/ |
| H A D | ncsw_ext.h | 184 #ifndef IS_ALIGNED 185 #define IS_ALIGNED(n,align) (!((uint32_t)(n) & (align - 1))) macro
|
| /freebsd/sys/compat/linuxkpi/common/include/linux/ |
| H A D | siphash.h | 85 !IS_ALIGNED((unsigned long)data, SIPHASH_ALIGNMENT)) in siphash() 135 !IS_ALIGNED((unsigned long)data, HSIPHASH_ALIGNMENT)) in hsiphash()
|
| H A D | kernel.h | 134 #define IS_ALIGNED(x, a) (((x) & ((__typeof(x))(a) - 1)) == 0) macro
|
| /freebsd/sys/contrib/dev/rtw88/ |
| H A D | sdio.c | 59 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 D | mlx5_ib_mem.c | 69 if (!IS_ALIGNED(tmp, 1 << m)) in mlx5_ib_cont_pages()
|
| /freebsd/sys/contrib/edk2/Include/ |
| H A D | Base.h | 921 #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 D | efuse_be.c | 72 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 D | htc.c | 23 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 D | dp_mon.c | 52 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 D | ce.c | 78 WARN_ON_ONCE(!IS_ALIGNED((unsigned long)skb->data, 4)); in ath12k_ce_rx_post_pipe()
|
| H A D | dp_rx.c | 117 if (!IS_ALIGNED((unsigned long)skb->data, in ath12k_dp_rx_bufs_replenish()
|
| /freebsd/sys/contrib/dev/athk/ath11k/ |
| H A D | htc.c | 23 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 D | ce.c | 340 WARN_ON_ONCE(!IS_ALIGNED((unsigned long)skb->data, 4)); in ath11k_ce_rx_post_pipe()
|
| H A D | dp_rx.c | 379 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 D | aiutils.c | 323 IS_ALIGNED((x), SI_CORE_SIZE))
|
| H A D | dma.c | 447 if (!IS_ALIGNED(PAGE_SIZE, align)) in dma_alloc_consistent()
|
| /freebsd/sys/contrib/dev/athk/ath10k/ |
| H A D | htt_tx.c | 830 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 D | htc.c | 1194 if (!IS_ALIGNED((unsigned long)skb->data, 4)) in ath10k_htc_alloc_skb()
|
| H A D | htt_rx.c | 168 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 D | debug.c | 707 if (!IS_ALIGNED(reg_addr, 4)) in ath10k_reg_addr_write()
|
| /freebsd/sys/dev/drm2/ |
| H A D | drm_os_freebsd.h | 244 #define IS_ALIGNED(x, y) (((x) & ((y) - 1)) == 0) macro
|
| /freebsd/sys/dev/oce/ |
| H A D | oce_if.h | 1127 #define IS_ALIGNED(x,a) ((x % a) == 0) macro
|
| H A D | oce_sysctl.c | 643 if (!IS_ALIGNED(fw->datasize, sizeof(uint32_t))) { in oce_lancer_fwupgrade()
|