1 | /* |
---|
2 | * This file is produced automatically. |
---|
3 | * Do not modify anything in here by hand. |
---|
4 | * |
---|
5 | * Created from source file |
---|
6 | * freebsd-org/sys/dev/dwc/if_dwc_if.m |
---|
7 | * with |
---|
8 | * makeobjops.awk |
---|
9 | * |
---|
10 | * See the source file for legal information |
---|
11 | */ |
---|
12 | |
---|
13 | |
---|
14 | #ifndef _if_dwc_if_h_ |
---|
15 | #define _if_dwc_if_h_ |
---|
16 | |
---|
17 | |
---|
18 | |
---|
19 | /** @brief Unique descriptor for the IF_DWC_INIT() method */ |
---|
20 | extern struct kobjop_desc if_dwc_init_desc; |
---|
21 | /** @brief A function implementing the IF_DWC_INIT() method */ |
---|
22 | typedef int if_dwc_init_t(device_t dev); |
---|
23 | |
---|
24 | static __inline int IF_DWC_INIT(device_t dev) |
---|
25 | { |
---|
26 | kobjop_t _m; |
---|
27 | KOBJOPLOOKUP(((kobj_t)dev)->ops,if_dwc_init); |
---|
28 | return ((if_dwc_init_t *) _m)(dev); |
---|
29 | } |
---|
30 | |
---|
31 | /** @brief Unique descriptor for the IF_DWC_MAC_TYPE() method */ |
---|
32 | extern struct kobjop_desc if_dwc_mac_type_desc; |
---|
33 | /** @brief A function implementing the IF_DWC_MAC_TYPE() method */ |
---|
34 | typedef int if_dwc_mac_type_t(device_t dev); |
---|
35 | |
---|
36 | static __inline int IF_DWC_MAC_TYPE(device_t dev) |
---|
37 | { |
---|
38 | kobjop_t _m; |
---|
39 | KOBJOPLOOKUP(((kobj_t)dev)->ops,if_dwc_mac_type); |
---|
40 | return ((if_dwc_mac_type_t *) _m)(dev); |
---|
41 | } |
---|
42 | |
---|
43 | /** @brief Unique descriptor for the IF_DWC_MII_CLK() method */ |
---|
44 | extern struct kobjop_desc if_dwc_mii_clk_desc; |
---|
45 | /** @brief A function implementing the IF_DWC_MII_CLK() method */ |
---|
46 | typedef int if_dwc_mii_clk_t(device_t dev); |
---|
47 | |
---|
48 | static __inline int IF_DWC_MII_CLK(device_t dev) |
---|
49 | { |
---|
50 | kobjop_t _m; |
---|
51 | KOBJOPLOOKUP(((kobj_t)dev)->ops,if_dwc_mii_clk); |
---|
52 | return ((if_dwc_mii_clk_t *) _m)(dev); |
---|
53 | } |
---|
54 | |
---|
55 | #endif /* _if_dwc_if_h_ */ |
---|