/freebsd/sys/dev/wtap/wtap_hal/ |
H A D | hal.c | 31 #include "hal.h" 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() 71 init_medium(hal in init_hal() 80 register_plugin(struct wtap_hal * hal,struct wtap_plugin * plugin) register_plugin() argument 88 deregister_plugin(struct wtap_hal * hal) deregister_plugin() argument 96 deinit_hal(struct wtap_hal * hal) deinit_hal() argument 106 new_wtap(struct wtap_hal * hal,int32_t id) new_wtap() argument 201 free_wtap(struct wtap_hal * hal,int32_t id) free_wtap() argument 221 struct wtap_hal *hal = arg; wtap_hal_timer_intr() local 230 wtap_hal_reset_tsf(struct wtap_hal * hal) wtap_hal_reset_tsf() argument 243 wtap_hal_get_tsf(struct wtap_hal * hal) wtap_hal_get_tsf() argument [all...] |
/freebsd/sys/dev/etherswitch/mtkswitch/ |
H A D | mtkswitch_mt7620.c | 164 val = sc->hal.mtkswitch_read(sc, MTKSWITCH_REG32(reg)); in mtkswitch_reg_read() 176 tmp = sc->hal.mtkswitch_read(sc, MTKSWITCH_REG32(reg)); in mtkswitch_reg_write() 184 sc->hal.mtkswitch_write(sc, MTKSWITCH_REG32(reg), tmp); in mtkswitch_reg_write() 227 val = sc->hal.mtkswitch_read(sc, MTKSWITCH_PCR(port)); in mtkswitch_port_init() 229 sc->hal.mtkswitch_write(sc, MTKSWITCH_PCR(port), val); in mtkswitch_port_init() 232 val = sc->hal.mtkswitch_read(sc, MTKSWITCH_PVC(port)); in mtkswitch_port_init() 234 sc->hal.mtkswitch_write(sc, MTKSWITCH_PVC(port), val); in mtkswitch_port_init() 241 sc->hal.mtkswitch_write(sc, MTKSWITCH_PMCR(port), val); in mtkswitch_port_init() 251 val = sc->hal.mtkswitch_read(sc, MTKSWITCH_PMSR(port)); in mtkswitch_get_port_status() 279 while (sc->hal.mtkswitch_read(sc, MTKSWITCH_ATC) & ATC_BUSY); in mtkswitch_atu_flush() [all …]
|
H A D | mtkswitch_rt3050.c | 224 err = sc->hal.mtkswitch_vlan_set_pvid(sc, p->es_port, in mtkswitch_port_vlan_setup() 270 sc->hal.mtkswitch_vlan_get_pvid(sc, p->es_port, &p->es_pvid); in mtkswitch_port_vlan_get() 506 sc->hal.mtkswitch_reset = mtkswitch_reset; in mtk_attach_switch_rt3050() 507 sc->hal.mtkswitch_hw_setup = mtkswitch_hw_setup; in mtk_attach_switch_rt3050() 508 sc->hal.mtkswitch_hw_global_setup = mtkswitch_hw_global_setup; in mtk_attach_switch_rt3050() 509 sc->hal.mtkswitch_port_init = mtkswitch_port_init; in mtk_attach_switch_rt3050() 510 sc->hal.mtkswitch_get_port_status = mtkswitch_get_port_status; in mtk_attach_switch_rt3050() 511 sc->hal.mtkswitch_atu_flush = mtkswitch_atu_flush; in mtk_attach_switch_rt3050() 512 sc->hal.mtkswitch_port_vlan_setup = mtkswitch_port_vlan_setup; in mtk_attach_switch_rt3050() 513 sc->hal.mtkswitch_port_vlan_get = mtkswitch_port_vlan_get; in mtk_attach_switch_rt3050() [all …]
|
H A D | mtkswitch.c | 158 sc->hal.mtkswitch_vlan_init_hw(sc); in mtkswitch_set_vlan_mode() 202 if (sc->hal.mtkswitch_reset(sc)) { in mtkswitch_attach() 207 err = sc->hal.mtkswitch_hw_setup(sc); in mtkswitch_attach() 212 err = sc->hal.mtkswitch_hw_global_setup(sc); in mtkswitch_attach() 219 sc->hal.mtkswitch_port_init(sc, port); in mtkswitch_attach() 361 portstatus = sc->hal.mtkswitch_get_port_status(sc, in mtkswitch_miipollstat() 383 sc->hal.mtkswitch_atu_flush(sc); in mtkswitch_miipollstat() 440 err = sc->hal.mtkswitch_port_vlan_get(sc, p); in mtkswitch_getport() 485 err = sc->hal.mtkswitch_port_vlan_setup(sc, p); in mtkswitch_setport() 575 return (sc->hal.mtkswitch_vlan_getvgroup(sc, e)); in mtkswitch_getvgroup() [all …]
|
/freebsd/sys/contrib/dev/rtw89/ |
H A D | chan.c | 130 struct rtw89_hal *hal = &rtwdev->hal; in __rtw89_config_entity_chandef() 131 struct rtw89_chan *chan = &hal->sub[idx].chan; in __rtw89_config_entity_chandef() 132 struct rtw89_chan_rcd *rcd = &hal->sub[idx].rcd; in __rtw89_config_entity_chandef() 149 struct rtw89_hal *hal = &rtwdev->hal; in rtw89_config_roc_chandef() 156 for_each_set_bit(idx, hal->entity_map, NUM_OF_RTW89_SUB_ENTITY) { in rtw89_config_roc_chandef() 171 struct rtw89_hal *hal = &rtwdev->hal; in rtw89_config_roc_chandef() 173 hal in rtw89_config_roc_chandef() 111 struct rtw89_hal *hal = &rtwdev->hal; rtw89_assign_entity_chan() local 129 struct rtw89_hal *hal = &rtwdev->hal; __rtw89_config_entity_chandef() local 148 struct rtw89_hal *hal = &rtwdev->hal; rtw89_config_roc_chandef() local 186 struct rtw89_hal *hal = &rtwdev->hal; rtw89_entity_init() local 195 struct rtw89_hal *hal = &rtwdev->hal; rtw89_entity_recalc() local 220 struct rtw89_hal *hal = &rtwdev->hal; rtw89_chanctx_ops_add() local 239 struct rtw89_hal *hal = &rtwdev->hal; rtw89_chanctx_ops_remove() local [all...] |
H A D | chan.h | 48 struct rtw89_hal *hal = &rtwdev->hal; 50 return READ_ONCE(hal->entity_active); 55 struct rtw89_hal *hal = &rtwdev->hal; 57 WRITE_ONCE(hal->entity_active, active); 63 struct rtw89_hal *hal = &rtwdev->hal; 65 return READ_ONCE(hal->entity_mode); 71 struct rtw89_hal *hal 12 struct rtw89_hal *hal = &rtwdev->hal; rtw89_get_entity_state() local 19 struct rtw89_hal *hal = &rtwdev->hal; rtw89_set_entity_state() local 27 struct rtw89_hal *hal = &rtwdev->hal; rtw89_get_entity_mode() local 35 struct rtw89_hal *hal = &rtwdev->hal; rtw89_set_entity_mode() local [all...] |
H A D | mac80211.c | 239 rtwdev->hal.rx_fltr &= ~B_AX_A_MC; in rtw89_ops_configure_filter() 241 rtwdev->hal.rx_fltr |= B_AX_A_MC; in rtw89_ops_configure_filter() 245 rtwdev->hal.rx_fltr |= B_AX_A_CRC32_ERR; in rtw89_ops_configure_filter() 247 rtwdev->hal.rx_fltr &= ~B_AX_A_CRC32_ERR; in rtw89_ops_configure_filter() 251 rtwdev->hal.rx_fltr &= ~B_AX_A_A1_MATCH; in rtw89_ops_configure_filter() 253 rtwdev->hal.rx_fltr |= B_AX_A_A1_MATCH; in rtw89_ops_configure_filter() 257 rtwdev->hal.rx_fltr &= ~B_AX_A_BCN_CHK_EN; in rtw89_ops_configure_filter() 258 rtwdev->hal.rx_fltr &= ~B_AX_A_BC; in rtw89_ops_configure_filter() 259 rtwdev->hal.rx_fltr &= ~B_AX_A_A1_MATCH; in rtw89_ops_configure_filter() 261 rtwdev->hal in rtw89_ops_configure_filter() 769 struct rtw89_hal *hal = &rtwdev->hal; rtw89_ops_set_antenna() local 792 struct rtw89_hal *hal = &rtwdev->hal; rtw89_ops_get_antenna() local [all...] |
H A D | efuse.c | 54 struct rtw89_hal *hal = &rtwdev->hal; in rtw89_enable_efuse_pwr_cut_ddv() local 66 if (chip_id == RTL8852B && hal->cv == CHIP_CAV) in rtw89_enable_efuse_pwr_cut_ddv() 73 struct rtw89_hal *hal = &rtwdev->hal; in rtw89_disable_efuse_pwr_cut_ddv() local 78 if (chip_id == RTL8852B && hal->cv == CHIP_CAV) in rtw89_disable_efuse_pwr_cut_ddv()
|
/freebsd/sys/contrib/dev/athk/ath11k/ |
H A D | hal.c | 198 struct ath11k_hal *hal = &ab->hal; in ath11k_hal_alloc_cont_rdp() local 202 hal->rdp.vaddr = dma_alloc_coherent(ab->dev, size, &hal->rdp.paddr, in ath11k_hal_alloc_cont_rdp() 204 if (!hal->rdp.vaddr) in ath11k_hal_alloc_cont_rdp() 212 struct ath11k_hal *hal = &ab->hal; in ath11k_hal_free_cont_rdp() local 215 if (!hal->rdp.vaddr) in ath11k_hal_free_cont_rdp() 220 hal->rdp.vaddr, hal->rdp.paddr); in ath11k_hal_free_cont_rdp() 221 hal->rdp.vaddr = NULL; in ath11k_hal_free_cont_rdp() 226 struct ath11k_hal *hal = &ab->hal; in ath11k_hal_alloc_cont_wrp() local 230 hal->wrp.vaddr = dma_alloc_coherent(ab->dev, size, &hal->wrp.paddr, in ath11k_hal_alloc_cont_wrp() 232 if (!hal->wrp.vaddr) in ath11k_hal_alloc_cont_wrp() [all …]
|
/freebsd/sys/contrib/dev/athk/ath12k/ |
H A D | hal.c | 521 struct ath12k_hal *hal = &ab->hal; in ath12k_hal_srng_create_config_qcn9274() local 524 hal->srng_config = kmemdup(hw_srng_config_template, in ath12k_hal_srng_create_config_qcn9274() 527 if (!hal->srng_config) in ath12k_hal_srng_create_config_qcn9274() 530 s = &hal->srng_config[HAL_REO_DST]; in ath12k_hal_srng_create_config_qcn9274() 536 s = &hal->srng_config[HAL_REO_EXCEPTION]; in ath12k_hal_srng_create_config_qcn9274() 540 s = &hal->srng_config[HAL_REO_REINJECT]; in ath12k_hal_srng_create_config_qcn9274() 546 s = &hal->srng_config[HAL_REO_CMD]; in ath12k_hal_srng_create_config_qcn9274() 550 s = &hal->srng_config[HAL_REO_STATUS]; in ath12k_hal_srng_create_config_qcn9274() 554 s = &hal->srng_config[HAL_TCL_DATA]; in ath12k_hal_srng_create_config_qcn9274() 560 s = &hal->srng_config[HAL_TCL_CMD]; in ath12k_hal_srng_create_config_qcn9274() [all …]
|
/freebsd/sys/dev/wtap/ |
H A D | if_wtap_module.c | 92 static struct wtap_hal *hal; variable 115 if(new_wtap(hal, *(int *)data)) in wtap_ioctl() 119 if(free_wtap(hal, *(int *)data)) in wtap_ioctl() 142 hal = (struct wtap_hal *)malloc(sizeof(struct wtap_hal), in event_handler() 145 init_hal(hal); in event_handler() 151 plugin->base.wp_hal = hal; in event_handler() 155 register_plugin(hal, (struct wtap_plugin *)plugin); in event_handler() 161 deregister_plugin(hal); in event_handler() 162 deinit_hal(hal); in event_handler() 163 free(hal, M_WTAP); in event_handler()
|
/freebsd/sys/contrib/dev/rtw88/ |
H A D | phy.c | 230 struct rtw_hal *hal = &rtwdev->hal; in rtw_phy_dig_write() local 239 for (path = 0; path < hal->rf_path_num; path++) { in rtw_phy_dig_write() 633 for (i = 0; i < rtwdev->hal.rf_path_num; i++) { in rtw_phy_parsing_cfo_iter() 728 if (rtwdev->hal.current_band_type != RTW_BAND_2G) in rtw_phy_cck_pd() 897 struct rtw_hal *hal = &rtwdev->hal; in rtw_phy_read_rf() local 902 if (rf_path >= hal->rf_phy_num) { in rtw_phy_read_rf() 920 struct rtw_hal *hal = &rtwdev->hal; in rtw_phy_read_rf_sipi() local 969 struct rtw_hal *hal = &rtwdev->hal; rtw_phy_write_rf_reg_sipi() local 1009 struct rtw_hal *hal = &rtwdev->hal; rtw_phy_write_rf_reg() local 1042 struct rtw_hal *hal = &rtwdev->hal; rtw_phy_setup_phy_cond() local 1071 struct rtw_hal *hal = &rtwdev->hal; check_positive() local 1452 struct rtw_hal *hal = &rtwdev->hal; rtw_phy_store_tx_power_by_rate() local 1532 struct rtw_hal *hal = &rtwdev->hal; rtw_phy_set_tx_power_limit() local 1567 struct rtw_hal *hal = &rtwdev->hal; rtw_xref_5g_txpwr_lmt() local 1628 __cfg_txpwr_lmt_by_alt(struct rtw_hal * hal,u8 regd,u8 regd_alt,u8 bw,u8 rs) __cfg_txpwr_lmt_by_alt() argument 2026 struct rtw_hal *hal = &rtwdev->hal; rtw_phy_get_tx_power_limit() local 2095 struct rtw_hal *hal = &rtwdev->hal; rtw_get_tx_power_params() local 2161 struct rtw_hal *hal = &rtwdev->hal; rtw_phy_set_tx_power_index_by_rs() local 2192 struct rtw_hal *hal = &rtwdev->hal; rtw_phy_set_tx_power_level_by_path() local 2208 struct rtw_hal *hal = &rtwdev->hal; rtw_phy_set_tx_power_level() local 2222 rtw_phy_tx_power_by_rate_config_by_path(struct rtw_hal * hal,u8 path,u8 rs,u8 size,u8 * rates) rtw_phy_tx_power_by_rate_config_by_path() argument 2244 rtw_phy_tx_power_by_rate_config(struct rtw_hal * hal) rtw_phy_tx_power_by_rate_config() argument 2271 __rtw_phy_tx_power_limit_config(struct rtw_hal * hal,u8 regd,u8 bw,u8 rs) __rtw_phy_tx_power_limit_config() argument 2287 rtw_phy_tx_power_limit_config(struct rtw_hal * hal) rtw_phy_tx_power_limit_config() argument 2303 struct rtw_hal *hal = &rtwdev->hal; rtw_phy_init_tx_power_limit() local 2318 struct rtw_hal *hal = &rtwdev->hal; rtw_phy_init_tx_power() local [all...] |
H A D | sar.c | 11 const struct rtw_hal *hal = &rtwdev->hal; in rtw_query_sar() local 12 const struct rtw_sar *sar = &hal->sar; in rtw_query_sar() 27 struct rtw_hal *hal = &rtwdev->hal; in rtw_apply_sar() local 28 struct rtw_sar *sar = &hal->sar; in rtw_apply_sar() 36 rtw_phy_set_tx_power_level(rtwdev, hal->current_channel); in rtw_apply_sar() 44 struct rtw_hal *hal = &rtwdev->hal; in rtw_sar_to_phy() local 52 hal in rtw_sar_to_phy() [all...] |
H A D | main.c | 747 struct rtw_hal *hal = &rtwdev->hal; in rtw_update_channel() local 748 u8 *cch_by_bw = hal->cch_by_bw; in rtw_update_channel() 817 hal->current_primary_channel_index = primary_channel_idx; in rtw_update_channel() 818 hal->current_band_width = bandwidth; in rtw_update_channel() 819 hal->primary_channel = primary_channel; in rtw_update_channel() 820 hal->current_channel = center_channel; in rtw_update_channel() 821 hal->current_band_type = band; in rtw_update_channel() 822 hal->sar_band = sar_band; in rtw_update_channel() 878 struct rtw_hal *hal = &rtwdev->hal; in rtw_set_channel() local 897 hal->current_primary_channel_index); in rtw_set_channel() [all …]
|
H A D | rtw8822b.c | 135 for (path = RF_PATH_A; path < rtwdev->hal.rf_path_num; path++) { in rtw8822b_pwrtrack_init() 153 struct rtw_hal *hal = &rtwdev->hal; in rtw8822b_phy_set_param() local 177 rtw8822b_config_trx_mode(rtwdev, hal->antenna_tx, hal->antenna_rx, in rtw8822b_phy_set_param() 291 struct rtw_hal *hal = &rtwdev->hal; in rtw8822b_set_channel_rfe_efem() local 305 if (hal->antenna_rx == BB_PATH_AB || in rtw8822b_set_channel_rfe_efem() 306 hal->antenna_tx == BB_PATH_AB) { in rtw8822b_set_channel_rfe_efem() 309 } else if (hal in rtw8822b_set_channel_rfe_efem() 320 struct rtw_hal *hal = &rtwdev->hal; rtw8822b_set_channel_rfe_ifem() local 423 struct rtw_hal *hal = &rtwdev->hal; rtw8822b_set_channel_cca() local 512 struct rtw_hal *hal = &rtwdev->hal; rtw8822b_set_channel_rf() local 576 struct rtw_hal *hal = &rtwdev->hal; rtw8822b_toggle_igi() local 980 struct rtw_hal *hal = &rtwdev->hal; rtw8822b_set_tx_power_index_by_rate() local 1002 struct rtw_hal *hal = &rtwdev->hal; rtw8822b_set_tx_power_index() local 1027 struct rtw_hal *hal = &rtwdev->hal; rtw8822b_set_antenna() local [all...] |
H A D | mac80211.c | 296 rtwdev->hal.rcr |= BIT_AM; in rtw_ops_configure_filter() 298 rtwdev->hal.rcr &= ~(BIT_AM); in rtw_ops_configure_filter() 302 rtwdev->hal.rcr |= BIT_ACRC32; in rtw_ops_configure_filter() 304 rtwdev->hal.rcr &= ~(BIT_ACRC32); in rtw_ops_configure_filter() 308 rtwdev->hal.rcr |= BIT_AAP; in rtw_ops_configure_filter() 310 rtwdev->hal.rcr &= ~(BIT_AAP); in rtw_ops_configure_filter() 314 rtwdev->hal.rcr &= ~(BIT_CBSSID_BCN | BIT_CBSSID_DATA); in rtw_ops_configure_filter() 316 rtwdev->hal.rcr |= BIT_CBSSID_BCN; in rtw_ops_configure_filter() 321 changed_flags, *new_flags, rtwdev->hal.rcr); in rtw_ops_configure_filter() 323 rtw_write32(rtwdev, REG_RCR, rtwdev->hal in rtw_ops_configure_filter() 667 struct rtw_hal *hal = &rtwdev->hal; rtw_ops_can_aggregate_in_amsdu() local 822 struct rtw_hal *hal = &rtwdev->hal; rtw_ops_get_antenna() local [all...] |
H A D | rtw8821c.c | 50 struct rtw_hal *hal = &rtwdev->hal; in rtw8821c_read_efuse() local 74 hal->pkg_type = map->rfe_option & BIT(5) ? 1 : 0; in rtw8821c_read_efuse() 83 hal->rfe_btg = true; in rtw8821c_read_efuse() 160 struct rtw_hal *hal = &rtwdev->hal; in rtw8821c_phy_set_param() local 195 hal->ch_param[0] = rtw_read32_mask(rtwdev, REG_TXSF2, MASKDWORD); in rtw8821c_phy_set_param() 196 hal->ch_param[1] = rtw_read32_mask(rtwdev, REG_TXSF6, MASKDWORD); in rtw8821c_phy_set_param() 197 hal->ch_param[2] = rtw_read32_mask(rtwdev, REG_TXFILTER, MASKDWORD); in rtw8821c_phy_set_param() 312 struct rtw_hal *hal in rtw8821c_set_channel_rf() local 387 struct rtw_hal *hal = &rtwdev->hal; rtw8821c_set_channel_bb() local 659 struct rtw_hal *hal = &rtwdev->hal; rtw8821c_set_tx_power_index_by_rate() local 681 struct rtw_hal *hal = &rtwdev->hal; rtw8821c_set_tx_power_index() local [all...] |
/freebsd/sys/dev/etherswitch/arswitch/ |
H A D | arswitch.c | 226 sc->hal.arswitch_vlan_init_hw(sc); in arswitch_set_vlan_mode() 528 sc->hal.arswitch_port_init = ar8xxx_port_init; in arswitch_attach() 529 sc->hal.arswitch_port_vlan_setup = ar8xxx_port_vlan_setup; in arswitch_attach() 530 sc->hal.arswitch_port_vlan_get = ar8xxx_port_vlan_get; in arswitch_attach() 531 sc->hal.arswitch_vlan_init_hw = ar8xxx_reset_vlans; in arswitch_attach() 532 sc->hal.arswitch_hw_get_switch_macaddr = ar8xxx_hw_get_switch_macaddr; in arswitch_attach() 533 sc->hal.arswitch_hw_set_switch_macaddr = ar8xxx_hw_set_switch_macaddr; in arswitch_attach() 535 sc->hal.arswitch_vlan_getvgroup = ar8xxx_getvgroup; in arswitch_attach() 536 sc->hal.arswitch_vlan_setvgroup = ar8xxx_setvgroup; in arswitch_attach() 538 sc->hal.arswitch_vlan_get_pvid = ar8xxx_get_pvid; in arswitch_attach() [all …]
|
H A D | arswitch_8327.c | 816 sc->hal.arswitch_vlan_set_pvid(sc, p->es_port, p->es_pvid); in ar8327_port_vlan_setup() 837 sc->hal.arswitch_vlan_get_pvid(sc, p->es_port, &p->es_pvid); in ar8327_port_vlan_get() 953 sc->hal.arswitch_vlan_set_pvid(sc, i, sc->vid[0]); in ar8327_reset_vlans() 956 sc->hal.arswitch_set_dot1q_vlan(sc, ports, ports, sc->vid[0]); in ar8327_reset_vlans() 1269 sc->hal.arswitch_hw_setup = ar8327_hw_setup; in ar8327_attach() 1270 sc->hal.arswitch_hw_global_setup = ar8327_hw_global_setup; in ar8327_attach() 1272 sc->hal.arswitch_port_init = ar8327_port_init; in ar8327_attach() 1274 sc->hal.arswitch_vlan_getvgroup = ar8327_vlan_getvgroup; in ar8327_attach() 1275 sc->hal.arswitch_vlan_setvgroup = ar8327_vlan_setvgroup; in ar8327_attach() 1276 sc->hal.arswitch_port_vlan_setup = ar8327_port_vlan_setup; in ar8327_attach() [all …]
|
H A D | 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()
|
H A D | 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()
|
H A D | 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()
|
/freebsd/sys/dev/wtap/plugins/ |
H A D | visibility.c | 124 struct wtap_hal *hal = (struct wtap_hal *)vis_plugin->base.wp_hal; in visibility_work() local 147 if(hal->hal_devs[k] != NULL in visibility_work() 148 && hal->hal_devs[k]->up == 1){ in visibility_work() 150 hal->hal_devs[k]; in visibility_work() 206 struct wtap_hal *hal = vis_plugin->base.wp_hal; in vis_ioctl() local 216 medium_close(hal->hal_md); in vis_ioctl() 218 medium_open(hal->hal_md); in vis_ioctl()
|
/freebsd/sys/dev/etherswitch/ip17x/ |
H A D | 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()
|
H A D | ip175c.c | 245 sc->hal.ip17x_reset = ip175c_reset; in ip175c_attach() 246 sc->hal.ip17x_hw_setup = ip175c_hw_setup; in ip175c_attach() 247 sc->hal.ip17x_get_vlan_mode = ip175c_get_vlan_mode; in ip175c_attach() 248 sc->hal.ip17x_set_vlan_mode = ip175c_set_vlan_mode; in ip175c_attach()
|