linux/drivers/net/wireless/mediatek/mt76/sdio_txrx.c

// SPDX-License-Identifier: ISC
/* Copyright (C) 2020 MediaTek Inc.
 *
 * Author: Felix Fietkau <[email protected]>
 *	   Lorenzo Bianconi <[email protected]>
 *	   Sean Wang <[email protected]>
 */

#include <linux/kernel.h>
#include <linux/iopoll.h>
#include <linux/module.h>

#include <linux/mmc/host.h>
#include <linux/mmc/sdio_ids.h>
#include <linux/mmc/sdio_func.h>

#include "trace.h"
#include "sdio.h"
#include "mt76.h"

static int mt76s_refill_sched_quota(struct mt76_dev *dev, u32 *data)
{}

static struct sk_buff *
mt76s_build_rx_skb(void *data, int data_len, int buf_len)
{}

static int
mt76s_rx_run_queue(struct mt76_dev *dev, enum mt76_rxq_id qid,
		   struct mt76s_intr *intr)
{}

static int mt76s_rx_handler(struct mt76_dev *dev)
{}

static int
mt76s_tx_pick_quota(struct mt76_sdio *sdio, bool mcu, int buf_sz,
		    int *pse_size, int *ple_size)
{}

static void
mt76s_tx_update_quota(struct mt76_sdio *sdio, bool mcu, int pse_size,
		      int ple_size)
{}

static int __mt76s_xmit_queue(struct mt76_dev *dev, u8 *data, int len)
{}

static int mt76s_tx_run_queue(struct mt76_dev *dev, struct mt76_queue *q)
{}

void mt76s_txrx_worker(struct mt76_sdio *sdio)
{}
EXPORT_SYMBOL_GPL();

void mt76s_sdio_irq(struct sdio_func *func)
{}
EXPORT_SYMBOL_GPL();

bool mt76s_txqs_empty(struct mt76_dev *dev)
{}
EXPORT_SYMBOL_GPL();