/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
|
H A D | mana_en.c | 2095 KASSERT(IS_ALIGNED(txq_size, PAGE_SIZE), in mana_create_txq()
|
/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/contrib/dev/rtw88/ |
H A D | sdio.c | 58 return IS_ALIGNED(addr, alignment) && in rtw_sdio_use_memcpy_io() 209 if (!IS_ALIGNED(addr, 2)) { in rtw_sdio_indirect_read16() 232 if (!IS_ALIGNED(addr, 4)) { in rtw_sdio_indirect_read32() 353 if (!IS_ALIGNED(addr, 2)) { in rtw_sdio_indirect_write16() 374 if (!IS_ALIGNED(addr, 4)) { in rtw_sdio_indirect_write32() 647 if (!IS_ALIGNED((unsigned long)skb->data, RTW_SDIO_DATA_PTR_ALIGN))
|
/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/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 | ce.c | 289 WARN_ON_ONCE(!IS_ALIGNED((unsigned long)skb->data, 4)); in ath12k_ce_rx_post_pipe()
|
H A D | dp_mon.c | 1283 if (!IS_ALIGNED((unsigned long)skb->data, DP_RX_BUFFER_ALIGN_SIZE)) { in ath12k_dp_mon_buf_replenish() 1427 if (!IS_ALIGNED((unsigned long)skb->data, 4)) in ath12k_dp_mon_tx_alloc_skb()
|
H A D | dp_rx.c | 297 if (!IS_ALIGNED((unsigned long)skb->data, in ath12k_dp_rx_bufs_replenish()
|
H A D | wmi.c | 751 if (!IS_ALIGNED((unsigned long)skb->data, 4)) in ath12k_wmi_alloc_skb()
|
/freebsd/sys/compat/linuxkpi/common/include/linux/ |
H A D | kernel.h | 127 #define IS_ALIGNED(x, a) (((x) & ((__typeof(x))(a) - 1)) == 0) macro
|
/freebsd/sys/contrib/dev/athk/ath11k/ |
H A D | htc.c | 22 if (!IS_ALIGNED((unsigned long)skb->data, 4)) in ath11k_htc_alloc_skb() 44 WARN_ON_ONCE(!IS_ALIGNED((unsigned long)skb->data, 4)); in ath11k_htc_build_tx_ctrl_skb()
|
H A D | ce.c | 338 WARN_ON_ONCE(!IS_ALIGNED((unsigned long)skb->data, 4)); in ath11k_ce_rx_post_pipe()
|
H A D | dp_rx.c | 378 if (!IS_ALIGNED((unsigned long)skb->data, in ath11k_dp_rxbufs_replenish() 2901 if (!IS_ALIGNED((unsigned long)skb->data, in ath11k_dp_rx_alloc_mon_status_buf()
|
/freebsd/sys/contrib/dev/athk/ath10k/ |
H A D | htt_tx.c | 832 BUILD_BUG_ON(!IS_ALIGNED(HTT_RX_BUF_SIZE, 4)); in ath10k_htt_send_rx_ring_cfg_32() 904 BUILD_BUG_ON(!IS_ALIGNED(HTT_RX_BUF_SIZE, 4)); in ath10k_htt_send_rx_ring_cfg_64() 973 BUILD_BUG_ON(!IS_ALIGNED(HTT_RX_BUF_SIZE, 4)); in ath10k_htt_send_rx_ring_cfg_hl()
|
H A D | htc.c | 1190 if (!IS_ALIGNED((unsigned long)skb->data, 4)) in ath10k_htc_alloc_skb()
|
H A D | htt_rx.c | 164 if (!IS_ALIGNED((unsigned long)skb->data, HTT_RX_DESC_ALIGN)) in __ath10k_htt_rx_ring_fill_n() 4228 if (!IS_ALIGNED((unsigned long)skb->data, 4)) in ath10k_htt_t2h_msg_handler()
|
H A D | debug.c | 704 if (!IS_ALIGNED(reg_addr, 4)) in ath10k_reg_addr_write()
|
H A D | wmi.c | 1802 if (!IS_ALIGNED((unsigned long)skb->data, 4)) in ath10k_wmi_alloc_skb()
|
/freebsd/sys/dev/drm2/ |
H A D | drm_os_freebsd.h | 251 #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()
|
/freebsd/sys/contrib/ncsw/Peripherals/QM/ |
H A D | qm_portal_fqr.c | 1366 if (!IS_ALIGNED(p_QmFqrParams->stashingParams.fqContextAddr, CACHELINE_SIZE)) in CheckStashParams()
|
/freebsd/sys/dev/bnxt/bnxt_re/ |
H A D | qplib_fp.c | 1050 if (!IS_ALIGNED(fpsne, PAGE_SIZE)) in bnxt_qplib_init_psn_ptr()
|