xref: /kernel/linux/linux-5.10/drivers/net/ethernet/altera/altera_utils.h
  • Home
  • History
  • Annotate Annotate
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
  • only in /kernel/linux/linux-5.10/drivers/net/ethernet/altera/
18c2ecf20Sopenharmony_ci/* SPDX-License-Identifier: GPL-2.0-only */
28c2ecf20Sopenharmony_ci/* Altera TSE SGDMA and MSGDMA Linux driver
38c2ecf20Sopenharmony_ci * Copyright (C) 2014 Altera Corporation. All rights reserved
48c2ecf20Sopenharmony_ci */
58c2ecf20Sopenharmony_ci
68c2ecf20Sopenharmony_ci#include <linux/kernel.h>
78c2ecf20Sopenharmony_ci
88c2ecf20Sopenharmony_ci#ifndef __ALTERA_UTILS_H__
98c2ecf20Sopenharmony_ci#define __ALTERA_UTILS_H__
108c2ecf20Sopenharmony_ci
118c2ecf20Sopenharmony_civoid tse_set_bit(void __iomem *ioaddr, size_t offs, u32 bit_mask);
128c2ecf20Sopenharmony_civoid tse_clear_bit(void __iomem *ioaddr, size_t offs, u32 bit_mask);
138c2ecf20Sopenharmony_ciint tse_bit_is_set(void __iomem *ioaddr, size_t offs, u32 bit_mask);
148c2ecf20Sopenharmony_ciint tse_bit_is_clear(void __iomem *ioaddr, size_t offs, u32 bit_mask);
158c2ecf20Sopenharmony_ci
168c2ecf20Sopenharmony_ci#endif /* __ALTERA_UTILS_H__*/
17

Indexes created Thu Nov 07 10:32:03 CST 2024