Home
last modified time | relevance | path

Searched refs:IS_ALIGNED (Results 1 – 25 of 26) 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
H A Dmana_en.c2095 KASSERT(IS_ALIGNED(txq_size, PAGE_SIZE), in mana_create_txq()
/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/contrib/dev/rtw88/
H A Dsdio.c58 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 Dmlx5_ib_mem.c69 if (!IS_ALIGNED(tmp, 1 << m)) in mlx5_ib_cont_pages()
/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 Dce.c289 WARN_ON_ONCE(!IS_ALIGNED((unsigned long)skb->data, 4)); in ath12k_ce_rx_post_pipe()
H A Ddp_mon.c1283 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 Ddp_rx.c297 if (!IS_ALIGNED((unsigned long)skb->data, in ath12k_dp_rx_bufs_replenish()
H A Dwmi.c751 if (!IS_ALIGNED((unsigned long)skb->data, 4)) in ath12k_wmi_alloc_skb()
/freebsd/sys/compat/linuxkpi/common/include/linux/
H A Dkernel.h127 #define IS_ALIGNED(x, a) (((x) & ((__typeof(x))(a) - 1)) == 0) macro
/freebsd/sys/contrib/dev/athk/ath11k/
H A Dhtc.c22 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 Dce.c338 WARN_ON_ONCE(!IS_ALIGNED((unsigned long)skb->data, 4)); in ath11k_ce_rx_post_pipe()
H A Ddp_rx.c378 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 Dhtt_tx.c832 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 Dhtc.c1190 if (!IS_ALIGNED((unsigned long)skb->data, 4)) in ath10k_htc_alloc_skb()
H A Dhtt_rx.c164 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 Ddebug.c704 if (!IS_ALIGNED(reg_addr, 4)) in ath10k_reg_addr_write()
H A Dwmi.c1802 if (!IS_ALIGNED((unsigned long)skb->data, 4)) in ath10k_wmi_alloc_skb()
/freebsd/sys/dev/drm2/
H A Ddrm_os_freebsd.h251 #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()
/freebsd/sys/contrib/ncsw/Peripherals/QM/
H A Dqm_portal_fqr.c1366 if (!IS_ALIGNED(p_QmFqrParams->stashingParams.fqContextAddr, CACHELINE_SIZE)) in CheckStashParams()
/freebsd/sys/dev/bnxt/bnxt_re/
H A Dqplib_fp.c1050 if (!IS_ALIGNED(fpsne, PAGE_SIZE)) in bnxt_qplib_init_psn_ptr()

12