/freebsd/contrib/wpa/src/pae/ |
H A D | ieee802_1x_secy_ops.c | 38 if (!ops || !ops->enable_protect_frames) { in secy_cp_control_protect_frames() 58 if (!ops || !ops->enable_encrypt) { in secy_cp_control_encrypt() 78 if (!ops || !ops->set_replay_protect) { in secy_cp_control_replay() 250 if (!ops || !ops->create_receive_sc) { in secy_create_receive_sc() 270 if (!ops || !ops->delete_receive_sc) { in secy_delete_receive_sc() 290 if (!ops || !ops->create_receive_sa) { in secy_create_receive_sa() 310 if (!ops || !ops->delete_receive_sa) { in secy_delete_receive_sa() 330 if (!ops || !ops->enable_receive_sa) { in secy_enable_receive_sa() 506 if (!ops || !ops->macsec_init) { in secy_init_macsec() 532 if (!ops || !ops->macsec_deinit) { in secy_deinit_macsec() [all …]
|
/freebsd/sys/dev/igc/ |
H A D | igc_api.c | 21 if (hw->mac.ops.init_params) { in igc_init_mac_params() 303 if (hw->mac.ops.reset_hw) in igc_reset_hw() 318 if (hw->mac.ops.init_hw) in igc_init_hw() 394 if (hw->mac.ops.rar_set) in igc_rar_set() 486 if (hw->phy.ops.release) in igc_release_phy() 499 if (hw->phy.ops.acquire) in igc_acquire_phy() 530 if (hw->phy.ops.reset) in igc_phy_hw_reset() 636 if (hw->nvm.ops.update) in igc_update_nvm_checksum() 651 if (hw->nvm.ops.reload) in igc_reload_nvm() 667 if (hw->nvm.ops.read) in igc_read_nvm() [all …]
|
H A D | igc_phy.c | 29 phy->ops.set_page = igc_null_set_page; in igc_init_phy_ops_generic() 30 phy->ops.read_reg = igc_null_read_reg; in igc_init_phy_ops_generic() 34 phy->ops.reset = igc_null_ops_generic; in igc_init_phy_ops_generic() 139 if (!phy->ops.read_reg) in igc_get_phy_id() 662 if (!hw->phy.ops.read_reg) in igc_set_d3_lplu_state_generic() 770 if (!hw->phy.ops.read_reg) in igc_wait_autoneg() 809 if (!hw->phy.ops.read_reg) in igc_phy_has_link_generic() 867 ret_val = phy->ops.acquire(hw); in igc_phy_hw_reset_generic() 893 phy->ops.release(hw); in igc_phy_hw_reset_generic() 960 hw->phy.ops.release(hw); in igc_write_phy_reg_gpy() [all …]
|
/freebsd/sys/dev/e1000/ |
H A D | e1000_api.c | 717 if (hw->mac.ops.init_hw) in e1000_init_hw() 828 if (hw->mac.ops.led_on) in e1000_led_on() 843 if (hw->mac.ops.led_off) in e1000_led_off() 909 if (hw->mac.ops.rar_set) in e1000_rar_set() 1076 if (hw->phy.ops.release) in e1000_release_phy() 1178 if (hw->phy.ops.reset) in e1000_phy_hw_reset() 1193 if (hw->phy.ops.commit) in e1000_phy_commit() 1329 if (hw->nvm.ops.update) in e1000_update_nvm_checksum() 1344 if (hw->nvm.ops.reload) in e1000_reload_nvm() 1360 if (hw->nvm.ops.read) in e1000_read_nvm() [all …]
|
H A D | e1000_82541.c | 384 ret_val = mac->ops.id_led_init(hw); in e1000_init_hw_82541() 398 mac->ops.clear_vfta(hw); in e1000_init_hw_82541() 417 ret_val = mac->ops.setup_link(hw); in e1000_init_hw_82541() 705 ret_val = phy->ops.read_reg(hw, in e1000_config_dsp_after_link_change_82541() 779 ret_val = phy->ops.read_reg(hw, in e1000_config_dsp_after_link_change_82541() 980 ret_val = phy->ops.read_reg(hw, in e1000_set_d3_lplu_state_82541() 987 ret_val = phy->ops.write_reg(hw, in e1000_set_d3_lplu_state_82541() 993 ret_val = phy->ops.read_reg(hw, in e1000_set_d3_lplu_state_82541() 1000 ret_val = phy->ops.write_reg(hw, in e1000_set_d3_lplu_state_82541() 1183 hw->phy.ops.write_reg(hw, in e1000_phy_init_script_82541() [all …]
|
H A D | e1000_82540.c | 82 phy->ops.read_reg = e1000_read_phy_reg_m88; in e1000_init_phy_params_82540() 144 nvm->ops.read = e1000_read_nvm_microwire; in e1000_init_nvm_params_82540() 194 mac->ops.reset_hw = e1000_reset_hw_82540; in e1000_init_mac_params_82540() 196 mac->ops.init_hw = e1000_init_hw_82540; in e1000_init_mac_params_82540() 200 mac->ops.setup_physical_interface = in e1000_init_mac_params_82540() 221 mac->ops.get_link_up_info = in e1000_init_mac_params_82540() 240 mac->ops.led_on = e1000_led_on_generic; in e1000_init_mac_params_82540() 241 mac->ops.led_off = e1000_led_off_generic; in e1000_init_mac_params_82540() 338 ret_val = mac->ops.id_led_init(hw); in e1000_init_hw_82540() 349 mac->ops.clear_vfta(hw); in e1000_init_hw_82540() [all …]
|
H A D | e1000_phy.c | 233 if (!phy->ops.read_reg) in e1000_get_phy_id() 271 if (!hw->phy.ops.write_reg) in e1000_phy_reset_dsp_generic() 660 if (!hw->phy.ops.acquire) in e1000_read_phy_reg_m88() 670 hw->phy.ops.release(hw); in e1000_read_phy_reg_m88() 690 if (!hw->phy.ops.acquire) in e1000_write_phy_reg_m88() 700 hw->phy.ops.release(hw); in e1000_write_phy_reg_m88() 761 hw->phy.ops.release(hw); in __e1000_read_phy_reg_igp() 830 hw->phy.ops.release(hw); in __e1000_write_phy_reg_igp() 903 hw->phy.ops.release(hw); in __e1000_read_kmrn_reg() 975 hw->phy.ops.release(hw); in __e1000_write_kmrn_reg() [all …]
|
H A D | e1000_82571.c | 300 mac->ops.get_link_up_info = in e1000_init_mac_params_82571() 311 mac->ops.get_link_up_info = in e1000_init_mac_params_82571() 319 mac->ops.get_link_up_info = in e1000_init_mac_params_82571() 878 if (!(phy->ops.read_reg)) in e1000_set_d0_lplu_state_82571() 912 ret_val = phy->ops.read_reg(hw, in e1000_set_d0_lplu_state_82571() 919 ret_val = phy->ops.write_reg(hw, in e1000_set_d0_lplu_state_82571() 925 ret_val = phy->ops.read_reg(hw, in e1000_set_d0_lplu_state_82571() 1088 mac->ops.clear_vfta(hw); in e1000_init_hw_82571() 1809 ret_val = nvm->ops.update(hw); in e1000_fix_nvm_checksum_82571() 1854 if (!phy->ops.check_reset_block) in e1000_power_down_phy_copper_82571() [all …]
|
H A D | e1000_82575.c | 262 phy->ops.force_speed_duplex = in e1000_init_phy_params_82575() 297 hw->mac.ops.check_for_link = in e1000_init_phy_params_82575() 408 mac->ops.validate_mdi_setting = in e1000_init_mac_params_82575() 431 hw->mac.ops.set_lan_id(hw); in e1000_init_mac_params_82575() 562 hw->phy.ops.release(hw); in e1000_read_phy_reg_sgmii_82575() 595 hw->phy.ops.release(hw); in e1000_write_phy_reg_sgmii_82575() 724 if (!(hw->phy.ops.write_reg)) in e1000_phy_hw_reset_sgmii_82575() 766 if (!(hw->phy.ops.read_reg)) in e1000_set_d0_lplu_state_82575() 1378 mac->ops.clear_vfta(hw); in e1000_init_hw_82575() 2144 hw->phy.ops.release(hw); in e1000_read_phy_reg_82580() [all …]
|
H A D | e1000_80003es2lan.c | 180 nvm->ops.read = e1000_read_nvm_eerd; in e1000_init_nvm_params_80003es2lan() 205 mac->ops.setup_physical_interface = in e1000_init_mac_params_80003es2lan() 211 mac->ops.setup_physical_interface = in e1000_init_mac_params_80003es2lan() 267 hw->mac.ops.set_lan_id(hw); in e1000_init_mac_params_80003es2lan() 597 if (!(hw->phy.ops.read_reg)) in e1000_phy_force_speed_duplex_80003es2lan() 692 if (!(hw->phy.ops.read_reg)) in e1000_get_cable_length_80003es2lan() 730 hw->phy.ops.cfg_on_link_up(hw); in e1000_get_link_up_info_80003es2lan() 824 ret_val = mac->ops.id_led_init(hw); in e1000_init_hw_80003es2lan() 831 mac->ops.clear_vfta(hw); in e1000_init_hw_80003es2lan() 842 ret_val = mac->ops.setup_link(hw); in e1000_init_hw_80003es2lan() [all …]
|
/freebsd/sys/dev/mii/ |
H A D | mii_bitbang.c | 53 ops->mbo_write(dev, (x)); \ 57 #define MREAD ops->mbo_read(dev) 59 #define MDO ops->mbo_bits[MII_BIT_MDO] 60 #define MDI ops->mbo_bits[MII_BIT_MDI] 61 #define MDC ops->mbo_bits[MII_BIT_MDC] 121 mii_bitbang_sync(dev, ops); in mii_bitbang_readreg() 125 mii_bitbang_sendbits(dev, ops, phy, 5); in mii_bitbang_readreg() 126 mii_bitbang_sendbits(dev, ops, reg, 5); in mii_bitbang_readreg() 169 mii_bitbang_sync(dev, ops); in mii_bitbang_writereg() 173 mii_bitbang_sendbits(dev, ops, phy, 5); in mii_bitbang_writereg() [all …]
|
/freebsd/sys/dev/ixgbe/ |
H A D | ixgbe_api.c | 69 if (hw->mac.ops.get_rtrup2tc) in ixgbe_dcb_get_rtrup2tc() 708 if (hw->mac.ops.flap_tx_laser) in ixgbe_flap_tx_laser() 1322 if (hw->mac.ops.disable_mdd) in ixgbe_disable_mdd() 1323 hw->mac.ops.disable_mdd(hw); in ixgbe_disable_mdd() 1333 if (hw->mac.ops.enable_mdd) in ixgbe_enable_mdd() 1334 hw->mac.ops.enable_mdd(hw); in ixgbe_enable_mdd() 1345 if (hw->mac.ops.mdd_event) in ixgbe_mdd_event() 1762 if (hw->mac.ops.disable_rx) in ixgbe_disable_rx() 1763 hw->mac.ops.disable_rx(hw); in ixgbe_disable_rx() 1768 if (hw->mac.ops.enable_rx) in ixgbe_enable_rx() [all …]
|
H A D | ixgbe_x540.c | 74 eeprom->ops.read = ixgbe_read_eerd_X540; in ixgbe_init_ops_X540() 76 eeprom->ops.write = ixgbe_write_eewr_X540; in ixgbe_init_ops_X540() 84 phy->ops.reset = NULL; in ixgbe_init_ops_X540() 88 mac->ops.reset_hw = ixgbe_reset_hw_X540; in ixgbe_init_ops_X540() 91 mac->ops.get_supported_physical_layer = in ixgbe_init_ops_X540() 93 mac->ops.read_analog_reg8 = NULL; in ixgbe_init_ops_X540() 94 mac->ops.write_analog_reg8 = NULL; in ixgbe_init_ops_X540() 95 mac->ops.start_hw = ixgbe_start_hw_X540; in ixgbe_init_ops_X540() 121 mac->ops.get_link_capabilities = in ixgbe_init_ops_X540() 221 status = hw->mac.ops.stop_adapter(hw); in ixgbe_reset_hw_X540() [all …]
|
H A D | ixgbe_x550.c | 65 mac->ops.setup_eee = NULL; in ixgbe_init_ops_X550() 91 hw->mac.ops.led_on = NULL; in ixgbe_init_ops_X550() 92 hw->mac.ops.led_off = NULL; in ixgbe_init_ops_X550() 347 hw->mac.ops.set_lan_id(hw); in ixgbe_identify_phy_x550em() 627 mac->ops.bypass_rw = NULL; in ixgbe_init_ops_X550EM() 668 mac->ops.setup_fc = NULL; in ixgbe_init_ops_X550EM() 674 mac->ops.setup_fc = NULL; in ixgbe_init_ops_X550EM() 1857 mac->ops.check_link = in ixgbe_init_mac_link_ops_X550em() 1860 mac->ops.setup_link = in ixgbe_init_mac_link_ops_X550em() 2340 phy->ops.reset = NULL; in ixgbe_init_phy_ops_X550em() [all …]
|
/freebsd/sys/compat/linuxkpi/common/src/ |
H A D | linux_80211_macops.c | 57 if (lhw->ops->start == NULL) { in lkpi_80211_mo_start() 68 error = lhw->ops->start(hw); in lkpi_80211_mo_start() 82 if (lhw->ops->stop == NULL) in lkpi_80211_mo_stop() 86 lhw->ops->stop(hw); in lkpi_80211_mo_stop() 223 if (lhw->ops->hw_scan == NULL) { in lkpi_80211_mo_hw_scan() 330 if (lhw->ops->sta_add == NULL) { in lkpi_80211_mo_sta_add() 431 if (lhw->ops->config == NULL) { in lkpi_80211_mo_config() 589 if (lhw->ops->flush == NULL) in lkpi_80211_mo_flush() 631 if (lhw->ops->tx == NULL) in lkpi_80211_mo_tx() 635 lhw->ops->tx(hw, txctrl, skb); in lkpi_80211_mo_tx() [all …]
|
/freebsd/sys/contrib/dev/athk/ath10k/ |
H A D | wmi-ops.h | 240 ar->wmi.ops->rx(ar, skb); in ath10k_wmi_rx() 248 if (!ar->wmi.ops->map_svc) in ath10k_wmi_map_svc() 259 if (!ar->wmi.ops->map_svc_ext) in ath10k_wmi_map_svc_ext() 270 if (!ar->wmi.ops->pull_scan) in ath10k_wmi_pull_scan() 340 if (!ar->wmi.ops->pull_swba) in ath10k_wmi_pull_swba() 360 if (!ar->wmi.ops->pull_phyerr) in ath10k_wmi_pull_phyerr() 380 if (!ar->wmi.ops->pull_rdy) in ath10k_wmi_pull_rdy() 492 if (!ar->wmi.ops->gen_mgmt_tx) in ath10k_wmi_mgmt_tx() 598 if (!ar->wmi.ops->gen_init) in ath10k_wmi_cmd_init() 726 if (!ar->wmi.ops->gen_vdev_up) in ath10k_wmi_vdev_up() [all …]
|
H A D | hif.h | 118 if (!ar->hif.ops->diag_write) in ath10k_hif_diag_write() 134 return ar->hif.ops->start(ar); in ath10k_hif_start() 139 return ar->hif.ops->stop(ar); in ath10k_hif_stop() 144 if (ar->hif.ops->start_post) in ath10k_hif_start_post() 191 ar->hif.ops->power_down(ar); in ath10k_hif_power_down() 196 if (!ar->hif.ops->suspend) in ath10k_hif_suspend() 199 return ar->hif.ops->suspend(ar); in ath10k_hif_suspend() 204 if (!ar->hif.ops->resume) in ath10k_hif_resume() 207 return ar->hif.ops->resume(ar); in ath10k_hif_resume() 212 if (!ar->hif.ops->read32) { in ath10k_hif_read32() [all …]
|
/freebsd/sys/netgraph/ |
H A D | ng_patch.c | 237 switch (conf->ops[i].length) in ng_patch_rcvmsg() 240 conf->ops[i].val.v8 = conf->ops[i].val.v1; in ng_patch_rcvmsg() 243 conf->ops[i].val.v8 = conf->ops[i].val.v2; in ng_patch_rcvmsg() 246 conf->ops[i].val.v8 = conf->ops[i].val.v4; in ng_patch_rcvmsg() 263 switch (conf->ops[i].length) in ng_patch_rcvmsg() 266 conf->ops[i].val.v1 = (uint8_t) conf->ops[i].val.v8; in ng_patch_rcvmsg() 269 conf->ops[i].val.v2 = (uint16_t) conf->ops[i].val.v8; in ng_patch_rcvmsg() 272 conf->ops[i].val.v4 = (uint32_t) conf->ops[i].val.v8; in ng_patch_rcvmsg() 366 switch (privp->conf->ops[i].length) in do_patch() 369 switch (privp->conf->ops[i].mode) in do_patch() [all …]
|
/freebsd/sys/contrib/ck/src/ |
H A D | ck_ec.c | 39 ops->wake32(ops, &ec->counter); in ck_ec32_wake() 45 const struct ck_ec_ops *ops, in ck_ec32_wait_slow() argument 58 ops->wake64(ops, &ec->counter); in ck_ec64_wake() 64 const struct ck_ec_ops *ops, in ck_ec64_wait_slow() argument 75 const struct ck_ec_ops *ops, in ck_ec_deadline_impl() argument 87 r = ops->gettime(ops, &now); in ck_ec_deadline_impl() 137 const struct ck_ec_ops *ops = wait_state->ops; in exponential_backoff() local 139 ? ops->wait_scale_factor in exponential_backoff() 142 ? ops->wait_shift_count in exponential_backoff() 145 ? ops->initial_wait_ns in exponential_backoff() [all …]
|
/freebsd/sys/contrib/dev/athk/ath11k/ |
H A D | hif.h | 37 if (ab->hif.ops->ce_irq_enable) in ath11k_hif_ce_irq_enable() 38 ab->hif.ops->ce_irq_enable(ab); in ath11k_hif_ce_irq_enable() 43 if (ab->hif.ops->ce_irq_disable) in ath11k_hif_ce_irq_disable() 49 return sc->hif.ops->start(sc); in ath11k_hif_start() 54 sc->hif.ops->stop(sc); in ath11k_hif_stop() 59 sc->hif.ops->irq_enable(sc); in ath11k_hif_irq_enable() 64 sc->hif.ops->irq_disable(sc); in ath11k_hif_irq_disable() 74 sc->hif.ops->power_down(sc); in ath11k_hif_power_down() 79 if (ab->hif.ops->suspend) in ath11k_hif_suspend() 87 if (ab->hif.ops->resume) in ath11k_hif_resume() [all …]
|
/freebsd/sys/amd64/vmm/io/ |
H A D | iommu.c | 64 if (ops != NULL) in IOMMU_INIT() 65 return ((*ops->init)()); in IOMMU_INIT() 73 if (ops != NULL && iommu_avail) in IOMMU_CLEANUP() 74 (*ops->cleanup)(); in IOMMU_CLEANUP() 92 (*ops->destroy_domain)(dom); in IOMMU_DESTROY_DOMAIN() 144 (*ops->enable)(); in IOMMU_ENABLE() 152 (*ops->disable)(); in IOMMU_DISABLE() 182 ops = &iommu_ops_intel; in iommu_init() 184 ops = &iommu_ops_amd; in iommu_init() 186 ops = NULL; in iommu_init() [all …]
|
/freebsd/sys/contrib/dev/athk/ath12k/ |
H A D | hif.h | 69 if (ab->hif.ops->get_ce_msi_idx) in ath12k_hif_get_ce_msi_idx() 77 if (ab->hif.ops->ce_irq_enable) in ath12k_hif_ce_irq_enable() 78 ab->hif.ops->ce_irq_enable(ab); in ath12k_hif_ce_irq_enable() 83 if (ab->hif.ops->ce_irq_disable) in ath12k_hif_ce_irq_disable() 89 ab->hif.ops->irq_enable(ab); in ath12k_hif_irq_enable() 94 ab->hif.ops->irq_disable(ab); in ath12k_hif_irq_disable() 99 if (ab->hif.ops->suspend) in ath12k_hif_suspend() 107 if (ab->hif.ops->resume) in ath12k_hif_resume() 115 return ab->hif.ops->start(ab); in ath12k_hif_start() 120 ab->hif.ops->stop(ab); in ath12k_hif_stop() [all …]
|
/freebsd/sys/kern/ |
H A D | subr_kobj.c | 106 if (cls->ops) in kobj_class_compile_common() 122 ops->cls = cls; in kobj_class_compile_common() 123 cls->ops = ops; in kobj_class_compile_common() 129 kobj_ops_t ops; in kobj_class_compile1() local 134 if (ops == NULL) in kobj_class_compile1() 143 if (cls->ops) { in kobj_class_compile1() 232 void* ops = NULL; in kobj_class_free() local 250 ops = cls->ops; in kobj_class_free() 256 if (ops) in kobj_class_free() 264 obj->ops = cls->ops; in kobj_init_common() [all …]
|
/freebsd/sbin/ipf/libipf/ |
H A D | parseipfexpr.c | 38 char *temp, *arg, *s, *t, *ops, *error; in parseipfexpr() local 75 for (ops = strtok(temp, ";"); ops != NULL; ops = strtok(NULL, ";")) { in parseipfexpr() 76 arg = strchr(ops, '='); in parseipfexpr() 92 if (strcmp(ops, e->ipoe_word) == 0) in parseipfexpr() 145 if (!strcasecmp(ops, "ip.addr") || in parseipfexpr() 146 !strcasecmp(ops, "ip.src") || in parseipfexpr() 147 !strcasecmp(ops, "ip.dst")) { in parseipfexpr() 172 !strcasecmp(ops, "ip6.src") || in parseipfexpr() 173 !strcasecmp(ops, "ip6.dst")) { in parseipfexpr() 234 !strcasecmp(ops, "udp.port") || in parseipfexpr() [all …]
|
/freebsd/sys/contrib/dev/iwlwifi/ |
H A D | iwl-op-mode.h | 124 const struct iwl_op_mode_ops *ops; member 132 op_mode->ops->stop(op_mode); in iwl_op_mode_stop() 153 if (op_mode->ops->async_cb) in iwl_op_mode_async_cb() 154 op_mode->ops->async_cb(op_mode, cmd); in iwl_op_mode_async_cb() 160 op_mode->ops->queue_full(op_mode, queue); in iwl_op_mode_queue_full() 181 op_mode->ops->free_skb(op_mode, skb); in iwl_op_mode_free_skb() 186 op_mode->ops->nic_error(op_mode, sync); in iwl_op_mode_nic_error() 191 op_mode->ops->cmd_queue_full(op_mode); in iwl_op_mode_cmd_queue_full() 197 op_mode->ops->nic_config(op_mode); in iwl_op_mode_nic_config() 203 op_mode->ops->wimax_active(op_mode); in iwl_op_mode_wimax_active() [all …]
|