Searched refs:ldesc (Results 1 – 5 of 5) sorted by relevance
| /Linux-v5.4/drivers/dma/ |
| 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() 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 …]
|
| D | nbpfaxi.c | 170 struct nbpf_link_desc ldesc[NBPF_SEGMENTS_PER_PAGE]; member 384 struct nbpf_link_desc *ldesc = list_first_entry(&desc->sg, struct nbpf_link_desc, node); in nbpf_start() local 386 nbpf_chan_write(chan, NBPF_CHAN_NXLA, (u32)ldesc->hwdesc_dma_addr); in nbpf_start() 391 if (ldesc->hwdesc->config & NBPF_CHAN_CFG_TM) in nbpf_start() 499 static int nbpf_prep_one(struct nbpf_link_desc *ldesc, in nbpf_prep_one() argument 503 struct nbpf_link_reg *hwdesc = ldesc->hwdesc; in nbpf_prep_one() 504 struct nbpf_desc *desc = ldesc->desc; in nbpf_prep_one() 573 __func__, &ldesc->hwdesc_dma_addr, hwdesc->header, in nbpf_prep_one() 576 dma_sync_single_for_device(dev, ldesc->hwdesc_dma_addr, sizeof(*hwdesc), in nbpf_prep_one() 687 struct nbpf_link_desc *ldesc; in nbpf_desc_page_alloc() local [all …]
|
| /Linux-v5.4/drivers/mtd/ubi/ |
| D | eba.c | 108 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()
|
| D | fastmap.c | 1309 struct ubi_eba_leb_desc ldesc; in ubi_write_fastmap() local 1311 ubi_eba_get_ldesc(vol, j, &ldesc); in ubi_write_fastmap() 1312 feba->pnum[j] = cpu_to_be32(ldesc.pnum); in ubi_write_fastmap()
|
| D | ubi.h | 882 struct ubi_eba_leb_desc *ldesc);
|