| /freebsd-12.1/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-12.1/sys/dev/e1000/ |
| H A D | e1000_api.c | 669 if (hw->mac.ops.init_hw) in e1000_init_hw() 780 if (hw->mac.ops.led_on) in e1000_led_on() 795 if (hw->mac.ops.led_off) in e1000_led_off() 861 if (hw->mac.ops.rar_set) in e1000_rar_set() 1028 if (hw->phy.ops.release) in e1000_release_phy() 1130 if (hw->phy.ops.reset) in e1000_phy_hw_reset() 1145 if (hw->phy.ops.commit) in e1000_phy_commit() 1266 if (hw->nvm.ops.update) in e1000_update_nvm_checksum() 1281 if (hw->nvm.ops.reload) in e1000_reload_nvm() 1297 if (hw->nvm.ops.read) in e1000_read_nvm() [all …]
|
| H A D | e1000_82541.c | 385 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 D | e1000_82540.c | 83 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 D | e1000_82571.c | 301 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 D | e1000_phy.c | 228 if (!phy->ops.read_reg) in e1000_get_phy_id() 266 if (!hw->phy.ops.write_reg) in e1000_phy_reset_dsp_generic() 655 if (!hw->phy.ops.acquire) in e1000_read_phy_reg_m88() 665 hw->phy.ops.release(hw); in e1000_read_phy_reg_m88() 685 if (!hw->phy.ops.acquire) in e1000_write_phy_reg_m88() 695 hw->phy.ops.release(hw); in e1000_write_phy_reg_m88() 756 hw->phy.ops.release(hw); in __e1000_read_phy_reg_igp() 825 hw->phy.ops.release(hw); in __e1000_write_phy_reg_igp() 898 hw->phy.ops.release(hw); in __e1000_read_kmrn_reg() 970 hw->phy.ops.release(hw); in __e1000_write_kmrn_reg() [all …]
|
| H A D | e1000_80003es2lan.c | 181 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 D | e1000_82575.c | 242 phy->ops.get_cable_length = in e1000_init_phy_params_82575() 246 phy->ops.get_cable_length = in e1000_init_phy_params_82575() 299 phy->ops.force_speed_duplex = in e1000_init_phy_params_82575() 517 hw->mac.ops.set_lan_id(hw); in e1000_init_mac_params_82575() 609 hw->phy.ops.release(hw); in e1000_read_phy_reg_sgmii_82575() 642 hw->phy.ops.release(hw); in e1000_write_phy_reg_sgmii_82575() 771 if (!(hw->phy.ops.write_reg)) in e1000_phy_hw_reset_sgmii_82575() 813 if (!(hw->phy.ops.read_reg)) in e1000_set_d0_lplu_state_82575() 1426 mac->ops.clear_vfta(hw); in e1000_init_hw_82575() 2302 hw->phy.ops.release(hw); in e1000_read_phy_reg_82580() [all …]
|
| H A D | e1000_ich8lan.c | 3520 nvm->ops.acquire(hw); in e1000_read_nvm_spt() 3574 nvm->ops.release(hw); in e1000_read_nvm_spt() 3611 nvm->ops.acquire(hw); in e1000_read_nvm_ich8lan() 3636 nvm->ops.release(hw); in e1000_read_nvm_ich8lan() 4027 nvm->ops.acquire(hw); in e1000_write_nvm_ich8lan() 4034 nvm->ops.release(hw); in e1000_write_nvm_ich8lan() 4067 nvm->ops.acquire(hw); in e1000_update_nvm_checksum_spt() 4191 nvm->ops.release(hw); in e1000_update_nvm_checksum_spt() 4197 nvm->ops.reload(hw); in e1000_update_nvm_checksum_spt() 4236 nvm->ops.acquire(hw); in e1000_update_nvm_checksum_ich8lan() [all …]
|
| H A D | e1000_mbx.c | 84 if (mbx->ops.read) in e1000_read_mbx() 109 else if (mbx->ops.write) in e1000_write_mbx() 129 if (mbx->ops.check_for_msg) in e1000_check_for_msg() 149 if (mbx->ops.check_for_ack) in e1000_check_for_ack() 169 if (mbx->ops.check_for_rst) in e1000_check_for_rst() 254 if (!mbx->ops.read) in e1000_read_posted_mbx() 284 if (!mbx->ops.write || !mbx->timeout) in e1000_write_posted_mbx() 543 mbx->ops.read = e1000_read_mbx_vf; in e1000_init_mbx_params_vf() 544 mbx->ops.write = e1000_write_mbx_vf; in e1000_init_mbx_params_vf() 769 mbx->ops.read = e1000_read_mbx_pf; in e1000_init_mbx_params_pf() [all …]
|
| H A D | e1000_vf.c | 66 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 …]
|
| H A D | e1000_82543.c | 128 ret_val = phy->ops.reset(hw); in e1000_init_phy_params_82543() 229 mac->ops.setup_physical_interface = in e1000_init_mac_params_82543() 233 mac->ops.check_for_link = in e1000_init_mac_params_82543() 238 mac->ops.get_link_up_info = in e1000_init_mac_params_82543() 775 if (!(hw->phy.ops.write_reg)) in e1000_polarity_reversal_workaround_82543() 888 if (!(hw->phy.ops.get_cfg_done)) in e1000_phy_hw_reset_82543() 941 hw->nvm.ops.reload(hw); in e1000_reset_hw_82543() 969 mac->ops.clear_vfta(hw); in e1000_init_hw_82543() 994 ret_val = mac->ops.setup_link(hw); in e1000_init_hw_82543() 1079 ret_val = hw->phy.ops.reset(hw); in e1000_setup_copper_link_82543() [all …]
|
| /freebsd-12.1/sys/dev/ixgbe/ |
| H A D | ixgbe_api.c | 70 if (hw->mac.ops.get_rtrup2tc) in ixgbe_dcb_get_rtrup2tc() 678 if (hw->mac.ops.flap_tx_laser) in ixgbe_flap_tx_laser() 1269 if (hw->mac.ops.disable_mdd) in ixgbe_disable_mdd() 1270 hw->mac.ops.disable_mdd(hw); in ixgbe_disable_mdd() 1280 if (hw->mac.ops.enable_mdd) in ixgbe_enable_mdd() 1281 hw->mac.ops.enable_mdd(hw); in ixgbe_enable_mdd() 1292 if (hw->mac.ops.mdd_event) in ixgbe_mdd_event() 1697 if (hw->mac.ops.disable_rx) in ixgbe_disable_rx() 1698 hw->mac.ops.disable_rx(hw); in ixgbe_disable_rx() 1703 if (hw->mac.ops.enable_rx) in ixgbe_enable_rx() [all …]
|
| H A D | ixgbe_x540.c | 75 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 D | ixgbe_x550.c | 66 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() 623 mac->ops.bypass_rw = NULL; in ixgbe_init_ops_X550EM() 664 mac->ops.setup_fc = NULL; in ixgbe_init_ops_X550EM() 670 mac->ops.setup_fc = NULL; in ixgbe_init_ops_X550EM() 1853 mac->ops.check_link = in ixgbe_init_mac_link_ops_X550em() 1856 mac->ops.setup_link = in ixgbe_init_mac_link_ops_X550em() 2330 phy->ops.reset = NULL; in ixgbe_init_phy_ops_X550em() [all …]
|
| H A D | ixgbe_82598.c | 150 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-12.1/sys/dev/mii/ |
| H A D | mii_bitbang.c | 56 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-12.1/sys/netgraph/ |
| H A D | ng_patch.c | 241 switch (conf->ops[i].length) in ng_patch_rcvmsg() 244 conf->ops[i].val.v8 = conf->ops[i].val.v1; in ng_patch_rcvmsg() 247 conf->ops[i].val.v8 = conf->ops[i].val.v2; in ng_patch_rcvmsg() 250 conf->ops[i].val.v8 = conf->ops[i].val.v4; in ng_patch_rcvmsg() 267 switch (conf->ops[i].length) in ng_patch_rcvmsg() 270 conf->ops[i].val.v1 = (uint8_t) conf->ops[i].val.v8; in ng_patch_rcvmsg() 273 conf->ops[i].val.v2 = (uint16_t) conf->ops[i].val.v8; in ng_patch_rcvmsg() 276 conf->ops[i].val.v4 = (uint32_t) conf->ops[i].val.v8; in ng_patch_rcvmsg() 370 switch (privp->conf->ops[i].length) in do_patch() 373 switch (privp->conf->ops[i].mode) in do_patch() [all …]
|
| /freebsd-12.1/contrib/gdb/gdb/ |
| H A D | ser-pipe.c | 142 ops->name = "pipe"; in _initialize_ser_pipe() 143 ops->next = 0; in _initialize_ser_pipe() 144 ops->open = pipe_open; in _initialize_ser_pipe() 145 ops->close = pipe_close; in _initialize_ser_pipe() 146 ops->readchar = ser_unix_readchar; in _initialize_ser_pipe() 147 ops->write = ser_unix_write; in _initialize_ser_pipe() 149 ops->flush_input = ser_unix_flush_input; in _initialize_ser_pipe() 150 ops->send_break = ser_unix_nop_send_break; in _initialize_ser_pipe() 151 ops->go_raw = ser_unix_nop_raw; in _initialize_ser_pipe() 159 ops->async = ser_unix_async; in _initialize_ser_pipe() [all …]
|
| H A D | serial.c | 153 struct serial_ops *ops; in serial_interface_lookup() local 155 for (ops = serial_ops_list; ops; ops = ops->next) in serial_interface_lookup() 157 return ops; in serial_interface_lookup() 175 struct serial_ops *ops; in serial_open() local 199 if (!ops) in serial_open() 204 scb->ops = ops; in serial_open() 240 struct serial_ops *ops; in serial_fdopen() local 251 if (!ops) in serial_fdopen() 256 scb->ops = ops; in serial_fdopen() 309 scb->ops->close (scb); in do_serial_close() [all …]
|
| H A D | ser-tcp.c | 212 ops->name = "tcp"; in _initialize_ser_tcp() 213 ops->next = 0; in _initialize_ser_tcp() 214 ops->open = net_open; in _initialize_ser_tcp() 215 ops->close = net_close; in _initialize_ser_tcp() 216 ops->readchar = ser_unix_readchar; in _initialize_ser_tcp() 217 ops->write = ser_unix_write; in _initialize_ser_tcp() 219 ops->flush_input = ser_unix_flush_input; in _initialize_ser_tcp() 220 ops->send_break = ser_unix_nop_send_break; in _initialize_ser_tcp() 221 ops->go_raw = ser_unix_nop_raw; in _initialize_ser_tcp() 229 ops->async = ser_unix_async; in _initialize_ser_tcp() [all …]
|
| /freebsd-12.1/contrib/gcc/ |
| H A D | tree-ssa-reassoc.c | 463 *ops = NULL; in eliminate_duplicate_pair() 599 *ops = NULL; in eliminate_not_pairs() 637 *ops = NULL; in eliminate_using_constants() 648 VEC_pop (operand_entry_t, *ops); in eliminate_using_constants() 665 *ops = NULL; in eliminate_using_constants() 692 *ops = NULL; in eliminate_using_constants() 944 opindex + 1, ops); in rewrite_expr_tree() 1153 add_to_ops_vec (ops, binrhs); in linearize_expr_tree() 1154 add_to_ops_vec (ops, binlhs); in linearize_expr_tree() 1194 add_to_ops_vec (ops, binrhs); in linearize_expr_tree() [all …]
|
| /freebsd-12.1/sys/amd64/vmm/io/ |
| H A D | iommu.c | 61 static struct iommu_ops *ops; variable 68 if (ops != NULL) in IOMMU_INIT() 69 return ((*ops->init)()); in IOMMU_INIT() 78 (*ops->cleanup)(); in IOMMU_CLEANUP() 96 (*ops->destroy_domain)(dom); in IOMMU_DESTROY_DOMAIN() 148 (*ops->enable)(); in IOMMU_ENABLE() 156 (*ops->disable)(); in IOMMU_DISABLE() 186 ops = &iommu_ops_intel; in iommu_init() 188 ops = &iommu_ops_amd; in iommu_init() 190 ops = NULL; in iommu_init() [all …]
|
| /freebsd-12.1/sys/kern/ |
| H A D | subr_kobj.c | 108 if (cls->ops) in kobj_class_compile_common() 124 ops->cls = cls; in kobj_class_compile_common() 125 cls->ops = ops; in kobj_class_compile_common() 131 kobj_ops_t ops; in kobj_class_compile1() local 136 if (ops == NULL) in kobj_class_compile1() 145 if (cls->ops) { in kobj_class_compile1() 234 void* ops = NULL; in kobj_class_free() local 252 ops = cls->ops; in kobj_class_free() 258 if (ops) in kobj_class_free() 266 obj->ops = cls->ops; in kobj_init_common() [all …]
|
| /freebsd-12.1/contrib/ipfilter/lib/ |
| H A D | parseipfexpr.c | 40 char *temp, *arg, *s, *t, *ops, *error; local 77 for (ops = strtok(temp, ";"); ops != NULL; ops = strtok(NULL, ";")) { 78 arg = strchr(ops, '='); 94 if (strcmp(ops, e->ipoe_word) == 0) 101 ops); 151 if (!strcasecmp(ops, "ip.addr") || 152 !strcasecmp(ops, "ip.src") || 153 !strcasecmp(ops, "ip.dst")) { 178 !strcasecmp(ops, "ip6.src") || 179 !strcasecmp(ops, "ip6.dst")) { [all …]
|