linux/drivers/mmc/host/mmc_hsq.c

// SPDX-License-Identifier: GPL-2.0
/*
 *
 * MMC software queue support based on command queue interfaces
 *
 * Copyright (C) 2019 Linaro, Inc.
 * Author: Baolin Wang <[email protected]>
 */

#include <linux/mmc/card.h>
#include <linux/mmc/host.h>
#include <linux/module.h>

#include "mmc_hsq.h"

static void mmc_hsq_retry_handler(struct work_struct *work)
{}

static void mmc_hsq_modify_threshold(struct mmc_hsq *hsq)
{}

static void mmc_hsq_pump_requests(struct mmc_hsq *hsq)
{}

static void mmc_hsq_update_next_tag(struct mmc_hsq *hsq, int remains)
{}

static void mmc_hsq_post_request(struct mmc_hsq *hsq)
{}

/**
 * mmc_hsq_finalize_request - finalize one request if the request is done
 * @mmc: the host controller
 * @mrq: the request need to be finalized
 *
 * Return true if we finalized the corresponding request in software queue,
 * otherwise return false.
 */
bool mmc_hsq_finalize_request(struct mmc_host *mmc, struct mmc_request *mrq)
{}
EXPORT_SYMBOL_GPL();

static void mmc_hsq_recovery_start(struct mmc_host *mmc)
{}

static void mmc_hsq_recovery_finish(struct mmc_host *mmc)
{}

static int mmc_hsq_request(struct mmc_host *mmc, struct mmc_request *mrq)
{}

static void mmc_hsq_post_req(struct mmc_host *mmc, struct mmc_request *mrq)
{}

static bool mmc_hsq_queue_is_idle(struct mmc_hsq *hsq, int *ret)
{}

static int mmc_hsq_wait_for_idle(struct mmc_host *mmc)
{}

static void mmc_hsq_disable(struct mmc_host *mmc)
{}

static int mmc_hsq_enable(struct mmc_host *mmc, struct mmc_card *card)
{}

static const struct mmc_cqe_ops mmc_hsq_ops =;

int mmc_hsq_init(struct mmc_hsq *hsq, struct mmc_host *mmc)
{}
EXPORT_SYMBOL_GPL();

void mmc_hsq_suspend(struct mmc_host *mmc)
{}
EXPORT_SYMBOL_GPL();

int mmc_hsq_resume(struct mmc_host *mmc)
{}
EXPORT_SYMBOL_GPL();

MODULE_DESCRIPTION();
MODULE_LICENSE();