drm/rockchip: Don't change hdmi reference clock rate
[drm/drm-misc.git] / drivers / net / ethernet / altera / altera_utils.h
blob3c2e32fb73893b2a0b23ab5ee0b3ee7a350da771
1 /* SPDX-License-Identifier: GPL-2.0-only */
2 /* Altera TSE SGDMA and MSGDMA Linux driver
3 * Copyright (C) 2014 Altera Corporation. All rights reserved
4 */
6 #ifndef __ALTERA_UTILS_H__
7 #define __ALTERA_UTILS_H__
9 #include <linux/compiler.h>
10 #include <linux/types.h>
12 void tse_set_bit(void __iomem *ioaddr, size_t offs, u32 bit_mask);
13 void tse_clear_bit(void __iomem *ioaddr, size_t offs, u32 bit_mask);
14 int tse_bit_is_set(void __iomem *ioaddr, size_t offs, u32 bit_mask);
15 int tse_bit_is_clear(void __iomem *ioaddr, size_t offs, u32 bit_mask);
17 #endif /* __ALTERA_UTILS_H__*/