3
0
mirror of https://github.com/Qortal/Brooklyn.git synced 2025-02-12 02:05:54 +00:00

18 lines
572 B
C
Raw Permalink Normal View History

2022-04-02 18:17:33 +05:00
/* SPDX-License-Identifier: GPL-2.0-only */
/* Altera TSE SGDMA and MSGDMA Linux driver
* Copyright (C) 2014 Altera Corporation. All rights reserved
*/
#ifndef __ALTERA_UTILS_H__
#define __ALTERA_UTILS_H__
2022-09-13 23:14:27 +05:00
#include <linux/compiler.h>
#include <linux/types.h>
2022-04-02 18:17:33 +05:00
void tse_set_bit(void __iomem *ioaddr, size_t offs, u32 bit_mask);
void tse_clear_bit(void __iomem *ioaddr, size_t offs, u32 bit_mask);
int tse_bit_is_set(void __iomem *ioaddr, size_t offs, u32 bit_mask);
int tse_bit_is_clear(void __iomem *ioaddr, size_t offs, u32 bit_mask);
#endif /* __ALTERA_UTILS_H__*/