linux/drivers/media/pci/ddbridge/ddbridge-io.h

/* SPDX-License-Identifier: GPL-2.0 */
/*
 * ddbridge-io.h: Digital Devices bridge I/O inline functions
 *
 * Copyright (C) 2010-2017 Digital Devices GmbH
 *                         Ralph Metzler <[email protected]>
 *                         Marcus Metzler <[email protected]>
 */

#ifndef __DDBRIDGE_IO_H__
#define __DDBRIDGE_IO_H__

#include <linux/io.h>

#include "ddbridge.h"

/******************************************************************************/

static inline u32 ddblreadl(struct ddb_link *link, u32 adr)
{}

static inline void ddblwritel(struct ddb_link *link, u32 val, u32 adr)
{}

static inline u32 ddbreadl(struct ddb *dev, u32 adr)
{}

static inline void ddbwritel(struct ddb *dev, u32 val, u32 adr)
{}

static inline void ddbcpyto(struct ddb *dev, u32 adr, void *src, long count)
{}

static inline void ddbcpyfrom(struct ddb *dev, void *dst, u32 adr, long count)
{}

static inline u32 safe_ddbreadl(struct ddb *dev, u32 adr)
{}

#endif /* __DDBRIDGE_IO_H__ */