Searched refs:hal (Results 1 - 25 of 67) sorted by relevance

123

/freebsd-10.1-release/sys/dev/wtap/wtap_hal/
H A Dhal.c31 #include "hal.h"
38 struct wtap_hal *hal = (struct wtap_hal *)arg; local
45 hal = (struct wtap_hal *)arg;
47 p = medium_get_next_packet(hal->hal_md);
51 hal->plugin->work(hal->plugin, p);
62 init_hal(struct wtap_hal *hal) argument
66 mtx_init(&hal->hal_mtx, "wtap_hal mtx", NULL, MTX_DEF | MTX_RECURSE);
68 hal->hal_md = (struct wtap_medium *)malloc(sizeof(struct wtap_medium),
70 bzero(hal
78 register_plugin(struct wtap_hal *hal, struct wtap_plugin *plugin) argument
86 deregister_plugin(struct wtap_hal *hal) argument
94 deinit_hal(struct wtap_hal *hal) argument
104 new_wtap(struct wtap_hal *hal, int32_t id) argument
197 free_wtap(struct wtap_hal *hal, int32_t id) argument
[all...]
/freebsd-10.1-release/sys/dev/wtap/
H A Dif_wtap_module.c84 #include "wtap_hal/hal.h"
95 static struct wtap_hal *hal; variable in typeref:struct:wtap_hal
118 if(new_wtap(hal, *(int *)data))
122 if(free_wtap(hal, *(int *)data))
146 hal = (struct wtap_hal *)malloc(sizeof(struct wtap_hal),
148 bzero(hal, sizeof(struct wtap_hal));
150 init_hal(hal);
156 plugin->base.wp_hal = hal;
160 register_plugin(hal, (struct wtap_plugin *)plugin);
166 deregister_plugin(hal);
[all...]
/freebsd-10.1-release/sys/mips/nlm/
H A Duart_cpu_xlp.c59 #include <mips/nlm/hal/haldefs.h>
60 #include <mips/nlm/hal/iomap.h>
61 #include <mips/nlm/hal/mips-extns.h>
62 #include <mips/nlm/hal/uart.h>
H A Dboard_cpld.c35 #include <mips/nlm/hal/mips-extns.h>
36 #include <mips/nlm/hal/haldefs.h>
37 #include <mips/nlm/hal/iomap.h>
38 #include <mips/nlm/hal/gbu.h>
H A Dusb_init.c37 #include <mips/nlm/hal/haldefs.h>
38 #include <mips/nlm/hal/iomap.h>
39 #include <mips/nlm/hal/usb.h>
H A Dboard_eeprom.c40 #include <mips/nlm/hal/haldefs.h>
41 #include <mips/nlm/hal/iomap.h>
42 #include <mips/nlm/hal/mips-extns.h> /* needed by board.h */
H A Dxlp.h34 #include <mips/nlm/hal/mips-extns.h>
35 #include <mips/nlm/hal/iomap.h>
H A Dboard.c41 #include <mips/nlm/hal/mips-extns.h>
42 #include <mips/nlm/hal/haldefs.h>
43 #include <mips/nlm/hal/iomap.h>
44 #include <mips/nlm/hal/fmn.h>
45 #include <mips/nlm/hal/pic.h>
46 #include <mips/nlm/hal/sys.h>
47 #include <mips/nlm/hal/nae.h>
48 #include <mips/nlm/hal/uart.h>
49 #include <mips/nlm/hal/poe.h>
H A Dmpreset.S35 #include <mips/nlm/hal/iomap.h>
36 #include <mips/nlm/hal/sys.h>
37 #include <mips/nlm/hal/cpucontrol.h>
/freebsd-10.1-release/sys/mips/nlm/hal/
H A Dnlm_hal.c36 #include <mips/nlm/hal/mips-extns.h>
37 #include <mips/nlm/hal/haldefs.h>
38 #include <mips/nlm/hal/iomap.h>
39 #include <mips/nlm/hal/sys.h>
/freebsd-10.1-release/sys/mips/nlm/dev/
H A Duart_pci_xlp.c44 #include <mips/nlm/hal/haldefs.h>
45 #include <mips/nlm/hal/iomap.h>
46 #include <mips/nlm/hal/uart.h>
H A Dcfi_pci_xlp.c46 #include <mips/nlm/hal/haldefs.h>
47 #include <mips/nlm/hal/iomap.h>
/freebsd-10.1-release/sys/mips/nlm/dev/net/
H A Dsgmii.c34 #include <mips/nlm/hal/mips-extns.h>
35 #include <mips/nlm/hal/haldefs.h>
36 #include <mips/nlm/hal/iomap.h>
37 #include <mips/nlm/hal/sys.h>
38 #include <mips/nlm/hal/nae.h>
39 #include <mips/nlm/hal/mdio.h>
40 #include <mips/nlm/hal/sgmii.h>
H A Dxaui.c34 #include <mips/nlm/hal/mips-extns.h>
35 #include <mips/nlm/hal/haldefs.h>
36 #include <mips/nlm/hal/iomap.h>
37 #include <mips/nlm/hal/sys.h>
38 #include <mips/nlm/hal/nae.h>
39 #include <mips/nlm/hal/mdio.h>
40 #include <mips/nlm/hal/sgmii.h>
41 #include <mips/nlm/hal/xaui.h>
H A Dmdio.c34 #include <mips/nlm/hal/mips-extns.h>
35 #include <mips/nlm/hal/haldefs.h>
36 #include <mips/nlm/hal/iomap.h>
37 #include <mips/nlm/hal/sys.h>
38 #include <mips/nlm/hal/nae.h>
39 #include <mips/nlm/hal/mdio.h>
/freebsd-10.1-release/sys/modules/wtap/
H A DMakefile12 SRCS += hal.c
/freebsd-10.1-release/sys/dev/etherswitch/arswitch/
H A Darswitch_8216.c90 sc->hal.arswitch_hw_setup = ar8216_hw_setup;
91 sc->hal.arswitch_hw_global_setup = ar8216_hw_global_setup;
H A Darswitch_8226.c90 sc->hal.arswitch_hw_setup = ar8226_hw_setup;
91 sc->hal.arswitch_hw_global_setup = ar8226_hw_global_setup;
H A Darswitch_7240.c134 sc->hal.arswitch_hw_setup = ar7240_hw_setup;
135 sc->hal.arswitch_hw_global_setup = ar7240_hw_global_setup;
H A Darswitch_8316.c165 sc->hal.arswitch_hw_setup = ar8316_hw_setup;
166 sc->hal.arswitch_hw_global_setup = ar8316_hw_global_setup;
H A Darswitchvar.h67 } hal; member in struct:arswitch_softc
/freebsd-10.1-release/sys/dev/wtap/plugins/
H A Dvisibility.c126 struct wtap_hal *hal = (struct wtap_hal *)vis_plugin->base.wp_hal; local
149 if(hal->hal_devs[k] != NULL
150 && hal->hal_devs[k]->up == 1){
152 hal->hal_devs[k];
209 struct wtap_hal *hal = vis_plugin->base.wp_hal; local
219 medium_close(hal->hal_md);
221 medium_open(hal->hal_md);
/freebsd-10.1-release/sys/dev/etherswitch/ip17x/
H A Dip175d.c210 sc->hal.ip17x_reset = ip175d_reset;
211 sc->hal.ip17x_hw_setup = ip175d_hw_setup;
212 sc->hal.ip17x_get_vlan_mode = ip175d_get_vlan_mode;
213 sc->hal.ip17x_set_vlan_mode = ip175d_set_vlan_mode;
H A Dip175c.c238 sc->hal.ip17x_reset = ip175c_reset;
239 sc->hal.ip17x_hw_setup = ip175c_hw_setup;
240 sc->hal.ip17x_get_vlan_mode = ip175c_get_vlan_mode;
241 sc->hal.ip17x_set_vlan_mode = ip175c_set_vlan_mode;
H A Dip17x_var.h74 } hal; member in struct:ip17x_softc

Completed in 253 milliseconds

123