Searched refs:cq_host (Results 1 – 2 of 2) sorted by relevance
| /linux/drivers/mmc/host/ |
| H A D | cqhci-crypto.c | 31 static void cqhci_crypto_program_key(struct cqhci_host *cq_host, in cqhci_crypto_program_key() argument 35 u32 slot_offset = cq_host->crypto_cfg_register + slot * sizeof(*cfg); in cqhci_crypto_program_key() 39 cqhci_writel(cq_host, 0, slot_offset + 16 * sizeof(cfg->reg_val[0])); in cqhci_crypto_program_key() 43 cqhci_writel(cq_host, le32_to_cpu(cfg->reg_val[i]), in cqhci_crypto_program_key() 47 cqhci_writel(cq_host, le32_to_cpu(cfg->reg_val[17]), in cqhci_crypto_program_key() 50 cqhci_writel(cq_host, le32_to_cpu(cfg->reg_val[16]), in cqhci_crypto_program_key() 59 struct cqhci_host *cq_host = cqhci_host_from_crypto_profile(profile); in cqhci_crypto_keyslot_program() local 61 cq_host->crypto_cap_array; in cqhci_crypto_keyslot_program() 70 for (i = 0; i < cq_host->crypto_capabilities.num_crypto_cap; i++) { in cqhci_crypto_keyslot_program() 94 cqhci_crypto_program_key(cq_host, &cfg, slot); in cqhci_crypto_keyslot_program() [all …]
|
| H A D | sdhci_am654.c | 719 struct cqhci_host *cq_host; in sdhci_am654_cqe_add_host() local 721 cq_host = devm_kzalloc(mmc_dev(host->mmc), sizeof(struct cqhci_host), in sdhci_am654_cqe_add_host() 723 if (!cq_host) in sdhci_am654_cqe_add_host() 726 cq_host->mmio = host->ioaddr + SDHCI_AM654_CQE_BASE_ADDR; in sdhci_am654_cqe_add_host() 727 cq_host->quirks |= CQHCI_QUIRK_SHORT_TXFR_DESC_SZ; in sdhci_am654_cqe_add_host() 728 cq_host->caps |= CQHCI_TASK_DESC_SZ_128; in sdhci_am654_cqe_add_host() 729 cq_host->ops = &sdhci_am654_cqhci_ops; in sdhci_am654_cqe_add_host() 733 return cqhci_init(cq_host, host->mmc, 1); in sdhci_am654_cqe_add_host()
|