Home
last modified time | relevance | path

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

1234

/linux-6.12.1/sound/core/seq/oss/
Dseq_oss_synth.c46 struct snd_seq_oss_callback oper; member
104 rec->oper = reg->oper; in snd_seq_oss_synth_probe()
213 if (rec->oper.open == NULL || rec->oper.close == NULL) { in snd_seq_oss_synth_setup()
226 if (!try_module_get(rec->oper.owner)) { in snd_seq_oss_synth_setup()
230 if (rec->oper.open(&info->arg, rec->private_data) < 0) { in snd_seq_oss_synth_setup()
231 module_put(rec->oper.owner); in snd_seq_oss_synth_setup()
239 rec->oper.close(&info->arg); in snd_seq_oss_synth_setup()
240 module_put(rec->oper.owner); in snd_seq_oss_synth_setup()
315 rec->oper.close(&info->arg); in snd_seq_oss_synth_cleanup()
316 module_put(rec->oper.owner); in snd_seq_oss_synth_cleanup()
[all …]
/linux-6.12.1/net/mac80211/
Dspectmgmt.c319 cfg80211_chandef_create(&csa_ie->chanreq.oper, new_chan, in ieee80211_parse_ch_switch_ie()
323 cfg80211_chandef_create(&csa_ie->chanreq.oper, new_chan, in ieee80211_parse_ch_switch_ie()
327 cfg80211_chandef_create(&csa_ie->chanreq.oper, new_chan, in ieee80211_parse_ch_switch_ie()
331 cfg80211_chandef_create(&csa_ie->chanreq.oper, new_chan, in ieee80211_parse_ch_switch_ie()
334 switch (sdata->vif.bss_conf.chanreq.oper.width) { in ieee80211_parse_ch_switch_ie()
337 csa_ie->chanreq.oper.width = in ieee80211_parse_ch_switch_ie()
338 sdata->vif.bss_conf.chanreq.oper.width; in ieee80211_parse_ch_switch_ie()
347 csa_ie->chanreq.ap = csa_ie->chanreq.oper; in ieee80211_parse_ch_switch_ie()
354 new_chandef = csa_ie->chanreq.oper; in ieee80211_parse_ch_switch_ie()
365 new_chandef = csa_ie->chanreq.oper; in ieee80211_parse_ch_switch_ie()
[all …]
Dmesh.c100 cfg80211_chandef_create(&sta_chan_def, sdata->vif.bss_conf.chanreq.oper.chan, in mesh_matches_local()
114 if (!cfg80211_chandef_compatible(&sdata->vif.bss_conf.chanreq.oper, in mesh_matches_local()
439 sdata->vif.bss_conf.chanreq.oper.width == NL80211_CHAN_WIDTH_20_NOHT || in mesh_add_ht_cap_ie()
440 sdata->vif.bss_conf.chanreq.oper.width == NL80211_CHAN_WIDTH_5 || in mesh_add_ht_cap_ie()
441 sdata->vif.bss_conf.chanreq.oper.width == NL80211_CHAN_WIDTH_10) in mesh_add_ht_cap_ie()
480 sdata->vif.bss_conf.chanreq.oper.width == NL80211_CHAN_WIDTH_20_NOHT || in mesh_add_ht_oper_ie()
481 sdata->vif.bss_conf.chanreq.oper.width == NL80211_CHAN_WIDTH_5 || in mesh_add_ht_oper_ie()
482 sdata->vif.bss_conf.chanreq.oper.width == NL80211_CHAN_WIDTH_10) in mesh_add_ht_oper_ie()
489 ieee80211_ie_build_ht_oper(pos, ht_cap, &sdata->vif.bss_conf.chanreq.oper, in mesh_add_ht_oper_ie()
511 sdata->vif.bss_conf.chanreq.oper.width == NL80211_CHAN_WIDTH_20_NOHT || in mesh_add_vht_cap_ie()
[all …]
Dchan.c92 if (!cfg80211_chandef_identical(&a->oper, &b->oper)) in ieee80211_chanreq_identical()
110 compat = cfg80211_chandef_compatible(&a->oper, &b->oper); in ieee80211_chanreq_compatible()
115 tmp->oper = *compat; in ieee80211_chanreq_compatible()
129 .oper = ctx->conf.def, in ieee80211_chanctx_compatible()
336 width = max(link->conf->chanreq.oper.width, in ieee80211_get_chanctx_max_required_bw()
345 width = link->conf->chanreq.oper.width; in ieee80211_get_chanctx_max_required_bw()
453 new_chandef = &link->reserved.oper; in ieee80211_chan_bw_change()
455 new_chandef = &link_conf->chanreq.oper; in ieee80211_chan_bw_change()
508 const struct cfg80211_chan_def *chandef = &chanreq->oper; in _ieee80211_change_chanctx()
510 .oper = ctx->conf.def, in _ieee80211_change_chanctx()
[all …]
Dibss.c260 chanreq.oper = *req_chandef; in __ieee80211_sta_join_ibss()
261 chan = chanreq.oper.chan; in __ieee80211_sta_join_ibss()
262 if (!cfg80211_reg_can_beacon(local->hw.wiphy, &chanreq.oper, in __ieee80211_sta_join_ibss()
264 if (chanreq.oper.width == NL80211_CHAN_WIDTH_5 || in __ieee80211_sta_join_ibss()
265 chanreq.oper.width == NL80211_CHAN_WIDTH_10 || in __ieee80211_sta_join_ibss()
266 chanreq.oper.width == NL80211_CHAN_WIDTH_20_NOHT || in __ieee80211_sta_join_ibss()
267 chanreq.oper.width == NL80211_CHAN_WIDTH_20) { in __ieee80211_sta_join_ibss()
272 chanreq.oper.width = NL80211_CHAN_WIDTH_20; in __ieee80211_sta_join_ibss()
273 chanreq.oper.center_freq1 = chan->center_freq; in __ieee80211_sta_join_ibss()
275 if (!cfg80211_reg_can_beacon(local->hw.wiphy, &chanreq.oper, in __ieee80211_sta_join_ibss()
[all …]
Dmlme.c910 chanreq->oper = *ap_chandef; in ieee80211_determine_chan_mode()
914 while (!ieee80211_chandef_usable(sdata, &chanreq->oper, in ieee80211_determine_chan_mode()
916 if (WARN_ON(chanreq->oper.width == NL80211_CHAN_WIDTH_20_NOHT)) { in ieee80211_determine_chan_mode()
925 !cfg80211_chandef_usable(sdata->wdev.wiphy, &chanreq->oper, in ieee80211_determine_chan_mode()
934 !cfg80211_chandef_usable(sdata->wdev.wiphy, &chanreq->oper, in ieee80211_determine_chan_mode()
942 if (chanreq->oper.width != ap_chandef->width || ap_mode != conn->mode) in ieee80211_determine_chan_mode()
976 if (WARN_ON_ONCE(!cfg80211_chandef_valid(&chanreq->oper))) { in ieee80211_determine_chan_mode()
991 struct ieee80211_channel *channel = link->conf->chanreq.oper.chan; in ieee80211_config_bw()
1020 chanreq.oper = ap_chandef; in ieee80211_config_bw()
1044 ieee80211_min_bw_limit_from_chandef(&chanreq.oper)) in ieee80211_config_bw()
[all …]
Dtdls.c162 if (!ieee80211_chandef_to_operating_class(&link->conf->chanreq.oper, in ieee80211_tdls_add_oper_classes()
441 sta->tdls_chandef = link->conf->chanreq.oper; in ieee80211_tdls_add_setup_start_ies()
614 sta->tdls_chandef = link->conf->chanreq.oper; in ieee80211_tdls_add_setup_cfm_ies()
660 &link->conf->chanreq.oper, prot, in ieee80211_tdls_add_setup_cfm_ies()
1412 const u8 *peer, enum nl80211_tdls_operation oper) in ieee80211_tdls_oper() argument
1427 switch (oper) { in ieee80211_tdls_oper()
1441 tdls_dbg(sdata, "TDLS oper %d peer %pM\n", oper, peer); in ieee80211_tdls_oper()
1443 switch (oper) { in ieee80211_tdls_oper()
1502 enum nl80211_tdls_operation oper, in ieee80211_tdls_oper_request() argument
1509 oper); in ieee80211_tdls_oper_request()
[all …]
Dcfg.c886 struct ieee80211_chan_req chanreq = { .oper = *chandef }; in ieee80211_set_monitor_channel()
891 if (cfg80211_chandef_identical(&local->monitor_chanreq.oper, in ieee80211_set_monitor_channel()
892 &chanreq.oper)) in ieee80211_set_monitor_channel()
900 if (cfg80211_chandef_identical(&sdata->vif.bss_conf.chanreq.oper, in ieee80211_set_monitor_channel()
901 &chanreq.oper)) in ieee80211_set_monitor_channel()
1283 struct ieee80211_chan_req chanreq = { .oper = params->chandef }; in ieee80211_start_ap()
1666 chandef = link_conf->chanreq.oper; in ieee80211_stop_ap()
1883 ieee80211_parse_bitrates(link->conf->chanreq.oper.width, in sta_link_apply_parameters()
2658 struct ieee80211_chan_req chanreq = { .oper = setup->chandef }; in ieee80211_join_mesh()
2718 if (!ieee80211_parse_bitrates(link->conf->chanreq.oper.width, in ieee80211_change_bss()
[all …]
Drate.c282 if (WARN_ON(!link->conf->chanreq.oper.chan)) in ieee80211_check_rate_mask()
285 band = link->conf->chanreq.oper.chan->band; in ieee80211_check_rate_mask()
765 flags = ieee80211_chandef_rate_flags(&sdata->vif.bss_conf.chanreq.oper); in rate_control_cap_mask()
821 chan_width = sta->sdata->vif.bss_conf.chanreq.oper.width; in rate_control_apply_mask_ratetbl()
858 chan_width = sdata->vif.bss_conf.chanreq.oper.width; in rate_control_apply_mask()
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()
1263 local->monitor_chanreq.oper = dflt_chandef; in ieee80211_register_hw()
/linux-6.12.1/net/sched/
Dsch_taprio.c206 struct sched_gate_list **oper) in switch_schedules() argument
211 if (*oper) in switch_schedules()
212 call_rcu(&(*oper)->rcu, taprio_free_sched_cb); in switch_schedules()
214 *oper = *admin; in switch_schedules()
866 static bool should_restart_cycle(const struct sched_gate_list *oper, in should_restart_cycle() argument
869 if (list_is_last(&entry->list, &oper->entries)) in should_restart_cycle()
872 if (ktime_compare(entry->end_time, oper->cycle_end_time) == 0) in should_restart_cycle()
879 const struct sched_gate_list *oper, in should_change_schedules() argument
900 extension_time = ktime_add_ns(end_time, oper->cycle_time_extension); in should_change_schedules()
917 struct sched_gate_list *oper, *admin; in advance_sched() local
[all …]
/linux-6.12.1/scripts/dtc/
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-6.12.1/drivers/net/fddi/skfp/
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-6.12.1/drivers/net/ethernet/microchip/lan966x/
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-6.12.1/drivers/net/ethernet/pensando/ionic/
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-6.12.1/drivers/net/ethernet/amd/pds_core/
Dfw.c35 .fw_control.oper = PDS_CORE_FW_INSTALL_ASYNC in pdsc_devcmd_fw_install()
52 .fw_control.oper = PDS_CORE_FW_ACTIVATE_ASYNC, in pdsc_devcmd_fw_activate()
68 .fw_control.oper = fw_cmd, in pdsc_fw_status_long_wait()
/linux-6.12.1/drivers/crypto/axis/
Dartpec6_crypto.c309 int oper; member
1001 create_hash_pad(int oper, unsigned char *dst, u64 dgstlen, u64 bitcount) in create_hash_pad() argument
1006 switch (oper) { in create_hash_pad()
1455 u32 oper; in artpec6_crypto_prepare_hash() local
1458 oper = FIELD_GET(A6_CRY_MD_OPER, req_ctx->hash_md); in artpec6_crypto_prepare_hash()
1460 oper = FIELD_GET(A7_CRY_MD_OPER, req_ctx->hash_md); in artpec6_crypto_prepare_hash()
1484 hash_pad_len = create_hash_pad(oper, req_ctx->pad_buffer, in artpec6_crypto_prepare_hash()
1678 u32 oper; in artpec6_crypto_prepare_crypto() local
1726 oper = regk_crypto_aes_ecb; in artpec6_crypto_prepare_crypto()
1731 oper = regk_crypto_aes_cbc; in artpec6_crypto_prepare_crypto()
[all …]
/linux-6.12.1/drivers/media/tuners/
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()
Dqt1010_priv.h79 u8 oper, reg, val; member
/linux-6.12.1/drivers/net/ethernet/ti/
Dam65-cpsw-qos.c494 static int am65_cpsw_port_est_is_swapped(struct net_device *ndev, int *oper, in am65_cpsw_port_est_is_swapped() argument
501 *oper = !!(val & AM65_CPSW_PN_FST_EST_BUFACT); in am65_cpsw_port_est_is_swapped()
506 return *admin == *oper; in am65_cpsw_port_est_is_swapped()
523 int oper, admin; in am65_cpsw_port_est_get_free_buf_num() local
527 if (am65_cpsw_port_est_is_swapped(ndev, &oper, &admin)) in am65_cpsw_port_est_get_free_buf_num()
528 return !oper; in am65_cpsw_port_est_get_free_buf_num()
533 am65_cpsw_port_est_assign_buf_num(ndev, oper); in am65_cpsw_port_est_get_free_buf_num()
537 oper, admin); in am65_cpsw_port_est_get_free_buf_num()
594 int oper, admin; in am65_cpsw_est_update_state() local
599 if (!am65_cpsw_port_est_is_swapped(ndev, &oper, &admin)) in am65_cpsw_est_update_state()
/linux-6.12.1/drivers/net/wireless/intel/iwlwifi/mvm/tests/
Dlinks.c196 link_conf.chanreq.oper = params->chandef; in KUNIT_ARRAY_PARAM_DESC()
404 conf->chanreq.oper = chandef_a; in KUNIT_ARRAY_PARAM_DESC()
410 conf->chanreq.oper = chandef_b; in KUNIT_ARRAY_PARAM_DESC()
/linux-6.12.1/include/sound/
Dseq_oss.h76 struct snd_seq_oss_callback oper; member
/linux-6.12.1/net/tipc/
Dtrace.h408 __field(u8, oper)
417 __entry->oper = netif_oper_up(dev);
422 __get_str(b_name), (__entry->oper) ? "up" : "down",
/linux-6.12.1/drivers/net/ethernet/marvell/prestera/
Dprestera.h99 bool oper; member
210 u8 oper; member
/linux-6.12.1/drivers/net/ethernet/intel/i40e/
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