Home
last modified time | relevance | path

Searched refs:host_cookie (Results 1 – 15 of 15) sorted by relevance

/linux-6.1.9/drivers/mmc/host/
Drenesas_sdhi_internal_dmac.c343 bool unmap = cookie == COOKIE_UNMAPPED ? (data->host_cookie != cookie) : in renesas_sdhi_internal_dmac_unmap()
344 (data->host_cookie == cookie); in renesas_sdhi_internal_dmac_unmap()
349 data->host_cookie = COOKIE_UNMAPPED; in renesas_sdhi_internal_dmac_unmap()
358 if (data->host_cookie == COOKIE_PRE_MAPPED) in renesas_sdhi_internal_dmac_map()
365 data->host_cookie = cookie; in renesas_sdhi_internal_dmac_map()
496 data->host_cookie = COOKIE_UNMAPPED; in renesas_sdhi_internal_dmac_pre_req()
Djz4740_mmc.c289 data->host_cookie = COOKIE_UNMAPPED; in jz4740_mmc_dma_unmap()
303 if (data->host_cookie == COOKIE_PREMAPPED) in jz4740_mmc_prepare_dma_data()
318 data->host_cookie = cookie; in jz4740_mmc_prepare_dma_data()
365 if (data->host_cookie == COOKIE_MAPPED) in jz4740_mmc_start_dma_transfer()
379 data->host_cookie = COOKIE_UNMAPPED; in jz4740_mmc_pre_request()
381 data->host_cookie = COOKIE_UNMAPPED; in jz4740_mmc_pre_request()
391 if (data && data->host_cookie != COOKIE_UNMAPPED) in jz4740_mmc_post_request()
461 if (data && data->host_cookie == COOKIE_MAPPED) in jz4740_mmc_request_done()
Domap_hsmmc.c923 host->data->host_cookie = 0; in omap_hsmmc_dma_cleanup()
1173 if (!data->host_cookie) in omap_hsmmc_dma_callback()
1198 if (!next && data->host_cookie && in omap_hsmmc_pre_dma_transfer()
1199 data->host_cookie != host->next_data.cookie) { in omap_hsmmc_pre_dma_transfer()
1202 __func__, data->host_cookie, host->next_data.cookie); in omap_hsmmc_pre_dma_transfer()
1203 data->host_cookie = 0; in omap_hsmmc_pre_dma_transfer()
1207 if (next || data->host_cookie != host->next_data.cookie) { in omap_hsmmc_pre_dma_transfer()
1222 data->host_cookie = ++next->cookie < 0 ? 1 : next->cookie; in omap_hsmmc_pre_dma_transfer()
1391 if (host->use_dma && data->host_cookie) { in omap_hsmmc_post_req()
1396 data->host_cookie = 0; in omap_hsmmc_post_req()
[all …]
Drtsx_pci_sdmmc.c155 if (!pre && data->host_cookie && data->host_cookie != host->cookie) { in sd_pre_dma_transfer()
158 data->host_cookie, host->cookie); in sd_pre_dma_transfer()
159 data->host_cookie = 0; in sd_pre_dma_transfer()
162 if (pre || data->host_cookie != host->cookie) { in sd_pre_dma_transfer()
173 data->host_cookie = host->cookie; in sd_pre_dma_transfer()
186 if (data->host_cookie) { in sdmmc_pre_req()
189 data->host_cookie); in sdmmc_pre_req()
190 data->host_cookie = 0; in sdmmc_pre_req()
206 data->host_cookie = 0; in sdmmc_post_req()
Dalcor.c157 if (data->host_cookie == COOKIE_MAPPED) { in alcor_trigger_data_transfer()
256 if (data->host_cookie != COOKIE_MAPPED) in alcor_prepare_data()
787 data->host_cookie = COOKIE_UNMAPPED; in alcor_pre_req()
820 data->host_cookie = COOKIE_MAPPED; in alcor_pre_req()
835 if (data->host_cookie == COOKIE_MAPPED) { in alcor_post_req()
842 data->host_cookie = COOKIE_UNMAPPED; in alcor_post_req()
Dmmci.c517 data->host_cookie = ++host->next_cookie < 0 ? in mmci_prep_data()
529 data->host_cookie = 0; in mmci_unprep_data()
534 WARN_ON(data->host_cookie && data->host_cookie != host->next_cookie); in mmci_get_next_data()
852 host->data->host_cookie = 0; in mmci_dmae_error()
884 } else if (!data->host_cookie) { in mmci_dmae_finalize()
1025 WARN_ON(!data->host_cookie && (next->desc || next->chan)); in mmci_dmae_get_next_data()
1109 WARN_ON(data->host_cookie); in mmci_pre_request()
1123 if (!data || !data->host_cookie) in mmci_post_request()
Dmmci_stm32_sdmmc.c139 if (!next && data->host_cookie == host->next_cookie) in sdmmc_idma_prep_data()
245 if (!data->host_cookie) in sdmmc_idma_finalize()
Dmeson-gx-mmc.c276 data->host_cookie |= SD_EMMC_DESC_CHAIN_MODE; in meson_mmc_get_transfer_mode()
281 return data->host_cookie & SD_EMMC_DESC_CHAIN_MODE; in meson_mmc_desc_chain_mode()
298 data->host_cookie |= SD_EMMC_PRE_REQ_DONE; in meson_mmc_pre_req()
893 !(mrq->data->host_cookie & SD_EMMC_PRE_REQ_DONE); in meson_mmc_request()
Ddw_mmc.c441 if (data && data->host_cookie == COOKIE_MAPPED) { in dw_mci_dma_cleanup()
446 data->host_cookie = COOKIE_UNMAPPED; in dw_mci_dma_cleanup()
884 if (data->host_cookie == COOKIE_PRE_MAPPED) in dw_mci_pre_dma_transfer()
910 data->host_cookie = cookie; in dw_mci_pre_dma_transfer()
925 data->host_cookie = COOKIE_UNMAPPED; in dw_mci_pre_req()
929 data->host_cookie = COOKIE_UNMAPPED; in dw_mci_pre_req()
942 if (data->host_cookie != COOKIE_UNMAPPED) in dw_mci_post_req()
947 data->host_cookie = COOKIE_UNMAPPED; in dw_mci_post_req()
Dmtk-sd.c756 if (!(data->host_cookie & MSDC_PREPARE_FLAG)) { in msdc_prepare_data()
757 data->host_cookie |= MSDC_PREPARE_FLAG; in msdc_prepare_data()
765 if (data->host_cookie & MSDC_ASYNC_FLAG) in msdc_unprepare_data()
768 if (data->host_cookie & MSDC_PREPARE_FLAG) { in msdc_unprepare_data()
771 data->host_cookie &= ~MSDC_PREPARE_FLAG; in msdc_unprepare_data()
1350 data->host_cookie |= MSDC_ASYNC_FLAG; in msdc_pre_req()
1362 if (data->host_cookie) { in msdc_post_req()
1363 data->host_cookie &= ~MSDC_ASYNC_FLAG; in msdc_post_req()
Dsdhci.c668 if (data->host_cookie == COOKIE_PRE_MAPPED) in sdhci_pre_dma_transfer()
709 data->host_cookie = cookie; in sdhci_pre_dma_transfer()
3010 if (data->host_cookie != COOKIE_UNMAPPED) in sdhci_post_req()
3014 data->host_cookie = COOKIE_UNMAPPED; in sdhci_post_req()
3021 mrq->data->host_cookie = COOKIE_UNMAPPED; in sdhci_pre_req()
3161 if (data && data->host_cookie == COOKIE_MAPPED) { in sdhci_request_done()
3201 data->host_cookie = COOKIE_UNMAPPED; in sdhci_request_done()
3539 data->host_cookie == COOKIE_MAPPED); in sdhci_defer_done()
/linux-6.1.9/include/linux/mmc/
Dcore.h140 s32 host_cookie; /* host private data */ member
/linux-6.1.9/drivers/net/ethernet/netronome/nfp/flower/
Dcmsg.h643 __be64 host_cookie; member
Dmain.h392 __be64 host_cookie __packed;
Dmetadata.c324 nfp_flow->meta.host_cookie = cpu_to_be64(cookie); in nfp_compile_flow_metadata()