xref: /freebsd/sys/dev/rtwn/pci/rtwn_pci_rx.h (revision 95ee2897e98f5d444f26ed2334cc7c439f9c16c6)
17453645fSAndriy Voskoboinyk /*-
27453645fSAndriy Voskoboinyk  * Copyright (c) 2016 Andriy Voskoboinyk <avos@FreeBSD.org>
37453645fSAndriy Voskoboinyk  *
47453645fSAndriy Voskoboinyk  * Permission to use, copy, modify, and distribute this software for any
57453645fSAndriy Voskoboinyk  * purpose with or without fee is hereby granted, provided that the above
67453645fSAndriy Voskoboinyk  * copyright notice and this permission notice appear in all copies.
77453645fSAndriy Voskoboinyk  *
87453645fSAndriy Voskoboinyk  * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
97453645fSAndriy Voskoboinyk  * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
107453645fSAndriy Voskoboinyk  * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
117453645fSAndriy Voskoboinyk  * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
127453645fSAndriy Voskoboinyk  * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
137453645fSAndriy Voskoboinyk  * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
147453645fSAndriy Voskoboinyk  * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
157453645fSAndriy Voskoboinyk  */
167453645fSAndriy Voskoboinyk 
177453645fSAndriy Voskoboinyk #ifndef RTWN_PCI_RX_H
187453645fSAndriy Voskoboinyk #define RTWN_PCI_RX_H
197453645fSAndriy Voskoboinyk 
207453645fSAndriy Voskoboinyk void	rtwn_pci_dma_map_addr(void *, bus_dma_segment_t *, int, int);
217453645fSAndriy Voskoboinyk void	rtwn_pci_setup_rx_desc(struct rtwn_pci_softc *,
22*c5ad99fcSAndriy Voskoboinyk 	    struct rtwn_rx_stat_pci *, bus_addr_t, size_t, int);
237453645fSAndriy Voskoboinyk void	rtwn_pci_intr(void *);
247453645fSAndriy Voskoboinyk 
257453645fSAndriy Voskoboinyk #endif	/* RTWN_PCI_RX_H */
26