linux/drivers/net/wwan/iosm/iosm_ipc_chnl_cfg.c

// SPDX-License-Identifier: GPL-2.0-only
/*
 * Copyright (C) 2020-21 Intel Corporation.
 */

#include <linux/wwan.h>

#include "iosm_ipc_chnl_cfg.h"

/* Max. sizes of a downlink buffers */
#define IPC_MEM_MAX_DL_FLASH_BUF_SIZE
#define IPC_MEM_MAX_DL_LOOPBACK_SIZE
#define IPC_MEM_MAX_DL_AT_BUF_SIZE
#define IPC_MEM_MAX_DL_RPC_BUF_SIZE
#define IPC_MEM_MAX_DL_MBIM_BUF_SIZE

/* Max. transfer descriptors for a pipe. */
#define IPC_MEM_MAX_TDS_FLASH_DL
#define IPC_MEM_MAX_TDS_FLASH_UL
#define IPC_MEM_MAX_TDS_AT
#define IPC_MEM_MAX_TDS_RPC
#define IPC_MEM_MAX_TDS_MBIM
#define IPC_MEM_MAX_TDS_LOOPBACK

/* Accumulation backoff usec */
#define IRQ_ACC_BACKOFF_OFF

/* MUX acc backoff 1ms */
#define IRQ_ACC_BACKOFF_MUX

/* Modem channel configuration table
 * Always reserve element zero for flash channel.
 */
static struct ipc_chnl_cfg modem_cfg[] =;

int ipc_chnl_cfg_get(struct ipc_chnl_cfg *chnl_cfg, int index)
{}