lli 392 drivers/dma/amba-pl08x.c struct pl08x_phy_chan *phychan, const u32 *lli, u32 ccfg) lli 398 drivers/dma/amba-pl08x.c phychan->id, lli[PL080_LLI_SRC], lli[PL080_LLI_DST], lli 399 drivers/dma/amba-pl08x.c lli[PL080_LLI_LLI], lli[PL080_LLI_CCTL], lli 400 drivers/dma/amba-pl08x.c lli[PL080S_LLI_CCTL2], ccfg); lli 405 drivers/dma/amba-pl08x.c phychan->id, lli[PL080_LLI_SRC], lli[PL080_LLI_DST], lli 406 drivers/dma/amba-pl08x.c lli[PL080_LLI_LLI], lli[PL080_LLI_CCTL], ccfg); lli 408 drivers/dma/amba-pl08x.c writel_relaxed(lli[PL080_LLI_SRC], phychan->reg_src); lli 409 drivers/dma/amba-pl08x.c writel_relaxed(lli[PL080_LLI_DST], phychan->reg_dst); lli 410 drivers/dma/amba-pl08x.c writel_relaxed(lli[PL080_LLI_LLI], phychan->reg_lli); lli 419 drivers/dma/amba-pl08x.c u32 llictl = lli[PL080_LLI_CCTL]; lli 510 drivers/dma/amba-pl08x.c writel_relaxed(lli[PL080_LLI_CCTL], phychan->reg_control); lli 515 drivers/dma/amba-pl08x.c writel_relaxed(lli[PL080S_LLI_CCTL2], lli 203 drivers/dma/at_hdmac.c (*prev)->lli.dscr = desc->txd.phys; lli 325 drivers/dma/at_hdmac.c if (desc_first->lli.dscr) { lli 409 drivers/dma/at_hdmac.c if (desc_first->lli.dscr == dscr) lli 414 drivers/dma/at_hdmac.c if (desc->lli.dscr == dscr) lli 572 drivers/dma/at_hdmac.c atc_dump_lli(atchan, &bad_desc->lli); lli 574 drivers/dma/at_hdmac.c atc_dump_lli(atchan, &child->lli); lli 772 drivers/dma/at_hdmac.c desc->lli.saddr = xt->src_start; lli 773 drivers/dma/at_hdmac.c desc->lli.daddr = xt->dst_start; lli 774 drivers/dma/at_hdmac.c desc->lli.ctrla = ctrla | xfer_count; lli 775 drivers/dma/at_hdmac.c desc->lli.ctrlb = ctrlb; lli 845 drivers/dma/at_hdmac.c desc->lli.saddr = src + offset; lli 846 drivers/dma/at_hdmac.c desc->lli.daddr = dest + offset; lli 847 drivers/dma/at_hdmac.c desc->lli.ctrla = ctrla | xfer_count; lli 848 drivers/dma/at_hdmac.c desc->lli.ctrlb = ctrlb; lli 901 drivers/dma/at_hdmac.c desc->lli.saddr = psrc; lli 902 drivers/dma/at_hdmac.c desc->lli.daddr = pdst; lli 903 drivers/dma/at_hdmac.c desc->lli.ctrla = ctrla | xfer_count; lli 904 drivers/dma/at_hdmac.c desc->lli.ctrlb = ctrlb; lli 1125 drivers/dma/at_hdmac.c desc->lli.saddr = mem; lli 1126 drivers/dma/at_hdmac.c desc->lli.daddr = reg; lli 1127 drivers/dma/at_hdmac.c desc->lli.ctrla = ctrla lli 1130 drivers/dma/at_hdmac.c desc->lli.ctrlb = ctrlb; lli 1166 drivers/dma/at_hdmac.c desc->lli.saddr = reg; lli 1167 drivers/dma/at_hdmac.c desc->lli.daddr = mem; lli 1168 drivers/dma/at_hdmac.c desc->lli.ctrla = ctrla lli 1171 drivers/dma/at_hdmac.c desc->lli.ctrlb = ctrlb; lli 1244 drivers/dma/at_hdmac.c desc->lli.saddr = buf_addr + (period_len * period_index); lli 1245 drivers/dma/at_hdmac.c desc->lli.daddr = sconfig->dst_addr; lli 1246 drivers/dma/at_hdmac.c desc->lli.ctrla = ctrla; lli 1247 drivers/dma/at_hdmac.c desc->lli.ctrlb = ATC_DST_ADDR_MODE_FIXED lli 1256 drivers/dma/at_hdmac.c desc->lli.saddr = sconfig->src_addr; lli 1257 drivers/dma/at_hdmac.c desc->lli.daddr = buf_addr + (period_len * period_index); lli 1258 drivers/dma/at_hdmac.c desc->lli.ctrla = ctrla; lli 1259 drivers/dma/at_hdmac.c desc->lli.ctrlb = ATC_DST_ADDR_MODE_INCR lli 1342 drivers/dma/at_hdmac.c prev->lli.dscr = first->txd.phys; lli 186 drivers/dma/at_hdmac_regs.h struct at_lli lli; lli 381 drivers/dma/at_hdmac_regs.h static void atc_dump_lli(struct at_dma_chan *atchan, struct at_lli *lli) lli 385 drivers/dma/at_hdmac_regs.h &lli->saddr, &lli->daddr, lli 386 drivers/dma/at_hdmac_regs.h lli->ctrla, lli->ctrlb, &lli->dscr); lli 449 drivers/dma/at_hdmac_regs.h u32 ctrlb = desc->lli.ctrlb; lli 454 drivers/dma/at_hdmac_regs.h desc->lli.ctrlb = ctrlb; lli 455 drivers/dma/at_hdmac_regs.h desc->lli.dscr = 0; lli 1273 drivers/dma/coh901318.c struct coh901318_lli *lli; lli 1317 drivers/dma/coh901318.c struct coh901318_lli *lli) lli 1319 drivers/dma/coh901318.c struct coh901318_lli *l = lli; lli 1486 drivers/dma/coh901318.c struct coh901318_lli *lli) lli 1495 drivers/dma/coh901318.c writel(lli->src_addr, lli 1499 drivers/dma/coh901318.c writel(lli->dst_addr, virtbase + lli 1503 drivers/dma/coh901318.c writel(lli->link_addr, virtbase + COH901318_CX_LNK_ADDR + lli 1506 drivers/dma/coh901318.c writel(lli->control, virtbase + COH901318_CX_CTRL + lli 1585 drivers/dma/coh901318.c struct coh901318_lli *lli = in_lli; lli 1588 drivers/dma/coh901318.c while (lli) { lli 1589 drivers/dma/coh901318.c bytes += lli->control & COH901318_CX_CTRL_TC_VALUE_MASK; lli 1590 drivers/dma/coh901318.c lli = lli->virt_link_addr; lli 1627 drivers/dma/coh901318.c struct coh901318_lli *lli; lli 1650 drivers/dma/coh901318.c lli = cohd->lli; lli 1651 drivers/dma/coh901318.c while (lli && lli->link_addr != ladd) lli 1652 drivers/dma/coh901318.c lli = lli->virt_link_addr; lli 1654 drivers/dma/coh901318.c if (lli) lli 1655 drivers/dma/coh901318.c lli = lli->virt_link_addr; lli 1661 drivers/dma/coh901318.c left += coh901318_get_bytes_in_lli(lli); lli 1663 drivers/dma/coh901318.c left += coh901318_get_bytes_in_lli(cohd->lli); lli 1671 drivers/dma/coh901318.c left += coh901318_get_bytes_in_lli(cohd->lli); lli 1857 drivers/dma/coh901318.c coh901318_prep_linked_list(cohc, cohd->lli); lli 1897 drivers/dma/coh901318.c coh901318_lli_free(&cohc->base->pool, &cohd_fin->lli); lli 2123 drivers/dma/coh901318.c coh901318_lli_free(&cohc->base->pool, &cohd->lli); lli 2132 drivers/dma/coh901318.c coh901318_lli_free(&cohc->base->pool, &cohd->lli); lli 2217 drivers/dma/coh901318.c struct coh901318_lli *lli; lli 2239 drivers/dma/coh901318.c lli = coh901318_lli_alloc(&cohc->base->pool, lli_len); lli 2241 drivers/dma/coh901318.c if (lli == NULL) lli 2245 drivers/dma/coh901318.c &cohc->base->pool, lli, src, size, dest, lli 2251 drivers/dma/coh901318.c COH_DBG(coh901318_list_print(cohc, lli)); lli 2255 drivers/dma/coh901318.c cohd->lli = lli; lli 2273 drivers/dma/coh901318.c struct coh901318_lli *lli; lli 2352 drivers/dma/coh901318.c lli = coh901318_lli_alloc(&cohc->base->pool, len); lli 2354 drivers/dma/coh901318.c if (lli == NULL) lli 2360 drivers/dma/coh901318.c ret = coh901318_lli_fill_sg(&cohc->base->pool, lli, sgl, sg_len, lli 2370 drivers/dma/coh901318.c COH_DBG(coh901318_list_print(cohc, lli)); lli 2380 drivers/dma/coh901318.c cohd->head_ctrl = lli->control; lli 2384 drivers/dma/coh901318.c cohd->lli = lli; lli 81 drivers/dma/coh901318.h struct coh901318_lli **lli); lli 96 drivers/dma/coh901318.h struct coh901318_lli *lli, lli 114 drivers/dma/coh901318.h struct coh901318_lli *lli, lli 135 drivers/dma/coh901318.h struct coh901318_lli *lli, lli 59 drivers/dma/coh901318_lli.c struct coh901318_lli *lli; lli 75 drivers/dma/coh901318_lli.c lli = head; lli 76 drivers/dma/coh901318_lli.c lli->phy_this = phy; lli 77 drivers/dma/coh901318_lli.c lli->link_addr = 0x00000000; lli 78 drivers/dma/coh901318_lli.c lli->virt_link_addr = NULL; lli 81 drivers/dma/coh901318_lli.c lli_prev = lli; lli 83 drivers/dma/coh901318_lli.c lli = dma_pool_alloc(pool->dmapool, GFP_NOWAIT, &phy); lli 85 drivers/dma/coh901318_lli.c if (lli == NULL) lli 89 drivers/dma/coh901318_lli.c lli->phy_this = phy; lli 90 drivers/dma/coh901318_lli.c lli->link_addr = 0x00000000; lli 91 drivers/dma/coh901318_lli.c lli->virt_link_addr = NULL; lli 94 drivers/dma/coh901318_lli.c lli_prev->virt_link_addr = lli; lli 113 drivers/dma/coh901318_lli.c struct coh901318_lli **lli) lli 118 drivers/dma/coh901318_lli.c if (lli == NULL) lli 121 drivers/dma/coh901318_lli.c l = *lli; lli 138 drivers/dma/coh901318_lli.c *lli = NULL; lli 143 drivers/dma/coh901318_lli.c struct coh901318_lli *lli, lli 152 drivers/dma/coh901318_lli.c lli->src_addr = src; lli 153 drivers/dma/coh901318_lli.c lli->dst_addr = dst; lli 155 drivers/dma/coh901318_lli.c while (lli->link_addr) { lli 156 drivers/dma/coh901318_lli.c lli->control = ctrl_chained | MAX_DMA_PACKET_SIZE; lli 157 drivers/dma/coh901318_lli.c lli->src_addr = src; lli 158 drivers/dma/coh901318_lli.c lli->dst_addr = dst; lli 161 drivers/dma/coh901318_lli.c lli = coh901318_lli_next(lli); lli 167 drivers/dma/coh901318_lli.c lli->control = ctrl_eom | s; lli 168 drivers/dma/coh901318_lli.c lli->src_addr = src; lli 169 drivers/dma/coh901318_lli.c lli->dst_addr = dst; lli 176 drivers/dma/coh901318_lli.c struct coh901318_lli *lli, lli 198 drivers/dma/coh901318_lli.c while (lli->link_addr) { lli 200 drivers/dma/coh901318_lli.c lli->control = ctrl_chained | MAX_DMA_PACKET_SIZE; lli 212 drivers/dma/coh901318_lli.c lli->src_addr = src; lli 213 drivers/dma/coh901318_lli.c lli->dst_addr = dst; lli 215 drivers/dma/coh901318_lli.c lli = coh901318_lli_next(lli); lli 223 drivers/dma/coh901318_lli.c lli->control = ctrl_eom | s; lli 224 drivers/dma/coh901318_lli.c lli->src_addr = src; lli 225 drivers/dma/coh901318_lli.c lli->dst_addr = dst; lli 232 drivers/dma/coh901318_lli.c struct coh901318_lli *lli, lli 246 drivers/dma/coh901318_lli.c if (lli == NULL) lli 291 drivers/dma/coh901318_lli.c lli->control = val | elem_size; lli 292 drivers/dma/coh901318_lli.c lli->src_addr = src; lli 293 drivers/dma/coh901318_lli.c lli->dst_addr = dst; lli 300 drivers/dma/coh901318_lli.c BUG_ON(lli->link_addr & 3); lli 303 drivers/dma/coh901318_lli.c lli = coh901318_lli_next(lli); lli 263 drivers/dma/dw-axi-dmac/dw-axi-dmac-platform.c desc->lli.llp = cpu_to_le64(adr); lli 385 drivers/dma/dw-axi-dmac/dw-axi-dmac-platform.c val = le32_to_cpu(desc->lli.ctl_hi); lli 387 drivers/dma/dw-axi-dmac/dw-axi-dmac-platform.c desc->lli.ctl_hi = cpu_to_le32(val); lli 392 drivers/dma/dw-axi-dmac/dw-axi-dmac-platform.c desc->lli.sar = cpu_to_le64(adr); lli 397 drivers/dma/dw-axi-dmac/dw-axi-dmac-platform.c desc->lli.dar = cpu_to_le64(adr); lli 405 drivers/dma/dw-axi-dmac/dw-axi-dmac-platform.c val = le32_to_cpu(desc->lli.ctl_lo); lli 407 drivers/dma/dw-axi-dmac/dw-axi-dmac-platform.c desc->lli.ctl_lo = cpu_to_le32(val); lli 415 drivers/dma/dw-axi-dmac/dw-axi-dmac-platform.c val = le32_to_cpu(desc->lli.ctl_lo); lli 421 drivers/dma/dw-axi-dmac/dw-axi-dmac-platform.c desc->lli.ctl_lo = cpu_to_le32(val); lli 466 drivers/dma/dw-axi-dmac/dw-axi-dmac-platform.c desc->lli.block_ts_lo = cpu_to_le32(block_ts - 1); lli 477 drivers/dma/dw-axi-dmac/dw-axi-dmac-platform.c desc->lli.ctl_hi = cpu_to_le32(reg); lli 485 drivers/dma/dw-axi-dmac/dw-axi-dmac-platform.c desc->lli.ctl_lo = cpu_to_le32(reg); lli 525 drivers/dma/dw-axi-dmac/dw-axi-dmac-platform.c le64_to_cpu(desc->lli.sar), lli 526 drivers/dma/dw-axi-dmac/dw-axi-dmac-platform.c le64_to_cpu(desc->lli.dar), lli 527 drivers/dma/dw-axi-dmac/dw-axi-dmac-platform.c le64_to_cpu(desc->lli.llp), lli 528 drivers/dma/dw-axi-dmac/dw-axi-dmac-platform.c le32_to_cpu(desc->lli.block_ts_lo), lli 529 drivers/dma/dw-axi-dmac/dw-axi-dmac-platform.c le32_to_cpu(desc->lli.ctl_hi), lli 530 drivers/dma/dw-axi-dmac/dw-axi-dmac-platform.c le32_to_cpu(desc->lli.ctl_lo)); lli 84 drivers/dma/dw-axi-dmac/dw-axi-dmac.h struct axi_dma_lli lli; lli 195 drivers/dma/dw-edma/dw-edma-v0-core.c struct dw_edma_v0_lli __iomem *lli; lli 200 drivers/dma/dw-edma/dw-edma-v0-core.c lli = chunk->ll_region.vaddr; lli 212 drivers/dma/dw-edma/dw-edma-v0-core.c SET_LL(&lli[i].control, control); lli 214 drivers/dma/dw-edma/dw-edma-v0-core.c SET_LL(&lli[i].transfer_size, child->sz); lli 216 drivers/dma/dw-edma/dw-edma-v0-core.c SET_LL(&lli[i].sar_low, lower_32_bits(child->sar)); lli 217 drivers/dma/dw-edma/dw-edma-v0-core.c SET_LL(&lli[i].sar_high, upper_32_bits(child->sar)); lli 219 drivers/dma/dw-edma/dw-edma-v0-core.c SET_LL(&lli[i].dar_low, lower_32_bits(child->dar)); lli 220 drivers/dma/dw-edma/dw-edma-v0-core.c SET_LL(&lli[i].dar_high, upper_32_bits(child->dar)); lli 224 drivers/dma/dw-edma/dw-edma-v0-core.c llp = (void __iomem *)&lli[i]; lli 609 drivers/dma/dw/core.c prev->lli.llp = 0; lli 759 drivers/dma/dw/core.c prev->lli.llp = 0; lli 384 drivers/dma/dw/regs.h struct dw_lli lli; lli 386 drivers/dma/dw/regs.h #define lli_set(d, reg, v) ((d)->lli.reg |= cpu_to_le32(v)) lli 387 drivers/dma/dw/regs.h #define lli_clear(d, reg, v) ((d)->lli.reg &= ~cpu_to_le32(v)) lli 388 drivers/dma/dw/regs.h #define lli_read(d, reg) le32_to_cpu((d)->lli.reg) lli 389 drivers/dma/dw/regs.h #define lli_write(d, reg, v) ((d)->lli.reg = cpu_to_le32(v)) lli 214 drivers/dma/idma64.c dma_pool_free(idma64c->pool, hw->lli, hw->llp); lli 233 drivers/dma/idma64.c struct idma64_lli *lli = hw->lli; lli 255 drivers/dma/idma64.c lli->sar = sar; lli 256 drivers/dma/idma64.c lli->dar = dar; lli 258 drivers/dma/idma64.c lli->ctlhi = ctlhi; lli 259 drivers/dma/idma64.c lli->ctllo = ctllo | lli 265 drivers/dma/idma64.c lli->llp = llp; lli 274 drivers/dma/idma64.c struct idma64_lli *lli = hw->lli; lli 286 drivers/dma/idma64.c lli->ctllo |= IDMA64C_CTLL_INT_EN; lli 289 drivers/dma/idma64.c lli->ctllo &= ~(IDMA64C_CTLL_LLP_S_EN | IDMA64C_CTLL_LLP_D_EN); lli 310 drivers/dma/idma64.c hw->lli = dma_pool_alloc(idma64c->pool, GFP_NOWAIT, &hw->llp); lli 311 drivers/dma/idma64.c if (!hw->lli) { lli 107 drivers/dma/idma64.h struct idma64_lli *lli; lli 62 drivers/dma/k3dma.c u32 lli; lli 164 drivers/dma/k3dma.c writel_relaxed(hw->lli, phy->base + CX_LLI); lli 414 drivers/dma/k3dma.c if (!ds->desc_hw[index].lli) lli 452 drivers/dma/k3dma.c ds->desc_hw[num].lli = ds->desc_hw_lli + (num + 1) * lli 455 drivers/dma/k3dma.c ds->desc_hw[num].lli |= CX_LLI_CHAIN_EN; lli 528 drivers/dma/k3dma.c ds->desc_hw[num-1].lli = 0; /* end of link */ lli 583 drivers/dma/k3dma.c ds->desc_hw[num-1].lli = 0; /* end of link */ lli 649 drivers/dma/k3dma.c ds->desc_hw[num - 1].lli |= ds->desc_hw_lli; lli 322 drivers/dma/owl-dma.c struct owl_dma_lli *lli) lli 324 drivers/dma/owl-dma.c list_del(&lli->node); lli 325 drivers/dma/owl-dma.c dma_pool_free(od->lli_pool, lli, lli->phys); lli 330 drivers/dma/owl-dma.c struct owl_dma_lli *lli; lli 333 drivers/dma/owl-dma.c lli = dma_pool_alloc(od->lli_pool, GFP_NOWAIT, &phys); lli 334 drivers/dma/owl-dma.c if (!lli) lli 337 drivers/dma/owl-dma.c INIT_LIST_HEAD(&lli->node); lli 338 drivers/dma/owl-dma.c lli->phys = phys; lli 340 drivers/dma/owl-dma.c return lli; lli 360 drivers/dma/owl-dma.c struct owl_dma_lli *lli, lli 366 drivers/dma/owl-dma.c struct owl_dma_lli_hw *hw = &lli->hw; lli 501 drivers/dma/owl-dma.c struct owl_dma_lli *lli; lli 513 drivers/dma/owl-dma.c lli = list_first_entry(&txd->lli_list, lli 524 drivers/dma/owl-dma.c pchan_writel(pchan, OWL_DMAX_NEXT_DESCRIPTOR, lli->phys); lli 638 drivers/dma/owl-dma.c struct owl_dma_lli *lli, *_lli; lli 643 drivers/dma/owl-dma.c list_for_each_entry_safe(lli, _lli, &txd->lli_list, node) lli 644 drivers/dma/owl-dma.c owl_dma_free_lli(od, lli); lli 734 drivers/dma/owl-dma.c struct owl_dma_lli *lli; lli 750 drivers/dma/owl-dma.c list_for_each_entry(lli, &txd->lli_list, node) { lli 752 drivers/dma/owl-dma.c if (lli->phys == next_lli_phy) { lli 753 drivers/dma/owl-dma.c list_for_each_entry(lli, &txd->lli_list, node) lli 754 drivers/dma/owl-dma.c bytes += lli->hw.flen; lli 768 drivers/dma/owl-dma.c struct owl_dma_lli *lli; lli 784 drivers/dma/owl-dma.c list_for_each_entry(lli, &txd->lli_list, node) lli 785 drivers/dma/owl-dma.c bytes += lli->hw.flen; lli 833 drivers/dma/owl-dma.c struct owl_dma_lli *lli, *prev = NULL; lli 848 drivers/dma/owl-dma.c lli = owl_dma_alloc_lli(od); lli 849 drivers/dma/owl-dma.c if (!lli) { lli 856 drivers/dma/owl-dma.c ret = owl_dma_cfg_lli(vchan, lli, src + offset, dst + offset, lli 864 drivers/dma/owl-dma.c prev = owl_dma_add_lli(txd, prev, lli, false); lli 885 drivers/dma/owl-dma.c struct owl_dma_lli *lli, *prev = NULL; lli 907 drivers/dma/owl-dma.c lli = owl_dma_alloc_lli(od); lli 908 drivers/dma/owl-dma.c if (!lli) { lli 921 drivers/dma/owl-dma.c ret = owl_dma_cfg_lli(vchan, lli, src, dst, len, dir, sconfig, lli 928 drivers/dma/owl-dma.c prev = owl_dma_add_lli(txd, prev, lli, false); lli 950 drivers/dma/owl-dma.c struct owl_dma_lli *lli, *prev = NULL, *first = NULL; lli 963 drivers/dma/owl-dma.c lli = owl_dma_alloc_lli(od); lli 964 drivers/dma/owl-dma.c if (!lli) { lli 977 drivers/dma/owl-dma.c ret = owl_dma_cfg_lli(vchan, lli, src, dst, period_len, lli 985 drivers/dma/owl-dma.c first = lli; lli 987 drivers/dma/owl-dma.c prev = owl_dma_add_lli(txd, prev, lli, false); lli 831 drivers/dma/ste_dma40.c struct d40_log_lli_bidir *lli = &desc->lli_log; lli 877 drivers/dma/ste_dma40.c &lli->dst[lli_current], lli 878 drivers/dma/ste_dma40.c &lli->src[lli_current], lli 905 drivers/dma/ste_dma40.c &lli->dst[lli_current], lli 906 drivers/dma/ste_dma40.c &lli->src[lli_current], lli 915 drivers/dma/ste_dma40.c &lli->dst[lli_current], lli 916 drivers/dma/ste_dma40.c &lli->src[lli_current], lli 132 drivers/dma/ste_dma40_ll.c static int d40_phy_fill_lli(struct d40_phy_lli *lli, lli 160 drivers/dma/ste_dma40_ll.c lli->reg_elt = (data_size / data_width) << D40_SREG_ELEM_PHY_ECNT_POS; lli 167 drivers/dma/ste_dma40_ll.c lli->reg_elt |= data_width << D40_SREG_ELEM_PHY_EIDX_POS; lli 170 drivers/dma/ste_dma40_ll.c lli->reg_ptr = data; lli 171 drivers/dma/ste_dma40_ll.c lli->reg_cfg = reg_cfg; lli 175 drivers/dma/ste_dma40_ll.c lli->reg_lnk = BIT(D40_SREG_LNK_PHY_TCP_POS); lli 177 drivers/dma/ste_dma40_ll.c lli->reg_lnk = next_lli; lli 181 drivers/dma/ste_dma40_ll.c lli->reg_cfg |= BIT(D40_SREG_CFG_TIM_POS); lli 183 drivers/dma/ste_dma40_ll.c lli->reg_cfg &= ~BIT(D40_SREG_CFG_TIM_POS); lli 212 drivers/dma/ste_dma40_ll.c d40_phy_buf_to_lli(struct d40_phy_lli *lli, dma_addr_t addr, u32 size, lli 248 drivers/dma/ste_dma40_ll.c err = d40_phy_fill_lli(lli, addr, size_seg, next, lli 254 drivers/dma/ste_dma40_ll.c lli++; lli 259 drivers/dma/ste_dma40_ll.c return lli; lli 278 drivers/dma/ste_dma40_ll.c struct d40_phy_lli *lli = lli_sg; lli 294 drivers/dma/ste_dma40_ll.c l_phys = ALIGN(lli_phys + (lli - lli_sg) * lli 297 drivers/dma/ste_dma40_ll.c lli = d40_phy_buf_to_lli(lli, dst, len, l_phys, lli_phys, lli 300 drivers/dma/ste_dma40_ll.c if (lli == NULL) lli 361 drivers/dma/ste_dma40_ll.c static void d40_log_fill_lli(struct d40_log_lli *lli, lli 369 drivers/dma/ste_dma40_ll.c lli->lcsp13 = reg_cfg; lli 372 drivers/dma/ste_dma40_ll.c lli->lcsp02 = ((data_size / data_width) << lli 378 drivers/dma/ste_dma40_ll.c lli->lcsp02 |= data & D40_MEM_LCSP0_SPTR_MASK; lli 380 drivers/dma/ste_dma40_ll.c lli->lcsp13 |= data & D40_MEM_LCSP1_SPTR_MASK; lli 383 drivers/dma/ste_dma40_ll.c lli->lcsp13 |= D40_MEM_LCSP1_SCFG_INCR_MASK; lli 396 drivers/dma/ste_dma40_ll.c struct d40_log_lli *lli = lli_sg; lli 404 drivers/dma/ste_dma40_ll.c d40_log_fill_lli(lli, lli 411 drivers/dma/ste_dma40_ll.c lli++; lli 414 drivers/dma/ste_dma40_ll.c return lli; lli 427 drivers/dma/ste_dma40_ll.c struct d40_log_lli *lli = lli_sg; lli 440 drivers/dma/ste_dma40_ll.c lli = d40_log_buf_to_lli(lli, addr, len, lli 444 drivers/dma/ste_dma40_ll.h struct d40_phy_lli *lli, lli 344 drivers/dma/sun6i-dma.c struct sun6i_dma_lli *lli; lli 354 drivers/dma/sun6i-dma.c for (lli = txd->v_lli; lli; lli = lli->v_lli_next) { lli 355 drivers/dma/sun6i-dma.c if (lli->p_lli_next == pos) { lli 356 drivers/dma/sun6i-dma.c for (lli = lli->v_lli_next; lli; lli = lli->v_lli_next) lli 357 drivers/dma/sun6i-dma.c bytes += lli->len; lli 388 drivers/dma/sun6i-dma.c struct sun6i_dma_lli *lli) lli 390 drivers/dma/sun6i-dma.c phys_addr_t p_lli = virt_to_phys(lli); lli 396 drivers/dma/sun6i-dma.c &p_lli, lli, lli 397 drivers/dma/sun6i-dma.c lli->cfg, lli->src, lli->dst, lli 398 drivers/dma/sun6i-dma.c lli->len, lli->para, lli->p_lli_next); lli 933 drivers/dma/sun6i-dma.c struct sun6i_dma_lli *lli; lli 950 drivers/dma/sun6i-dma.c for (lli = txd->v_lli; lli != NULL; lli = lli->v_lli_next) lli 951 drivers/dma/sun6i-dma.c bytes += lli->len; lli 82 drivers/dma/zx_dma.c u32 lli; lli 162 drivers/dma/zx_dma.c writel_relaxed(hw->lli, phy->base + REG_ZX_LLI_ADDR); lli 370 drivers/dma/zx_dma.c if (!ds->desc_hw[index].lli) lli 410 drivers/dma/zx_dma.c ds->desc_hw[num].lli = ds->desc_hw_lli + (num + 1) * lli 540 drivers/dma/zx_dma.c ds->desc_hw[num - 1].lli = 0; /* end of link */ lli 597 drivers/dma/zx_dma.c ds->desc_hw[num - 1].lli = 0; /* end of link */ lli 641 drivers/dma/zx_dma.c ds->desc_hw[num - 1].lli = ds->desc_hw_lli; lli 568 drivers/net/ethernet/chelsio/cxgb4/cxgb4_uld.c struct cxgb4_lld_info *lli) lli 574 drivers/net/ethernet/chelsio/cxgb4/cxgb4_uld.c lli->rxq_ids = rxq_info->rspq_id; lli 575 drivers/net/ethernet/chelsio/cxgb4/cxgb4_uld.c lli->nrxq = rxq_info->nrxq; lli 576 drivers/net/ethernet/chelsio/cxgb4/cxgb4_uld.c lli->ciq_ids = rxq_info->rspq_id + rxq_info->nrxq; lli 577 drivers/net/ethernet/chelsio/cxgb4/cxgb4_uld.c lli->nciq = rxq_info->nciq; lli 578 drivers/net/ethernet/chelsio/cxgb4/cxgb4_uld.c lli->ntxq = txq_info->ntxq; lli 700 drivers/net/ethernet/chelsio/cxgb4/cxgb4_uld.c struct cxgb4_lld_info lli; lli 703 drivers/net/ethernet/chelsio/cxgb4/cxgb4_uld.c uld_init(adap, &lli); lli 704 drivers/net/ethernet/chelsio/cxgb4/cxgb4_uld.c uld_queue_init(adap, uld, &lli); lli 706 drivers/net/ethernet/chelsio/cxgb4/cxgb4_uld.c handle = adap->uld[uld].add(&lli); lli 35 drivers/scsi/cxlflash/lunmgt.c struct llun_info *lli = NULL; lli 37 drivers/scsi/cxlflash/lunmgt.c lli = kzalloc(sizeof(*lli), GFP_KERNEL); lli 38 drivers/scsi/cxlflash/lunmgt.c if (unlikely(!lli)) { lli 43 drivers/scsi/cxlflash/lunmgt.c lli->sdev = sdev; lli 44 drivers/scsi/cxlflash/lunmgt.c lli->host_no = sdev->host->host_no; lli 45 drivers/scsi/cxlflash/lunmgt.c lli->in_table = false; lli 47 drivers/scsi/cxlflash/lunmgt.c memcpy(lli->wwid, wwid, DK_CXLFLASH_MANAGE_LUN_WWID_LEN); lli 49 drivers/scsi/cxlflash/lunmgt.c return lli; lli 86 drivers/scsi/cxlflash/lunmgt.c struct llun_info *lli, *temp; lli 88 drivers/scsi/cxlflash/lunmgt.c list_for_each_entry_safe(lli, temp, &cfg->lluns, list) lli 89 drivers/scsi/cxlflash/lunmgt.c if (!memcmp(lli->wwid, wwid, DK_CXLFLASH_MANAGE_LUN_WWID_LEN)) lli 90 drivers/scsi/cxlflash/lunmgt.c return lli; lli 136 drivers/scsi/cxlflash/lunmgt.c struct llun_info *lli = NULL; lli 142 drivers/scsi/cxlflash/lunmgt.c lli = lookup_local(cfg, wwid); lli 143 drivers/scsi/cxlflash/lunmgt.c if (lli) lli 146 drivers/scsi/cxlflash/lunmgt.c lli = create_local(sdev, wwid); lli 147 drivers/scsi/cxlflash/lunmgt.c if (unlikely(!lli)) lli 152 drivers/scsi/cxlflash/lunmgt.c lli->parent = gli; lli 153 drivers/scsi/cxlflash/lunmgt.c list_add(&lli->list, &cfg->lluns); lli 159 drivers/scsi/cxlflash/lunmgt.c kfree(lli); lli 160 drivers/scsi/cxlflash/lunmgt.c lli = NULL; lli 164 drivers/scsi/cxlflash/lunmgt.c lli->parent = gli; lli 165 drivers/scsi/cxlflash/lunmgt.c list_add(&lli->list, &cfg->lluns); lli 170 drivers/scsi/cxlflash/lunmgt.c dev_dbg(dev, "%s: returning lli=%p, gli=%p\n", __func__, lli, gli); lli 171 drivers/scsi/cxlflash/lunmgt.c return lli; lli 180 drivers/scsi/cxlflash/lunmgt.c struct llun_info *lli, *temp; lli 183 drivers/scsi/cxlflash/lunmgt.c list_for_each_entry_safe(lli, temp, &cfg->lluns, list) { lli 184 drivers/scsi/cxlflash/lunmgt.c list_del(&lli->list); lli 185 drivers/scsi/cxlflash/lunmgt.c kfree(lli); lli 232 drivers/scsi/cxlflash/lunmgt.c struct llun_info *lli = NULL; lli 238 drivers/scsi/cxlflash/lunmgt.c lli = find_and_create_lun(sdev, manage->wwid); lli 241 drivers/scsi/cxlflash/lunmgt.c get_unaligned_be64(&manage->wwid[8]), manage->hdr.flags, lli); lli 242 drivers/scsi/cxlflash/lunmgt.c if (unlikely(!lli)) { lli 253 drivers/scsi/cxlflash/lunmgt.c lli->port_sel |= CHAN2PORTMASK(chan); lli 254 drivers/scsi/cxlflash/lunmgt.c lli->lun_id[chan] = lun_to_lunid(sdev->lun); lli 255 drivers/scsi/cxlflash/lunmgt.c sdev->hostdata = lli; lli 257 drivers/scsi/cxlflash/lunmgt.c if (lli->parent->mode != MODE_NONE) lli 265 drivers/scsi/cxlflash/lunmgt.c lli->port_sel &= ~CHAN2PORTMASK(chan); lli 266 drivers/scsi/cxlflash/lunmgt.c if (lli->port_sel == 0U) lli 267 drivers/scsi/cxlflash/lunmgt.c lli->in_table = false; lli 272 drivers/scsi/cxlflash/lunmgt.c __func__, lli->port_sel, chan, lli->lun_id[chan]); lli 162 drivers/scsi/cxlflash/superpipe.c struct llun_info *lli = arg; lli 168 drivers/scsi/cxlflash/superpipe.c lli = NULL; lli 218 drivers/scsi/cxlflash/superpipe.c if (lli) { lli 220 drivers/scsi/cxlflash/superpipe.c if (lun_access->lli == lli) lli 330 drivers/scsi/cxlflash/superpipe.c static int read_cap16(struct scsi_device *sdev, struct llun_info *lli) lli 334 drivers/scsi/cxlflash/superpipe.c struct glun_info *gli = lli->parent; lli 437 drivers/scsi/cxlflash/superpipe.c struct llun_info *lli) lli 455 drivers/scsi/cxlflash/superpipe.c if (unlikely(ctxi->rht_lun[rhndl] != lli)) { lli 481 drivers/scsi/cxlflash/superpipe.c struct llun_info *lli) lli 497 drivers/scsi/cxlflash/superpipe.c ctxi->rht_lun[i] = lli; lli 636 drivers/scsi/cxlflash/superpipe.c struct llun_info *lli = sdev->hostdata; lli 637 drivers/scsi/cxlflash/superpipe.c struct glun_info *gli = lli->parent; lli 656 drivers/scsi/cxlflash/superpipe.c ctxi = get_context(cfg, rctxid, lli, CTX_CTRL_ERR_FALLBACK); lli 667 drivers/scsi/cxlflash/superpipe.c rhte = get_rhte(ctxi, rhndl, lli); lli 784 drivers/scsi/cxlflash/superpipe.c struct llun_info **lli = NULL; lli 789 drivers/scsi/cxlflash/superpipe.c lli = kzalloc((MAX_RHT_PER_CONTEXT * sizeof(*lli)), GFP_KERNEL); lli 791 drivers/scsi/cxlflash/superpipe.c if (unlikely(!ctxi || !lli || !ws)) { lli 802 drivers/scsi/cxlflash/superpipe.c ctxi->rht_lun = lli; lli 810 drivers/scsi/cxlflash/superpipe.c kfree(lli); lli 896 drivers/scsi/cxlflash/superpipe.c struct llun_info *lli = sdev->hostdata; lli 909 drivers/scsi/cxlflash/superpipe.c ctxi = get_context(cfg, rctxid, lli, CTX_CTRL_ERR_FALLBACK); lli 924 drivers/scsi/cxlflash/superpipe.c if (ctxi->rht_lun[i] == lli) { lli 937 drivers/scsi/cxlflash/superpipe.c if (lun_access->lli == lli) { lli 1323 drivers/scsi/cxlflash/superpipe.c struct llun_info *lli = sdev->hostdata; lli 1324 drivers/scsi/cxlflash/superpipe.c struct glun_info *gli = lli->parent; lli 1348 drivers/scsi/cxlflash/superpipe.c __func__, lli->lun_id[sdev->channel]); lli 1349 drivers/scsi/cxlflash/superpipe.c rc = read_cap16(sdev, lli); lli 1371 drivers/scsi/cxlflash/superpipe.c if (lun_access->lli == lli) { lli 1392 drivers/scsi/cxlflash/superpipe.c lun_access->lli = lli; lli 1656 drivers/scsi/cxlflash/superpipe.c struct llun_info *lli = sdev->hostdata; lli 1691 drivers/scsi/cxlflash/superpipe.c ctxi = get_context(cfg, rctxid, lli, CTX_CTRL_ERR_FALLBACK); lli 1777 drivers/scsi/cxlflash/superpipe.c struct llun_info *lli = sdev->hostdata; lli 1778 drivers/scsi/cxlflash/superpipe.c struct glun_info *gli = lli->parent; lli 1802 drivers/scsi/cxlflash/superpipe.c rc = read_cap16(sdev, lli); lli 1844 drivers/scsi/cxlflash/superpipe.c struct llun_info *lli = sdev->hostdata; lli 1845 drivers/scsi/cxlflash/superpipe.c struct glun_info *gli = lli->parent; lli 1856 drivers/scsi/cxlflash/superpipe.c ctxi = get_context(cfg, rctxid, lli, 0); lli 1863 drivers/scsi/cxlflash/superpipe.c rhte = get_rhte(ctxi, rhndl, lli); lli 1967 drivers/scsi/cxlflash/superpipe.c struct llun_info *lli = sdev->hostdata; lli 1968 drivers/scsi/cxlflash/superpipe.c struct glun_info *gli = lli->parent; lli 1993 drivers/scsi/cxlflash/superpipe.c ctxi = get_context(cfg, rctxid, lli, 0); lli 2000 drivers/scsi/cxlflash/superpipe.c rhte = rhte_checkout(ctxi, lli); lli 2010 drivers/scsi/cxlflash/superpipe.c rht_format1(rhte, lli->lun_id[sdev->channel], ctxi->rht_perms, port); lli 2054 drivers/scsi/cxlflash/superpipe.c struct llun_info *lli = sdev->hostdata; lli 2057 drivers/scsi/cxlflash/superpipe.c if (unlikely(!lli)) { lli 69 drivers/scsi/cxlflash/superpipe.h struct llun_info *lli; lli 140 drivers/scsi/cxlflash/superpipe.h struct llun_info *lli); lli 143 drivers/scsi/cxlflash/superpipe.h struct llun_info *lli); lli 368 drivers/scsi/cxlflash/vlun.c static int init_vlun(struct llun_info *lli) lli 371 drivers/scsi/cxlflash/vlun.c struct glun_info *gli = lli->parent; lli 378 drivers/scsi/cxlflash/vlun.c blka->ba_lun.lun_id = lli->lun_index; lli 389 drivers/scsi/cxlflash/vlun.c pr_debug("%s: returning rc=%d lli=%p\n", __func__, rc, lli); lli 510 drivers/scsi/cxlflash/vlun.c struct llun_info *lli = sdev->hostdata; lli 511 drivers/scsi/cxlflash/vlun.c struct glun_info *gli = lli->parent; lli 575 drivers/scsi/cxlflash/vlun.c (lli->lun_index << LXT_LUNIDX_SHIFT) | lli 577 drivers/scsi/cxlflash/vlun.c lli->port_sel)); lli 628 drivers/scsi/cxlflash/vlun.c struct llun_info *lli = sdev->hostdata; lli 629 drivers/scsi/cxlflash/vlun.c struct glun_info *gli = lli->parent; lli 735 drivers/scsi/cxlflash/vlun.c struct llun_info *lli = sdev->hostdata; lli 736 drivers/scsi/cxlflash/vlun.c struct glun_info *gli = lli->parent; lli 770 drivers/scsi/cxlflash/vlun.c ctxi = get_context(cfg, rctxid, lli, CTX_CTRL_ERR_FALLBACK); lli 781 drivers/scsi/cxlflash/vlun.c rhte = get_rhte(ctxi, rhndl, lli); lli 834 drivers/scsi/cxlflash/vlun.c struct llun_info *lli, *temp; lli 842 drivers/scsi/cxlflash/vlun.c list_for_each_entry_safe(lli, temp, &cfg->lluns, list) { lli 843 drivers/scsi/cxlflash/vlun.c if (!lli->in_table) lli 846 drivers/scsi/cxlflash/vlun.c lind = lli->lun_index; lli 850 drivers/scsi/cxlflash/vlun.c if (lli->port_sel & (1 << k)) { lli 852 drivers/scsi/cxlflash/vlun.c writeq_be(lli->lun_id[k], &fc_port_luns[lind]); lli 853 drivers/scsi/cxlflash/vlun.c dev_dbg(dev, "\t%d=%llx\n", k, lli->lun_id[k]); lli 885 drivers/scsi/cxlflash/vlun.c static int init_luntable(struct cxlflash_cfg *cfg, struct llun_info *lli) lli 897 drivers/scsi/cxlflash/vlun.c if (lli->in_table) lli 900 drivers/scsi/cxlflash/vlun.c nports = get_num_ports(lli->port_sel); lli 913 drivers/scsi/cxlflash/vlun.c if (!(lli->port_sel & (1 << k))) lli 922 drivers/scsi/cxlflash/vlun.c lind = lli->lun_index = cfg->promote_lun_index; lli 926 drivers/scsi/cxlflash/vlun.c if (!(lli->port_sel & (1 << k))) lli 930 drivers/scsi/cxlflash/vlun.c writeq_be(lli->lun_id[k], &fc_port_luns[lind]); lli 931 drivers/scsi/cxlflash/vlun.c dev_dbg(dev, "\t%d=%llx\n", k, lli->lun_id[k]); lli 940 drivers/scsi/cxlflash/vlun.c chan = PORTMASK2CHAN(lli->port_sel); lli 946 drivers/scsi/cxlflash/vlun.c lind = lli->lun_index = cfg->last_lun_index[chan]; lli 948 drivers/scsi/cxlflash/vlun.c writeq_be(lli->lun_id[chan], &fc_port_luns[lind]); lli 951 drivers/scsi/cxlflash/vlun.c __func__, lind, chan, lli->lun_id[chan]); lli 954 drivers/scsi/cxlflash/vlun.c lli->in_table = true; lli 977 drivers/scsi/cxlflash/vlun.c struct llun_info *lli = sdev->hostdata; lli 978 drivers/scsi/cxlflash/vlun.c struct glun_info *gli = lli->parent; lli 999 drivers/scsi/cxlflash/vlun.c rc = init_vlun(lli); lli 1015 drivers/scsi/cxlflash/vlun.c rc = init_luntable(cfg, lli); lli 1021 drivers/scsi/cxlflash/vlun.c ctxi = get_context(cfg, rctxid, lli, 0); lli 1028 drivers/scsi/cxlflash/vlun.c rhte = rhte_checkout(ctxi, lli); lli 1059 drivers/scsi/cxlflash/vlun.c if (get_num_ports(lli->port_sel) > 1) lli 1195 drivers/scsi/cxlflash/vlun.c struct llun_info *lli = sdev->hostdata; lli 1196 drivers/scsi/cxlflash/vlun.c struct glun_info *gli = lli->parent; lli 1230 drivers/scsi/cxlflash/vlun.c ctxi_src = get_context(cfg, rctxid_src, lli, CTX_CTRL_CLONE); lli 1231 drivers/scsi/cxlflash/vlun.c ctxi_dst = get_context(cfg, rctxid_dst, lli, 0);