Lines Matching refs:desc
344 struct dw_idmac_desc *desc; in dw_prepare() local
361 desc = (struct dw_idmac_desc *)dw_params.desc_base; in dw_prepare()
371 desc[i].des0 = IDMAC_DES0_OWN | IDMAC_DES0_CH | IDMAC_DES0_DIC; in dw_prepare()
372 desc[i].des1 = IDMAC_DES1_BS1(DWMMC_DMA_MAX_BUFFER_SIZE); in dw_prepare()
373 desc[i].des2 = buf + DWMMC_DMA_MAX_BUFFER_SIZE * i; in dw_prepare()
374 desc[i].des3 = dw_params.desc_base + in dw_prepare()
378 desc->des0 |= IDMAC_DES0_FS; in dw_prepare()
381 (desc + last)->des0 |= IDMAC_DES0_LD; in dw_prepare()
382 (desc + last)->des0 &= ~(IDMAC_DES0_DIC | IDMAC_DES0_CH); in dw_prepare()
383 (desc + last)->des1 = IDMAC_DES1_BS1(size - (last * in dw_prepare()
386 (desc + last)->des3 = 0; in dw_prepare()