ldesc 191 drivers/dma/img-mdc-dma.c static inline void mdc_set_read_width(struct mdc_hw_list_desc *ldesc, ldesc 194 drivers/dma/img-mdc-dma.c ldesc->gen_conf |= to_mdc_width(bytes) << ldesc 198 drivers/dma/img-mdc-dma.c static inline void mdc_set_write_width(struct mdc_hw_list_desc *ldesc, ldesc 201 drivers/dma/img-mdc-dma.c ldesc->gen_conf |= to_mdc_width(bytes) << ldesc 206 drivers/dma/img-mdc-dma.c struct mdc_hw_list_desc *ldesc, ldesc 213 drivers/dma/img-mdc-dma.c ldesc->gen_conf = MDC_GENERAL_CONFIG_IEN | MDC_GENERAL_CONFIG_LIST_IEN | ldesc 216 drivers/dma/img-mdc-dma.c ldesc->readport_conf = ldesc 220 drivers/dma/img-mdc-dma.c ldesc->read_addr = src; ldesc 221 drivers/dma/img-mdc-dma.c ldesc->write_addr = dst; ldesc 222 drivers/dma/img-mdc-dma.c ldesc->xfer_size = len - 1; ldesc 223 drivers/dma/img-mdc-dma.c ldesc->node_addr = 0; ldesc 224 drivers/dma/img-mdc-dma.c ldesc->cmds_done = 0; ldesc 225 drivers/dma/img-mdc-dma.c ldesc->ctrl_status = MDC_CONTROL_AND_STATUS_LIST_EN | ldesc 227 drivers/dma/img-mdc-dma.c ldesc->next_desc = NULL; ldesc 236 drivers/dma/img-mdc-dma.c ldesc->gen_conf |= MDC_GENERAL_CONFIG_INC_R; ldesc 237 drivers/dma/img-mdc-dma.c ldesc->readport_conf |= MDC_READ_PORT_CONFIG_DREQ_ENABLE; ldesc 238 drivers/dma/img-mdc-dma.c mdc_set_read_width(ldesc, mdma->bus_width); ldesc 239 drivers/dma/img-mdc-dma.c mdc_set_write_width(ldesc, mchan->config.dst_addr_width); ldesc 243 drivers/dma/img-mdc-dma.c ldesc->gen_conf |= MDC_GENERAL_CONFIG_INC_W; ldesc 244 drivers/dma/img-mdc-dma.c ldesc->readport_conf |= MDC_READ_PORT_CONFIG_DREQ_ENABLE; ldesc 245 drivers/dma/img-mdc-dma.c mdc_set_read_width(ldesc, mchan->config.src_addr_width); ldesc 246 drivers/dma/img-mdc-dma.c mdc_set_write_width(ldesc, mdma->bus_width); ldesc 250 drivers/dma/img-mdc-dma.c ldesc->gen_conf |= MDC_GENERAL_CONFIG_INC_R | ldesc 252 drivers/dma/img-mdc-dma.c mdc_set_read_width(ldesc, mdma->bus_width); ldesc 253 drivers/dma/img-mdc-dma.c mdc_set_write_width(ldesc, mdma->bus_width); ldesc 256 drivers/dma/img-mdc-dma.c ldesc->readport_conf |= (burst_size - 1) << ldesc 594 drivers/dma/img-mdc-dma.c struct mdc_hw_list_desc *ldesc; ldesc 630 drivers/dma/img-mdc-dma.c ldesc = mdesc->list; ldesc 632 drivers/dma/img-mdc-dma.c bytes -= ldesc->xfer_size + 1; ldesc 633 drivers/dma/img-mdc-dma.c ldesc = ldesc->next_desc; ldesc 635 drivers/dma/img-mdc-dma.c if (ldesc) { ldesc 637 drivers/dma/img-mdc-dma.c bytes -= ldesc->xfer_size - residue; ldesc 639 drivers/dma/img-mdc-dma.c bytes -= ldesc->xfer_size + 1; ldesc 170 drivers/dma/nbpfaxi.c struct nbpf_link_desc ldesc[NBPF_SEGMENTS_PER_PAGE]; ldesc 384 drivers/dma/nbpfaxi.c struct nbpf_link_desc *ldesc = list_first_entry(&desc->sg, struct nbpf_link_desc, node); ldesc 386 drivers/dma/nbpfaxi.c nbpf_chan_write(chan, NBPF_CHAN_NXLA, (u32)ldesc->hwdesc_dma_addr); ldesc 391 drivers/dma/nbpfaxi.c if (ldesc->hwdesc->config & NBPF_CHAN_CFG_TM) ldesc 499 drivers/dma/nbpfaxi.c static int nbpf_prep_one(struct nbpf_link_desc *ldesc, ldesc 503 drivers/dma/nbpfaxi.c struct nbpf_link_reg *hwdesc = ldesc->hwdesc; ldesc 504 drivers/dma/nbpfaxi.c struct nbpf_desc *desc = ldesc->desc; ldesc 573 drivers/dma/nbpfaxi.c __func__, &ldesc->hwdesc_dma_addr, hwdesc->header, ldesc 576 drivers/dma/nbpfaxi.c dma_sync_single_for_device(dev, ldesc->hwdesc_dma_addr, sizeof(*hwdesc), ldesc 687 drivers/dma/nbpfaxi.c struct nbpf_link_desc *ldesc; ldesc 701 drivers/dma/nbpfaxi.c for (i = 0, ldesc = dpage->ldesc, hwdesc = dpage->hwdesc; ldesc 702 drivers/dma/nbpfaxi.c i < ARRAY_SIZE(dpage->ldesc); ldesc 703 drivers/dma/nbpfaxi.c i++, ldesc++, hwdesc++) { ldesc 704 drivers/dma/nbpfaxi.c ldesc->hwdesc = hwdesc; ldesc 705 drivers/dma/nbpfaxi.c list_add_tail(&ldesc->node, &lhead); ldesc 706 drivers/dma/nbpfaxi.c ldesc->hwdesc_dma_addr = dma_map_single(dchan->device->dev, ldesc 710 drivers/dma/nbpfaxi.c hwdesc, &ldesc->hwdesc_dma_addr); ldesc 739 drivers/dma/nbpfaxi.c struct nbpf_link_desc *ldesc, *tmp; ldesc 743 drivers/dma/nbpfaxi.c list_for_each_entry_safe(ldesc, tmp, &desc->sg, node) ldesc 744 drivers/dma/nbpfaxi.c list_move(&ldesc->node, &chan->free_links); ldesc 779 drivers/dma/nbpfaxi.c struct nbpf_link_desc *ldesc, *prev = NULL; ldesc 813 drivers/dma/nbpfaxi.c ldesc = list_first_entry(&chan->free_links, ldesc 815 drivers/dma/nbpfaxi.c ldesc->desc = desc; ldesc 817 drivers/dma/nbpfaxi.c prev->hwdesc->next = (u32)ldesc->hwdesc_dma_addr; ldesc 819 drivers/dma/nbpfaxi.c prev = ldesc; ldesc 820 drivers/dma/nbpfaxi.c list_move_tail(&ldesc->node, &desc->sg); ldesc 918 drivers/dma/nbpfaxi.c struct nbpf_link_desc *ldesc; ldesc 957 drivers/dma/nbpfaxi.c list_for_each_entry(ldesc, &desc->sg, node) { ldesc 958 drivers/dma/nbpfaxi.c int ret = nbpf_prep_one(ldesc, direction, ldesc 1069 drivers/dma/nbpfaxi.c struct nbpf_link_desc *ldesc; ldesc 1072 drivers/dma/nbpfaxi.c for (i = 0, ldesc = dpage->ldesc; ldesc 1073 drivers/dma/nbpfaxi.c i < ARRAY_SIZE(dpage->ldesc); ldesc 1074 drivers/dma/nbpfaxi.c i++, ldesc++) ldesc 1075 drivers/dma/nbpfaxi.c dma_unmap_single(dchan->device->dev, ldesc->hwdesc_dma_addr, ldesc 1076 drivers/dma/nbpfaxi.c sizeof(*ldesc->hwdesc), DMA_TO_DEVICE); ldesc 108 drivers/mtd/ubi/eba.c struct ubi_eba_leb_desc *ldesc) ldesc 110 drivers/mtd/ubi/eba.c ldesc->lnum = lnum; ldesc 111 drivers/mtd/ubi/eba.c ldesc->pnum = vol->eba_tbl->entries[lnum].pnum; ldesc 1309 drivers/mtd/ubi/fastmap.c struct ubi_eba_leb_desc ldesc; ldesc 1311 drivers/mtd/ubi/fastmap.c ubi_eba_get_ldesc(vol, j, &ldesc); ldesc 1312 drivers/mtd/ubi/fastmap.c feba->pnum[j] = cpu_to_be32(ldesc.pnum); ldesc 882 drivers/mtd/ubi/ubi.h struct ubi_eba_leb_desc *ldesc);