| /linux/drivers/mfd/ |
| H A D | atmel-flexcom.c | 28 #define FLEX_MR_OPMODE(opmode) (((opmode) << FLEX_MR_OPMODE_OFFSET) & \ argument 33 u32 opmode; member 49 err = of_property_read_u32(np, "atmel,flexcom-mode", &ddata->opmode); in atmel_flexcom_probe() 53 if (ddata->opmode < ATMEL_FLEXCOM_MODE_USART || in atmel_flexcom_probe() 54 ddata->opmode > ATMEL_FLEXCOM_MODE_TWI) in atmel_flexcom_probe() 75 writel(FLEX_MR_OPMODE(ddata->opmode), ddata->base + FLEX_MR); in atmel_flexcom_probe() 98 val = FLEX_MR_OPMODE(ddata->opmode); in atmel_flexcom_resume_noirq()
|
| H A D | at91-usart.c | 27 u32 opmode = AT91_USART_MODE_SERIAL; in at91_usart_mode_probe() local 29 device_property_read_u32(&pdev->dev, "atmel,usart-mode", &opmode); in at91_usart_mode_probe() 31 switch (opmode) { in at91_usart_mode_probe() 40 opmode); in at91_usart_mode_probe()
|
| /linux/drivers/usb/typec/ucsi/ |
| H A D | trace.h | 47 __field(u8, opmode) 58 __entry->opmode = UCSI_CONSTAT(con, PWR_OPMODE); 66 TP_printk("port%d status: change=%04x, opmode=%x, connected=%d, " 69 __entry->change, __entry->opmode, __entry->connected,
|
| /linux/drivers/net/wireless/ath/ath5k/ |
| H A D | mac80211-ops.c | 106 avf->opmode = vif->type; in ath5k_add_interface() 114 ATH5K_DBG(ah, ATH5K_DEBUG_MODE, "add interface mode %d\n", avf->opmode); in ath5k_add_interface() 117 if ((avf->opmode == NL80211_IFTYPE_AP) || in ath5k_add_interface() 118 (avf->opmode == NL80211_IFTYPE_ADHOC) || in ath5k_add_interface() 119 (avf->opmode == NL80211_IFTYPE_MESH_POINT)) { in ath5k_add_interface() 136 if (avf->opmode == NL80211_IFTYPE_AP) in ath5k_add_interface() 138 else if (avf->opmode == NL80211_IFTYPE_ADHOC) in ath5k_add_interface() 140 else if (avf->opmode == NL80211_IFTYPE_MESH_POINT) in ath5k_add_interface() 179 if (avf->opmode == NL80211_IFTYPE_AP) in ath5k_remove_interface() 181 else if (avf->opmode == NL80211_IFTYPE_ADHOC) in ath5k_remove_interface() [all …]
|
| H A D | base.h | 75 enum nl80211_iftype opmode; member 87 enum nl80211_iftype opmode; member
|
| /linux/drivers/net/wireless/ath/ath9k/ |
| H A D | ani.c | 185 if (ah->opmode == NL80211_IFTYPE_STATION && in ath9k_hw_set_ofdm_nil() 194 ah->opmode != NL80211_IFTYPE_STATION) in ath9k_hw_set_ofdm_nil() 245 if (ah->opmode == NL80211_IFTYPE_STATION && in ath9k_hw_set_cck_nil() 328 (ah->opmode != NL80211_IFTYPE_STATION && in ath9k_ani_reset() 329 ah->opmode != NL80211_IFTYPE_ADHOC)) { in ath9k_ani_reset() 341 "Restore defaults: opmode %u chan %d Mhz is_scanning=%d ofdm:%d cck:%d\n", in ath9k_ani_reset() 342 ah->opmode, in ath9k_ani_reset() 356 "Restore history: opmode %u chan %d Mhz is_scanning=%d ofdm:%d cck:%d\n", in ath9k_ani_reset() 357 ah->opmode, in ath9k_ani_reset()
|
| H A D | htc_drv_main.c | 173 priv->ah->opmode = NL80211_IFTYPE_ADHOC; in ath9k_htc_set_opmode() 175 priv->ah->opmode = NL80211_IFTYPE_AP; in ath9k_htc_set_opmode() 177 priv->ah->opmode = NL80211_IFTYPE_MESH_POINT; in ath9k_htc_set_opmode() 179 priv->ah->opmode = NL80211_IFTYPE_STATION; in ath9k_htc_set_opmode() 376 hvif.opmode = HTC_M_MONITOR; in ath9k_htc_add_monitor_interface() 395 priv->ah->opmode = NL80211_IFTYPE_MONITOR; in ath9k_htc_add_monitor_interface() 780 short_cal_interval = (ah->opmode == NL80211_IFTYPE_AP) ? in ath9k_htc_ani_work() 1052 hvif.opmode = HTC_M_STA; in ath9k_htc_add_interface() 1055 hvif.opmode = HTC_M_IBSS; in ath9k_htc_add_interface() 1058 hvif.opmode = HTC_M_HOSTAP; in ath9k_htc_add_interface() [all …]
|
| H A D | link.c | 350 short_cal_interval = (ah->opmode == NL80211_IFTYPE_AP) ? in ath_ani_calibrate() 488 if (ah->opmode == NL80211_IFTYPE_ADHOC) { in ath_check_ani() 491 } else if (ah->opmode == NL80211_IFTYPE_AP) { in ath_check_ani() 500 } else if (ah->opmode == NL80211_IFTYPE_STATION) { in ath_check_ani()
|
| /linux/drivers/net/wireless/ath/ |
| H A D | debug.c | 20 const char *ath_opmode_to_string(enum nl80211_iftype opmode) in ath_opmode_to_string() argument 22 switch (opmode) { in ath_opmode_to_string()
|
| H A D | ath.h | 323 /** Returns string describing opmode, or NULL if unknown mode. */ 325 const char *ath_opmode_to_string(enum nl80211_iftype opmode); 327 static inline const char *ath_opmode_to_string(enum nl80211_iftype opmode) in ath_opmode_to_string() argument
|
| /linux/drivers/net/wireless/rsi/ |
| H A D | rsi_mgmt.h | 234 enum opmode { enum 715 int rsi_set_vap_capabilities(struct rsi_common *common, enum opmode mode, 727 int rsi_hal_send_sta_notify_frame(struct rsi_common *common, enum opmode opmode, 731 void rsi_inform_bss_status(struct rsi_common *common, enum opmode opmode,
|
| H A D | rsi_91x_mgmt.c | 525 * @opmode: Operating mode of device. 535 int rsi_hal_send_sta_notify_frame(struct rsi_common *common, enum opmode opmode, in rsi_hal_send_sta_notify_frame() argument 559 if (opmode == RSI_OPMODE_STA) in rsi_hal_send_sta_notify_frame() 561 else if (opmode == RSI_OPMODE_AP) in rsi_hal_send_sta_notify_frame() 712 enum opmode mode, in rsi_set_vap_capabilities() 1458 * @opmode: Operating mode of device. 1471 enum opmode opmode, 1482 if (opmode in rsi_inform_bss_status() 1473 rsi_inform_bss_status(struct rsi_common * common,enum opmode opmode,u8 status,const u8 * addr,u8 qos_enable,u16 aid,struct ieee80211_sta * sta,u16 sta_id,u16 assoc_cap,struct ieee80211_vif * vif) rsi_inform_bss_status() argument [all...] |
| /linux/drivers/power/supply/ |
| H A D | rt9756.c | 350 unsigned int opmode; in rt9756_get_vbus_ovp() local 354 ret = regmap_field_read(data->rm_fields[F_OP_MODE], &opmode); in rt9756_get_vbus_ovp() 362 *val = opmode ? ovpval * 2 : ovpval; in rt9756_get_vbus_ovp() 368 unsigned int opmode; in rt9756_set_vbus_ovp() local 372 ret = regmap_field_read(data->rm_fields[F_OP_MODE], &opmode); in rt9756_set_vbus_ovp() 377 opmode ? val / 2 : val); in rt9756_set_vbus_ovp() 582 unsigned int opmode; in operation_mode_show() local 585 ret = regmap_field_read(data->rm_fields[F_OP_MODE], &opmode); in operation_mode_show() 589 return sysfs_emit(buf, "%s\n", rt9756_opmode_str[opmode]); in operation_mode_show()
|
| /linux/Documentation/devicetree/bindings/usb/ |
| H A D | st,stusb160x.yaml | 44 typec-power-opmode: true 76 typec-power-opmode = "default";
|
| /linux/drivers/net/wireless/realtek/rtlwifi/rtl8192ee/ |
| H A D | dm.c | 338 if (mac->opmode == NL80211_IFTYPE_AP || in rtl92ee_dm_find_minimum_rssi() 339 mac->opmode == NL80211_IFTYPE_ADHOC) { in rtl92ee_dm_find_minimum_rssi() 375 if (mac->opmode == NL80211_IFTYPE_AP || in rtl92ee_dm_check_rssi_monitor() 376 mac->opmode == NL80211_IFTYPE_ADHOC || in rtl92ee_dm_check_rssi_monitor() 377 mac->opmode == NL80211_IFTYPE_MESH_POINT) { in rtl92ee_dm_check_rssi_monitor() 579 if (rtlpriv->mac80211.opmode == NL80211_IFTYPE_AP) { in rtl92ee_dm_dynamic_primary_cca_check() 877 mac->opmode == NL80211_IFTYPE_STATION) { in rtl92ee_dm_refresh_rate_adaptive_mask() 933 if (rtlpriv->mac80211.opmode == NL80211_IFTYPE_STATION && in rtl92ee_dm_common_info_self_update() 939 if (rtlpriv->mac80211.opmode == NL80211_IFTYPE_AP || in rtl92ee_dm_common_info_self_update() 940 rtlpriv->mac80211.opmode == NL80211_IFTYPE_ADHOC || in rtl92ee_dm_common_info_self_update() [all …]
|
| /linux/drivers/net/wireless/realtek/rtlwifi/ |
| H A D | rc.c | 136 if (mac->opmode == NL80211_IFTYPE_AP || in _rtl_rc_rate_set_series() 137 mac->opmode == NL80211_IFTYPE_ADHOC) { in _rtl_rc_rate_set_series() 197 if (mac->opmode == NL80211_IFTYPE_STATION && in _rtl_tx_aggr_check()
|
| /linux/drivers/net/wireless/realtek/rtlwifi/rtl8192de/ |
| H A D | trx.c | 69 if (mac->opmode == NL80211_IFTYPE_STATION) { in rtl92de_tx_fill_desc() 71 } else if (mac->opmode == NL80211_IFTYPE_AP || in rtl92de_tx_fill_desc() 72 mac->opmode == NL80211_IFTYPE_ADHOC) { in rtl92de_tx_fill_desc()
|
| H A D | dm.c | 48 if (mac->opmode == NL80211_IFTYPE_ADHOC) { in rtl92d_dm_dynamic_txpower() 126 if (rtlpriv->mac80211.opmode != NL80211_IFTYPE_STATION) in rtl92d_dm_pwdb_monitor()
|
| /linux/drivers/platform/surface/ |
| H A D | surface_aggregator_hub.c | 227 u8 opmode; in ssam_base_hub_query_state() local 230 status = ssam_retry(ssam_bas_query_opmode, hub->sdev->ctrl, &opmode); in ssam_base_hub_query_state() 236 if (opmode != SSAM_BAS_OPMODE_TABLET) in ssam_base_hub_query_state()
|
| /linux/drivers/net/wireless/realtek/rtlwifi/rtl8192ce/ |
| H A D | hw.c | 1341 enum nl80211_iftype opmode; in rtl92ce_card_disable() local 1344 opmode = NL80211_IFTYPE_UNSPECIFIED; in rtl92ce_card_disable() 1345 _rtl92ce_set_media_status(hw, opmode); in rtl92ce_card_disable() 1770 if (mac->opmode == NL80211_IFTYPE_ADHOC) in rtl92ce_update_hal_rate_table() 1860 if (mac->opmode == NL80211_IFTYPE_STATION || in rtl92ce_update_hal_rate_mask() 1861 mac->opmode == NL80211_IFTYPE_MESH_POINT) in rtl92ce_update_hal_rate_mask() 1863 else if (mac->opmode == NL80211_IFTYPE_AP || in rtl92ce_update_hal_rate_mask() 1864 mac->opmode == NL80211_IFTYPE_ADHOC) in rtl92ce_update_hal_rate_mask() 1871 if (mac->opmode == NL80211_IFTYPE_ADHOC) in rtl92ce_update_hal_rate_mask() 2126 if (mac->opmode == NL80211_IFTYPE_AP || in rtl92ce_set_key() [all …]
|
| H A D | trx.c | 375 if (mac->opmode == NL80211_IFTYPE_STATION) { in rtl92ce_tx_fill_desc() 377 } else if (mac->opmode == NL80211_IFTYPE_AP || in rtl92ce_tx_fill_desc() 378 mac->opmode == NL80211_IFTYPE_ADHOC || in rtl92ce_tx_fill_desc() 379 mac->opmode == NL80211_IFTYPE_MESH_POINT) { in rtl92ce_tx_fill_desc()
|
| /linux/drivers/net/wireless/realtek/rtlwifi/rtl8192cu/ |
| H A D | mac.c | 255 if (mac->opmode == NL80211_IFTYPE_AP || in rtl92c_set_key() 256 mac->opmode == NL80211_IFTYPE_MESH_POINT) { in rtl92c_set_key() 274 if (mac->opmode == NL80211_IFTYPE_AP || in rtl92c_set_key() 275 mac->opmode == NL80211_IFTYPE_MESH_POINT) in rtl92c_set_key() 305 if (mac->opmode == NL80211_IFTYPE_ADHOC) { in rtl92c_set_key()
|
| /linux/drivers/net/wireless/realtek/rtlwifi/rtl8723ae/ |
| H A D | dm.c | 24 mac->opmode == NL80211_IFTYPE_STATION && in rtl8723e_dm_initial_gain_min_pwdb() 169 if (mac->opmode == NL80211_IFTYPE_ADHOC) in rtl8723e_dm_initial_gain_multi_sta() 367 if (mac->opmode == NL80211_IFTYPE_ADHOC) { in rtl8723e_dm_dynamic_txpower() 576 mac->opmode == NL80211_IFTYPE_STATION) { in rtl8723e_dm_refresh_rate_adaptive_mask() 724 if (mac->opmode == NL80211_IFTYPE_ADHOC) { in rtl8723e_dm_dynamic_bb_powersaving()
|
| /linux/drivers/net/wireless/realtek/rtlwifi/rtl8188ee/ |
| H A D | hw.c | 1425 enum nl80211_iftype opmode; in rtl88ee_card_disable() local 1430 opmode = NL80211_IFTYPE_UNSPECIFIED; in rtl88ee_card_disable() 1432 _rtl88ee_set_media_status(hw, opmode); in rtl88ee_card_disable() 1988 if (mac->opmode == NL80211_IFTYPE_ADHOC) in rtl88ee_update_hal_rate_table() 2077 if (mac->opmode == NL80211_IFTYPE_STATION || in rtl88ee_update_hal_rate_mask() 2078 mac->opmode == NL80211_IFTYPE_MESH_POINT) in rtl88ee_update_hal_rate_mask() 2080 else if (mac->opmode == NL80211_IFTYPE_AP || in rtl88ee_update_hal_rate_mask() 2081 mac->opmode == NL80211_IFTYPE_ADHOC) in rtl88ee_update_hal_rate_mask() 2088 if (mac->opmode == NL80211_IFTYPE_ADHOC) in rtl88ee_update_hal_rate_mask() 2337 if (mac->opmode == NL80211_IFTYPE_AP || in rtl88ee_set_key() [all …]
|
| /linux/Documentation/ABI/testing/ |
| H A D | sysfs-class-regulator | 121 What: /sys/class/regulator/.../opmode 127 opmode. This holds the current regulator operating mode, 130 The opmode value can be one of the following strings:
|