Home
last modified time | relevance | path

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

1234

/linux/include/linux/
H A Dieee80211-uhr.h275 const struct ieee80211_uhr_operation *oper = (const void *)data; in ieee80211_uhr_oper_size_ok() local
276 u8 needed = sizeof(*oper); in ieee80211_uhr_oper_size_ok()
282 if (oper->params & cpu_to_le16(IEEE80211_UHR_OPER_PARAMS_DPS_PRES)) { in ieee80211_uhr_oper_size_ok()
289 if (oper->params & cpu_to_le16(IEEE80211_UHR_OPER_PARAMS_NPCA_PRES)) { in ieee80211_uhr_oper_size_ok()
306 if (oper->params & cpu_to_le16(IEEE80211_UHR_OPER_PARAMS_PEDCA_PRES)) { in ieee80211_uhr_oper_size_ok()
313 if (oper->params & cpu_to_le16(IEEE80211_UHR_OPER_PARAMS_DBE_PRES)) { in ieee80211_uhr_oper_size_ok()
334 ieee80211_uhr_npca_info(const struct ieee80211_uhr_operation *oper) in ieee80211_uhr_npca_info() argument
336 const u8 *pos = oper->variable; in ieee80211_uhr_npca_info()
338 if (!(oper->params & cpu_to_le16(IEEE80211_UHR_OPER_PARAMS_NPCA_PRES))) in ieee80211_uhr_npca_info()
341 if (!(oper->params & cpu_to_le16(IEEE80211_UHR_OPER_PARAMS_NPCA_ENA))) in ieee80211_uhr_npca_info()
[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()
302 if (!sched_cfg->channels[i].chanreq.oper.chan) in ieee80211_nan_set_local_sched()
306 if (cfg80211_chandef_identical(&sched_cfg->channels[i].chanreq.oper, in ieee80211_nan_set_local_sched()
381 &sched_cfg->channels[i].chanreq.oper; in ieee80211_nan_set_local_sched()
386 if (!cfg80211_chandef_identical(&backup_sched->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()
276 if (!cfg80211_chandef_identical(&a->oper, &b->oper)) in ieee80211_chanreq_identical()
306 _a.oper.npca_chan = NULL; in ieee80211_chanreq_compatible()
307 _a.oper.npca_punctured = 0; in ieee80211_chanreq_compatible()
311 _b.oper.npca_chan = NULL; in ieee80211_chanreq_compatible()
312 _b.oper.npca_punctured = 0; in ieee80211_chanreq_compatible()
315 compat = cfg80211_chandef_compatible(&_a.oper, &_b.oper); in ieee80211_chanreq_compatible()
320 tmp->oper = *compat; in ieee80211_chanreq_compatible()
482 width = ieee80211_sta_current_bw(link_sta, &link->conf->chanreq.oper, in ieee80211_get_sta_bw()
532 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 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.c1257 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()
1368 !cfg80211_chandef_usable(sdata->wdev.wiphy, &chanreq->oper, in ieee80211_determine_chan_mode()
1372 if (chanreq->oper.width != ap_chandef->width || ap_mode != conn->mode) 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()
1414 const u8 *peer, enum nl80211_tdls_operation oper) in ieee80211_tdls_oper() argument
1429 switch (oper) { in ieee80211_tdls_oper()
1443 tdls_dbg(sdata, "TDLS oper %d peer %pM\n", oper, peer); in ieee80211_tdls_oper()
1445 switch (oper) { in ieee80211_tdls_oper()
1504 enum nl80211_tdls_operation oper, in ieee80211_tdls_oper_request() argument
1511 oper); in ieee80211_tdls_oper_request()
[all …]
H A Dcfg.c1066 struct ieee80211_chan_req chanreq = { .oper = *chandef }; in ieee80211_set_monitor_channel()
1073 if (cfg80211_chandef_identical(&local->monitor_chanreq.oper, in ieee80211_set_monitor_channel()
1074 &chanreq.oper)) in ieee80211_set_monitor_channel()
1083 cfg80211_chandef_identical(&sdata->vif.bss_conf.chanreq.oper, in ieee80211_set_monitor_channel()
1084 &chanreq.oper)) in ieee80211_set_monitor_channel()
1445 if (link->conf->chanreq.oper.chan->band == NL80211_BAND_S1GHZ) in ieee80211_update_ap_bandwidth()
1650 .oper = params->chandef, in ieee80211_start_ap()
1771 chanreq.oper.npca_chan = NULL; in ieee80211_start_ap()
1772 chanreq.oper.npca_punctured = 0; in ieee80211_start_ap()
2111 chandef = link_conf->chanreq.oper; in ieee80211_stop_ap()
[all …]
H A Dmain.c101 struct cfg80211_chan_def *oper = NULL; in ieee80211_calc_hw_conf_chan() local
113 oper = &ctx->def; in ieee80211_calc_hw_conf_chan()
129 } else if (oper) { in ieee80211_calc_hw_conf_chan()
130 chandef = *oper; in ieee80211_calc_hw_conf_chan()
143 if (!oper || !cfg80211_chandef_identical(&chandef, oper)) in ieee80211_calc_hw_conf_chan()
1285 local->monitor_chanreq.oper = dflt_chandef; in ieee80211_register_hw()
H A Dutil.c1563 chandef.width = sdata->vif.bss_conf.chanreq.oper.width; in ieee80211_build_probe_req()
3132 const struct ieee80211_vht_operation *oper, in ieee80211_chandef_vht_oper() argument
3148 if (!oper || !htop) in ieee80211_chandef_vht_oper()
3160 ccfs0 = oper->center_freq_seg0_idx; in ieee80211_chandef_vht_oper()
3161 ccfs1 = oper->center_freq_seg1_idx; in ieee80211_chandef_vht_oper()
3214 switch (oper->chan_width) { in ieee80211_chandef_vht_oper()
3373 const struct ieee80211_s1g_oper_ie *oper, in ieee80211_chandef_s1g_oper() argument
3378 if (!oper) in ieee80211_chandef_s1g_oper()
3381 switch (FIELD_GET(S1G_OPER_CH_WIDTH_OPER, oper->ch_width)) { in ieee80211_chandef_s1g_oper()
3403 switch (u8_get_bits(oper->ch_width, S1G_OPER_CH_WIDTH_PRIMARY)) { in ieee80211_chandef_s1g_oper()
[all …]
/linux/net/sched/
H A Dsch_taprio.c211 struct sched_gate_list **oper) in switch_schedules() argument
216 if (*oper) in switch_schedules()
217 call_rcu(&(*oper)->rcu, taprio_free_sched_cb); in switch_schedules()
219 *oper = *admin; in switch_schedules()
873 static bool should_restart_cycle(const struct sched_gate_list *oper, in should_restart_cycle() argument
876 if (list_is_last(&entry->list, &oper->entries)) in should_restart_cycle()
879 if (ktime_compare(entry->end_time, oper->cycle_end_time) == 0) in should_restart_cycle()
886 const struct sched_gate_list *oper, in should_change_schedules() argument
907 extension_time = ktime_add_ns(end_time, oper->cycle_time_extension); in should_change_schedules()
924 struct sched_gate_list *oper, *admin; in advance_sched() 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.c517 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()
546 int oper, admin; in am65_cpsw_port_est_get_free_buf_num() local
550 if (am65_cpsw_port_est_is_swapped(ndev, &oper, &admin)) in am65_cpsw_port_est_get_free_buf_num()
551 return !oper; in am65_cpsw_port_est_get_free_buf_num()
556 am65_cpsw_port_est_assign_buf_num(ndev, oper); in am65_cpsw_port_est_get_free_buf_num()
560 oper, admin); in am65_cpsw_port_est_get_free_buf_num()
617 int oper, admin; in am65_cpsw_est_update_state() local
622 if (!am65_cpsw_port_est_is_swapped(ndev, &oper, &admin)) in am65_cpsw_est_update_state()
/linux/include/sound/
H A Dseq_oss.h76 struct snd_seq_oss_callback oper; member
/linux/include/linux/pds/
H A Dpds_core_if.h331 u8 oper; member
874 u8 oper; member
895 u8 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.h99 bool oper; member
210 u8 oper; member
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()
813 smac.oper = pevt->data.mac.oper; in prestera_port_handle_event()
814 if (smac.oper) { in prestera_port_handle_event()
823 if (port->state_mac.oper) { in prestera_port_handle_event()
/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