/kernel/linux/linux-5.10/drivers/dma/ |
H A D | nbpfaxi.c | 171 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 746 struct nbpf_link_desc *ldesc, *tmp; nbpf_desc_put() local 786 struct nbpf_link_desc *ldesc, *prev = NULL; nbpf_desc_get() local 925 struct nbpf_link_desc *ldesc; nbpf_prep_sg() local 1076 struct nbpf_link_desc *ldesc; nbpf_free_chan_resources() local [all...] |
H A D | img-mdc-dma.c | 191 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() 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 in mdc_list_desc_config() 205 mdc_list_desc_config(struct mdc_chan *mchan, struct mdc_hw_list_desc *ldesc, enum dma_transfer_direction dir, dma_addr_t src, dma_addr_t dst, size_t len) mdc_list_desc_config() argument 594 struct mdc_hw_list_desc *ldesc; mdc_tx_status() local [all...] |
/kernel/linux/linux-6.6/drivers/dma/ |
H A D | nbpfaxi.c | 170 struct nbpf_link_desc ldesc[NBPF_SEGMENTS_PER_PAGE]; member 390 struct nbpf_link_desc *ldesc = list_first_entry(&desc->sg, struct nbpf_link_desc, node); in nbpf_start() local 392 nbpf_chan_write(chan, NBPF_CHAN_NXLA, (u32)ldesc->hwdesc_dma_addr); in nbpf_start() 397 if (ldesc->hwdesc->config & NBPF_CHAN_CFG_TM) in nbpf_start() 505 static int nbpf_prep_one(struct nbpf_link_desc *ldesc, in nbpf_prep_one() argument 509 struct nbpf_link_reg *hwdesc = ldesc->hwdesc; in nbpf_prep_one() 510 struct nbpf_desc *desc = ldesc->desc; in nbpf_prep_one() 579 __func__, &ldesc->hwdesc_dma_addr, hwdesc->header, in nbpf_prep_one() 582 dma_sync_single_for_device(dev, ldesc->hwdesc_dma_addr, sizeof(*hwdesc), in nbpf_prep_one() 693 struct nbpf_link_desc *ldesc; in nbpf_desc_page_alloc() local 745 struct nbpf_link_desc *ldesc, *tmp; nbpf_desc_put() local 785 struct nbpf_link_desc *ldesc, *prev = NULL; nbpf_desc_get() local 924 struct nbpf_link_desc *ldesc; nbpf_prep_sg() local 1075 struct nbpf_link_desc *ldesc; nbpf_free_chan_resources() local [all...] |
H A D | img-mdc-dma.c | 190 static inline void mdc_set_read_width(struct mdc_hw_list_desc *ldesc, in mdc_set_read_width() argument 193 ldesc->gen_conf |= to_mdc_width(bytes) << in mdc_set_read_width() 197 static inline void mdc_set_write_width(struct mdc_hw_list_desc *ldesc, in mdc_set_write_width() argument 200 ldesc->gen_conf |= to_mdc_width(bytes) << in mdc_set_write_width() 205 struct mdc_hw_list_desc *ldesc, in mdc_list_desc_config() 212 ldesc->gen_conf = MDC_GENERAL_CONFIG_IEN | MDC_GENERAL_CONFIG_LIST_IEN | in mdc_list_desc_config() 215 ldesc->readport_conf = in mdc_list_desc_config() 219 ldesc->read_addr = src; in mdc_list_desc_config() 220 ldesc->write_addr = dst; in mdc_list_desc_config() 221 ldesc in mdc_list_desc_config() 204 mdc_list_desc_config(struct mdc_chan *mchan, struct mdc_hw_list_desc *ldesc, enum dma_transfer_direction dir, dma_addr_t src, dma_addr_t dst, size_t len) mdc_list_desc_config() argument 593 struct mdc_hw_list_desc *ldesc; mdc_tx_status() local [all...] |
/kernel/linux/linux-6.6/drivers/net/wireless/ath/ath11k/ |
H A D | hw.c | 358 struct hal_rx_desc *ldesc) in ath11k_hw_ipq8074_rx_desc_copy_attn_end() 360 memcpy((u8 *)&fdesc->u.ipq8074.msdu_end, (u8 *)&ldesc->u.ipq8074.msdu_end, in ath11k_hw_ipq8074_rx_desc_copy_attn_end() 362 memcpy((u8 *)&fdesc->u.ipq8074.attention, (u8 *)&ldesc->u.ipq8074.attention, in ath11k_hw_ipq8074_rx_desc_copy_attn_end() 364 memcpy((u8 *)&fdesc->u.ipq8074.mpdu_end, (u8 *)&ldesc->u.ipq8074.mpdu_end, in ath11k_hw_ipq8074_rx_desc_copy_attn_end() 535 struct hal_rx_desc *ldesc) in ath11k_hw_qcn9074_rx_desc_copy_attn_end() 537 memcpy((u8 *)&fdesc->u.qcn9074.msdu_end, (u8 *)&ldesc->u.qcn9074.msdu_end, in ath11k_hw_qcn9074_rx_desc_copy_attn_end() 539 memcpy((u8 *)&fdesc->u.qcn9074.attention, (u8 *)&ldesc->u.qcn9074.attention, in ath11k_hw_qcn9074_rx_desc_copy_attn_end() 541 memcpy((u8 *)&fdesc->u.qcn9074.mpdu_end, (u8 *)&ldesc->u.qcn9074.mpdu_end, in ath11k_hw_qcn9074_rx_desc_copy_attn_end() 706 struct hal_rx_desc *ldesc) in ath11k_hw_wcn6855_rx_desc_copy_attn_end() 708 memcpy((u8 *)&fdesc->u.wcn6855.msdu_end, (u8 *)&ldesc in ath11k_hw_wcn6855_rx_desc_copy_attn_end() 357 ath11k_hw_ipq8074_rx_desc_copy_attn_end(struct hal_rx_desc *fdesc, struct hal_rx_desc *ldesc) ath11k_hw_ipq8074_rx_desc_copy_attn_end() argument 534 ath11k_hw_qcn9074_rx_desc_copy_attn_end(struct hal_rx_desc *fdesc, struct hal_rx_desc *ldesc) ath11k_hw_qcn9074_rx_desc_copy_attn_end() argument 705 ath11k_hw_wcn6855_rx_desc_copy_attn_end(struct hal_rx_desc *fdesc, struct hal_rx_desc *ldesc) ath11k_hw_wcn6855_rx_desc_copy_attn_end() argument [all...] |
H A D | hw.h | 261 struct hal_rx_desc *ldesc);
|
H A D | dp_rx.c | 242 struct hal_rx_desc *ldesc) in ath11k_dp_rx_desc_end_tlv_copy() 244 ab->hw_params.hw_ops->rx_desc_copy_attn_end_tlv(fdesc, ldesc); in ath11k_dp_rx_desc_end_tlv_copy() 1774 struct hal_rx_desc *ldesc; in ath11k_dp_rx_msdu_coalesce() local 1791 ldesc = (struct hal_rx_desc *)last->data; in ath11k_dp_rx_msdu_coalesce() 1792 rxcb->is_first_msdu = ath11k_dp_rx_h_msdu_end_first_msdu(ab, ldesc); in ath11k_dp_rx_msdu_coalesce() 1793 rxcb->is_last_msdu = ath11k_dp_rx_h_msdu_end_last_msdu(ab, ldesc); in ath11k_dp_rx_msdu_coalesce() 1805 ath11k_dp_rx_desc_end_tlv_copy(ab, rxcb->rx_desc, ldesc); in ath11k_dp_rx_msdu_coalesce() 240 ath11k_dp_rx_desc_end_tlv_copy(struct ath11k_base *ab, struct hal_rx_desc *fdesc, struct hal_rx_desc *ldesc) ath11k_dp_rx_desc_end_tlv_copy() argument
|
/kernel/linux/linux-5.10/drivers/crypto/marvell/octeontx/ |
H A D | otx_cptvf_algs.c | 1627 struct cpt_device_desc *ldesc = (struct cpt_device_desc *) lptr; in compare_func() local 1630 if (ldesc->dev->devfn < rdesc->dev->devfn) in compare_func() 1632 if (ldesc->dev->devfn > rdesc->dev->devfn) in compare_func() 1639 struct cpt_device_desc *ldesc = (struct cpt_device_desc *) lptr; in swap_func() local 1643 desc = *ldesc; in swap_func() 1644 *ldesc = *rdesc; in swap_func()
|
/kernel/linux/linux-6.6/drivers/crypto/marvell/octeontx2/ |
H A D | otx2_cptvf_algs.c | 1664 const struct cpt_device_desc *ldesc = (struct cpt_device_desc *) lptr; in compare_func() local 1667 if (ldesc->dev->devfn < rdesc->dev->devfn) in compare_func() 1669 if (ldesc->dev->devfn > rdesc->dev->devfn) in compare_func() 1676 struct cpt_device_desc *ldesc = lptr; in swap_func() local 1679 swap(*ldesc, *rdesc); in swap_func()
|
/kernel/linux/linux-6.6/drivers/crypto/marvell/octeontx/ |
H A D | otx_cptvf_algs.c | 1629 struct cpt_device_desc *ldesc = (struct cpt_device_desc *) lptr; in compare_func() local 1632 if (ldesc->dev->devfn < rdesc->dev->devfn) in compare_func() 1634 if (ldesc->dev->devfn > rdesc->dev->devfn) in compare_func() 1641 struct cpt_device_desc *ldesc = (struct cpt_device_desc *) lptr; in swap_func() local 1644 swap(*ldesc, *rdesc); in swap_func()
|
/kernel/linux/linux-5.10/drivers/mtd/ubi/ |
H A D | eba.c | 101 * @ldesc: the LEB descriptor to fill 108 struct ubi_eba_leb_desc *ldesc) in ubi_eba_get_ldesc() 110 ldesc->lnum = lnum; in ubi_eba_get_ldesc() 111 ldesc->pnum = vol->eba_tbl->entries[lnum].pnum; in ubi_eba_get_ldesc() 107 ubi_eba_get_ldesc(struct ubi_volume *vol, int lnum, struct ubi_eba_leb_desc *ldesc) ubi_eba_get_ldesc() argument
|
H A D | fastmap.c | 1308 struct ubi_eba_leb_desc ldesc; in ubi_write_fastmap() local 1310 ubi_eba_get_ldesc(vol, j, &ldesc); in ubi_write_fastmap() 1311 feba->pnum[j] = cpu_to_be32(ldesc.pnum); in ubi_write_fastmap()
|
H A D | ubi.h | 884 struct ubi_eba_leb_desc *ldesc);
|
/kernel/linux/linux-6.6/drivers/mtd/ubi/ |
H A D | eba.c | 101 * @ldesc: the LEB descriptor to fill 108 struct ubi_eba_leb_desc *ldesc) in ubi_eba_get_ldesc() 110 ldesc->lnum = lnum; in ubi_eba_get_ldesc() 111 ldesc->pnum = vol->eba_tbl->entries[lnum].pnum; in ubi_eba_get_ldesc() 107 ubi_eba_get_ldesc(struct ubi_volume *vol, int lnum, struct ubi_eba_leb_desc *ldesc) ubi_eba_get_ldesc() argument
|
H A D | fastmap.c | 1318 struct ubi_eba_leb_desc ldesc; in ubi_write_fastmap() local 1320 ubi_eba_get_ldesc(vol, j, &ldesc); in ubi_write_fastmap() 1321 feba->pnum[j] = cpu_to_be32(ldesc.pnum); in ubi_write_fastmap()
|
H A D | ubi.h | 882 struct ubi_eba_leb_desc *ldesc);
|
/kernel/linux/linux-5.10/drivers/net/wireless/ath/ath11k/ |
H A D | dp_rx.c | 211 struct hal_rx_desc *ldesc) in ath11k_dp_rx_desc_end_tlv_copy() 213 memcpy((u8 *)&fdesc->msdu_end, (u8 *)&ldesc->msdu_end, in ath11k_dp_rx_desc_end_tlv_copy() 215 memcpy((u8 *)&fdesc->attention, (u8 *)&ldesc->attention, in ath11k_dp_rx_desc_end_tlv_copy() 217 memcpy((u8 *)&fdesc->mpdu_end, (u8 *)&ldesc->mpdu_end, in ath11k_dp_rx_desc_end_tlv_copy() 1726 struct hal_rx_desc *ldesc; in ath11k_dp_rx_msdu_coalesce() local 1744 ldesc = (struct hal_rx_desc *)last->data; in ath11k_dp_rx_msdu_coalesce() 1745 rxcb->is_first_msdu = ath11k_dp_rx_h_msdu_end_first_msdu(ldesc); in ath11k_dp_rx_msdu_coalesce() 1746 rxcb->is_last_msdu = ath11k_dp_rx_h_msdu_end_last_msdu(ldesc); in ath11k_dp_rx_msdu_coalesce() 1758 ath11k_dp_rx_desc_end_tlv_copy(rxcb->rx_desc, ldesc); in ath11k_dp_rx_msdu_coalesce() 210 ath11k_dp_rx_desc_end_tlv_copy(struct hal_rx_desc *fdesc, struct hal_rx_desc *ldesc) ath11k_dp_rx_desc_end_tlv_copy() argument
|
/kernel/linux/linux-6.6/drivers/net/wireless/ath/ath12k/ |
H A D | hal.c | 403 struct hal_rx_desc *ldesc) in ath12k_hw_qcn9274_rx_desc_copy_end_tlv() 405 memcpy(&fdesc->u.qcn9274.msdu_end, &ldesc->u.qcn9274.msdu_end, in ath12k_hw_qcn9274_rx_desc_copy_end_tlv() 837 struct hal_rx_desc *ldesc) in ath12k_hw_wcn7850_rx_desc_copy_end_tlv() 839 memcpy(&fdesc->u.wcn7850.msdu_end, &ldesc->u.wcn7850.msdu_end, in ath12k_hw_wcn7850_rx_desc_copy_end_tlv() 402 ath12k_hw_qcn9274_rx_desc_copy_end_tlv(struct hal_rx_desc *fdesc, struct hal_rx_desc *ldesc) ath12k_hw_qcn9274_rx_desc_copy_end_tlv() argument 836 ath12k_hw_wcn7850_rx_desc_copy_end_tlv(struct hal_rx_desc *fdesc, struct hal_rx_desc *ldesc) ath12k_hw_wcn7850_rx_desc_copy_end_tlv() argument
|
H A D | dp_rx.c | 184 struct hal_rx_desc *ldesc) in ath12k_dp_rx_desc_end_tlv_copy() 186 ab->hw_params->hal_ops->rx_desc_copy_end_tlv(fdesc, ldesc); in ath12k_dp_rx_desc_end_tlv_copy() 1783 struct hal_rx_desc *ldesc; in ath12k_dp_rx_msdu_coalesce() local 1800 ldesc = (struct hal_rx_desc *)last->data; in ath12k_dp_rx_msdu_coalesce() 1801 rxcb->is_first_msdu = ath12k_dp_rx_h_first_msdu(ab, ldesc); in ath12k_dp_rx_msdu_coalesce() 1802 rxcb->is_last_msdu = ath12k_dp_rx_h_last_msdu(ab, ldesc); in ath12k_dp_rx_msdu_coalesce() 1814 ath12k_dp_rx_desc_end_tlv_copy(ab, rxcb->rx_desc, ldesc); in ath12k_dp_rx_msdu_coalesce() 182 ath12k_dp_rx_desc_end_tlv_copy(struct ath12k_base *ab, struct hal_rx_desc *fdesc, struct hal_rx_desc *ldesc) ath12k_dp_rx_desc_end_tlv_copy() argument
|
H A D | hal.h | 1056 struct hal_rx_desc *ldesc);
|