Lines Matching defs:desc
392 static void sdhci_set_adma_desc(u8 *desc, u32 addr, int len, unsigned cmd)
394 __le32 *dataddr = (__le32 __force *)(desc + 4);
395 __le16 *cmdlen = (__le16 __force *)desc;
411 u8 *desc;
448 desc = host->adma_desc;
474 sdhci_set_adma_desc(desc, align_addr, offset, 0x21);
481 desc += 8;
490 sdhci_set_adma_desc(desc, addr, len, 0x21);
491 desc += 8;
497 WARN_ON((desc - host->adma_desc) > (128 * 2 + 1) * 4);
504 if (desc != host->adma_desc) {
505 desc -= 8;
506 desc[0] |= 0x2; /* end */
514 sdhci_set_adma_desc(desc, 0, 0, 0x3);
1425 u8 *desc = host->adma_desc;
1433 dma = (__le32 *)(desc + 4);
1434 len = (__le16 *)(desc + 2);
1435 attr = *desc;
1438 name, desc, le32_to_cpu(*dma), le16_to_cpu(*len), attr);
1440 desc += 8;