| /linux/sound/core/seq/oss/ |
| H A D | seq_oss_synth.c | 39 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 D | mesh.c | 103 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() 443 sdata->vif.bss_conf.chanreq.oper.width == NL80211_CHAN_WIDTH_5 || in mesh_add_ht_cap_ie() 444 sdata->vif.bss_conf.chanreq.oper.width == NL80211_CHAN_WIDTH_10) in mesh_add_ht_cap_ie() 483 sdata->vif.bss_conf.chanreq.oper.width == NL80211_CHAN_WIDTH_20_NOHT || in mesh_add_ht_oper_ie() 484 sdata->vif.bss_conf.chanreq.oper.width == NL80211_CHAN_WIDTH_5 || in mesh_add_ht_oper_ie() 485 sdata->vif.bss_conf.chanreq.oper.width == NL80211_CHAN_WIDTH_10) in mesh_add_ht_oper_ie() 492 ieee80211_ie_build_ht_oper(pos, ht_cap, &sdata->vif.bss_conf.chanreq.oper, in mesh_add_ht_oper_ie() 514 sdata->vif.bss_conf.chanreq.oper.width == NL80211_CHAN_WIDTH_20_NOHT || in mesh_add_vht_cap_ie() [all …]
|
| H A D | chan.c | 46 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() 294 compat = cfg80211_chandef_compatible(&a->oper, &b->oper); in ieee80211_chanreq_compatible() 299 tmp->oper = *compat; in ieee80211_chanreq_compatible() 526 return link->conf->chanreq.oper.width; in ieee80211_get_width_of_link() 546 return link->conf->chanreq.oper.width; in ieee80211_get_width_of_link() 571 return iter->nan_channel->chanreq.oper.width; in ieee80211_get_width_of_chanctx_user() 708 new_chandef = &link->reserved.oper; in ieee80211_chan_bw_change() 710 new_chandef = &link_conf->chanreq.oper; in ieee80211_chan_bw_change() 770 const struct cfg80211_chan_def *chandef = &chanreq->oper; in _ieee80211_change_chanctx() [all …]
|
| H A D | tdls.c | 162 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() 1408 const u8 *peer, enum nl80211_tdls_operation oper) in ieee80211_tdls_oper() argument 1423 switch (oper) { in ieee80211_tdls_oper() 1437 tdls_dbg(sdata, "TDLS oper %d peer %pM\n", oper, peer); in ieee80211_tdls_oper() 1439 switch (oper) { in ieee80211_tdls_oper() 1498 enum nl80211_tdls_operation oper, in ieee80211_tdls_oper_request() argument 1505 oper); in ieee80211_tdls_oper_request() [all …]
|
| H A D | mlme.c | 1137 chanreq->oper = *ap_chandef; in ieee80211_determine_chan_mode() 1138 if (!cfg80211_chandef_usable(sdata->wdev.wiphy, &chanreq->oper, in ieee80211_determine_chan_mode() 1187 chanreq->oper = *ap_chandef; in ieee80211_determine_chan_mode() 1216 while (!ieee80211_chandef_usable(sdata, &chanreq->oper, in ieee80211_determine_chan_mode() 1218 if (chanreq->oper.width == NL80211_CHAN_WIDTH_20_NOHT) { in ieee80211_determine_chan_mode() 1221 chanreq->oper.chan->center_freq); in ieee80211_determine_chan_mode() 1230 !cfg80211_chandef_usable(sdata->wdev.wiphy, &chanreq->oper, in ieee80211_determine_chan_mode() 1239 !cfg80211_chandef_usable(sdata->wdev.wiphy, &chanreq->oper, in ieee80211_determine_chan_mode() 1248 !cfg80211_chandef_usable(sdata->wdev.wiphy, &chanreq->oper, in ieee80211_determine_chan_mode() 1252 if (chanreq->oper.width != ap_chandef->width || ap_mode != conn->mode) in ieee80211_determine_chan_mode() [all …]
|
| H A D | cfg.c | 1065 struct ieee80211_chan_req chanreq = { .oper = *chandef }; in ieee80211_set_monitor_channel() 1072 if (cfg80211_chandef_identical(&local->monitor_chanreq.oper, in ieee80211_set_monitor_channel() 1073 &chanreq.oper)) in ieee80211_set_monitor_channel() 1082 cfg80211_chandef_identical(&sdata->vif.bss_conf.chanreq.oper, in ieee80211_set_monitor_channel() 1083 &chanreq.oper)) in ieee80211_set_monitor_channel() 1499 struct ieee80211_chan_req chanreq = { .oper = params->chandef }; in ieee80211_start_ap() 1921 chandef = link_conf->chanreq.oper; in ieee80211_stop_ap() 2227 enum nl80211_chan_width width = link->conf->chanreq.oper.width; in sta_link_apply_parameters() 3100 struct ieee80211_chan_req chanreq = { .oper = setup->chandef }; in ieee80211_join_mesh() 3328 chan = link->conf->chanreq.oper.chan; in ieee80211_scan() [all …]
|
| H A D | util.c | 1560 chandef.width = sdata->vif.bss_conf.chanreq.oper.width; in ieee80211_build_probe_req() 3111 const struct ieee80211_vht_operation *oper, in ieee80211_chandef_vht_oper() argument 3127 if (!oper || !htop) in ieee80211_chandef_vht_oper() 3139 ccfs0 = oper->center_freq_seg0_idx; in ieee80211_chandef_vht_oper() 3140 ccfs1 = oper->center_freq_seg1_idx; in ieee80211_chandef_vht_oper() 3191 switch (oper->chan_width) { in ieee80211_chandef_vht_oper() 3350 const struct ieee80211_s1g_oper_ie *oper, in ieee80211_chandef_s1g_oper() argument 3355 if (!oper) in ieee80211_chandef_s1g_oper() 3358 switch (FIELD_GET(S1G_OPER_CH_WIDTH_OPER, oper->ch_width)) { in ieee80211_chandef_s1g_oper() 3380 switch (u8_get_bits(oper->ch_width, S1G_OPER_CH_WIDTH_PRIMARY)) { in ieee80211_chandef_s1g_oper() [all …]
|
| H A D | rate.c | 304 if (WARN_ON(!link->conf->chanreq.oper.chan)) in ieee80211_check_rate_mask() 307 band = link->conf->chanreq.oper.chan->band; in ieee80211_check_rate_mask() 840 chan_width = sta->sdata->vif.bss_conf.chanreq.oper.width; in rate_control_apply_mask_ratetbl() 877 chan_width = sdata->vif.bss_conf.chanreq.oper.width; in rate_control_apply_mask()
|
| /linux/net/sched/ |
| H A D | sch_taprio.c | 211 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() 872 static bool should_restart_cycle(const struct sched_gate_list *oper, in should_restart_cycle() argument 875 if (list_is_last(&entry->list, &oper->entries)) in should_restart_cycle() 878 if (ktime_compare(entry->end_time, oper->cycle_end_time) == 0) in should_restart_cycle() 885 const struct sched_gate_list *oper, in should_change_schedules() argument 906 extension_time = ktime_add_ns(end_time, oper->cycle_time_extension); in should_change_schedules() 923 struct sched_gate_list *oper, *admin; in advance_sched() local [all …]
|
| /linux/scripts/dtc/ |
| H A D | fdtput.c | 24 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 D | smtdef.c | 69 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 D | lan966x_taprio.c | 178 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/amd/pds_core/ |
| H A D | fw.c | 35 .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()
|
| H A D | devlink.c | 107 .fw_control.oper = PDS_CORE_FW_GET_LIST, in pdsc_dl_info_get()
|
| /linux/drivers/net/ethernet/pensando/ionic/ |
| H A D | ionic_fw.c | 42 .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/net/wireless/intel/iwlwifi/mld/ |
| H A D | link.c | 175 if (link->chanreq.oper.width > NL80211_CHAN_WIDTH_20) in iwl_mld_fill_protection_flags() 217 if (link->chanreq.oper.width != NL80211_CHAN_WIDTH_20_NOHT) in iwl_mld_fill_qos_params() 696 link_conf->chanreq.oper.width; in iwl_mld_get_n_subchannels() 709 n_subchannels -= hweight16(link_conf->chanreq.oper.punctured); in iwl_mld_get_n_subchannels() 793 enum nl80211_band band = link_conf->chanreq.oper.chan->band; in iwl_mld_get_default_chan_load() 843 band = link_conf->chanreq.oper.chan->band; in iwl_mld_get_link_grade() 867 link_conf->chanreq.oper.width, in iwl_mld_get_link_grade() 868 link_conf->chanreq.oper.punctured, link_rssi); in iwl_mld_get_link_grade()
|
| H A D | iface.c | 659 if (!link->chanreq.oper.chan || in iwl_mld_handle_datapath_monitor_notif() 660 link->chanreq.oper.chan->band != NL80211_BAND_2GHZ || in iwl_mld_handle_datapath_monitor_notif() 661 link->chanreq.oper.width < NL80211_CHAN_WIDTH_40) in iwl_mld_handle_datapath_monitor_notif()
|
| /linux/drivers/media/tuners/ |
| H A D | qt1010.c | 201 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 D | qt1010_priv.h | 79 u8 oper, reg, val; member
|
| /linux/drivers/net/ethernet/ti/ |
| H A D | am65-cpsw-qos.c | 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() 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 D | seq_oss.h | 76 struct snd_seq_oss_callback oper; member
|
| /linux/net/tipc/ |
| H A D | trace.h | 408 __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 D | prestera_main.c | 293 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()
|
| H A D | prestera.h | 99 bool oper; member 210 u8 oper; member
|
| /linux/drivers/net/ethernet/intel/i40e/ |
| H A D | i40e_dcb.c | 648 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()
|