/freebsd/contrib/wpa/src/pae/ |
H A D | ieee802_1x_secy_ops.c | 30 struct ieee802_1x_kay_ctx *ops; in secy_cp_control_protect_frames() local 37 ops = kay->ctx; in secy_cp_control_protect_frames() 38 if (!ops || !ops->enable_protect_frames) { in secy_cp_control_protect_frames() 44 return ops->enable_protect_frames(ops->ctx, enabled); in secy_cp_control_protect_frames() 50 struct ieee802_1x_kay_ctx *ops; in secy_cp_control_encrypt() local 57 ops = kay->ctx; in secy_cp_control_encrypt() 58 if (!ops || !ops->enable_encrypt) { in secy_cp_control_encrypt() 64 return ops->enable_encrypt(ops->ctx, enabled); in secy_cp_control_encrypt() 70 struct ieee802_1x_kay_ctx *ops; in secy_cp_control_replay() local 77 ops = kay->ctx; in secy_cp_control_replay() [all …]
|
/freebsd/sys/dev/igc/ |
H A D | igc_api.c | 21 if (hw->mac.ops.init_params) { in igc_init_mac_params() 22 ret_val = hw->mac.ops.init_params(hw); in igc_init_mac_params() 47 if (hw->nvm.ops.init_params) { in igc_init_nvm_params() 48 ret_val = hw->nvm.ops.init_params(hw); in igc_init_nvm_params() 73 if (hw->phy.ops.init_params) { in igc_init_phy_params() 74 ret_val = hw->phy.ops.init_params(hw); in igc_init_phy_params() 214 if (hw->mac.ops.get_bus_info) in igc_get_bus_info() 215 return hw->mac.ops.get_bus_info(hw); in igc_get_bus_info() 229 if (hw->mac.ops.clear_vfta) in igc_clear_vfta() 230 hw->mac.ops.clear_vfta(hw); in igc_clear_vfta() [all …]
|
H A D | igc_phy.c | 24 phy->ops.init_params = igc_null_ops_generic; in igc_init_phy_ops_generic() 25 phy->ops.acquire = igc_null_ops_generic; in igc_init_phy_ops_generic() 26 phy->ops.check_reset_block = igc_null_ops_generic; in igc_init_phy_ops_generic() 27 phy->ops.force_speed_duplex = igc_null_ops_generic; in igc_init_phy_ops_generic() 28 phy->ops.get_info = igc_null_ops_generic; in igc_init_phy_ops_generic() 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() 31 phy->ops.read_reg_locked = igc_null_read_reg; in igc_init_phy_ops_generic() 32 phy->ops.read_reg_page = igc_null_read_reg; in igc_init_phy_ops_generic() 33 phy->ops.release = igc_null_phy_generic; in igc_init_phy_ops_generic() [all …]
|
/freebsd/sys/dev/e1000/ |
H A D | e1000_api.c | 48 if (hw->mac.ops.init_params) { in e1000_init_mac_params() 49 ret_val = hw->mac.ops.init_params(hw); in e1000_init_mac_params() 74 if (hw->nvm.ops.init_params) { in e1000_init_nvm_params() 75 ret_val = hw->nvm.ops.init_params(hw); in e1000_init_nvm_params() 100 if (hw->phy.ops.init_params) { in e1000_init_phy_params() 101 ret_val = hw->phy.ops.init_params(hw); in e1000_init_phy_params() 126 if (hw->mbx.ops.init_params) { in e1000_init_mbx_params() 127 ret_val = hw->mbx.ops.init_params(hw); in e1000_init_mbx_params() 585 if (hw->mac.ops.get_bus_info) in e1000_get_bus_info() 586 return hw->mac.ops.get_bus_info(hw); in e1000_get_bus_info() [all …]
|
H A D | e1000_82541.c | 98 phy->ops.check_polarity = e1000_check_polarity_igp; in e1000_init_phy_params_82541() 99 phy->ops.force_speed_duplex = e1000_phy_force_speed_duplex_igp; in e1000_init_phy_params_82541() 100 phy->ops.get_cable_length = e1000_get_cable_length_igp_82541; in e1000_init_phy_params_82541() 101 phy->ops.get_cfg_done = e1000_get_cfg_done_generic; in e1000_init_phy_params_82541() 102 phy->ops.get_info = e1000_get_phy_info_igp; in e1000_init_phy_params_82541() 103 phy->ops.read_reg = e1000_read_phy_reg_igp; in e1000_init_phy_params_82541() 104 phy->ops.reset = e1000_phy_hw_reset_82541; in e1000_init_phy_params_82541() 105 phy->ops.set_d3_lplu_state = e1000_set_d3_lplu_state_82541; in e1000_init_phy_params_82541() 106 phy->ops.write_reg = e1000_write_phy_reg_igp; in e1000_init_phy_params_82541() 107 phy->ops.power_up = e1000_power_up_phy_copper; in e1000_init_phy_params_82541() [all …]
|
H A D | e1000_82540.c | 77 phy->ops.check_polarity = e1000_check_polarity_m88; in e1000_init_phy_params_82540() 78 phy->ops.commit = e1000_phy_sw_reset_generic; in e1000_init_phy_params_82540() 79 phy->ops.force_speed_duplex = e1000_phy_force_speed_duplex_m88; in e1000_init_phy_params_82540() 80 phy->ops.get_cable_length = e1000_get_cable_length_m88; in e1000_init_phy_params_82540() 81 phy->ops.get_cfg_done = e1000_get_cfg_done_generic; in e1000_init_phy_params_82540() 82 phy->ops.read_reg = e1000_read_phy_reg_m88; in e1000_init_phy_params_82540() 83 phy->ops.reset = e1000_phy_hw_reset_generic; in e1000_init_phy_params_82540() 84 phy->ops.write_reg = e1000_write_phy_reg_m88; in e1000_init_phy_params_82540() 85 phy->ops.get_info = e1000_get_phy_info_m88; in e1000_init_phy_params_82540() 86 phy->ops.power_up = e1000_power_up_phy_copper; in e1000_init_phy_params_82540() [all …]
|
H A D | e1000_phy.c | 76 phy->ops.init_params = e1000_null_ops_generic; in e1000_init_phy_ops_generic() 77 phy->ops.acquire = e1000_null_ops_generic; in e1000_init_phy_ops_generic() 78 phy->ops.check_polarity = e1000_null_ops_generic; in e1000_init_phy_ops_generic() 79 phy->ops.check_reset_block = e1000_null_ops_generic; in e1000_init_phy_ops_generic() 80 phy->ops.commit = e1000_null_ops_generic; in e1000_init_phy_ops_generic() 81 phy->ops.force_speed_duplex = e1000_null_ops_generic; in e1000_init_phy_ops_generic() 82 phy->ops.get_cfg_done = e1000_null_ops_generic; in e1000_init_phy_ops_generic() 83 phy->ops.get_cable_length = e1000_null_ops_generic; in e1000_init_phy_ops_generic() 84 phy->ops.get_info = e1000_null_ops_generic; in e1000_init_phy_ops_generic() 85 phy->ops.set_page = e1000_null_set_page; in e1000_init_phy_ops_generic() [all …]
|
H A D | e1000_82571.c | 107 phy->ops.check_reset_block = e1000_check_reset_block_generic; in e1000_init_phy_params_82571() 108 phy->ops.reset = e1000_phy_hw_reset_generic; in e1000_init_phy_params_82571() 109 phy->ops.set_d0_lplu_state = e1000_set_d0_lplu_state_82571; in e1000_init_phy_params_82571() 110 phy->ops.set_d3_lplu_state = e1000_set_d3_lplu_state_generic; in e1000_init_phy_params_82571() 111 phy->ops.power_up = e1000_power_up_phy_copper; in e1000_init_phy_params_82571() 112 phy->ops.power_down = e1000_power_down_phy_copper_82571; in e1000_init_phy_params_82571() 118 phy->ops.get_cfg_done = e1000_get_cfg_done_82571; in e1000_init_phy_params_82571() 119 phy->ops.get_info = e1000_get_phy_info_igp; in e1000_init_phy_params_82571() 120 phy->ops.check_polarity = e1000_check_polarity_igp; in e1000_init_phy_params_82571() 121 phy->ops.force_speed_duplex = e1000_phy_force_speed_duplex_igp; in e1000_init_phy_params_82571() [all …]
|
H A D | e1000_82575.c | 166 phy->ops.read_i2c_byte = e1000_read_i2c_byte_generic; in e1000_init_phy_params_82575() 167 phy->ops.write_i2c_byte = e1000_write_i2c_byte_generic; in e1000_init_phy_params_82575() 174 phy->ops.power_up = e1000_power_up_phy_copper; in e1000_init_phy_params_82575() 175 phy->ops.power_down = e1000_power_down_phy_copper_base; in e1000_init_phy_params_82575() 180 phy->ops.acquire = e1000_acquire_phy_base; in e1000_init_phy_params_82575() 181 phy->ops.check_reset_block = e1000_check_reset_block_generic; in e1000_init_phy_params_82575() 182 phy->ops.commit = e1000_phy_sw_reset_generic; in e1000_init_phy_params_82575() 183 phy->ops.get_cfg_done = e1000_get_cfg_done_82575; in e1000_init_phy_params_82575() 184 phy->ops.release = e1000_release_phy_base; in e1000_init_phy_params_82575() 189 phy->ops.reset = e1000_phy_hw_reset_sgmii_82575; in e1000_init_phy_params_82575() [all …]
|
H A D | e1000_80003es2lan.c | 98 phy->ops.power_up = e1000_power_up_phy_copper; in e1000_init_phy_params_80003es2lan() 99 phy->ops.power_down = e1000_power_down_phy_copper_80003es2lan; in e1000_init_phy_params_80003es2lan() 107 phy->ops.acquire = e1000_acquire_phy_80003es2lan; in e1000_init_phy_params_80003es2lan() 108 phy->ops.check_polarity = e1000_check_polarity_m88; in e1000_init_phy_params_80003es2lan() 109 phy->ops.check_reset_block = e1000_check_reset_block_generic; in e1000_init_phy_params_80003es2lan() 110 phy->ops.commit = e1000_phy_sw_reset_generic; in e1000_init_phy_params_80003es2lan() 111 phy->ops.get_cfg_done = e1000_get_cfg_done_80003es2lan; in e1000_init_phy_params_80003es2lan() 112 phy->ops.get_info = e1000_get_phy_info_m88; in e1000_init_phy_params_80003es2lan() 113 phy->ops.release = e1000_release_phy_80003es2lan; in e1000_init_phy_params_80003es2lan() 114 phy->ops.reset = e1000_phy_hw_reset_generic; in e1000_init_phy_params_80003es2lan() [all …]
|
/freebsd/sys/dev/ixgbe/ |
H A D | ixgbe_api.c | 69 if (hw->mac.ops.get_rtrup2tc) in ixgbe_dcb_get_rtrup2tc() 70 hw->mac.ops.get_rtrup2tc(hw, map); in ixgbe_dcb_get_rtrup2tc() 264 return ixgbe_call_func(hw, hw->mac.ops.init_hw, (hw), in ixgbe_init_hw() 277 return ixgbe_call_func(hw, hw->mac.ops.reset_hw, (hw), in ixgbe_reset_hw() 293 return ixgbe_call_func(hw, hw->mac.ops.start_hw, (hw), in ixgbe_start_hw() 307 if (hw->mac.ops.enable_relaxed_ordering) in ixgbe_enable_relaxed_ordering() 308 hw->mac.ops.enable_relaxed_ordering(hw); in ixgbe_enable_relaxed_ordering() 320 return ixgbe_call_func(hw, hw->mac.ops.clear_hw_cntrs, (hw), in ixgbe_clear_hw_cntrs() 332 return ixgbe_call_func(hw, hw->mac.ops.get_media_type, (hw), in ixgbe_get_media_type() 348 return ixgbe_call_func(hw, hw->mac.ops.get_mac_addr, in ixgbe_get_mac_addr() [all …]
|
H A D | ixgbe_x540.c | 74 eeprom->ops.init_params = ixgbe_init_eeprom_params_X540; in ixgbe_init_ops_X540() 75 eeprom->ops.read = ixgbe_read_eerd_X540; in ixgbe_init_ops_X540() 76 eeprom->ops.read_buffer = ixgbe_read_eerd_buffer_X540; in ixgbe_init_ops_X540() 77 eeprom->ops.write = ixgbe_write_eewr_X540; in ixgbe_init_ops_X540() 78 eeprom->ops.write_buffer = ixgbe_write_eewr_buffer_X540; in ixgbe_init_ops_X540() 79 eeprom->ops.update_checksum = ixgbe_update_eeprom_checksum_X540; in ixgbe_init_ops_X540() 80 eeprom->ops.validate_checksum = ixgbe_validate_eeprom_checksum_X540; in ixgbe_init_ops_X540() 81 eeprom->ops.calc_checksum = ixgbe_calc_eeprom_checksum_X540; in ixgbe_init_ops_X540() 84 phy->ops.init = ixgbe_init_phy_ops_generic; in ixgbe_init_ops_X540() 85 phy->ops.reset = NULL; in ixgbe_init_ops_X540() [all …]
|
H A D | ixgbe_x550.c | 62 mac->ops.dmac_config = ixgbe_dmac_config_X550; in ixgbe_init_ops_X550() 63 mac->ops.dmac_config_tcs = ixgbe_dmac_config_tcs_X550; in ixgbe_init_ops_X550() 64 mac->ops.dmac_update_tcs = ixgbe_dmac_update_tcs_X550; in ixgbe_init_ops_X550() 65 mac->ops.setup_eee = NULL; in ixgbe_init_ops_X550() 66 mac->ops.set_source_address_pruning = in ixgbe_init_ops_X550() 68 mac->ops.set_ethertype_anti_spoofing = in ixgbe_init_ops_X550() 71 mac->ops.get_rtrup2tc = ixgbe_dcb_get_rtrup2tc_generic; in ixgbe_init_ops_X550() 72 eeprom->ops.init_params = ixgbe_init_eeprom_params_X550; in ixgbe_init_ops_X550() 73 eeprom->ops.calc_checksum = ixgbe_calc_eeprom_checksum_X550; in ixgbe_init_ops_X550() 74 eeprom->ops.read = ixgbe_read_ee_hostif_X550; in ixgbe_init_ops_X550() [all …]
|
/freebsd/sys/dev/mii/ |
H A D | mii_bitbang.c | 48 static void mii_bitbang_sendbits(device_t dev, mii_bitbang_ops_t ops, 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] 62 #define MDIRPHY ops->mbo_bits[MII_BIT_DIR_HOST_PHY] 63 #define MDIRHOST ops->mbo_bits[MII_BIT_DIR_PHY_HOST] 71 mii_bitbang_sync(device_t dev, mii_bitbang_ops_t ops) in mii_bitbang_sync() argument 91 mii_bitbang_sendbits(device_t dev, mii_bitbang_ops_t ops, uint32_t data, in mii_bitbang_sendbits() argument [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, suspend); in lkpi_80211_mo_stop() 97 if (lhw->ops->get_antenna == NULL) { in lkpi_80211_mo_get_antenna() 103 error = lhw->ops->get_antenna(hw, txs, rxs); in lkpi_80211_mo_get_antenna() 116 if (lhw->ops->set_frag_threshold == NULL) { in lkpi_80211_mo_set_frag_threshold() 122 error = lhw->ops->set_frag_threshold(hw, frag_th); in lkpi_80211_mo_set_frag_threshold() 135 if (lhw->ops->set_rts_threshold == NULL) { in lkpi_80211_mo_set_rts_threshold() 141 error = lhw->ops in lkpi_80211_mo_set_rts_threshold() [all...] |
/freebsd/sys/contrib/dev/athk/ath10k/ |
H A D | wmi-ops.h | 237 if (WARN_ON_ONCE(!ar->wmi.ops->rx)) in ath10k_wmi_rx() 240 ar->wmi.ops->rx(ar, skb); in ath10k_wmi_rx() 248 if (!ar->wmi.ops->map_svc) in ath10k_wmi_map_svc() 251 ar->wmi.ops->map_svc(in, out, len); in ath10k_wmi_map_svc() 259 if (!ar->wmi.ops->map_svc_ext) in ath10k_wmi_map_svc_ext() 262 ar->wmi.ops->map_svc_ext(in, out, len); in ath10k_wmi_map_svc_ext() 270 if (!ar->wmi.ops->pull_scan) in ath10k_wmi_pull_scan() 273 return ar->wmi.ops->pull_scan(ar, skb, arg); in ath10k_wmi_pull_scan() 280 if (!ar->wmi.ops->pull_mgmt_tx_compl) in ath10k_wmi_pull_mgmt_tx_compl() 283 return ar->wmi.ops->pull_mgmt_tx_compl(ar, skb, arg); in ath10k_wmi_pull_mgmt_tx_compl() [all …]
|
H A D | hif.h | 106 return ar->hif.ops->tx_sg(ar, pipe_id, items, n_items); in ath10k_hif_tx_sg() 112 return ar->hif.ops->diag_read(ar, address, buf, buf_len); in ath10k_hif_diag_read() 118 if (!ar->hif.ops->diag_write) in ath10k_hif_diag_write() 121 return ar->hif.ops->diag_write(ar, address, data, nbytes); in ath10k_hif_diag_write() 128 return ar->hif.ops->exchange_bmi_msg(ar, request, request_len, in ath10k_hif_exchange_bmi_msg() 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() 145 return ar->hif.ops->start_post(ar); in ath10k_hif_start_post() 151 if (ar->hif.ops->get_htt_tx_complete) in ath10k_hif_get_htt_tx_complete() [all …]
|
/freebsd/sys/netgraph/ |
H A D | ng_patch.c | 74 offsetof(struct ng_patch_config, ops)); in ng_patch_config_getlen() 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() 357 offset = global_offset + privp->conf->ops[i].offset; in do_patch() [all …]
|
/freebsd/sys/contrib/ck/src/ |
H A D | ck_ec.c | 35 ck_ec32_wake(struct ck_ec32 *ec, const struct ck_ec_ops *ops) in ck_ec32_wake() argument 39 ops->wake32(ops, &ec->counter); in ck_ec32_wake() 45 const struct ck_ec_ops *ops, in ck_ec32_wait_slow() argument 49 return ck_ec32_wait_pred_slow(ec, ops, old_value, in ck_ec32_wait_slow() 55 ck_ec64_wake(struct ck_ec64 *ec, const struct ck_ec_ops *ops) in ck_ec64_wake() argument 58 ops->wake64(ops, &ec->counter); in ck_ec64_wake() 64 const struct ck_ec_ops *ops, in ck_ec64_wait_slow() argument 68 return ck_ec64_wait_pred_slow(ec, ops, old_value, in ck_ec64_wait_slow() 75 const struct ck_ec_ops *ops, in ck_ec_deadline_impl() argument 87 r = ops->gettime(ops, &now); in ck_ec_deadline_impl() [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() 44 ab->hif.ops->ce_irq_disable(ab); 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() 69 return sc->hif.ops->power_up(sc); in ath11k_hif_power_up() 74 sc->hif.ops->power_down(sc); in ath11k_hif_power_down() [all …]
|
/freebsd/sys/amd64/vmm/io/ |
H A D | iommu.c | 57 static const struct iommu_ops *ops; variable 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() 81 if (ops != NULL && iommu_avail) in IOMMU_CREATE_DOMAIN() 82 return ((*ops->create_domain)(maxaddr)); in IOMMU_CREATE_DOMAIN() 91 if (ops != NULL && iommu_avail) in IOMMU_DESTROY_DOMAIN() 92 (*ops->destroy_domain)(dom); in IOMMU_DESTROY_DOMAIN() 99 if (ops != NULL && iommu_avail) in IOMMU_CREATE_MAPPING() [all …]
|
/freebsd/sys/contrib/dev/athk/ath12k/ |
H A D | hif.h | 38 return ab->hif.ops->map_service_to_pipe(ab, service_id, in ath12k_hif_map_service_to_pipe() 48 if (!ab->hif.ops->get_user_msi_vector) in ath12k_hif_get_user_msi_vector() 51 return ab->hif.ops->get_user_msi_vector(ab, user_name, num_vectors, in ath12k_hif_get_user_msi_vector() 60 if (!ab->hif.ops->get_msi_address) in ath12k_hif_get_msi_address() 63 ab->hif.ops->get_msi_address(ab, msi_addr_lo, msi_addr_hi); in ath12k_hif_get_msi_address() 69 if (ab->hif.ops->get_ce_msi_idx) in ath12k_hif_get_ce_msi_idx() 70 ab->hif.ops->get_ce_msi_idx(ab, ce_id, msi_data_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() [all …]
|
/freebsd/sys/kern/ |
H A D | subr_kobj.c | 98 kobj_class_compile_common(kobj_class_t cls, kobj_ops_t ops) in kobj_class_compile_common() argument 106 if (cls->ops) in kobj_class_compile_common() 121 ops->cache[i] = &null_method; 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 133 ops = malloc(sizeof(struct kobj_ops), M_KOBJ, mflags); in kobj_class_compile1() 134 if (ops == NULL) in kobj_class_compile1() 143 if (cls->ops) { in kobj_class_compile1() 145 free(ops, M_KOBJ); in kobj_class_compile1() [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() 77 if ((arg < ops + 2) || (arg == NULL)) { in parseipfexpr() 92 if (strcmp(ops, e->ipoe_word) == 0) in parseipfexpr() 96 asprintf(&error, "keyword (%.10s) not found", ops); in parseipfexpr() 145 if (!strcasecmp(ops, "ip.addr") || in parseipfexpr() 146 !strcasecmp(ops, "ip.src") || in parseipfexpr() 147 !strcasecmp(ops, "ip.dst")) { in parseipfexpr() 171 } else if (!strcasecmp(ops, "ip6.addr") || in parseipfexpr() [all …]
|
/freebsd/sys/contrib/dev/iwlwifi/ |
H A D | iwl-op-mode.h | 41 * 2) The driver layer starts the op_mode (ops->start) 50 * The op_mode exports its ops so that external components can start it and 117 int iwl_opmode_register(const char *name, const struct iwl_op_mode_ops *ops); 122 * @ops: pointer to its own ops 127 const struct iwl_op_mode_ops *ops; 135 op_mode->ops->stop(op_mode); in iwl_op_mode_rx() 142 return op_mode->ops->rx(op_mode, napi, rxb); in iwl_op_mode_rx_rss() 150 op_mode->ops->rx_rss(op_mode, napi, rxb, queue); in iwl_op_mode_async_cb() 156 op_mode->ops in iwl_op_mode_async_cb() 124 const struct iwl_op_mode_ops *ops; global() member [all...] |