Searched refs:host_cookie (Results 1 – 13 of 13) sorted by relevance
243 data->host_cookie = COOKIE_UNMAPPED; in jz4740_mmc_dma_unmap()257 if (data->host_cookie == COOKIE_PREMAPPED) in jz4740_mmc_prepare_dma_data()272 data->host_cookie = cookie; in jz4740_mmc_prepare_dma_data()319 if (data->host_cookie == COOKIE_MAPPED) in jz4740_mmc_start_dma_transfer()333 data->host_cookie = COOKIE_UNMAPPED; in jz4740_mmc_pre_request()335 data->host_cookie = COOKIE_UNMAPPED; in jz4740_mmc_pre_request()345 if (data && data->host_cookie != COOKIE_UNMAPPED) in jz4740_mmc_post_request()415 if (data && data->host_cookie == COOKIE_MAPPED) in jz4740_mmc_request_done()
155 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()
928 host->data->host_cookie = 0; in omap_hsmmc_dma_cleanup()1180 if (!data->host_cookie) in omap_hsmmc_dma_callback()1205 if (!next && data->host_cookie && in omap_hsmmc_pre_dma_transfer()1206 data->host_cookie != host->next_data.cookie) { in omap_hsmmc_pre_dma_transfer()1209 __func__, data->host_cookie, host->next_data.cookie); in omap_hsmmc_pre_dma_transfer()1210 data->host_cookie = 0; in omap_hsmmc_pre_dma_transfer()1214 if (next || data->host_cookie != host->next_data.cookie) { in omap_hsmmc_pre_dma_transfer()1229 data->host_cookie = ++next->cookie < 0 ? 1 : next->cookie; in omap_hsmmc_pre_dma_transfer()1398 if (host->use_dma && data->host_cookie) { in omap_hsmmc_post_req()1403 data->host_cookie = 0; in omap_hsmmc_post_req()[all …]
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()
475 data->host_cookie = ++host->next_cookie < 0 ? in mmci_prep_data()487 data->host_cookie = 0; in mmci_unprep_data()492 WARN_ON(data->host_cookie && data->host_cookie != host->next_cookie); in mmci_get_next_data()737 host->data->host_cookie = 0; in mmci_dmae_error()769 } else if (!data->host_cookie) { in mmci_dmae_finalize()893 WARN_ON(!data->host_cookie && (next->desc || next->chan)); in mmci_dmae_get_next_data()970 WARN_ON(data->host_cookie); in mmci_pre_request()984 if (!data || !data->host_cookie) in mmci_post_request()
259 data->host_cookie |= SD_EMMC_DESC_CHAIN_MODE; in meson_mmc_get_transfer_mode()264 return data->host_cookie & SD_EMMC_DESC_CHAIN_MODE; in meson_mmc_desc_chain_mode()281 data->host_cookie |= SD_EMMC_PRE_REQ_DONE; in meson_mmc_pre_req()807 !(mrq->data->host_cookie & SD_EMMC_PRE_REQ_DONE); in meson_mmc_request()
681 if (!(data->host_cookie & MSDC_PREPARE_FLAG)) { in msdc_prepare_data()682 data->host_cookie |= MSDC_PREPARE_FLAG; in msdc_prepare_data()692 if (data->host_cookie & MSDC_ASYNC_FLAG) in msdc_unprepare_data()695 if (data->host_cookie & MSDC_PREPARE_FLAG) { in msdc_unprepare_data()698 data->host_cookie &= ~MSDC_PREPARE_FLAG; in msdc_unprepare_data()1224 data->host_cookie |= MSDC_ASYNC_FLAG; in msdc_pre_req()1236 if (data->host_cookie) { in msdc_post_req()1237 data->host_cookie &= ~MSDC_ASYNC_FLAG; in msdc_post_req()
435 if (data && data->host_cookie == COOKIE_MAPPED) { in dw_mci_dma_cleanup()440 data->host_cookie = COOKIE_UNMAPPED; in dw_mci_dma_cleanup()875 if (data->host_cookie == COOKIE_PRE_MAPPED) in dw_mci_pre_dma_transfer()901 data->host_cookie = cookie; in dw_mci_pre_dma_transfer()916 data->host_cookie = COOKIE_UNMAPPED; in dw_mci_pre_req()920 data->host_cookie = COOKIE_UNMAPPED; in dw_mci_pre_req()933 if (data->host_cookie != COOKIE_UNMAPPED) in dw_mci_post_req()938 data->host_cookie = COOKIE_UNMAPPED; in dw_mci_post_req()
80 if (!next && data->host_cookie == host->next_cookie) in sdmmc_idma_prep_data()
609 if (data->host_cookie == COOKIE_PRE_MAPPED) in sdhci_pre_dma_transfer()646 data->host_cookie = cookie; in sdhci_pre_dma_transfer()2538 if (data->host_cookie != COOKIE_UNMAPPED) in sdhci_post_req()2542 data->host_cookie = COOKIE_UNMAPPED; in sdhci_post_req()2549 mrq->data->host_cookie = COOKIE_UNMAPPED; in sdhci_pre_req()2653 if (data && data->host_cookie == COOKIE_MAPPED) { in sdhci_request_done()2693 data->host_cookie = COOKIE_UNMAPPED; in sdhci_request_done()3035 data->host_cookie == COOKIE_MAPPED); in sdhci_defer_done()
265 __be64 host_cookie __packed;
531 __be64 host_cookie; member
312 nfp_flow->meta.host_cookie = cpu_to_be64(flow->cookie); in nfp_compile_flow_metadata()