Home
last modified time | relevance | path

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

/linux/drivers/dma/
H A Dimg-mdc-dma.c190 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() argument
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->xfer_size = len - 1; in mdc_list_desc_config()
[all …]
H A Dnbpfaxi.c170 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
[all …]
/linux/drivers/net/wireless/ath/ath12k/wifi7/
H A Dhal_qcc2072.c170 struct hal_rx_desc *ldesc) in ath12k_hal_rx_desc_copy_end_tlv_qcc2072() argument
172 memcpy(&fdesc->u.qcc2072.msdu_end, &ldesc->u.qcc2072.msdu_end, in ath12k_hal_rx_desc_copy_end_tlv_qcc2072()
385 struct hal_rx_desc *ldesc) in ath12k_hal_extract_rx_desc_data_qcc2072() argument
387 rx_desc_data->is_first_msdu = ath12k_hal_rx_desc_get_first_msdu_qcc2072(ldesc); in ath12k_hal_extract_rx_desc_data_qcc2072()
388 rx_desc_data->is_last_msdu = ath12k_hal_rx_desc_get_last_msdu_qcc2072(ldesc); in ath12k_hal_extract_rx_desc_data_qcc2072()
389 rx_desc_data->l3_pad_bytes = ath12k_hal_rx_desc_get_l3_pad_bytes_qcc2072(ldesc); in ath12k_hal_extract_rx_desc_data_qcc2072()
398 rx_desc_data->msdu_len = ath12k_hal_rx_desc_get_msdu_len_qcc2072(ldesc); in ath12k_hal_extract_rx_desc_data_qcc2072()
410 rx_desc_data->msdu_done = ath12k_hal_rx_h_msdu_done_qcc2072(ldesc); in ath12k_hal_extract_rx_desc_data_qcc2072()
H A Dhal_wcn7850.h22 struct hal_rx_desc *ldesc);
38 struct hal_rx_desc *ldesc);
H A Dhal_qcn9274.h27 struct hal_rx_desc *ldesc);
44 struct hal_rx_desc *ldesc);
H A Dhal_wcn7850.c397 struct hal_rx_desc *ldesc) in ath12k_hal_rx_desc_copy_end_tlv_wcn7850() argument
399 memcpy(&fdesc->u.wcn7850.msdu_end, &ldesc->u.wcn7850.msdu_end, in ath12k_hal_rx_desc_copy_end_tlv_wcn7850()
587 struct hal_rx_desc *ldesc) in ath12k_hal_extract_rx_desc_data_wcn7850() argument
589 rx_desc_data->is_first_msdu = ath12k_hal_rx_desc_get_first_msdu_wcn7850(ldesc); in ath12k_hal_extract_rx_desc_data_wcn7850()
590 rx_desc_data->is_last_msdu = ath12k_hal_rx_desc_get_last_msdu_wcn7850(ldesc); in ath12k_hal_extract_rx_desc_data_wcn7850()
591 rx_desc_data->l3_pad_bytes = ath12k_hal_rx_desc_get_l3_pad_bytes_wcn7850(ldesc); in ath12k_hal_extract_rx_desc_data_wcn7850()
600 rx_desc_data->msdu_len = ath12k_hal_rx_desc_get_msdu_len_wcn7850(ldesc); in ath12k_hal_extract_rx_desc_data_wcn7850()
612 rx_desc_data->msdu_done = ath12k_hal_rx_h_msdu_done_wcn7850(ldesc); in ath12k_hal_extract_rx_desc_data_wcn7850()
H A Dhal_qcn9274.c621 struct hal_rx_desc *ldesc) in ath12k_hal_rx_desc_copy_end_tlv_qcn9274() argument
623 fdesc->u.qcn9274_compact.msdu_end = ldesc->u.qcn9274_compact.msdu_end; in ath12k_hal_rx_desc_copy_end_tlv_qcn9274()
817 struct hal_rx_desc *ldesc) in ath12k_hal_extract_rx_desc_data_qcn9274() argument
819 rx_desc_data->is_first_msdu = ath12k_hal_rx_desc_get_first_msdu_qcn9274(ldesc); in ath12k_hal_extract_rx_desc_data_qcn9274()
820 rx_desc_data->is_last_msdu = ath12k_hal_rx_desc_get_last_msdu_qcn9274(ldesc); in ath12k_hal_extract_rx_desc_data_qcn9274()
821 rx_desc_data->l3_pad_bytes = ath12k_hal_rx_desc_get_l3_pad_bytes_qcn9274(ldesc); in ath12k_hal_extract_rx_desc_data_qcn9274()
830 rx_desc_data->msdu_len = ath12k_hal_rx_desc_get_msdu_len_qcn9274(ldesc); in ath12k_hal_extract_rx_desc_data_qcn9274()
842 rx_desc_data->msdu_done = ath12k_hal_rx_h_msdu_done_qcn9274(ldesc); in ath12k_hal_extract_rx_desc_data_qcn9274()
H A Ddp_rx.c412 struct hal_rx_desc *ldesc; in ath12k_wifi7_dp_rx_msdu_coalesce() local
430 ldesc = (struct hal_rx_desc *)last->data; in ath12k_wifi7_dp_rx_msdu_coalesce()
444 ath12k_dp_rx_desc_end_tlv_copy(hal, rxcb->rx_desc, ldesc); in ath12k_wifi7_dp_rx_msdu_coalesce()
/linux/drivers/net/wireless/ath/ath12k/
H A Ddp_rx.h135 struct hal_rx_desc *ldesc) in ath12k_dp_rx_desc_end_tlv_copy() argument
137 hal->ops->rx_desc_copy_end_tlv(fdesc, ldesc); in ath12k_dp_rx_desc_end_tlv_copy()
186 struct hal_rx_desc *ldesc) in ath12k_dp_extract_rx_desc_data() argument
188 hal->ops->extract_rx_desc_data(rx_info, rx_desc, ldesc); in ath12k_dp_extract_rx_desc_data()
H A Dhal.h1371 struct hal_rx_desc *ldesc);
1375 struct hal_rx_desc *ldesc);
/linux/drivers/net/wireless/ath/ath11k/
H A Dhw.c358 struct hal_rx_desc *ldesc) in ath11k_hw_ipq8074_rx_desc_copy_attn_end() argument
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() argument
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() argument
708 memcpy((u8 *)&fdesc->u.wcn6855.msdu_end, (u8 *)&ldesc->u.wcn6855.msdu_end, in ath11k_hw_wcn6855_rx_desc_copy_attn_end()
[all …]
H A Dhw.h266 struct hal_rx_desc *ldesc);
H A Ddp_rx.c243 struct hal_rx_desc *ldesc) in ath11k_dp_rx_desc_end_tlv_copy() argument
245 ab->hw_params.hw_ops->rx_desc_copy_attn_end_tlv(fdesc, ldesc); in ath11k_dp_rx_desc_end_tlv_copy()
1762 struct hal_rx_desc *ldesc; in ath11k_dp_rx_msdu_coalesce() local
1779 ldesc = (struct hal_rx_desc *)last->data; in ath11k_dp_rx_msdu_coalesce()
1780 rxcb->is_first_msdu = ath11k_dp_rx_h_msdu_end_first_msdu(ab, ldesc); in ath11k_dp_rx_msdu_coalesce()
1781 rxcb->is_last_msdu = ath11k_dp_rx_h_msdu_end_last_msdu(ab, ldesc); in ath11k_dp_rx_msdu_coalesce()
1793 ath11k_dp_rx_desc_end_tlv_copy(ab, rxcb->rx_desc, ldesc); in ath11k_dp_rx_msdu_coalesce()
/linux/drivers/mtd/ubi/
H A Deba.c105 struct ubi_eba_leb_desc *ldesc) in ubi_eba_get_ldesc() argument
107 ldesc->lnum = lnum; in ubi_eba_get_ldesc()
108 ldesc->pnum = vol->eba_tbl->entries[lnum].pnum; in ubi_eba_get_ldesc()
H A Dfastmap.c1318 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 Dubi.h881 struct ubi_eba_leb_desc *ldesc);
/linux/drivers/crypto/marvell/octeontx/
H A Dotx_cptvf_algs.c1531 struct cpt_device_desc *ldesc = (struct cpt_device_desc *) lptr; in compare_func() local
1534 if (ldesc->dev->devfn < rdesc->dev->devfn) in compare_func()
1536 if (ldesc->dev->devfn > rdesc->dev->devfn) in compare_func()
/linux/drivers/crypto/marvell/octeontx2/
H A Dotx2_cptvf_algs.c1623 const struct cpt_device_desc *ldesc = (struct cpt_device_desc *) lptr; in compare_func() local
1626 if (ldesc->dev->devfn < rdesc->dev->devfn) in compare_func()
1628 if (ldesc->dev->devfn > rdesc->dev->devfn) in compare_func()