• Home
  • Raw
  • Download

Lines Matching refs:lli

132 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
248 err = d40_phy_fill_lli(lli, addr, size_seg, next, in d40_phy_buf_to_lli()
254 lli++; in d40_phy_buf_to_lli()
259 return lli; in d40_phy_buf_to_lli()
278 struct d40_phy_lli *lli = lli_sg; in d40_phy_sg_to_lli() local
294 l_phys = ALIGN(lli_phys + (lli - lli_sg) * in d40_phy_sg_to_lli()
297 lli = d40_phy_buf_to_lli(lli, dst, len, l_phys, lli_phys, in d40_phy_sg_to_lli()
300 if (lli == NULL) in d40_phy_sg_to_lli()
361 static void d40_log_fill_lli(struct d40_log_lli *lli, in d40_log_fill_lli() argument
369 lli->lcsp13 = reg_cfg; in d40_log_fill_lli()
372 lli->lcsp02 = ((data_size / data_width) << in d40_log_fill_lli()
378 lli->lcsp02 |= data & D40_MEM_LCSP0_SPTR_MASK; in d40_log_fill_lli()
380 lli->lcsp13 |= data & D40_MEM_LCSP1_SPTR_MASK; in d40_log_fill_lli()
383 lli->lcsp13 |= D40_MEM_LCSP1_SCFG_INCR_MASK; in d40_log_fill_lli()
396 struct d40_log_lli *lli = lli_sg; in d40_log_buf_to_lli() local
404 d40_log_fill_lli(lli, in d40_log_buf_to_lli()
411 lli++; in d40_log_buf_to_lli()
414 return lli; in d40_log_buf_to_lli()
427 struct d40_log_lli *lli = lli_sg; in d40_log_sg_to_lli() local
440 lli = d40_log_buf_to_lli(lli, addr, len, in d40_log_sg_to_lli()