mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-28 11:18:45 +07:00
d2912cb15b
Based on 2 normalized pattern(s): this program is free software you can redistribute it and or modify it under the terms of the gnu general public license version 2 as published by the free software foundation this program is free software you can redistribute it and or modify it under the terms of the gnu general public license version 2 as published by the free software foundation # extracted by the scancode license scanner the SPDX license identifier GPL-2.0-only has been chosen to replace the boilerplate/reference in 4122 file(s). Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Reviewed-by: Enrico Weigelt <info@metux.net> Reviewed-by: Kate Stewart <kstewart@linuxfoundation.org> Reviewed-by: Allison Randal <allison@lohutok.net> Cc: linux-spdx@vger.kernel.org Link: https://lkml.kernel.org/r/20190604081206.933168790@linutronix.de Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
48 lines
1.1 KiB
C
48 lines
1.1 KiB
C
/* SPDX-License-Identifier: GPL-2.0-only */
|
|
/*
|
|
* Header for Bestcomm General Buffer Descriptor tasks driver
|
|
*
|
|
* Copyright (C) 2007 Sylvain Munaut <tnt@246tNt.com>
|
|
* Copyright (C) 2006 AppSpec Computer Technologies Corp.
|
|
* Jeff Gibbons <jeff.gibbons@appspec.com>
|
|
*/
|
|
|
|
#ifndef __BESTCOMM_GEN_BD_H__
|
|
#define __BESTCOMM_GEN_BD_H__
|
|
|
|
struct bcom_gen_bd {
|
|
u32 status;
|
|
u32 buf_pa;
|
|
};
|
|
|
|
|
|
extern struct bcom_task *
|
|
bcom_gen_bd_rx_init(int queue_len, phys_addr_t fifo,
|
|
int initiator, int ipr, int maxbufsize);
|
|
|
|
extern int
|
|
bcom_gen_bd_rx_reset(struct bcom_task *tsk);
|
|
|
|
extern void
|
|
bcom_gen_bd_rx_release(struct bcom_task *tsk);
|
|
|
|
|
|
extern struct bcom_task *
|
|
bcom_gen_bd_tx_init(int queue_len, phys_addr_t fifo,
|
|
int initiator, int ipr);
|
|
|
|
extern int
|
|
bcom_gen_bd_tx_reset(struct bcom_task *tsk);
|
|
|
|
extern void
|
|
bcom_gen_bd_tx_release(struct bcom_task *tsk);
|
|
|
|
|
|
/* PSC support utility wrappers */
|
|
struct bcom_task * bcom_psc_gen_bd_rx_init(unsigned psc_num, int queue_len,
|
|
phys_addr_t fifo, int maxbufsize);
|
|
struct bcom_task * bcom_psc_gen_bd_tx_init(unsigned psc_num, int queue_len,
|
|
phys_addr_t fifo);
|
|
#endif /* __BESTCOMM_GEN_BD_H__ */
|
|
|