| /NextBSD/sys/dev/wtap/wtap_hal/ |
| HD | hal.c | 38 struct wtap_hal *hal = (struct wtap_hal *)arg; in hal_tx_proc() local 45 hal = (struct wtap_hal *)arg; in hal_tx_proc() 47 p = medium_get_next_packet(hal->hal_md); in hal_tx_proc() 51 hal->plugin->work(hal->plugin, p); in hal_tx_proc() 62 init_hal(struct wtap_hal *hal) in init_hal() argument 66 mtx_init(&hal->hal_mtx, "wtap_hal mtx", NULL, MTX_DEF | MTX_RECURSE); in init_hal() 68 hal->hal_md = (struct wtap_medium *)malloc(sizeof(struct wtap_medium), in init_hal() 70 bzero(hal->hal_md, sizeof(struct wtap_medium)); in init_hal() 72 init_medium(hal->hal_md); in init_hal() 74 TASK_INIT(&hal->hal_md->tx_handler->proc, 0, hal_tx_proc, hal); in init_hal() [all …]
|
| /NextBSD/sys/dev/wtap/ |
| HD | if_wtap_module.c | 94 static struct wtap_hal *hal; variable 117 if(new_wtap(hal, *(int *)data)) in wtap_ioctl() 121 if(free_wtap(hal, *(int *)data)) in wtap_ioctl() 145 hal = (struct wtap_hal *)malloc(sizeof(struct wtap_hal), in event_handler() 147 bzero(hal, sizeof(struct wtap_hal)); in event_handler() 149 init_hal(hal); in event_handler() 155 plugin->base.wp_hal = hal; in event_handler() 159 register_plugin(hal, (struct wtap_plugin *)plugin); in event_handler() 165 deregister_plugin(hal); in event_handler() 166 deinit_hal(hal); in event_handler() [all …]
|
| /NextBSD/sys/dev/etherswitch/arswitch/ |
| HD | arswitch.c | 231 sc->hal.arswitch_vlan_init_hw(sc); in arswitch_set_vlan_mode() 302 sc->hal.arswitch_port_init = ar8xxx_port_init; in arswitch_attach() 303 sc->hal.arswitch_port_vlan_setup = ar8xxx_port_vlan_setup; in arswitch_attach() 304 sc->hal.arswitch_port_vlan_get = ar8xxx_port_vlan_get; in arswitch_attach() 305 sc->hal.arswitch_vlan_init_hw = ar8xxx_reset_vlans; in arswitch_attach() 307 sc->hal.arswitch_vlan_getvgroup = ar8xxx_getvgroup; in arswitch_attach() 308 sc->hal.arswitch_vlan_setvgroup = ar8xxx_setvgroup; in arswitch_attach() 310 sc->hal.arswitch_vlan_get_pvid = ar8xxx_get_pvid; in arswitch_attach() 311 sc->hal.arswitch_vlan_set_pvid = ar8xxx_set_pvid; in arswitch_attach() 313 sc->hal.arswitch_get_dot1q_vlan = ar8xxx_get_dot1q_vlan; in arswitch_attach() [all …]
|
| HD | arswitch_8327.c | 775 sc->hal.arswitch_vlan_set_pvid(sc, p->es_port, p->es_pvid); in ar8327_port_vlan_setup() 796 sc->hal.arswitch_vlan_get_pvid(sc, p->es_port, &p->es_pvid); in ar8327_port_vlan_get() 912 sc->hal.arswitch_vlan_set_pvid(sc, i, sc->vid[0]); in ar8327_reset_vlans() 915 sc->hal.arswitch_set_dot1q_vlan(sc, ports, ports, sc->vid[0]); in ar8327_reset_vlans() 1122 sc->hal.arswitch_hw_setup = ar8327_hw_setup; in ar8327_attach() 1123 sc->hal.arswitch_hw_global_setup = ar8327_hw_global_setup; in ar8327_attach() 1125 sc->hal.arswitch_port_init = ar8327_port_init; in ar8327_attach() 1127 sc->hal.arswitch_vlan_getvgroup = ar8327_vlan_getvgroup; in ar8327_attach() 1128 sc->hal.arswitch_vlan_setvgroup = ar8327_vlan_setvgroup; in ar8327_attach() 1129 sc->hal.arswitch_port_vlan_setup = ar8327_port_vlan_setup; in ar8327_attach() [all …]
|
| HD | arswitch_vlans.c | 197 if (sc->hal.arswitch_flush_dot1q_vlan(sc)) { in ar8xxx_reset_vlans() 224 sc->hal.arswitch_vlan_set_pvid(sc, i, sc->vid[0]); in ar8xxx_reset_vlans() 228 sc->hal.arswitch_set_dot1q_vlan(sc, ports, sc->vid[0], sc->vid[0]); in ar8xxx_reset_vlans() 291 err = sc->hal.arswitch_get_dot1q_vlan(sc, &vg->es_member_ports, in ar8xxx_getvgroup() 296 err = sc->hal.arswitch_get_port_vlan(sc, &vg->es_member_ports, in ar8xxx_getvgroup() 331 err = sc->hal.arswitch_purge_dot1q_vlan(sc, vid); in ar8xxx_setvgroup() 353 err = sc->hal.arswitch_set_dot1q_vlan(sc, vg->es_member_ports, in ar8xxx_setvgroup() 357 err = sc->hal.arswitch_set_port_vlan(sc, vg->es_member_ports, vid); in ar8xxx_setvgroup()
|
| HD | arswitch_8226.c | 90 sc->hal.arswitch_hw_setup = ar8226_hw_setup; in ar8226_attach() 91 sc->hal.arswitch_hw_global_setup = ar8226_hw_global_setup; in ar8226_attach()
|
| HD | arswitch_8216.c | 90 sc->hal.arswitch_hw_setup = ar8216_hw_setup; in ar8216_attach() 91 sc->hal.arswitch_hw_global_setup = ar8216_hw_global_setup; in ar8216_attach()
|
| HD | arswitch_7240.c | 134 sc->hal.arswitch_hw_setup = ar7240_hw_setup; in ar7240_attach() 135 sc->hal.arswitch_hw_global_setup = ar7240_hw_global_setup; in ar7240_attach()
|
| HD | arswitch_8316.c | 165 sc->hal.arswitch_hw_setup = ar8316_hw_setup; in ar8316_attach() 166 sc->hal.arswitch_hw_global_setup = ar8316_hw_global_setup; in ar8316_attach()
|
| HD | arswitch_9340.c | 196 sc->hal.arswitch_hw_setup = ar9340_hw_setup; in ar9340_attach() 197 sc->hal.arswitch_hw_global_setup = ar9340_hw_global_setup; in ar9340_attach()
|
| HD | arswitchvar.h | 117 } hal; member
|
| /NextBSD/sys/dev/wtap/plugins/ |
| HD | visibility.c | 125 struct wtap_hal *hal = (struct wtap_hal *)vis_plugin->base.wp_hal; in visibility_work() local 148 if(hal->hal_devs[k] != NULL in visibility_work() 149 && hal->hal_devs[k]->up == 1){ in visibility_work() 151 hal->hal_devs[k]; in visibility_work() 208 struct wtap_hal *hal = vis_plugin->base.wp_hal; in vis_ioctl() local 218 medium_close(hal->hal_md); in vis_ioctl() 220 medium_open(hal->hal_md); in vis_ioctl()
|
| /NextBSD/sys/dev/etherswitch/ip17x/ |
| HD | ip175d.c | 210 sc->hal.ip17x_reset = ip175d_reset; in ip175d_attach() 211 sc->hal.ip17x_hw_setup = ip175d_hw_setup; in ip175d_attach() 212 sc->hal.ip17x_get_vlan_mode = ip175d_get_vlan_mode; in ip175d_attach() 213 sc->hal.ip17x_set_vlan_mode = ip175d_set_vlan_mode; in ip175d_attach()
|
| HD | ip175c.c | 238 sc->hal.ip17x_reset = ip175c_reset; in ip175c_attach() 239 sc->hal.ip17x_hw_setup = ip175c_hw_setup; in ip175c_attach() 240 sc->hal.ip17x_get_vlan_mode = ip175c_get_vlan_mode; in ip175c_attach() 241 sc->hal.ip17x_set_vlan_mode = ip175c_set_vlan_mode; in ip175c_attach()
|
| HD | ip17x.c | 211 sc->hal.ip17x_reset(sc); in ip17x_attach() 224 sc->hal.ip17x_set_vlan_mode(sc, ETHERSWITCH_VLAN_PORT); in ip17x_attach() 265 sc->hal.ip17x_reset(sc); in ip17x_detach() 459 if (sc->hal.ip17x_hw_setup(sc)) in ip17x_setport() 546 conf->vlan_mode = sc->hal.ip17x_get_vlan_mode(sc); in ip17x_getconf() 560 sc->hal.ip17x_set_vlan_mode(sc, conf->vlan_mode); in ip17x_setconf()
|
| HD | ip17x_vlans.c | 172 return (sc->hal.ip17x_hw_setup(sc)); in ip17x_setvgroup() 186 return (sc->hal.ip17x_hw_setup(sc)); in ip17x_setvgroup()
|
| HD | ip17x_var.h | 73 } hal; member
|
| /NextBSD/sys/mips/nlm/ |
| HD | files.xlp | 2 mips/nlm/hal/nlm_hal.c standard 3 mips/nlm/hal/fmn.c standard
|
| /NextBSD/sys/contrib/dev/ath/ath_hal/ar9300/ |
| HD | eeprom.diff | 16 diff --git a/hal/ar9300/ar9300_eeprom.c b/hal/ar9300/ar9300_eeprom.c 18 --- a/hal/ar9300/ar9300_eeprom.c 19 +++ b/hal/ar9300/ar9300_eeprom.c
|
| HD | ar9300_osprey22_scoemu.ini | 19 >>>> ORIGINAL //depot/sw/branches/AquilaStaging/drivers/wlan/hal/ar9300/ar9300_osprey22.ini#11 21 ==== THEIRS //depot/sw/branches/scorpion_dev/drivers/wlan/hal/ar9300/ar9300_osprey22.ini#3 23 ==== YOURS //sco9.5/drivers/wlan/hal/ar9300/ar9300_osprey22.ini 73 >>>> ORIGINAL //depot/sw/branches/AquilaStaging/drivers/wlan/hal/ar9300/ar9300_osprey22.ini#11 75 ==== THEIRS //depot/sw/branches/scorpion_dev/drivers/wlan/hal/ar9300/ar9300_osprey22.ini#3 77 ==== YOURS //sco9.5/drivers/wlan/hal/ar9300/ar9300_osprey22.ini
|
| /NextBSD/sys/modules/wtap/ |
| HD | Makefile | 12 SRCS += hal.c
|
| /NextBSD/libexec/bootpd/ |
| HD | readfile.c | 1774 unsigned hal; local 1777 hal = haddrlength(htype); /* Get length of this address type */ 1778 if (hal <= 0) { 1796 while (hap < haddr + hal) {
|
| HD | Changes | 197 based on work by Jason Zions <jazz@hal.com>
|
| /NextBSD/contrib/tnftp/src/ |
| HD | ftp.c | 1208 unsigned int af, hal, pal; in initconn() local 1381 &af, &hal, in initconn() 1390 if (af != 4 || hal != 4 || pal != 2) { in initconn() 1409 &af, &hal, in initconn() 1422 if (af != 6 || hal != 16 || pal != 2) { in initconn()
|
| /NextBSD/sys/dev/ath/ |
| HD | ah_osdep.c | 94 static SYSCTL_NODE(_hw_ath, OID_AUTO, hal, CTLFLAG_RD, 0,
|