Home
last modified time | relevance | path

Searched refs:align_bytes (Results 1 – 6 of 6) sorted by relevance

/Linux-v6.6/drivers/crypto/cavium/nitrox/
Dnitrox_lib.c25 static int nitrox_cmdq_init(struct nitrox_cmdq *cmdq, int align_bytes) in nitrox_cmdq_init() argument
29 cmdq->qsize = (ndev->qlen * cmdq->instr_size) + align_bytes; in nitrox_cmdq_init()
36 cmdq->dma = PTR_ALIGN(cmdq->unalign_dma, align_bytes); in nitrox_cmdq_init()
/Linux-v6.6/drivers/net/wireless/ath/ath11k/
Ddp.c515 int align_bytes, n_entries; in ath11k_dp_scatter_idle_link_desc_setup() local
544 align_bytes = link_desc_banks[i].vaddr - in ath11k_dp_scatter_idle_link_desc_setup()
546 n_entries = (DP_LINK_DESC_ALLOC_SIZE_THRESH - align_bytes) / in ath11k_dp_scatter_idle_link_desc_setup()
689 u32 entry_sz, align_bytes, n_entries; in ath11k_dp_link_desc_setup() local
745 align_bytes = link_desc_banks[i].vaddr - in ath11k_dp_link_desc_setup()
747 n_entries = (link_desc_banks[i].size - align_bytes) / in ath11k_dp_link_desc_setup()
/Linux-v6.6/drivers/net/wireless/ath/ath12k/
Ddp.c607 int align_bytes, n_entries; in ath12k_dp_scatter_idle_link_desc_setup() local
636 align_bytes = link_desc_banks[i].vaddr - in ath12k_dp_scatter_idle_link_desc_setup()
638 n_entries = (DP_LINK_DESC_ALLOC_SIZE_THRESH - align_bytes) / in ath12k_dp_scatter_idle_link_desc_setup()
782 u32 entry_sz, align_bytes, n_entries; in ath12k_dp_link_desc_setup() local
839 align_bytes = link_desc_banks[i].vaddr - in ath12k_dp_link_desc_setup()
841 n_entries = (link_desc_banks[i].size - align_bytes) / in ath12k_dp_link_desc_setup()
/Linux-v6.6/drivers/net/ethernet/cavium/thunder/
Dnicvf_queues.c55 int q_len, int desc_size, int align_bytes) in nicvf_alloc_q_desc_mem() argument
58 dmem->size = (desc_size * q_len) + align_bytes; in nicvf_alloc_q_desc_mem()
66 dmem->phys_base = NICVF_ALIGNED_ADDR((u64)dmem->dma, align_bytes); in nicvf_alloc_q_desc_mem()
/Linux-v6.6/drivers/net/usb/
Dlan78xx.c3831 unsigned int align_bytes; in lan78xx_tx_buf_fill() local
3840 align_bytes = (TX_ALIGNMENT - (urb_len % TX_ALIGNMENT)) % in lan78xx_tx_buf_fill()
3842 len = align_bytes + TX_CMD_LEN + skb->len; in lan78xx_tx_buf_fill()
3848 tx_data += align_bytes; in lan78xx_tx_buf_fill()
/Linux-v6.6/kernel/bpf/
Dbtf.c4654 u64 align_bytes; in btf_float_check_member() local
4661 align_bytes = min_t(u64, sizeof(void *), member_type->size); in btf_float_check_member()
4662 align_bits = align_bytes * BITS_PER_BYTE; in btf_float_check_member()