Home
last modified time | relevance | path

Searched refs:ops (Results 1 – 25 of 479) sorted by relevance

12345678910>>...20

/freebsd-13.1/contrib/wpa/src/pae/
H A Dieee802_1x_secy_ops.c38 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-13.1/sys/dev/igc/
H A Digc_api.c23 if (hw->mac.ops.init_params) { in igc_init_mac_params()
305 if (hw->mac.ops.reset_hw) in igc_reset_hw()
320 if (hw->mac.ops.init_hw) in igc_init_hw()
396 if (hw->mac.ops.rar_set) in igc_rar_set()
488 if (hw->phy.ops.release) in igc_release_phy()
501 if (hw->phy.ops.acquire) in igc_acquire_phy()
532 if (hw->phy.ops.reset) in igc_phy_hw_reset()
638 if (hw->nvm.ops.update) in igc_update_nvm_checksum()
653 if (hw->nvm.ops.reload) in igc_reload_nvm()
669 if (hw->nvm.ops.read) in igc_read_nvm()
[all …]
H A Digc_phy.c31 phy->ops.set_page = igc_null_set_page; in igc_init_phy_ops_generic()
32 phy->ops.read_reg = igc_null_read_reg; in igc_init_phy_ops_generic()
36 phy->ops.reset = igc_null_ops_generic; in igc_init_phy_ops_generic()
141 if (!phy->ops.read_reg) in igc_get_phy_id()
666 if (!hw->phy.ops.read_reg) in igc_set_d3_lplu_state_generic()
774 if (!hw->phy.ops.read_reg) in igc_wait_autoneg()
813 if (!hw->phy.ops.read_reg) in igc_phy_has_link_generic()
871 ret_val = phy->ops.acquire(hw); in igc_phy_hw_reset_generic()
897 phy->ops.release(hw); in igc_phy_hw_reset_generic()
964 hw->phy.ops.release(hw); in igc_write_phy_reg_gpy()
[all …]
/freebsd-13.1/sys/dev/e1000/
H A De1000_api.c699 if (hw->mac.ops.init_hw) in e1000_init_hw()
810 if (hw->mac.ops.led_on) in e1000_led_on()
825 if (hw->mac.ops.led_off) in e1000_led_off()
891 if (hw->mac.ops.rar_set) in e1000_rar_set()
1058 if (hw->phy.ops.release) in e1000_release_phy()
1160 if (hw->phy.ops.reset) in e1000_phy_hw_reset()
1175 if (hw->phy.ops.commit) in e1000_phy_commit()
1311 if (hw->nvm.ops.update) in e1000_update_nvm_checksum()
1326 if (hw->nvm.ops.reload) in e1000_reload_nvm()
1342 if (hw->nvm.ops.read) in e1000_read_nvm()
[all …]
H A De1000_82541.c385 ret_val = mac->ops.id_led_init(hw); in e1000_init_hw_82541()
399 mac->ops.clear_vfta(hw); in e1000_init_hw_82541()
418 ret_val = mac->ops.setup_link(hw); in e1000_init_hw_82541()
706 ret_val = phy->ops.read_reg(hw, in e1000_config_dsp_after_link_change_82541()
780 ret_val = phy->ops.read_reg(hw, in e1000_config_dsp_after_link_change_82541()
981 ret_val = phy->ops.read_reg(hw, in e1000_set_d3_lplu_state_82541()
988 ret_val = phy->ops.write_reg(hw, in e1000_set_d3_lplu_state_82541()
994 ret_val = phy->ops.read_reg(hw, in e1000_set_d3_lplu_state_82541()
1001 ret_val = phy->ops.write_reg(hw, in e1000_set_d3_lplu_state_82541()
1184 hw->phy.ops.write_reg(hw, in e1000_phy_init_script_82541()
[all …]
H A De1000_82540.c83 phy->ops.read_reg = e1000_read_phy_reg_m88; in e1000_init_phy_params_82540()
145 nvm->ops.read = e1000_read_nvm_microwire; in e1000_init_nvm_params_82540()
195 mac->ops.reset_hw = e1000_reset_hw_82540; in e1000_init_mac_params_82540()
197 mac->ops.init_hw = e1000_init_hw_82540; in e1000_init_mac_params_82540()
201 mac->ops.setup_physical_interface = in e1000_init_mac_params_82540()
222 mac->ops.get_link_up_info = in e1000_init_mac_params_82540()
241 mac->ops.led_on = e1000_led_on_generic; in e1000_init_mac_params_82540()
242 mac->ops.led_off = e1000_led_off_generic; in e1000_init_mac_params_82540()
339 ret_val = mac->ops.id_led_init(hw); in e1000_init_hw_82540()
350 mac->ops.clear_vfta(hw); in e1000_init_hw_82540()
[all …]
H A De1000_phy.c234 if (!phy->ops.read_reg) in e1000_get_phy_id()
272 if (!hw->phy.ops.write_reg) in e1000_phy_reset_dsp_generic()
661 if (!hw->phy.ops.acquire) in e1000_read_phy_reg_m88()
671 hw->phy.ops.release(hw); in e1000_read_phy_reg_m88()
691 if (!hw->phy.ops.acquire) in e1000_write_phy_reg_m88()
701 hw->phy.ops.release(hw); in e1000_write_phy_reg_m88()
762 hw->phy.ops.release(hw); in __e1000_read_phy_reg_igp()
831 hw->phy.ops.release(hw); in __e1000_write_phy_reg_igp()
904 hw->phy.ops.release(hw); in __e1000_read_kmrn_reg()
976 hw->phy.ops.release(hw); in __e1000_write_kmrn_reg()
[all …]
H A De1000_82571.c301 mac->ops.get_link_up_info = in e1000_init_mac_params_82571()
312 mac->ops.get_link_up_info = in e1000_init_mac_params_82571()
320 mac->ops.get_link_up_info = in e1000_init_mac_params_82571()
879 if (!(phy->ops.read_reg)) in e1000_set_d0_lplu_state_82571()
913 ret_val = phy->ops.read_reg(hw, in e1000_set_d0_lplu_state_82571()
920 ret_val = phy->ops.write_reg(hw, in e1000_set_d0_lplu_state_82571()
926 ret_val = phy->ops.read_reg(hw, in e1000_set_d0_lplu_state_82571()
1089 mac->ops.clear_vfta(hw); in e1000_init_hw_82571()
1810 ret_val = nvm->ops.update(hw); in e1000_fix_nvm_checksum_82571()
1855 if (!phy->ops.check_reset_block) in e1000_power_down_phy_copper_82571()
[all …]
H A De1000_82575.c263 phy->ops.force_speed_duplex = in e1000_init_phy_params_82575()
298 hw->mac.ops.check_for_link = in e1000_init_phy_params_82575()
409 mac->ops.validate_mdi_setting = in e1000_init_mac_params_82575()
432 hw->mac.ops.set_lan_id(hw); in e1000_init_mac_params_82575()
563 hw->phy.ops.release(hw); in e1000_read_phy_reg_sgmii_82575()
596 hw->phy.ops.release(hw); in e1000_write_phy_reg_sgmii_82575()
725 if (!(hw->phy.ops.write_reg)) in e1000_phy_hw_reset_sgmii_82575()
767 if (!(hw->phy.ops.read_reg)) in e1000_set_d0_lplu_state_82575()
1379 mac->ops.clear_vfta(hw); in e1000_init_hw_82575()
2145 hw->phy.ops.release(hw); in e1000_read_phy_reg_82580()
[all …]
H A De1000_80003es2lan.c181 nvm->ops.read = e1000_read_nvm_eerd; in e1000_init_nvm_params_80003es2lan()
206 mac->ops.setup_physical_interface = in e1000_init_mac_params_80003es2lan()
212 mac->ops.setup_physical_interface = in e1000_init_mac_params_80003es2lan()
268 hw->mac.ops.set_lan_id(hw); in e1000_init_mac_params_80003es2lan()
598 if (!(hw->phy.ops.read_reg)) in e1000_phy_force_speed_duplex_80003es2lan()
693 if (!(hw->phy.ops.read_reg)) in e1000_get_cable_length_80003es2lan()
731 hw->phy.ops.cfg_on_link_up(hw); in e1000_get_link_up_info_80003es2lan()
825 ret_val = mac->ops.id_led_init(hw); in e1000_init_hw_80003es2lan()
832 mac->ops.clear_vfta(hw); in e1000_init_hw_80003es2lan()
843 ret_val = mac->ops.setup_link(hw); in e1000_init_hw_80003es2lan()
[all …]
H A De1000_mbx.c88 if (mbx->ops.read) in e1000_read_mbx()
113 else if (mbx->ops.write) in e1000_write_mbx()
133 if (mbx->ops.check_for_msg) in e1000_check_for_msg()
153 if (mbx->ops.check_for_ack) in e1000_check_for_ack()
173 if (mbx->ops.check_for_rst) in e1000_check_for_rst()
258 if (!mbx->ops.read) in e1000_read_posted_mbx()
288 if (!mbx->ops.write || !mbx->timeout) in e1000_write_posted_mbx()
547 mbx->ops.read = e1000_read_mbx_vf; in e1000_init_mbx_params_vf()
548 mbx->ops.write = e1000_write_mbx_vf; in e1000_init_mbx_params_vf()
773 mbx->ops.read = e1000_read_mbx_pf; in e1000_init_mbx_params_pf()
[all …]
H A De1000_ich8lan.c3547 nvm->ops.acquire(hw); in e1000_read_nvm_spt()
3603 nvm->ops.release(hw); in e1000_read_nvm_spt()
3640 nvm->ops.acquire(hw); in e1000_read_nvm_ich8lan()
3665 nvm->ops.release(hw); in e1000_read_nvm_ich8lan()
4056 nvm->ops.acquire(hw); in e1000_write_nvm_ich8lan()
4063 nvm->ops.release(hw); in e1000_write_nvm_ich8lan()
4096 nvm->ops.acquire(hw); in e1000_update_nvm_checksum_spt()
4213 nvm->ops.release(hw); in e1000_update_nvm_checksum_spt()
4219 nvm->ops.reload(hw); in e1000_update_nvm_checksum_spt()
4258 nvm->ops.acquire(hw); in e1000_update_nvm_checksum_ich8lan()
[all …]
H A De1000_vf.c66 hw->phy.ops.acquire = e1000_acquire_vf; in e1000_init_phy_params_vf()
67 hw->phy.ops.release = e1000_release_vf; in e1000_init_phy_params_vf()
82 hw->nvm.ops.acquire = e1000_acquire_vf; in e1000_init_nvm_params_vf()
83 hw->nvm.ops.release = e1000_release_vf; in e1000_init_nvm_params_vf()
119 mac->ops.setup_link = e1000_setup_link_vf; in e1000_init_mac_params_vf()
123 mac->ops.reset_hw = e1000_reset_hw_vf; in e1000_init_mac_params_vf()
125 mac->ops.init_hw = e1000_init_hw_vf; in e1000_init_mac_params_vf()
133 mac->ops.rar_set = e1000_rar_set_vf; in e1000_init_mac_params_vf()
135 mac->ops.read_mac_addr = e1000_read_mac_addr_vf; in e1000_init_mac_params_vf()
284 mbx->ops.write_posted(hw, msgbuf, 1, 0); in e1000_reset_hw_vf()
[all …]
/freebsd-13.1/sys/dev/mii/
H A Dmii_bitbang.c56 ops->mbo_write(dev, (x)); \
60 #define MREAD ops->mbo_read(dev)
62 #define MDO ops->mbo_bits[MII_BIT_MDO]
63 #define MDI ops->mbo_bits[MII_BIT_MDI]
64 #define MDC ops->mbo_bits[MII_BIT_MDC]
124 mii_bitbang_sync(dev, ops); in mii_bitbang_readreg()
128 mii_bitbang_sendbits(dev, ops, phy, 5); in mii_bitbang_readreg()
129 mii_bitbang_sendbits(dev, ops, reg, 5); in mii_bitbang_readreg()
172 mii_bitbang_sync(dev, ops); in mii_bitbang_writereg()
176 mii_bitbang_sendbits(dev, ops, phy, 5); in mii_bitbang_writereg()
[all …]
/freebsd-13.1/sys/compat/linuxkpi/common/src/
H A Dlinux_80211_macops.c49 if (lhw->ops->start == NULL) { in lkpi_80211_mo_start()
59 error = lhw->ops->start(hw); in lkpi_80211_mo_start()
73 if (lhw->ops->stop == NULL) in lkpi_80211_mo_stop()
76 lhw->ops->stop(hw); in lkpi_80211_mo_stop()
184 if (lhw->ops->hw_scan == NULL) { in lkpi_80211_mo_hw_scan()
287 if (lhw->ops->sta_add == NULL) { in lkpi_80211_mo_sta_add()
385 if (lhw->ops->config == NULL) { in lkpi_80211_mo_config()
521 if (lhw->ops->flush == NULL) in lkpi_80211_mo_flush()
560 if (lhw->ops->tx == NULL) in lkpi_80211_mo_tx()
563 lhw->ops->tx(hw, txctrl, skb); in lkpi_80211_mo_tx()
[all …]
/freebsd-13.1/sys/dev/ixgbe/
H A Dixgbe_api.c70 if (hw->mac.ops.get_rtrup2tc) in ixgbe_dcb_get_rtrup2tc()
709 if (hw->mac.ops.flap_tx_laser) in ixgbe_flap_tx_laser()
1323 if (hw->mac.ops.disable_mdd) in ixgbe_disable_mdd()
1324 hw->mac.ops.disable_mdd(hw); in ixgbe_disable_mdd()
1334 if (hw->mac.ops.enable_mdd) in ixgbe_enable_mdd()
1335 hw->mac.ops.enable_mdd(hw); in ixgbe_enable_mdd()
1346 if (hw->mac.ops.mdd_event) in ixgbe_mdd_event()
1763 if (hw->mac.ops.disable_rx) in ixgbe_disable_rx()
1764 hw->mac.ops.disable_rx(hw); in ixgbe_disable_rx()
1769 if (hw->mac.ops.enable_rx) in ixgbe_enable_rx()
[all …]
H A Dixgbe_x540.c75 eeprom->ops.read = ixgbe_read_eerd_X540; in ixgbe_init_ops_X540()
77 eeprom->ops.write = ixgbe_write_eewr_X540; in ixgbe_init_ops_X540()
85 phy->ops.reset = NULL; in ixgbe_init_ops_X540()
89 mac->ops.reset_hw = ixgbe_reset_hw_X540; in ixgbe_init_ops_X540()
92 mac->ops.get_supported_physical_layer = in ixgbe_init_ops_X540()
94 mac->ops.read_analog_reg8 = NULL; in ixgbe_init_ops_X540()
95 mac->ops.write_analog_reg8 = NULL; in ixgbe_init_ops_X540()
96 mac->ops.start_hw = ixgbe_start_hw_X540; in ixgbe_init_ops_X540()
122 mac->ops.get_link_capabilities = in ixgbe_init_ops_X540()
222 status = hw->mac.ops.stop_adapter(hw); in ixgbe_reset_hw_X540()
[all …]
H A Dixgbe_x550.c66 mac->ops.setup_eee = NULL; in ixgbe_init_ops_X550()
92 hw->mac.ops.led_on = NULL; in ixgbe_init_ops_X550()
93 hw->mac.ops.led_off = NULL; in ixgbe_init_ops_X550()
348 hw->mac.ops.set_lan_id(hw); in ixgbe_identify_phy_x550em()
628 mac->ops.bypass_rw = NULL; in ixgbe_init_ops_X550EM()
669 mac->ops.setup_fc = NULL; in ixgbe_init_ops_X550EM()
675 mac->ops.setup_fc = NULL; in ixgbe_init_ops_X550EM()
1858 mac->ops.check_link = in ixgbe_init_mac_link_ops_X550em()
1861 mac->ops.setup_link = in ixgbe_init_mac_link_ops_X550em()
2341 phy->ops.reset = NULL; in ixgbe_init_phy_ops_X550em()
[all …]
H A Dixgbe_82598.c150 mac->ops.set_vlvf = NULL; in ixgbe_init_ops_82598()
171 mac->ops.flap_tx_laser = NULL; in ixgbe_init_ops_82598()
176 mac->ops.set_fw_drv_ver = NULL; in ixgbe_init_ops_82598()
178 mac->ops.get_rtrup2tc = NULL; in ixgbe_init_ops_82598()
202 phy->ops.identify(hw); in ixgbe_init_phy_ops_82598()
215 phy->ops.get_firmware_version = in ixgbe_init_phy_ops_82598()
872 hw->phy.ops.reset(hw); in ixgbe_reset_hw_82598()
932 hw->mac.ops.init_rx_addrs(hw); in ixgbe_reset_hw_82598()
1155 hw->phy.ops.write_reg_mdi(hw, in ixgbe_read_i2c_phy_82598()
1162 hw->phy.ops.read_reg_mdi(hw, in ixgbe_read_i2c_phy_82598()
[all …]
/freebsd-13.1/sys/netgraph/
H A Dng_patch.c240 switch (conf->ops[i].length) in ng_patch_rcvmsg()
243 conf->ops[i].val.v8 = conf->ops[i].val.v1; in ng_patch_rcvmsg()
246 conf->ops[i].val.v8 = conf->ops[i].val.v2; in ng_patch_rcvmsg()
249 conf->ops[i].val.v8 = conf->ops[i].val.v4; in ng_patch_rcvmsg()
266 switch (conf->ops[i].length) in ng_patch_rcvmsg()
269 conf->ops[i].val.v1 = (uint8_t) conf->ops[i].val.v8; in ng_patch_rcvmsg()
272 conf->ops[i].val.v2 = (uint16_t) conf->ops[i].val.v8; in ng_patch_rcvmsg()
275 conf->ops[i].val.v4 = (uint32_t) conf->ops[i].val.v8; in ng_patch_rcvmsg()
369 switch (privp->conf->ops[i].length) in do_patch()
372 switch (privp->conf->ops[i].mode) in do_patch()
[all …]
/freebsd-13.1/sys/amd64/vmm/io/
H A Diommu.c69 if (ops != NULL) in IOMMU_INIT()
70 return ((*ops->init)()); in IOMMU_INIT()
78 if (ops != NULL && iommu_avail) in IOMMU_CLEANUP()
79 (*ops->cleanup)(); in IOMMU_CLEANUP()
97 (*ops->destroy_domain)(dom); in IOMMU_DESTROY_DOMAIN()
149 (*ops->enable)(); in IOMMU_ENABLE()
157 (*ops->disable)(); in IOMMU_DISABLE()
187 ops = &iommu_ops_intel; in iommu_init()
189 ops = &iommu_ops_amd; in iommu_init()
191 ops = NULL; in iommu_init()
[all …]
/freebsd-13.1/sys/kern/
H A Dsubr_kobj.c109 if (cls->ops) in kobj_class_compile_common()
125 ops->cls = cls; in kobj_class_compile_common()
126 cls->ops = ops; in kobj_class_compile_common()
132 kobj_ops_t ops; in kobj_class_compile1() local
137 if (ops == NULL) in kobj_class_compile1()
146 if (cls->ops) { in kobj_class_compile1()
235 void* ops = NULL; in kobj_class_free() local
253 ops = cls->ops; in kobj_class_free()
259 if (ops) in kobj_class_free()
267 obj->ops = cls->ops; in kobj_init_common()
[all …]
/freebsd-13.1/sbin/ipf/libipf/
H A Dparseipfexpr.c38 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()
99 ops); in parseipfexpr()
149 if (!strcasecmp(ops, "ip.addr") || in parseipfexpr()
150 !strcasecmp(ops, "ip.src") || in parseipfexpr()
151 !strcasecmp(ops, "ip.dst")) { in parseipfexpr()
176 !strcasecmp(ops, "ip6.src") || in parseipfexpr()
177 !strcasecmp(ops, "ip6.dst")) { in parseipfexpr()
[all …]
/freebsd-13.1/sys/contrib/dev/iwlwifi/
H A Diwl-op-mode.h124 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 …]
H A Diwl-trans.h1098 if (trans->ops->op_mode_leave) in iwl_trans_op_mode_leave()
1146 if (!trans->ops->d3_suspend) in iwl_trans_d3_suspend()
1157 if (!trans->ops->d3_resume) in iwl_trans_d3_resume()
1168 if (!trans->ops->dump_data) in iwl_trans_dump_data()
1418 if (trans->ops->imr_dma_data) in iwl_trans_write_imr_mem()
1447 if (trans->ops->set_pmi) in iwl_trans_set_pmi()
1454 if (trans->ops->sw_reset) in iwl_trans_sw_reset()
1495 if (trans->ops->sync_nmi) in iwl_trans_sync_nmi()
1496 trans->ops->sync_nmi(trans); in iwl_trans_sync_nmi()
1505 if (trans->ops->set_pnvm) { in iwl_trans_set_pnvm()
[all …]

12345678910>>...20