Searched refs:ops (Results 1 - 25 of 413) sorted by relevance

1234567891011>>

/freebsd-current/contrib/wpa/src/pae/
H A Dieee802_1x_secy_ops.c30 struct ieee802_1x_kay_ctx *ops; local
37 ops = kay->ctx;
38 if (!ops || !ops->enable_protect_frames) {
44 return ops->enable_protect_frames(ops->ctx, enabled);
50 struct ieee802_1x_kay_ctx *ops; local
57 ops = kay->ctx;
58 if (!ops || !ops
70 struct ieee802_1x_kay_ctx *ops; local
90 struct ieee802_1x_kay_ctx *ops; local
118 struct ieee802_1x_kay_ctx *ops; local
138 struct ieee802_1x_kay_ctx *ops; local
159 struct ieee802_1x_kay_ctx *ops; local
180 struct ieee802_1x_kay_ctx *ops; local
201 struct ieee802_1x_kay_ctx *ops; local
222 struct ieee802_1x_kay_ctx *ops; local
242 struct ieee802_1x_kay_ctx *ops; local
262 struct ieee802_1x_kay_ctx *ops; local
282 struct ieee802_1x_kay_ctx *ops; local
302 struct ieee802_1x_kay_ctx *ops; local
322 struct ieee802_1x_kay_ctx *ops; local
344 struct ieee802_1x_kay_ctx *ops; local
367 struct ieee802_1x_kay_ctx *ops; local
388 struct ieee802_1x_kay_ctx *ops; local
409 struct ieee802_1x_kay_ctx *ops; local
430 struct ieee802_1x_kay_ctx *ops; local
451 struct ieee802_1x_kay_ctx *ops; local
474 struct ieee802_1x_kay_ctx *ops; local
497 struct ieee802_1x_kay_ctx *ops; local
524 struct ieee802_1x_kay_ctx *ops; local
[all...]
/freebsd-current/sys/contrib/openzfs/module/zfs/
H A Dzfs_impl.c49 const zfs_impl_t **ops = impl_ops; local
52 return (*ops);
54 for (; *ops; ops++) {
55 if (strcmp(algo, (*ops)->name) == 0)
59 ASSERT3P(ops, !=, NULL);
60 return (*ops);
/freebsd-current/sys/dev/mii/
H A Dmii_bitbang.c48 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) argument
91 mii_bitbang_sendbits(device_t dev, mii_bitbang_ops_t ops, uint32_ argument
117 mii_bitbang_readreg(device_t dev, mii_bitbang_ops_t ops, int phy, int reg) argument
165 mii_bitbang_writereg(device_t dev, mii_bitbang_ops_t ops, int phy, int reg, int val) argument
[all...]
H A Dmii_bitbang.h50 int mii_bitbang_readreg(device_t dev, mii_bitbang_ops_t ops,
52 void mii_bitbang_sync(device_t dev, mii_bitbang_ops_t ops);
53 void mii_bitbang_writereg(device_t dev, mii_bitbang_ops_t ops,
/freebsd-current/sys/dev/igc/
H A Digc_api.c21 if (hw->mac.ops.init_params) {
22 ret_val = hw->mac.ops.init_params(hw);
47 if (hw->nvm.ops.init_params) {
48 ret_val = hw->nvm.ops.init_params(hw);
73 if (hw->phy.ops.init_params) {
74 ret_val = hw->phy.ops.init_params(hw);
214 if (hw->mac.ops.get_bus_info)
215 return hw->mac.ops.get_bus_info(hw);
229 if (hw->mac.ops.clear_vfta)
230 hw->mac.ops
[all...]
H A Digc_phy.c24 phy->ops.init_params = igc_null_ops_generic;
25 phy->ops.acquire = igc_null_ops_generic;
26 phy->ops.check_reset_block = igc_null_ops_generic;
27 phy->ops.force_speed_duplex = igc_null_ops_generic;
28 phy->ops.get_info = igc_null_ops_generic;
29 phy->ops.set_page = igc_null_set_page;
30 phy->ops.read_reg = igc_null_read_reg;
31 phy->ops.read_reg_locked = igc_null_read_reg;
32 phy->ops.read_reg_page = igc_null_read_reg;
33 phy->ops
[all...]
/freebsd-current/sys/contrib/dev/athk/ath11k/
H A Dhif.h37 if (ab->hif.ops->ce_irq_enable)
38 ab->hif.ops->ce_irq_enable(ab);
43 if (ab->hif.ops->ce_irq_disable)
44 ab->hif.ops->ce_irq_disable(ab);
49 return sc->hif.ops->start(sc);
54 sc->hif.ops->stop(sc);
59 sc->hif.ops->irq_enable(sc);
64 sc->hif.ops->irq_disable(sc);
69 return sc->hif.ops->power_up(sc);
74 sc->hif.ops
[all...]
/freebsd-current/sys/contrib/dev/athk/ath12k/
H A Dhif.h38 return ab->hif.ops->map_service_to_pipe(ab, service_id,
48 if (!ab->hif.ops->get_user_msi_vector)
51 return ab->hif.ops->get_user_msi_vector(ab, user_name, num_vectors,
60 if (!ab->hif.ops->get_msi_address)
63 ab->hif.ops->get_msi_address(ab, msi_addr_lo, msi_addr_hi);
69 if (ab->hif.ops->get_ce_msi_idx)
70 ab->hif.ops->get_ce_msi_idx(ab, ce_id, msi_data_idx);
77 if (ab->hif.ops->ce_irq_enable)
78 ab->hif.ops->ce_irq_enable(ab);
83 if (ab->hif.ops
[all...]
/freebsd-current/sys/contrib/dev/athk/ath10k/
H A Dhif.h106 return ar->hif.ops->tx_sg(ar, pipe_id, items, n_items);
112 return ar->hif.ops->diag_read(ar, address, buf, buf_len);
118 if (!ar->hif.ops->diag_write)
121 return ar->hif.ops->diag_write(ar, address, data, nbytes);
128 return ar->hif.ops->exchange_bmi_msg(ar, request, request_len,
134 return ar->hif.ops->start(ar);
139 return ar->hif.ops->stop(ar);
144 if (ar->hif.ops->start_post)
145 return ar->hif.ops->start_post(ar);
151 if (ar->hif.ops
[all...]
H A Dwmi-ops.h237 if (WARN_ON_ONCE(!ar->wmi.ops->rx))
240 ar->wmi.ops->rx(ar, skb);
248 if (!ar->wmi.ops->map_svc)
251 ar->wmi.ops->map_svc(in, out, len);
259 if (!ar->wmi.ops->map_svc_ext)
262 ar->wmi.ops->map_svc_ext(in, out, len);
270 if (!ar->wmi.ops->pull_scan)
273 return ar->wmi.ops->pull_scan(ar, skb, arg);
280 if (!ar->wmi.ops->pull_mgmt_tx_compl)
283 return ar->wmi.ops
[all...]
/freebsd-current/sys/dev/ixgbe/
H A Dixgbe_api.c69 if (hw->mac.ops.get_rtrup2tc)
70 hw->mac.ops.get_rtrup2tc(hw, map);
264 return ixgbe_call_func(hw, hw->mac.ops.init_hw, (hw),
277 return ixgbe_call_func(hw, hw->mac.ops.reset_hw, (hw),
293 return ixgbe_call_func(hw, hw->mac.ops.start_hw, (hw),
307 if (hw->mac.ops.enable_relaxed_ordering)
308 hw->mac.ops.enable_relaxed_ordering(hw);
320 return ixgbe_call_func(hw, hw->mac.ops.clear_hw_cntrs, (hw),
332 return ixgbe_call_func(hw, hw->mac.ops.get_media_type, (hw),
348 return ixgbe_call_func(hw, hw->mac.ops
[all...]
/freebsd-current/sys/contrib/dev/iwlwifi/
H A Diwl-op-mode.h41 * 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
114 int iwl_opmode_register(const char *name, const struct iwl_op_mode_ops *ops);
119 * @ops: pointer to its own ops
124 const struct iwl_op_mode_ops *ops; member in struct:iwl_op_mode
132 op_mode->ops->stop(op_mode);
139 return op_mode->ops->rx(op_mode, napi, rxb);
147 op_mode->ops->rx_rss(op_mode, napi, rxb, queue);
153 if (op_mode->ops
[all...]
/freebsd-current/sys/contrib/ck/src/
H A Dck_ec.c35 ck_ec32_wake(struct ck_ec32 *ec, const struct ck_ec_ops *ops) argument
39 ops->wake32(ops, &ec->counter);
45 const struct ck_ec_ops *ops,
49 return ck_ec32_wait_pred_slow(ec, ops, old_value,
55 ck_ec64_wake(struct ck_ec64 *ec, const struct ck_ec_ops *ops) argument
58 ops->wake64(ops, &ec->counter);
64 const struct ck_ec_ops *ops,
68 return ck_ec64_wait_pred_slow(ec, ops, old_valu
44 ck_ec32_wait_slow(struct ck_ec32 *ec, const struct ck_ec_ops *ops, uint32_t old_value, const struct timespec *deadline) argument
63 ck_ec64_wait_slow(struct ck_ec64 *ec, const struct ck_ec_ops *ops, uint64_t old_value, const struct timespec *deadline) argument
74 ck_ec_deadline_impl(struct timespec *new_deadline, const struct ck_ec_ops *ops, const struct timespec *timeout) argument
137 const struct ck_ec_ops *ops = wait_state->ops; local
384 ck_ec32_wait_pred_slow(struct ck_ec32 *ec, const struct ck_ec_ops *ops, uint32_t old_value, int (*pred)(const struct ck_ec_wait_state *state, struct timespec *deadline), void *data, const struct timespec *deadline_ptr) argument
405 ck_ec64_wait_pred_slow(struct ck_ec64 *ec, const struct ck_ec_ops *ops, uint64_t old_value, int (*pred)(const struct ck_ec_wait_state *state, struct timespec *deadline), void *data, const struct timespec *deadline_ptr) argument
[all...]
/freebsd-current/sys/amd64/vmm/io/
H A Diommu.c57 static const struct iommu_ops *ops; variable in typeref:struct:iommu_ops
64 if (ops != NULL)
65 return ((*ops->init)());
73 if (ops != NULL && iommu_avail)
74 (*ops->cleanup)();
81 if (ops != NULL && iommu_avail)
82 return ((*ops->create_domain)(maxaddr));
91 if (ops != NULL && iommu_avail)
92 (*ops->destroy_domain)(dom);
99 if (ops !
[all...]
/freebsd-current/sys/compat/linuxkpi/common/src/
H A Dlinux_80211_macops.c57 if (lhw->ops->start == NULL) {
68 error = lhw->ops->start(hw);
82 if (lhw->ops->stop == NULL)
86 lhw->ops->stop(hw);
97 if (lhw->ops->get_antenna == NULL) {
103 error = lhw->ops->get_antenna(hw, txs, rxs);
116 if (lhw->ops->set_frag_threshold == NULL) {
122 error = lhw->ops->set_frag_threshold(hw, frag_th);
135 if (lhw->ops->set_rts_threshold == NULL) {
141 error = lhw->ops
[all...]
/freebsd-current/sys/dev/e1000/
H A De1000_82541.c98 phy->ops.check_polarity = e1000_check_polarity_igp;
99 phy->ops.force_speed_duplex = e1000_phy_force_speed_duplex_igp;
100 phy->ops.get_cable_length = e1000_get_cable_length_igp_82541;
101 phy->ops.get_cfg_done = e1000_get_cfg_done_generic;
102 phy->ops.get_info = e1000_get_phy_info_igp;
103 phy->ops.read_reg = e1000_read_phy_reg_igp;
104 phy->ops.reset = e1000_phy_hw_reset_82541;
105 phy->ops.set_d3_lplu_state = e1000_set_d3_lplu_state_82541;
106 phy->ops.write_reg = e1000_write_phy_reg_igp;
107 phy->ops
[all...]
H A De1000_82540.c77 phy->ops.check_polarity = e1000_check_polarity_m88;
78 phy->ops.commit = e1000_phy_sw_reset_generic;
79 phy->ops.force_speed_duplex = e1000_phy_force_speed_duplex_m88;
80 phy->ops.get_cable_length = e1000_get_cable_length_m88;
81 phy->ops.get_cfg_done = e1000_get_cfg_done_generic;
82 phy->ops.read_reg = e1000_read_phy_reg_m88;
83 phy->ops.reset = e1000_phy_hw_reset_generic;
84 phy->ops.write_reg = e1000_write_phy_reg_m88;
85 phy->ops.get_info = e1000_get_phy_info_m88;
86 phy->ops
[all...]
H A De1000_api.c48 if (hw->mac.ops.init_params) {
49 ret_val = hw->mac.ops.init_params(hw);
74 if (hw->nvm.ops.init_params) {
75 ret_val = hw->nvm.ops.init_params(hw);
100 if (hw->phy.ops.init_params) {
101 ret_val = hw->phy.ops.init_params(hw);
126 if (hw->mbx.ops.init_params) {
127 ret_val = hw->mbx.ops.init_params(hw);
585 if (hw->mac.ops.get_bus_info)
586 return hw->mac.ops
[all...]
/freebsd-current/sys/netgraph/
H A Dng_patch.c74 offsetof(struct ng_patch_config, ops));
237 switch (conf->ops[i].length)
240 conf->ops[i].val.v8 = conf->ops[i].val.v1;
243 conf->ops[i].val.v8 = conf->ops[i].val.v2;
246 conf->ops[i].val.v8 = conf->ops[i].val.v4;
263 switch (conf->ops[i].length)
266 conf->ops[
[all...]
/freebsd-current/sys/kern/
H A Dsubr_kobj.c98 kobj_class_compile_common(kobj_class_t cls, kobj_ops_t ops) argument
106 if (cls->ops)
118 * Then initialise the ops table.
121 ops->cache[i] = &null_method;
122 ops->cls = cls;
123 cls->ops = ops;
129 kobj_ops_t ops; local
133 ops = malloc(sizeof(struct kobj_ops), M_KOBJ, mflags);
134 if (ops
163 kobj_class_compile_static(kobj_class_t cls, kobj_ops_t ops) argument
232 void* ops = NULL; local
[all...]
/freebsd-current/lib/libiscsiutil/
H A Dconnection.c36 connection_init(struct connection *conn, const struct connection_ops *ops, argument
40 conn->conn_ops = ops;
/freebsd-current/contrib/less/
H A Dcvt.c22 public int cvt_length(int len, int ops) argument
48 * Convert text. Perform the transformations specified by ops.
52 public void cvt_text(char *odst, char *osrc, int *chpos, int *lenp, int ops) argument
71 if ((ops & CVT_BS) && ch == '\b' && dst > odst)
78 } else if ((ops & CVT_ANSI) && (pansi = ansi_start(ch)) != NULL)
91 if ((ops & CVT_TO_LC) && IS_UPPER(ch))
101 if ((ops & CVT_CRLF) && edst > odst && edst[-1] == '\r')
/freebsd-current/sbin/ipf/libipf/
H A Dparseipfexpr.c38 char *temp, *arg, *s, *t, *ops, *error; local
75 for (ops = strtok(temp, ";"); ops != NULL; ops = strtok(NULL, ";")) {
76 arg = strchr(ops, '=');
77 if ((arg < ops + 2) || (arg == NULL)) {
92 if (strcmp(ops, e->ipoe_word) == 0)
96 asprintf(&error, "keyword (%.10s) not found", ops);
145 if (!strcasecmp(ops, "ip.addr") ||
146 !strcasecmp(ops, "i
[all...]
/freebsd-current/lib/libc/xdr/
H A Dxdr_sizeof.c127 struct xdr_ops ops; local
133 ops.x_putlong = x_putlong;
134 ops.x_putbytes = x_putbytes;
135 ops.x_inline = x_inline;
136 ops.x_getpostn = x_getpostn;
137 ops.x_setpostn = x_setpostn;
138 ops.x_destroy = x_destroy;
141 ops.x_getlong = (dummyfunc1) harmless;
142 ops.x_getbytes = (dummyfunc2) harmless;
145 x.x_ops = &ops;
[all...]
/freebsd-current/sys/xdr/
H A Dxdr_sizeof.c132 struct xdr_ops ops; local
138 ops.x_putlong = x_putlong;
139 ops.x_putbytes = x_putbytes;
140 ops.x_inline = x_inline;
141 ops.x_getpostn = x_getpostn;
142 ops.x_setpostn = x_setpostn;
143 ops.x_destroy = x_destroy;
146 ops.x_getlong = (dummyfunc1) harmless;
147 ops.x_getbytes = (dummyfunc2) harmless;
150 x.x_ops = &ops;
[all...]

Completed in 675 milliseconds

1234567891011>>