Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/dma/
Dimg-mdc-dma.c194 static inline void mdc_set_read_width(struct mdc_hw_list_desc *ldesc, in mdc_set_read_width() argument
197 ldesc->gen_conf |= to_mdc_width(bytes) << in mdc_set_read_width()
201 static inline void mdc_set_write_width(struct mdc_hw_list_desc *ldesc, in mdc_set_write_width() argument
204 ldesc->gen_conf |= to_mdc_width(bytes) << in mdc_set_write_width()
209 struct mdc_hw_list_desc *ldesc, in mdc_list_desc_config() argument
216 ldesc->gen_conf = MDC_GENERAL_CONFIG_IEN | MDC_GENERAL_CONFIG_LIST_IEN | in mdc_list_desc_config()
219 ldesc->readport_conf = in mdc_list_desc_config()
223 ldesc->read_addr = src; in mdc_list_desc_config()
224 ldesc->write_addr = dst; in mdc_list_desc_config()
225 ldesc->xfer_size = len - 1; in mdc_list_desc_config()
[all …]
Dnbpfaxi.c173 struct nbpf_link_desc ldesc[NBPF_SEGMENTS_PER_PAGE]; member
387 struct nbpf_link_desc *ldesc = list_first_entry(&desc->sg, struct nbpf_link_desc, node); in nbpf_start() local
389 nbpf_chan_write(chan, NBPF_CHAN_NXLA, (u32)ldesc->hwdesc_dma_addr); in nbpf_start()
394 if (ldesc->hwdesc->config & NBPF_CHAN_CFG_TM) in nbpf_start()
502 static int nbpf_prep_one(struct nbpf_link_desc *ldesc, in nbpf_prep_one() argument
506 struct nbpf_link_reg *hwdesc = ldesc->hwdesc; in nbpf_prep_one()
507 struct nbpf_desc *desc = ldesc->desc; in nbpf_prep_one()
576 __func__, &ldesc->hwdesc_dma_addr, hwdesc->header, in nbpf_prep_one()
579 dma_sync_single_for_device(dev, ldesc->hwdesc_dma_addr, sizeof(*hwdesc), in nbpf_prep_one()
690 struct nbpf_link_desc *ldesc; in nbpf_desc_page_alloc() local
[all …]
/Linux-v4.19/drivers/mtd/ubi/
Deba.c121 struct ubi_eba_leb_desc *ldesc) in ubi_eba_get_ldesc() argument
123 ldesc->lnum = lnum; in ubi_eba_get_ldesc()
124 ldesc->pnum = vol->eba_tbl->entries[lnum].pnum; in ubi_eba_get_ldesc()
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()
Dubi.h895 struct ubi_eba_leb_desc *ldesc);