Home
last modified time | relevance | path

Searched refs:oper (Results 1 – 25 of 79) sorted by relevance

1234

/linux/include/linux/
H A Dieee80211-uhr.h272 const struct ieee80211_uhr_operation *oper = (const void *)data;
273 u8 needed = sizeof(*oper); in ieee80211_uhr_oper_size_ok()
279 if (oper->params & cpu_to_le16(IEEE80211_UHR_OPER_PARAMS_DPS_PRES)) { in ieee80211_uhr_oper_size_ok()
286 if (oper->params & cpu_to_le16(IEEE80211_UHR_OPER_PARAMS_NPCA_PRES)) { in ieee80211_uhr_oper_size_ok()
303 if (oper->params & cpu_to_le16(IEEE80211_UHR_OPER_PARAMS_PEDCA_PRES)) { in ieee80211_uhr_oper_size_ok()
310 if (oper->params & cpu_to_le16(IEEE80211_UHR_OPER_PARAMS_DBE_PRES)) { in ieee80211_uhr_oper_size_ok()
331 ieee80211_uhr_npca_info(const struct ieee80211_uhr_operation *oper)
333 const u8 *pos = oper->variable;
335 if (!(oper->params & cpu_to_le16(IEEE80211_UHR_OPER_PARAMS_NPCA_PRES))) in ieee80211_uhr_npca_info()
338 if (!(oper in ieee80211_uhr_npca_info()
275 const struct ieee80211_uhr_operation *oper = (const void *)data; ieee80211_uhr_oper_size_ok() local
334 ieee80211_uhr_npca_info(const struct ieee80211_uhr_operation * oper) ieee80211_uhr_npca_info() argument
351 ieee80211_uhr_npca_dis_subch_bitmap(const struct ieee80211_uhr_operation * oper) ieee80211_uhr_npca_dis_subch_bitmap() argument
365 ieee80211_uhr_oper_dbe_info(const struct ieee80211_uhr_operation * oper) ieee80211_uhr_oper_dbe_info() argument
[all...]
/linux/sound/core/seq/oss/
H A Dseq_oss_synth.c39 struct snd_seq_oss_callback oper; member
96 rec->oper = reg->oper; in snd_seq_oss_synth_probe()
197 if (rec->oper.open == NULL || rec->oper.close == NULL) in snd_seq_oss_synth_setup()
208 if (!try_module_get(rec->oper.owner)) in snd_seq_oss_synth_setup()
210 if (rec->oper.open(&info->arg, rec->private_data) < 0) { in snd_seq_oss_synth_setup()
211 module_put(rec->oper.owner); in snd_seq_oss_synth_setup()
219 rec->oper.close(&info->arg); in snd_seq_oss_synth_setup()
220 module_put(rec->oper.owner); in snd_seq_oss_synth_setup()
294 rec->oper.close(&info->arg); in snd_seq_oss_synth_cleanup()
295 module_put(rec->oper.owner); in snd_seq_oss_synth_cleanup()
[all …]
/linux/net/mac80211/
H A Dnan.c18 nan_channel->chanreq.oper = cfg_nan_channel->chandef; in ieee80211_nan_init_channel()
33 if (WARN_ON(!cfg80211_chandef_identical(&nan_channel->chanreq.oper, in ieee80211_nan_update_channel()
70 if (!nan_channel->chanreq.oper.chan) in ieee80211_nan_use_chanctx()
73 if (ieee80211_check_combinations(sdata, &nan_channel->chanreq.oper, in ieee80211_nan_use_chanctx()
189 if (!nan_channel->chanreq.oper.chan) in ieee80211_nan_remove_channel()
244 if (!sched_cfg->channels[i].chanreq.oper.chan) in ieee80211_nan_find_free_channel()
267 if (!sched_cfg->channels[j].chanreq.oper.chan) in ieee80211_nan_set_local_sched()
269 if (cfg80211_chandef_identical(&sched_cfg->channels[j].chanreq.oper, in ieee80211_nan_set_local_sched()
331 if (!sched_cfg->channels[i].chanreq.oper.chan) in ieee80211_nan_set_local_sched()
335 if (cfg80211_chandef_identical(&sched_cfg->channels[i].chanreq.oper, in ieee80211_nan_set_local_sched()
[all...]
H A Dchan.c46 if (!nan_channel->chanreq.oper.chan) in ieee80211_chanctx_user_iter_next_nan_channel()
283 if (!cfg80211_chandef_identical(&a->oper, &b->oper)) in ieee80211_chanreq_identical()
313 _a.oper.npca_chan = NULL; in ieee80211_chanreq_compatible()
314 _a.oper.npca_punctured = 0; in ieee80211_chanreq_compatible()
318 _b.oper.npca_chan = NULL; in ieee80211_chanreq_compatible()
319 _b.oper.npca_punctured = 0; in ieee80211_chanreq_compatible()
322 compat = cfg80211_chandef_compatible(&_a.oper, &_b.oper); in ieee80211_chanreq_compatible()
327 tmp->oper = *compat; in ieee80211_chanreq_compatible()
489 width = ieee80211_sta_current_bw(link_sta, &link->conf->chanreq.oper, in ieee80211_get_sta_bw()
539 return link->conf->chanreq.oper.width; in ieee80211_get_width_of_link()
[all …]
H A Dspectmgmt.c318 cfg80211_chandef_create(&csa_ie->chanreq.oper, new_chan, in ieee80211_parse_ch_switch_ie()
322 cfg80211_chandef_create(&csa_ie->chanreq.oper, new_chan, in ieee80211_parse_ch_switch_ie()
326 cfg80211_chandef_create(&csa_ie->chanreq.oper, new_chan, in ieee80211_parse_ch_switch_ie()
330 cfg80211_chandef_create(&csa_ie->chanreq.oper, new_chan, in ieee80211_parse_ch_switch_ie()
336 csa_ie->chanreq.ap = csa_ie->chanreq.oper; in ieee80211_parse_ch_switch_ie()
343 new_chandef = csa_ie->chanreq.oper; in ieee80211_parse_ch_switch_ie()
355 new_chandef = csa_ie->chanreq.oper; in ieee80211_parse_ch_switch_ie()
375 &csa_ie->chanreq.oper)) { in ieee80211_parse_ch_switch_ie()
382 csa_ie->chanreq.oper = new_chandef; in ieee80211_parse_ch_switch_ie()
H A Dmesh.c103 cfg80211_chandef_create(&sta_chan_def, sdata->vif.bss_conf.chanreq.oper.chan, in mesh_matches_local()
117 if (!cfg80211_chandef_compatible(&sdata->vif.bss_conf.chanreq.oper, in mesh_matches_local()
442 sdata->vif.bss_conf.chanreq.oper.width == NL80211_CHAN_WIDTH_20_NOHT) in mesh_add_ht_cap_ie()
481 sdata->vif.bss_conf.chanreq.oper.width == NL80211_CHAN_WIDTH_20_NOHT) in mesh_add_ht_oper_ie()
488 ieee80211_ie_build_ht_oper(pos, ht_cap, &sdata->vif.bss_conf.chanreq.oper, in mesh_add_ht_oper_ie()
510 sdata->vif.bss_conf.chanreq.oper.width == NL80211_CHAN_WIDTH_20_NOHT) in mesh_add_vht_cap_ie()
549 sdata->vif.bss_conf.chanreq.oper.width == NL80211_CHAN_WIDTH_20_NOHT) in mesh_add_vht_oper_ie()
557 &sdata->vif.bss_conf.chanreq.oper); in mesh_add_vht_oper_ie()
571 if (sdata->vif.bss_conf.chanreq.oper.width == NL80211_CHAN_WIDTH_20_NOHT) in mesh_add_he_cap_ie()
591 sdata->vif.bss_conf.chanreq.oper.width == NL80211_CHAN_WIDTH_20_NOHT) in mesh_add_he_oper_ie()
[all …]
H A Dibss.c256 chanreq.oper = *req_chandef; in __ieee80211_sta_join_ibss()
257 chan = chanreq.oper.chan; in __ieee80211_sta_join_ibss()
258 if (!cfg80211_reg_can_beacon(local->hw.wiphy, &chanreq.oper, in __ieee80211_sta_join_ibss()
260 if (chanreq.oper.width == NL80211_CHAN_WIDTH_20_NOHT || in __ieee80211_sta_join_ibss()
261 chanreq.oper.width == NL80211_CHAN_WIDTH_20) { in __ieee80211_sta_join_ibss()
266 chanreq.oper.width = NL80211_CHAN_WIDTH_20; in __ieee80211_sta_join_ibss()
267 chanreq.oper.center_freq1 = chan->center_freq; in __ieee80211_sta_join_ibss()
269 if (!cfg80211_reg_can_beacon(local->hw.wiphy, &chanreq.oper, in __ieee80211_sta_join_ibss()
278 &chanreq.oper, NL80211_IFTYPE_ADHOC); in __ieee80211_sta_join_ibss()
304 capability, tsf, &chanreq.oper, in __ieee80211_sta_join_ibss()
[all...]
H A Dmlme.c648 "Missing mandatory rates for %d Nss, rx %d, tx %d oper %d, disable VHT\n", in ieee80211_verify_sta_vht_mcs_support()
734 "Invalid rates for %d Nss, rx %d, tx %d oper %d, disable HE\n", in ieee80211_verify_peer_he_mcs_support()
1257 chanreq->oper = *ap_chandef; in ieee80211_determine_chan_mode()
1258 if (!cfg80211_chandef_usable(sdata->wdev.wiphy, &chanreq->oper, in ieee80211_determine_chan_mode()
1307 chanreq->oper = *ap_chandef; in ieee80211_determine_chan_mode()
1336 while (!ieee80211_chandef_usable(sdata, &chanreq->oper, in ieee80211_determine_chan_mode()
1338 if (chanreq->oper.width == NL80211_CHAN_WIDTH_20_NOHT) { in ieee80211_determine_chan_mode()
1341 chanreq->oper.chan->center_freq); in ieee80211_determine_chan_mode()
1350 !cfg80211_chandef_usable(sdata->wdev.wiphy, &chanreq->oper, in ieee80211_determine_chan_mode()
1359 !cfg80211_chandef_usable(sdata->wdev.wiphy, &chanreq->oper, in ieee80211_determine_chan_mode()
[all...]
H A Dtdls.c162 if (!ieee80211_chandef_to_operating_class(&link->conf->chanreq.oper, in ieee80211_tdls_add_oper_classes()
445 sta->tdls_chandef = link->conf->chanreq.oper; in ieee80211_tdls_add_setup_start_ies()
618 sta->tdls_chandef = link->conf->chanreq.oper; in ieee80211_tdls_add_setup_cfm_ies()
664 &link->conf->chanreq.oper, prot, in ieee80211_tdls_add_setup_cfm_ies()
948 4 + /* oper classes */ in ieee80211_tdls_build_mgmt_packet_data()
1428 const u8 *peer, enum nl80211_tdls_operation oper) in ieee80211_tdls_oper() argument
1443 switch (oper) { in ieee80211_tdls_oper()
1457 tdls_dbg(sdata, "TDLS oper %d peer %pM\n", oper, peer); in ieee80211_tdls_oper()
1463 switch (oper) { in ieee80211_tdls_oper()
1518 ieee80211_tdls_oper_request(struct ieee80211_vif * vif,const u8 * peer,enum nl80211_tdls_operation oper,u16 reason_code,gfp_t gfp) ieee80211_tdls_oper_request() argument
[all...]
H A Dcfg.c1144 struct ieee80211_chan_req chanreq = { .oper = *chandef }; in ieee80211_set_fils_discovery()
1151 if (cfg80211_chandef_identical(&local->monitor_chanreq.oper, in ieee80211_set_fils_discovery()
1152 &chanreq.oper)) in ieee80211_set_fils_discovery()
1161 cfg80211_chandef_identical(&sdata->vif.bss_conf.chanreq.oper, in ieee80211_set_fils_discovery()
1162 &chanreq.oper)) in ieee80211_set_fils_discovery()
1524 if (link->conf->chanreq.oper.chan->band == NL80211_BAND_S1GHZ) in ieee80211_assign_beacon()
1776 .oper = params->chandef, in ieee80211_start_ap()
1897 chanreq.oper.npca_chan = NULL; in ieee80211_start_ap()
1898 chanreq.oper.npca_punctured = 0; in ieee80211_start_ap()
2228 chan = READ_ONCE(link_conf->chanreq.oper in sta_apply_mesh_params()
[all...]
H A Dutil.c1585 chandef.width = sdata->vif.bss_conf.chanreq.oper.width; in ieee80211_build_probe_req()
3154 const struct ieee80211_vht_operation *oper, in ieee80211_chandef_vht_oper()
3170 if (!oper || !htop) in ieee80211_chandef_vht_oper()
3182 ccfs0 = oper->center_freq_seg0_idx; in ieee80211_chandef_vht_oper()
3183 ccfs1 = oper->center_freq_seg1_idx; in ieee80211_chandef_vht_oper()
3236 switch (oper->chan_width) { in ieee80211_chandef_vht_oper()
3395 const struct ieee80211_s1g_oper_ie *oper, in ieee80211_chandef_s1g_oper()
3400 if (!oper) in ieee80211_chandef_s1g_oper()
3403 switch (FIELD_GET(S1G_OPER_CH_WIDTH_OPER, oper->ch_width)) { in ieee80211_chandef_s1g_oper()
3425 switch (u8_get_bits(oper in ieee80211_chandef_s1g_oper()
3132 ieee80211_chandef_vht_oper(struct ieee80211_hw * hw,u32 vht_cap_info,const struct ieee80211_vht_operation * oper,const struct ieee80211_ht_operation * htop,struct cfg80211_chan_def * chandef) ieee80211_chandef_vht_oper() argument
3373 ieee80211_chandef_s1g_oper(struct ieee80211_local * local,const struct ieee80211_s1g_oper_ie * oper,struct cfg80211_chan_def * chandef) ieee80211_chandef_s1g_oper() argument
[all...]
/linux/net/sched/
H A Dsch_taprio.c218 struct sched_gate_list **oper) in switch_schedules()
223 if (*oper)
224 call_rcu(&(*oper)->rcu, taprio_free_sched_cb); in get_cycle_time_elapsed()
226 *oper = *admin; in get_cycle_time_elapsed()
885 static bool should_restart_cycle(const struct sched_gate_list *oper, in should_change_schedules()
888 if (list_is_last(&entry->list, &oper->entries)) in should_change_schedules()
891 if (ktime_compare(entry->end_time, oper->cycle_end_time) == 0) in should_change_schedules()
898 const struct sched_gate_list *oper, in should_change_schedules()
919 extension_time = ktime_add_ns(end_time, oper->cycle_time_extension); in advance_sched()
936 struct sched_gate_list *oper, *admi in advance_sched()
211 switch_schedules(struct taprio_sched * q,struct sched_gate_list ** admin,struct sched_gate_list ** oper) switch_schedules() argument
873 should_restart_cycle(const struct sched_gate_list * oper,const struct sched_entry * entry) should_restart_cycle() argument
886 should_change_schedules(const struct sched_gate_list * admin,const struct sched_gate_list * oper,ktime_t end_time) should_change_schedules() argument
924 struct sched_gate_list *oper, *admin; advance_sched() local
1332 struct sched_gate_list *oper, *admin; taprio_dev_notifier() local
1432 struct sched_gate_list *oper, *admin; taprio_offload_config_changed() local
1827 struct sched_gate_list *oper, *admin, *new_admin; taprio_change() local
2036 struct sched_gate_list *oper, *admin; taprio_destroy() local
2396 struct sched_gate_list *oper, *admin; taprio_dump() local
[all...]
/linux/scripts/dtc/
H A Dfdtput.c24 enum oper_type oper; /* operation to perform */ member
232 switch (disp->oper) { in do_fdtput()
293 disp.oper = OPER_WRITE_PROP; in main()
310 disp.oper = OPER_CREATE_NODE; in main()
338 if (disp.oper == OPER_WRITE_PROP) { in main()
/linux/drivers/net/fddi/skfp/
H A Dsmtdef.c69 static int set_min_max(int maxflag, u_long mib, u_long limit, u_long *oper);
337 static int set_min_max(int maxflag, u_long mib, u_long limit, u_long *oper) in set_min_max() argument
340 old = *oper ; in set_min_max()
342 *oper = limit ; in set_min_max()
344 *oper = mib ; in set_min_max()
345 return old != *oper; in set_min_max()
/linux/drivers/net/ethernet/microchip/lan966x/
H A Dlan966x_taprio.c178 int err, oper = -1; in lan966x_taprio_find_list() local
193 oper = list[i]; in lan966x_taprio_find_list()
203 *obs_list = (oper == -1) ? *new_list : oper; in lan966x_taprio_find_list()
211 *obs_list = (oper == -1) ? *new_list : oper; in lan966x_taprio_find_list()
/linux/drivers/net/ethernet/pensando/ionic/
H A Dionic_fw.c42 .fw_control.oper = IONIC_FW_INSTALL_ASYNC in ionic_dev_cmd_firmware_install()
52 .fw_control.oper = IONIC_FW_ACTIVATE_ASYNC, in ionic_dev_cmd_firmware_activate()
67 .fw_control.oper = fw_cmd, in ionic_fw_status_long_wait()
/linux/drivers/media/tuners/
H A Dqt1010.c201 if (rd[i].oper == QT1010_WR) { in qt1010_set_params()
216 u8 oper, u8 reg, u8 reg_init_val, u8 *retval) in qt1010_init_meas1() argument
224 { QT1010_WR, 0x1e, oper }, in qt1010_init_meas1()
267 if (i2c_data[i].oper == QT1010_WR) { in qt1010_init_meas2()
328 switch (i2c_data[i].oper) { in qt1010_init()
H A Dqt1010_priv.h79 u8 oper, reg, val; member
/linux/drivers/net/ethernet/ti/
H A Dam65-cpsw-qos.c509 * admin -> oper or not
511 * Return true if already transitioned. i.e oper is equal to admin and buf
513 * false if before transition. i.e oper is not equal to admin, (i.e a
514 * previous admin command is waiting to be transitioned to oper state
517 static int am65_cpsw_port_est_is_swapped(struct net_device *ndev, int *oper, in am65_cpsw_port_est_is_swapped() argument
524 *oper = !!(val & AM65_CPSW_PN_FST_EST_BUFACT); in am65_cpsw_port_est_is_swapped()
529 return *admin == *oper; in am65_cpsw_port_est_is_swapped()
536 * If oper is same as admin, return the other buffer (!oper) as the admin
537 * buffer. If oper i
546 int oper, admin; am65_cpsw_port_est_get_free_buf_num() local
617 int oper, admin; am65_cpsw_est_update_state() local
[all...]
/linux/include/linux/pds/
H A Dpds_core_if.h331 u8 oper; member
874 u8 oper; member
895 u8 oper; member
/linux/include/sound/
H A Dseq_oss.h76 struct snd_seq_oss_callback oper; member
/linux/net/tipc/
H A Dtrace.h408 __field(u8, oper)
417 __entry->oper = netif_oper_up(dev);
420 TP_printk("%s on: <%s>/<%s> oper: %s carrier: %s bearer: %s\n",
422 __get_str(b_name), (__entry->oper) ? "up" : "down",
/linux/drivers/net/ethernet/marvell/prestera/
H A Dprestera_main.c293 state->link = smac.oper ? 1 : 0; in prestera_pcs_get_state()
295 state->an_complete = (smac.oper && port->autoneg) ? 1 : 0; in prestera_pcs_get_state()
828 smac.oper = pevt->data.mac.oper; in prestera_port_handle_event()
829 if (smac.oper) { in prestera_port_handle_event()
838 if (port->state_mac.oper) { in prestera_port_handle_event()
H A Dprestera.h99 bool oper; member
210 u8 oper; member
/linux/drivers/net/ethernet/intel/i40e/
H A Di40e_dcb.c648 u8 i, err, sync, oper; in i40e_cee_to_dcb_config() local
689 oper = (status & I40E_TLV_STATUS_OPER) ? 1 : 0; in i40e_cee_to_dcb_config()
691 if (!err && sync && oper) { in i40e_cee_to_dcb_config()
703 oper = (status & I40E_TLV_STATUS_OPER) ? 1 : 0; in i40e_cee_to_dcb_config()
705 if (!err && sync && oper) { in i40e_cee_to_dcb_config()
717 oper = (status & I40E_TLV_STATUS_OPER) ? 1 : 0; in i40e_cee_to_dcb_config()
719 if (!err && sync && oper) { in i40e_cee_to_dcb_config()

1234