The Design and Implementation of the FreeBSD Operating System, Second Edition
Now available: The Design and Implementation of the FreeBSD Operating System (Second Edition)


[ source navigation ] [ diff markup ] [ identifier search ] [ freetext search ] [ file search ] [ list types ] [ track identifier ]

FreeBSD/Linux Kernel Cross Reference
sys/dev/rtwn/if_rtwn_nop.h

Version: -  FREEBSD  -  FREEBSD-13-STABLE  -  FREEBSD-13-0  -  FREEBSD-12-STABLE  -  FREEBSD-12-0  -  FREEBSD-11-STABLE  -  FREEBSD-11-0  -  FREEBSD-10-STABLE  -  FREEBSD-10-0  -  FREEBSD-9-STABLE  -  FREEBSD-9-0  -  FREEBSD-8-STABLE  -  FREEBSD-8-0  -  FREEBSD-7-STABLE  -  FREEBSD-7-0  -  FREEBSD-6-STABLE  -  FREEBSD-6-0  -  FREEBSD-5-STABLE  -  FREEBSD-5-0  -  FREEBSD-4-STABLE  -  FREEBSD-3-STABLE  -  FREEBSD22  -  l41  -  OPENBSD  -  linux-2.6  -  MK84  -  PLAN9  -  xnu-8792 
SearchContext: -  none  -  3  -  10 

    1 /*-
    2  * Copyright (c) 2016 Andriy Voskoboinyk <avos@FreeBSD.org>
    3  *
    4  * Permission to use, copy, modify, and distribute this software for any
    5  * purpose with or without fee is hereby granted, provided that the above
    6  * copyright notice and this permission notice appear in all copies.
    7  *
    8  * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
    9  * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
   10  * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
   11  * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
   12  * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
   13  * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
   14  * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
   15  *
   16  * $FreeBSD$
   17  */
   18 
   19 #ifndef IF_RTWN_NOP_H
   20 #define IF_RTWN_NOP_H
   21 
   22 static __inline void
   23 rtwn_nop_softc(struct rtwn_softc *sc)
   24 {
   25 }
   26 
   27 static __inline int
   28 rtwn_nop_int_softc(struct rtwn_softc *sc)
   29 {
   30         return (0);
   31 }
   32 
   33 static __inline int
   34 rtwn_nop_int_softc_mbuf(struct rtwn_softc *sc, struct mbuf *m)
   35 {
   36         return (0);
   37 }
   38 
   39 static __inline void
   40 rtwn_nop_softc_int(struct rtwn_softc *sc, int id)
   41 {
   42 }
   43 
   44 static __inline void
   45 rtwn_nop_softc_uint32(struct rtwn_softc *sc, uint32_t reg)
   46 {
   47 }
   48 
   49 static __inline void
   50 rtwn_nop_softc_chan(struct rtwn_softc *sc, struct ieee80211_channel *c)
   51 {
   52 }
   53 
   54 static __inline void
   55 rtwn_nop_softc_vap(struct rtwn_softc *sc, struct ieee80211vap *vap)
   56 {
   57 }
   58 
   59 static __inline void
   60 rtwn_nop_softc_uint8_int(struct rtwn_softc *sc, uint8_t *buf, int len)
   61 {
   62 }
   63 
   64 static __inline void
   65 rtwn_nop_void_int(void *buf, int is5ghz)
   66 {
   67 }
   68 
   69 #endif  /* IF_RTWN_NOP_H */

Cache object: da73ff3134b654e8f4908688873105c0


[ source navigation ] [ diff markup ] [ identifier search ] [ freetext search ] [ file search ] [ list types ] [ track identifier ]


This page is part of the FreeBSD/Linux Linux Kernel Cross-Reference, and was automatically generated using a modified version of the LXR engine.