Home
last modified time | relevance | path

Searched refs:hal (Results 1 – 25 of 59) sorted by relevance

123

/NextBSD/sys/dev/wtap/wtap_hal/
HDhal.c38 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/
HDif_wtap_module.c94 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/
HDarswitch.c231 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 …]
HDarswitch_8327.c775 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 …]
HDarswitch_vlans.c197 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()
HDarswitch_8226.c90 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()
HDarswitch_8216.c90 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()
HDarswitch_7240.c134 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()
HDarswitch_8316.c165 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()
HDarswitch_9340.c196 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()
HDarswitchvar.h117 } hal; member
/NextBSD/sys/dev/wtap/plugins/
HDvisibility.c125 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/
HDip175d.c210 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()
HDip175c.c238 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()
HDip17x.c211 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()
HDip17x_vlans.c172 return (sc->hal.ip17x_hw_setup(sc)); in ip17x_setvgroup()
186 return (sc->hal.ip17x_hw_setup(sc)); in ip17x_setvgroup()
HDip17x_var.h73 } hal; member
/NextBSD/sys/mips/nlm/
HDfiles.xlp2 mips/nlm/hal/nlm_hal.c standard
3 mips/nlm/hal/fmn.c standard
/NextBSD/sys/contrib/dev/ath/ath_hal/ar9300/
HDeeprom.diff16 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
HDar9300_osprey22_scoemu.ini19 >>>> 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/
HDMakefile12 SRCS += hal.c
/NextBSD/libexec/bootpd/
HDreadfile.c1774 unsigned hal; local
1777 hal = haddrlength(htype); /* Get length of this address type */
1778 if (hal <= 0) {
1796 while (hap < haddr + hal) {
HDChanges197 based on work by Jason Zions <jazz@hal.com>
/NextBSD/contrib/tnftp/src/
HDftp.c1208 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/
HDah_osdep.c94 static SYSCTL_NODE(_hw_ath, OID_AUTO, hal, CTLFLAG_RD, 0,

123