mirror of
https://github.com/corundum/corundum.git
synced 2025-01-16 08:12:53 +08:00
448fa8eb4c
Signed-off-by: Alex Forencich <alex@alexforencich.com>
18 lines
481 B
C
18 lines
481 B
C
// SPDX-License-Identifier: BSD-2-Clause-Views
|
|
/*
|
|
* Copyright (c) 2022-2023 The Regents of the University of California
|
|
*/
|
|
|
|
#ifndef DRP_H
|
|
#define DRP_H
|
|
|
|
#include <mqnic/reg_block.h>
|
|
#include <mqnic/reg_if.h>
|
|
|
|
int drp_rb_reg_read(const struct mqnic_reg_block *rb, uint32_t addr, uint32_t *val);
|
|
int drp_rb_reg_write(const struct mqnic_reg_block *rb, uint32_t addr, uint32_t val);
|
|
|
|
void drp_rb_reg_if_init(struct mqnic_reg_if *reg, struct mqnic_reg_block *rb);
|
|
|
|
#endif /* DRP_H */
|