Home
last modified time | relevance | path

Searched refs:ldesc (Results 1 – 10 of 10) sorted by relevance

/linux-6.1.9/drivers/dma/
Dimg-mdc-dma.c191 static inline void mdc_set_read_width(struct mdc_hw_list_desc *ldesc, in mdc_set_read_width() argument
194 ldesc->gen_conf |= to_mdc_width(bytes) << in mdc_set_read_width()
198 static inline void mdc_set_write_width(struct mdc_hw_list_desc *ldesc, in mdc_set_write_width() argument
201 ldesc->gen_conf |= to_mdc_width(bytes) << in mdc_set_write_width()
206 struct mdc_hw_list_desc *ldesc, in mdc_list_desc_config() argument
213 ldesc->gen_conf = MDC_GENERAL_CONFIG_IEN | MDC_GENERAL_CONFIG_LIST_IEN | in mdc_list_desc_config()
216 ldesc->readport_conf = in mdc_list_desc_config()
220 ldesc->read_addr = src; in mdc_list_desc_config()
221 ldesc->write_addr = dst; in mdc_list_desc_config()
222 ldesc->xfer_size = len - 1; in mdc_list_desc_config()
[all …]
Dnbpfaxi.c171 struct nbpf_link_desc ldesc[NBPF_SEGMENTS_PER_PAGE]; member
391 struct nbpf_link_desc *ldesc = list_first_entry(&desc->sg, struct nbpf_link_desc, node); in nbpf_start() local
393 nbpf_chan_write(chan, NBPF_CHAN_NXLA, (u32)ldesc->hwdesc_dma_addr); in nbpf_start()
398 if (ldesc->hwdesc->config & NBPF_CHAN_CFG_TM) in nbpf_start()
506 static int nbpf_prep_one(struct nbpf_link_desc *ldesc, in nbpf_prep_one() argument
510 struct nbpf_link_reg *hwdesc = ldesc->hwdesc; in nbpf_prep_one()
511 struct nbpf_desc *desc = ldesc->desc; in nbpf_prep_one()
580 __func__, &ldesc->hwdesc_dma_addr, hwdesc->header, in nbpf_prep_one()
583 dma_sync_single_for_device(dev, ldesc->hwdesc_dma_addr, sizeof(*hwdesc), in nbpf_prep_one()
694 struct nbpf_link_desc *ldesc; in nbpf_desc_page_alloc() local
[all …]
/linux-6.1.9/drivers/net/wireless/ath/ath11k/
Dhw.c354 struct hal_rx_desc *ldesc) in ath11k_hw_ipq8074_rx_desc_copy_attn_end() argument
356 memcpy((u8 *)&fdesc->u.ipq8074.msdu_end, (u8 *)&ldesc->u.ipq8074.msdu_end, in ath11k_hw_ipq8074_rx_desc_copy_attn_end()
358 memcpy((u8 *)&fdesc->u.ipq8074.attention, (u8 *)&ldesc->u.ipq8074.attention, in ath11k_hw_ipq8074_rx_desc_copy_attn_end()
360 memcpy((u8 *)&fdesc->u.ipq8074.mpdu_end, (u8 *)&ldesc->u.ipq8074.mpdu_end, in ath11k_hw_ipq8074_rx_desc_copy_attn_end()
531 struct hal_rx_desc *ldesc) in ath11k_hw_qcn9074_rx_desc_copy_attn_end() argument
533 memcpy((u8 *)&fdesc->u.qcn9074.msdu_end, (u8 *)&ldesc->u.qcn9074.msdu_end, in ath11k_hw_qcn9074_rx_desc_copy_attn_end()
535 memcpy((u8 *)&fdesc->u.qcn9074.attention, (u8 *)&ldesc->u.qcn9074.attention, in ath11k_hw_qcn9074_rx_desc_copy_attn_end()
537 memcpy((u8 *)&fdesc->u.qcn9074.mpdu_end, (u8 *)&ldesc->u.qcn9074.mpdu_end, in ath11k_hw_qcn9074_rx_desc_copy_attn_end()
702 struct hal_rx_desc *ldesc) in ath11k_hw_wcn6855_rx_desc_copy_attn_end() argument
704 memcpy((u8 *)&fdesc->u.wcn6855.msdu_end, (u8 *)&ldesc->u.wcn6855.msdu_end, in ath11k_hw_wcn6855_rx_desc_copy_attn_end()
[all …]
Dhw.h254 struct hal_rx_desc *ldesc);
Ddp_rx.c242 struct hal_rx_desc *ldesc) in ath11k_dp_rx_desc_end_tlv_copy() argument
244 ab->hw_params.hw_ops->rx_desc_copy_attn_end_tlv(fdesc, ldesc); in ath11k_dp_rx_desc_end_tlv_copy()
1768 struct hal_rx_desc *ldesc; in ath11k_dp_rx_msdu_coalesce() local
1785 ldesc = (struct hal_rx_desc *)last->data; in ath11k_dp_rx_msdu_coalesce()
1786 rxcb->is_first_msdu = ath11k_dp_rx_h_msdu_end_first_msdu(ab, ldesc); in ath11k_dp_rx_msdu_coalesce()
1787 rxcb->is_last_msdu = ath11k_dp_rx_h_msdu_end_last_msdu(ab, ldesc); in ath11k_dp_rx_msdu_coalesce()
1799 ath11k_dp_rx_desc_end_tlv_copy(ab, rxcb->rx_desc, ldesc); in ath11k_dp_rx_msdu_coalesce()
/linux-6.1.9/drivers/crypto/marvell/octeontx/
Dotx_cptvf_algs.c1628 struct cpt_device_desc *ldesc = (struct cpt_device_desc *) lptr; in compare_func() local
1631 if (ldesc->dev->devfn < rdesc->dev->devfn) in compare_func()
1633 if (ldesc->dev->devfn > rdesc->dev->devfn) in compare_func()
1640 struct cpt_device_desc *ldesc = (struct cpt_device_desc *) lptr; in swap_func() local
1643 swap(*ldesc, *rdesc); in swap_func()
/linux-6.1.9/drivers/crypto/marvell/octeontx2/
Dotx2_cptvf_algs.c1663 const struct cpt_device_desc *ldesc = (struct cpt_device_desc *) lptr; in compare_func() local
1666 if (ldesc->dev->devfn < rdesc->dev->devfn) in compare_func()
1668 if (ldesc->dev->devfn > rdesc->dev->devfn) in compare_func()
1675 struct cpt_device_desc *ldesc = lptr; in swap_func() local
1678 swap(*ldesc, *rdesc); in swap_func()
/linux-6.1.9/drivers/mtd/ubi/
Deba.c108 struct ubi_eba_leb_desc *ldesc) in ubi_eba_get_ldesc() argument
110 ldesc->lnum = lnum; in ubi_eba_get_ldesc()
111 ldesc->pnum = vol->eba_tbl->entries[lnum].pnum; in ubi_eba_get_ldesc()
Dfastmap.c1317 struct ubi_eba_leb_desc ldesc; in ubi_write_fastmap() local
1319 ubi_eba_get_ldesc(vol, j, &ldesc); in ubi_write_fastmap()
1320 feba->pnum[j] = cpu_to_be32(ldesc.pnum); in ubi_write_fastmap()
Dubi.h882 struct ubi_eba_leb_desc *ldesc);