Home
last modified time | relevance | path

Searched refs:lli (Results 1 – 25 of 51) sorted by relevance

123

/Linux-v4.19/drivers/scsi/cxlflash/
Dlunmgt.c39 struct llun_info *lli = NULL; in create_local() local
41 lli = kzalloc(sizeof(*lli), GFP_KERNEL); in create_local()
42 if (unlikely(!lli)) { in create_local()
47 lli->sdev = sdev; in create_local()
48 lli->host_no = sdev->host->host_no; in create_local()
49 lli->in_table = false; in create_local()
51 memcpy(lli->wwid, wwid, DK_CXLFLASH_MANAGE_LUN_WWID_LEN); in create_local()
53 return lli; in create_local()
90 struct llun_info *lli, *temp; in lookup_local() local
92 list_for_each_entry_safe(lli, temp, &cfg->lluns, list) in lookup_local()
[all …]
Dvlun.c372 static int init_vlun(struct llun_info *lli) in init_vlun() argument
375 struct glun_info *gli = lli->parent; in init_vlun()
382 blka->ba_lun.lun_id = lli->lun_index; in init_vlun()
393 pr_debug("%s: returning rc=%d lli=%p\n", __func__, rc, lli); in init_vlun()
514 struct llun_info *lli = sdev->hostdata; in grow_lxt() local
515 struct glun_info *gli = lli->parent; in grow_lxt()
579 (lli->lun_index << LXT_LUNIDX_SHIFT) | in grow_lxt()
581 lli->port_sel)); in grow_lxt()
632 struct llun_info *lli = sdev->hostdata; in shrink_lxt() local
633 struct glun_info *gli = lli->parent; in shrink_lxt()
[all …]
Dsuperpipe.c166 struct llun_info *lli = arg; in get_context() local
172 lli = NULL; in get_context()
222 if (lli) { in get_context()
224 if (lun_access->lli == lli) in get_context()
334 static int read_cap16(struct scsi_device *sdev, struct llun_info *lli) in read_cap16() argument
338 struct glun_info *gli = lli->parent; in read_cap16()
441 struct llun_info *lli) in get_rhte() argument
459 if (unlikely(ctxi->rht_lun[rhndl] != lli)) { in get_rhte()
485 struct llun_info *lli) in rhte_checkout() argument
501 ctxi->rht_lun[i] = lli; in rhte_checkout()
[all …]
Dsuperpipe.h73 struct llun_info *lli; member
144 struct llun_info *lli);
147 struct llun_info *lli);
/Linux-v4.19/drivers/dma/
Dcoh901318_lli.c59 struct coh901318_lli *lli; in coh901318_lli_alloc() local
75 lli = head; in coh901318_lli_alloc()
76 lli->phy_this = phy; in coh901318_lli_alloc()
77 lli->link_addr = 0x00000000; in coh901318_lli_alloc()
78 lli->virt_link_addr = NULL; in coh901318_lli_alloc()
81 lli_prev = lli; in coh901318_lli_alloc()
83 lli = dma_pool_alloc(pool->dmapool, GFP_NOWAIT, &phy); in coh901318_lli_alloc()
85 if (lli == NULL) in coh901318_lli_alloc()
89 lli->phy_this = phy; in coh901318_lli_alloc()
90 lli->link_addr = 0x00000000; in coh901318_lli_alloc()
[all …]
Dste_dma40_ll.c132 static int d40_phy_fill_lli(struct d40_phy_lli *lli, in d40_phy_fill_lli() argument
160 lli->reg_elt = (data_size / data_width) << D40_SREG_ELEM_PHY_ECNT_POS; in d40_phy_fill_lli()
167 lli->reg_elt |= data_width << D40_SREG_ELEM_PHY_EIDX_POS; in d40_phy_fill_lli()
170 lli->reg_ptr = data; in d40_phy_fill_lli()
171 lli->reg_cfg = reg_cfg; in d40_phy_fill_lli()
175 lli->reg_lnk = BIT(D40_SREG_LNK_PHY_TCP_POS); in d40_phy_fill_lli()
177 lli->reg_lnk = next_lli; in d40_phy_fill_lli()
181 lli->reg_cfg |= BIT(D40_SREG_CFG_TIM_POS); in d40_phy_fill_lli()
183 lli->reg_cfg &= ~BIT(D40_SREG_CFG_TIM_POS); in d40_phy_fill_lli()
212 d40_phy_buf_to_lli(struct d40_phy_lli *lli, dma_addr_t addr, u32 size, in d40_phy_buf_to_lli() argument
[all …]
Dowl-dma.c316 struct owl_dma_lli *lli) in owl_dma_free_lli() argument
318 list_del(&lli->node); in owl_dma_free_lli()
319 dma_pool_free(od->lli_pool, lli, lli->phys); in owl_dma_free_lli()
324 struct owl_dma_lli *lli; in owl_dma_alloc_lli() local
327 lli = dma_pool_alloc(od->lli_pool, GFP_NOWAIT, &phys); in owl_dma_alloc_lli()
328 if (!lli) in owl_dma_alloc_lli()
331 INIT_LIST_HEAD(&lli->node); in owl_dma_alloc_lli()
332 lli->phys = phys; in owl_dma_alloc_lli()
334 return lli; in owl_dma_alloc_lli()
352 struct owl_dma_lli *lli, in owl_dma_cfg_lli() argument
[all …]
Dat_hdmac_regs.h190 struct at_lli lli; member
385 static void atc_dump_lli(struct at_dma_chan *atchan, struct at_lli *lli) in atc_dump_lli() argument
389 &lli->saddr, &lli->daddr, in atc_dump_lli()
390 lli->ctrla, lli->ctrlb, &lli->dscr); in atc_dump_lli()
453 u32 ctrlb = desc->lli.ctrlb; in set_desc_eol()
458 desc->lli.ctrlb = ctrlb; in set_desc_eol()
459 desc->lli.dscr = 0; in set_desc_eol()
Dcoh901318.h81 struct coh901318_lli **lli);
96 struct coh901318_lli *lli,
114 struct coh901318_lli *lli,
135 struct coh901318_lli *lli,
Dcoh901318.c1273 struct coh901318_lli *lli; member
1316 struct coh901318_lli *lli) in coh901318_list_print() argument
1318 struct coh901318_lli *l = lli; in coh901318_list_print()
1483 struct coh901318_lli *lli) in coh901318_prep_linked_list() argument
1492 writel(lli->src_addr, in coh901318_prep_linked_list()
1496 writel(lli->dst_addr, virtbase + in coh901318_prep_linked_list()
1500 writel(lli->link_addr, virtbase + COH901318_CX_LNK_ADDR + in coh901318_prep_linked_list()
1503 writel(lli->control, virtbase + COH901318_CX_CTRL + in coh901318_prep_linked_list()
1582 struct coh901318_lli *lli = in_lli; in coh901318_get_bytes_in_lli() local
1585 while (lli) { in coh901318_get_bytes_in_lli()
[all …]
Dsun6i-dma.c315 struct sun6i_dma_lli *lli; in sun6i_get_chan_size() local
325 for (lli = txd->v_lli; lli; lli = lli->v_lli_next) { in sun6i_get_chan_size()
326 if (lli->p_lli_next == pos) { in sun6i_get_chan_size()
327 for (lli = lli->v_lli_next; lli; lli = lli->v_lli_next) in sun6i_get_chan_size()
328 bytes += lli->len; in sun6i_get_chan_size()
359 struct sun6i_dma_lli *lli) in sun6i_dma_dump_lli() argument
361 phys_addr_t p_lli = virt_to_phys(lli); in sun6i_dma_dump_lli()
367 &p_lli, lli, in sun6i_dma_dump_lli()
368 lli->cfg, lli->src, lli->dst, in sun6i_dma_dump_lli()
369 lli->len, lli->para, lli->p_lli_next); in sun6i_dma_dump_lli()
[all …]
Dat_hdmac.c209 (*prev)->lli.dscr = desc->txd.phys; in atc_desc_chain()
331 if (desc_first->lli.dscr) { in atc_get_bytes_left()
415 if (desc_first->lli.dscr == dscr) in atc_get_bytes_left()
420 if (desc->lli.dscr == dscr) in atc_get_bytes_left()
578 atc_dump_lli(atchan, &bad_desc->lli); in atc_handle_error()
580 atc_dump_lli(atchan, &child->lli); in atc_handle_error()
778 desc->lli.saddr = xt->src_start; in atc_prep_dma_interleaved()
779 desc->lli.daddr = xt->dst_start; in atc_prep_dma_interleaved()
780 desc->lli.ctrla = ctrla | xfer_count; in atc_prep_dma_interleaved()
781 desc->lli.ctrlb = ctrlb; in atc_prep_dma_interleaved()
[all …]
Didma64.c219 dma_pool_free(idma64c->pool, hw->lli, hw->llp); in idma64_desc_free()
238 struct idma64_lli *lli = hw->lli; in idma64_hw_desc_fill() local
260 lli->sar = sar; in idma64_hw_desc_fill()
261 lli->dar = dar; in idma64_hw_desc_fill()
263 lli->ctlhi = ctlhi; in idma64_hw_desc_fill()
264 lli->ctllo = ctllo | in idma64_hw_desc_fill()
270 lli->llp = llp; in idma64_hw_desc_fill()
279 struct idma64_lli *lli = hw->lli; in idma64_desc_fill() local
291 lli->ctllo |= IDMA64C_CTLL_INT_EN; in idma64_desc_fill()
294 lli->ctllo &= ~(IDMA64C_CTLL_LLP_S_EN | IDMA64C_CTLL_LLP_D_EN); in idma64_desc_fill()
[all …]
Dk3dma.c67 u32 lli; member
156 writel_relaxed(hw->lli, phy->base + CX_LLI); in k3_dma_set_desc()
395 if (!ds->desc_hw[index].lli) in k3_dma_tx_status()
433 ds->desc_hw[num].lli = ds->desc_hw_lli + (num + 1) * in k3_dma_fill_desc()
436 ds->desc_hw[num].lli |= CX_LLI_CHAIN_EN; in k3_dma_fill_desc()
515 ds->desc_hw[num-1].lli = 0; /* end of link */ in k3_dma_prep_memcpy()
569 ds->desc_hw[num-1].lli = 0; /* end of link */ in k3_dma_prep_slave_sg()
634 ds->desc_hw[num - 1].lli |= ds->desc_hw_lli; in k3_dma_prep_dma_cyclic()
Damba-pl08x.c402 struct pl08x_phy_chan *phychan, const u32 *lli, u32 ccfg) in pl08x_write_lli() argument
408 phychan->id, lli[PL080_LLI_SRC], lli[PL080_LLI_DST], in pl08x_write_lli()
409 lli[PL080_LLI_LLI], lli[PL080_LLI_CCTL], in pl08x_write_lli()
410 lli[PL080S_LLI_CCTL2], ccfg); in pl08x_write_lli()
415 phychan->id, lli[PL080_LLI_SRC], lli[PL080_LLI_DST], in pl08x_write_lli()
416 lli[PL080_LLI_LLI], lli[PL080_LLI_CCTL], ccfg); in pl08x_write_lli()
418 writel_relaxed(lli[PL080_LLI_SRC], phychan->reg_src); in pl08x_write_lli()
419 writel_relaxed(lli[PL080_LLI_DST], phychan->reg_dst); in pl08x_write_lli()
420 writel_relaxed(lli[PL080_LLI_LLI], phychan->reg_lli); in pl08x_write_lli()
429 u32 llictl = lli[PL080_LLI_CCTL]; in pl08x_write_lli()
[all …]
Dzx_dma.c85 u32 lli; member
165 writel_relaxed(hw->lli, phy->base + REG_ZX_LLI_ADDR); in zx_dma_set_desc()
373 if (!ds->desc_hw[index].lli) in zx_dma_tx_status()
413 ds->desc_hw[num].lli = ds->desc_hw_lli + (num + 1) * in zx_dma_fill_desc()
543 ds->desc_hw[num - 1].lli = 0; /* end of link */ in zx_dma_prep_memcpy()
600 ds->desc_hw[num - 1].lli = 0; /* end of link */ in zx_dma_prep_slave_sg()
644 ds->desc_hw[num - 1].lli = ds->desc_hw_lli; in zx_dma_prep_dma_cyclic()
Didma64.h110 struct idma64_lli *lli; member
/Linux-v4.19/drivers/isdn/hisax/
Dcallc.c260 chanp->b_st->lli.l4l3(chanp->b_st, DL_ESTABLISH | REQUEST, NULL); in lli_init_bchan_out()
277 chanp->d_st->lli.l4l3(chanp->d_st, CC_SETUP | REQUEST, chanp); in lli_prep_dialout()
295 chanp->d_st->lli.l4l3(chanp->d_st, CC_RESUME | REQUEST, chanp); in lli_resume()
362 chanp->d_st->lli.l4l3(chanp->d_st, CC_ALERTING | REQUEST, chanp->proc); in lli_deliver_call()
368 chanp->d_st->lli.l4l3(chanp->d_st, CC_PROCEED_SEND | REQUEST, chanp->proc); in lli_deliver_call()
371 chanp->d_st->lli.l4l3(chanp->d_st, CC_REDIR | REQUEST, chanp->proc); in lli_deliver_call()
378 chanp->d_st->lli.l4l3(chanp->d_st, CC_MORE_INFO | REQUEST, chanp->proc); in lli_deliver_call()
382 chanp->d_st->lli.l4l3(chanp->d_st, CC_IGNORE | REQUEST, chanp->proc); in lli_deliver_call()
388 chanp->d_st->lli.l4l3(chanp->d_st, CC_IGNORE | REQUEST, chanp->proc); in lli_deliver_call()
399 chanp->d_st->lli.l4l3(chanp->d_st, CC_SETUP | RESPONSE, chanp->proc); in lli_send_dconnect()
[all …]
Disdnl3.c166 t->pc->st->lli.l4l3(t->pc->st, t->event, t->pc); in L3ExpireTimer()
343 st->lli.l4l3_proto = no_l3_proto_spec; in setstack_l3dc()
361 st->lli.l4l3 = no_l3_proto; in setstack_l3dc()
366 st->lli.l4l3 = no_l3_proto; in setstack_l3dc()
412 st->lli.l4l3 = isdnl3_trans; in setstack_l3bc()
/Linux-v4.19/drivers/dma/dw-axi-dmac/
Ddw-axi-dmac-platform.c263 desc->lli.llp = cpu_to_le64(adr); in write_desc_llp()
385 val = le32_to_cpu(desc->lli.ctl_hi); in set_desc_last()
387 desc->lli.ctl_hi = cpu_to_le32(val); in set_desc_last()
392 desc->lli.sar = cpu_to_le64(adr); in write_desc_sar()
397 desc->lli.dar = cpu_to_le64(adr); in write_desc_dar()
405 val = le32_to_cpu(desc->lli.ctl_lo); in set_desc_src_master()
407 desc->lli.ctl_lo = cpu_to_le32(val); in set_desc_src_master()
415 val = le32_to_cpu(desc->lli.ctl_lo); in set_desc_dest_master()
421 desc->lli.ctl_lo = cpu_to_le32(val); in set_desc_dest_master()
466 desc->lli.block_ts_lo = cpu_to_le32(block_ts - 1); in dma_chan_prep_dma_memcpy()
[all …]
Ddw-axi-dmac.h84 struct axi_dma_lli lli; member
/Linux-v4.19/Documentation/devicetree/bindings/dma/
Darm-pl08x.txt15 - lli-bus-interface-ahb1: if AHB master 1 is eligible for fetching LLIs
16 - lli-bus-interface-ahb2: if AHB master 2 is eligible for fetching LLIs
45 lli-bus-interface-ahb1;
46 lli-bus-interface-ahb2;
Dlpc1850-dmamux.txt29 lli-bus-interface-ahb1;
30 lli-bus-interface-ahb2;
/Linux-v4.19/drivers/dma/dw/
Dregs.h358 struct dw_lli lli; member
360 #define lli_set(d, reg, v) ((d)->lli.reg |= cpu_to_le32(v))
361 #define lli_clear(d, reg, v) ((d)->lli.reg &= ~cpu_to_le32(v))
362 #define lli_read(d, reg) le32_to_cpu((d)->lli.reg)
363 #define lli_write(d, reg, v) ((d)->lli.reg = cpu_to_le32(v))
/Linux-v4.19/drivers/net/ethernet/chelsio/cxgb4/
Dcxgb4_uld.c546 struct cxgb4_lld_info *lli) in uld_queue_init() argument
550 lli->rxq_ids = rxq_info->rspq_id; in uld_queue_init()
551 lli->nrxq = rxq_info->nrxq; in uld_queue_init()
552 lli->ciq_ids = rxq_info->rspq_id + rxq_info->nrxq; in uld_queue_init()
553 lli->nciq = rxq_info->nciq; in uld_queue_init()
676 struct cxgb4_lld_info lli; in uld_attach() local
678 uld_init(adap, &lli); in uld_attach()
679 uld_queue_init(adap, uld, &lli); in uld_attach()
681 handle = adap->uld[uld].add(&lli); in uld_attach()

123