Searched refs:host_cookie (Results 1 – 15 of 15) sorted by relevance
371 bool unmap = cookie == COOKIE_UNMAPPED ? (data->host_cookie != cookie) : in renesas_sdhi_internal_dmac_unmap()372 (data->host_cookie == cookie); in renesas_sdhi_internal_dmac_unmap()377 data->host_cookie = COOKIE_UNMAPPED; in renesas_sdhi_internal_dmac_unmap()386 if (data->host_cookie == COOKIE_PRE_MAPPED) in renesas_sdhi_internal_dmac_map()393 data->host_cookie = cookie; in renesas_sdhi_internal_dmac_map()532 data->host_cookie = COOKIE_UNMAPPED; in renesas_sdhi_internal_dmac_pre_req()
293 data->host_cookie = COOKIE_UNMAPPED; in jz4740_mmc_dma_unmap()307 if (data->host_cookie == COOKIE_PREMAPPED) in jz4740_mmc_prepare_dma_data()322 data->host_cookie = cookie; in jz4740_mmc_prepare_dma_data()369 if (data->host_cookie == COOKIE_MAPPED) in jz4740_mmc_start_dma_transfer()383 data->host_cookie = COOKIE_UNMAPPED; in jz4740_mmc_pre_request()385 data->host_cookie = COOKIE_UNMAPPED; in jz4740_mmc_pre_request()395 if (data && data->host_cookie != COOKIE_UNMAPPED) in jz4740_mmc_post_request()465 if (data && data->host_cookie == COOKIE_MAPPED) in jz4740_mmc_request_done()
923 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 …]
156 if (!pre && data->host_cookie && data->host_cookie != host->cookie) { in sd_pre_dma_transfer()159 data->host_cookie, host->cookie); in sd_pre_dma_transfer()160 data->host_cookie = 0; in sd_pre_dma_transfer()163 if (pre || data->host_cookie != host->cookie) { in sd_pre_dma_transfer()174 data->host_cookie = host->cookie; in sd_pre_dma_transfer()187 if (data->host_cookie) { in sdmmc_pre_req()190 data->host_cookie); in sdmmc_pre_req()191 data->host_cookie = 0; in sdmmc_pre_req()207 data->host_cookie = 0; in sdmmc_post_req()
157 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()
164 if (!next && data->host_cookie == host->next_cookie) in sdmmc_idma_prep_data()279 data->host_cookie = 0; in sdmmc_idma_error()294 if (!data->host_cookie) in sdmmc_idma_finalize()
553 data->host_cookie = ++host->next_cookie < 0 ? in mmci_prep_data()565 data->host_cookie = 0; in mmci_unprep_data()570 WARN_ON(data->host_cookie && data->host_cookie != host->next_cookie); in mmci_get_next_data()959 host->data->host_cookie = 0; in mmci_dmae_error()991 } else if (!data->host_cookie) { in mmci_dmae_finalize()1132 WARN_ON(!data->host_cookie && (next->desc || next->chan)); in mmci_dmae_get_next_data()1216 WARN_ON(data->host_cookie); in mmci_pre_request()1230 if (!data || !data->host_cookie) in mmci_post_request()
274 data->host_cookie |= SD_EMMC_DESC_CHAIN_MODE; in meson_mmc_get_transfer_mode()279 return data->host_cookie & SD_EMMC_DESC_CHAIN_MODE; in meson_mmc_desc_chain_mode()296 data->host_cookie |= SD_EMMC_PRE_REQ_DONE; in meson_mmc_pre_req()877 !(mrq->data->host_cookie & SD_EMMC_PRE_REQ_DONE); in meson_mmc_request()
439 if (data && data->host_cookie == COOKIE_MAPPED) { in dw_mci_dma_cleanup()444 data->host_cookie = COOKIE_UNMAPPED; in dw_mci_dma_cleanup()882 if (data->host_cookie == COOKIE_PRE_MAPPED) in dw_mci_pre_dma_transfer()908 data->host_cookie = cookie; in dw_mci_pre_dma_transfer()923 data->host_cookie = COOKIE_UNMAPPED; in dw_mci_pre_req()927 data->host_cookie = COOKIE_UNMAPPED; in dw_mci_pre_req()940 if (data->host_cookie != COOKIE_UNMAPPED) in dw_mci_post_req()945 data->host_cookie = COOKIE_UNMAPPED; in dw_mci_post_req()
776 if (!(data->host_cookie & MSDC_PREPARE_FLAG)) { in msdc_prepare_data()777 data->host_cookie |= MSDC_PREPARE_FLAG; in msdc_prepare_data()785 if (data->host_cookie & MSDC_ASYNC_FLAG) in msdc_unprepare_data()788 if (data->host_cookie & MSDC_PREPARE_FLAG) { in msdc_unprepare_data()791 data->host_cookie &= ~MSDC_PREPARE_FLAG; in msdc_unprepare_data()1369 data->host_cookie |= MSDC_ASYNC_FLAG; in msdc_pre_req()1381 if (data->host_cookie) { in msdc_post_req()1382 data->host_cookie &= ~MSDC_ASYNC_FLAG; in msdc_post_req()
658 if (data->host_cookie == COOKIE_PRE_MAPPED) in sdhci_pre_dma_transfer()699 data->host_cookie = cookie; in sdhci_pre_dma_transfer()2971 if (data->host_cookie != COOKIE_UNMAPPED) in sdhci_post_req()2975 data->host_cookie = COOKIE_UNMAPPED; in sdhci_post_req()2982 mrq->data->host_cookie = COOKIE_UNMAPPED; in sdhci_pre_req()3122 if (data && data->host_cookie == COOKIE_MAPPED) { in sdhci_request_done()3162 data->host_cookie = COOKIE_UNMAPPED; in sdhci_request_done()3502 data->host_cookie == COOKIE_MAPPED); in sdhci_defer_done()
127 s32 host_cookie; /* host private data */ member
643 __be64 host_cookie; member
410 __be64 host_cookie __packed;
324 nfp_flow->meta.host_cookie = cpu_to_be64(cookie); in nfp_compile_flow_metadata()