linux/drivers/media/pci/mgb4/mgb4_regs.h

/* SPDX-License-Identifier: GPL-2.0-only */
/*
 * Copyright (C) 2021-2022 Digiteq Automotive
 *     author: Martin Tuma <[email protected]>
 */

#ifndef __MGB4_REGS_H__
#define __MGB4_REGS_H__

#include <linux/io.h>

struct mgb4_regs {};

#define mgb4_write_reg(regs, offset, val)
#define mgb4_read_reg(regs, offset)

static inline void mgb4_mask_reg(struct mgb4_regs *regs, u32 reg, u32 mask,
				 u32 val)
{}

int mgb4_regs_map(struct resource *res, struct mgb4_regs *regs);
void mgb4_regs_free(struct mgb4_regs *regs);

#endif