Home
last modified time | relevance | path

Searched refs:opmode (Results 1 – 25 of 139) sorted by relevance

123456

/linux/drivers/gpu/drm/msm/disp/dpu1/
H A Ddpu_hw_cdm.c77 u32 opmode; in dpu_hw_cdm_setup_cdwn() local
82 opmode = 0; in dpu_hw_cdm_setup_cdwn()
85 opmode = CDM_CDWN2_OP_MODE_ENABLE_H | in dpu_hw_cdm_setup_cdwn()
90 opmode = CDM_CDWN2_OP_MODE_ENABLE_H | in dpu_hw_cdm_setup_cdwn()
95 opmode = CDM_CDWN2_OP_MODE_ENABLE_H | in dpu_hw_cdm_setup_cdwn()
106 opmode = CDM_CDWN2_OP_MODE_ENABLE_H | in dpu_hw_cdm_setup_cdwn()
125 opmode |= CDM_CDWN2_OP_MODE_ENABLE_V | in dpu_hw_cdm_setup_cdwn()
160 opmode &= ~CDM_CDWN2_OP_MODE_EN; in dpu_hw_cdm_setup_cdwn()
174 u32 opmode = 0; in dpu_hw_cdm_enable() local
191 opmode = CDM_HDMI_PACK_OP_MODE_EN; in dpu_hw_cdm_enable()
[all …]
H A Ddpu_hw_sspp.c176 u32 opmode; in _sspp_setup_opmode() local
185 opmode |= mask; in _sspp_setup_opmode()
187 opmode &= ~mask; in _sspp_setup_opmode()
196 u32 opmode; in _sspp_setup_csc10_opmode() local
200 opmode |= mask; in _sspp_setup_csc10_opmode()
202 opmode &= ~mask; in _sspp_setup_csc10_opmode()
216 u32 opmode = 0; in dpu_hw_sspp_setup_format() local
240 opmode |= MDSS_MDP_OP_FLIP_LR; in dpu_hw_sspp_setup_format()
242 opmode |= MDSS_MDP_OP_FLIP_UD; in dpu_hw_sspp_setup_format()
274 opmode |= MDSS_MDP_OP_BWC_EN; in dpu_hw_sspp_setup_format()
[all …]
/linux/drivers/mfd/
H A Datmel-flexcom.c28 #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 Dat91-usart.c27 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/regulator/
H A Dmax77802-regulator.c62 unsigned int opmode[MAX77802_REG_MAX]; member
102 max77802->opmode[id] = val; in max77802_set_suspend_disable()
135 max77802->opmode[id] = val; in max77802_set_mode()
147 return max77802_map_mode(max77802->opmode[id]); in max77802_get_mode()
181 if (max77802->opmode[id] == MAX77802_OFF_PWRREQ) { in max77802_set_suspend_mode()
205 if (max77802->opmode[id] == MAX77802_OPMODE_LP) in max77802_set_suspend_mode()
227 if (max77802->opmode[id] == MAX77802_OFF_PWRREQ) in max77802_enable()
228 max77802->opmode[id] = MAX77802_OPMODE_NORMAL; in max77802_enable()
232 max77802->opmode[id] << shift); in max77802_enable()
528 if (id < ARRAY_SIZE(max77802->opmode)) { in max77802_pmic_probe()
[all …]
H A Dmax77686-regulator.c75 unsigned int opmode[MAX77686_REGULATORS]; member
127 max77686->opmode[id] = val; in max77686_set_suspend_disable()
162 max77686->opmode[id] = val; in max77686_set_suspend_mode()
196 max77686->opmode[id] = val; in max77686_ldo_set_suspend_mode()
208 if (max77686->opmode[id] == MAX77686_OFF_PWRREQ) in max77686_enable()
209 max77686->opmode[id] = max77686_map_normal_mode(max77686, id); in max77686_enable()
213 max77686->opmode[id] << shift); in max77686_enable()
505 max77686->opmode[id] = MAX77686_NORMAL; in max77686_pmic_probe()
H A Ds5m8767.c25 struct sec_opmode_data *opmode; member
193 if (s5m8767->opmode[i].id == reg_id) { in s5m8767_get_register()
194 mode = s5m8767->opmode[i].mode; in s5m8767_get_register()
439 const struct sec_opmode_data *opmode = &s5m8767->opmode[i]; in s5m8767_regulator_config_ext_control() local
440 if (opmode->id == rdata->id) { in s5m8767_regulator_config_ext_control()
441 mode = s5m8767_opmode_reg[rdata->id][opmode->mode]; in s5m8767_regulator_config_ext_control()
559 pdata->opmode = rmode; in s5m8767_pmic_dt_parse_pdata()
745 s5m8767->opmode = pdata->opmode; in s5m8767_pmic_probe()
/linux/drivers/media/i2c/
H A Dmsp3400-driver.c56 static int opmode = OPMODE_AUTO; variable
69 module_param(opmode, int, 0444);
409 switch (state->opmode) { in msp_s_radio()
558 if (state->opmode == OPMODE_AUTOSELECT) in msp_log_status()
781 state->opmode = opmode; in msp_probe()
782 if (state->opmode < OPMODE_MANUAL in msp_probe()
786 state->opmode = OPMODE_AUTOSELECT; in msp_probe()
789 state->opmode = OPMODE_AUTODETECT; in msp_probe()
791 state->opmode = OPMODE_MANUAL; in msp_probe()
829 opmode_str[state->opmode]); in msp_probe()
[all …]
/linux/drivers/net/wireless/ath/ath5k/
H A Dmac80211-ops.c106 avf->opmode = vif->type; 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()
179 if (avf->opmode == NL80211_IFTYPE_AP) in ath5k_remove_interface()
181 else if (avf->opmode == NL80211_IFTYPE_ADHOC) in ath5k_remove_interface()
287 if (ah->opmode == NL80211_IFTYPE_STATION) in ath5k_bss_info_changed()
420 switch (ah->opmode) { in ath5k_configure_filter()
[all …]
H A Dbase.c507 if (avf->opmode == NL80211_IFTYPE_AP) in ath5k_vif_iter()
508 iter_data->opmode = NL80211_IFTYPE_AP; in ath5k_vif_iter()
513 iter_data->opmode = avf->opmode; in ath5k_vif_iter()
545 ah->opmode = iter_data.opmode; in ath5k_update_bssid_mask_and_opmode()
548 ah->opmode = NL80211_IFTYPE_STATION; in ath5k_update_bssid_mask_and_opmode()
550 ath5k_hw_set_opmode(ah, ah->opmode); in ath5k_update_bssid_mask_and_opmode()
552 ah->opmode, ath_opmode_to_string(ah->opmode)); in ath5k_update_bssid_mask_and_opmode()
1096 if (ah->opmode == NL80211_IFTYPE_AP || in ath5k_beaconq_config()
1480 if (ah->opmode == NL80211_IFTYPE_ADHOC) in ath5k_receive_frame()
2041 if (ah->opmode == NL80211_IFTYPE_AP || in ath5k_beacon_send()
[all …]
H A Dbase.h75 enum nl80211_iftype opmode; member
87 enum nl80211_iftype opmode; member
/linux/drivers/misc/
H A Dtsl2550.c338 int *opmode, err = 0; in tsl2550_probe() local
355 opmode = client->dev.platform_data; in tsl2550_probe()
356 if (opmode) { in tsl2550_probe()
357 if (*opmode < 0 || *opmode > 1) { in tsl2550_probe()
359 *opmode); in tsl2550_probe()
363 data->operating_mode = *opmode; in tsl2550_probe()
/linux/drivers/leds/
H A Dleds-lm3642.c102 u8 brightness, enum lm3642_mode opmode) in lm3642_control() argument
117 opmode = MODES_STASNDBY; in lm3642_control()
119 switch (opmode) { in lm3642_control()
126 opmode |= (TORCH_PIN_EN_MASK << TORCH_PIN_EN_SHIFT); in lm3642_control()
135 opmode |= (STROBE_PIN_EN_MASK << STROBE_PIN_EN_SHIFT); in lm3642_control()
157 opmode |= (TX_PIN_EN_MASK << TX_PIN_EN_SHIFT); in lm3642_control()
161 opmode << MODE_BITS_SHIFT); in lm3642_control()
H A Dleds-lm355x.c196 u8 brightness, enum lm355x_mode opmode) in lm355x_control() argument
212 opmode = MODE_SHDN; in lm355x_control()
214 switch (opmode) { in lm355x_control()
233 opmode = MODE_SHDN; in lm355x_control()
262 opmode = MODE_SHDN; in lm355x_control()
286 opmode = MODE_SHDN; in lm355x_control()
297 opmode << preg[REG_OPMODE].shift); in lm355x_control()
/linux/drivers/net/wireless/ath/
H A Ddebug.c20 const char *ath_opmode_to_string(enum nl80211_iftype opmode) in ath_opmode_to_string() argument
22 switch (opmode) { in ath_opmode_to_string()
/linux/drivers/net/wireless/ath/ath9k/
H A Dani.c185 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()
342 ah->opmode, in ath9k_ani_reset()
357 ah->opmode, in ath9k_ani_reset()
H A Dhtc_drv_beacon.c31 if (priv->ah->opmode == NL80211_IFTYPE_AP || in ath9k_htc_beaconq_config()
32 priv->ah->opmode == NL80211_IFTYPE_MESH_POINT) { in ath9k_htc_beaconq_config()
36 } else if (priv->ah->opmode == NL80211_IFTYPE_ADHOC) { in ath9k_htc_beaconq_config()
408 if ((priv->ah->opmode == NL80211_IFTYPE_AP) && in ath9k_htc_check_beacon_config()
432 if ((priv->ah->opmode == NL80211_IFTYPE_STATION) && in ath9k_htc_check_beacon_config()
492 switch (priv->ah->opmode) { in ath9k_htc_beacon_reconfig()
H A Dbeacon.c42 if (sc->sc_ah->opmode == NL80211_IFTYPE_AP || in ath9k_beaconq_config()
43 sc->sc_ah->opmode == NL80211_IFTYPE_MESH_POINT) { in ath9k_beaconq_config()
315 if (sc->sc_ah->opmode != NL80211_IFTYPE_AP && in ath9k_beacon_choose_slot()
316 sc->sc_ah->opmode != NL80211_IFTYPE_MESH_POINT) { in ath9k_beacon_choose_slot()
652 if (sc->sc_ah->opmode == NL80211_IFTYPE_STATION) { in ath9k_beacon_config()
673 if (sc->sc_ah->opmode == NL80211_IFTYPE_ADHOC && in ath9k_beacon_config()
703 switch (sc->sc_ah->opmode) { in ath9k_set_beacon()
H A Dhtc_drv_main.c173 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()
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()
1061 hvif.opmode = HTC_M_WDS; /* close enough */ in ath9k_htc_add_interface()
[all …]
/linux/drivers/usb/typec/ucsi/
H A Dtrace.h48 __field(u8, opmode)
59 __entry->opmode = UCSI_CONSTAT_PWR_OPMODE(status->flags);
70 __entry->change, __entry->opmode, __entry->connected,
/linux/drivers/net/wireless/realtek/rtlwifi/
H A Dbase.c642 if (mac->opmode == NL80211_IFTYPE_STATION) { in _rtl_query_shortgi()
646 mac->opmode == NL80211_IFTYPE_ADHOC || in _rtl_query_shortgi()
647 mac->opmode == NL80211_IFTYPE_MESH_POINT) { in _rtl_query_shortgi()
789 if (mac->opmode == NL80211_IFTYPE_STATION) { in _rtl_txrate_selectmode()
810 if (mac->opmode == NL80211_IFTYPE_STATION || in _rtl_txrate_selectmode()
840 mac->opmode == NL80211_IFTYPE_ADHOC) { in _rtl_txrate_selectmode()
864 if (mac->opmode == NL80211_IFTYPE_AP || in _rtl_query_bandwidth_mode()
865 mac->opmode == NL80211_IFTYPE_ADHOC || in _rtl_query_bandwidth_mode()
884 if (mac->opmode == NL80211_IFTYPE_AP || in _rtl_query_bandwidth_mode()
885 mac->opmode == NL80211_IFTYPE_ADHOC || in _rtl_query_bandwidth_mode()
[all …]
/linux/drivers/net/wireless/realtek/rtlwifi/rtl8192ee/
H A Ddm.c341 if (mac->opmode == NL80211_IFTYPE_AP || in rtl92ee_dm_find_minimum_rssi()
342 mac->opmode == NL80211_IFTYPE_ADHOC) { in rtl92ee_dm_find_minimum_rssi()
378 if (mac->opmode == NL80211_IFTYPE_AP || in rtl92ee_dm_check_rssi_monitor()
379 mac->opmode == NL80211_IFTYPE_ADHOC || in rtl92ee_dm_check_rssi_monitor()
380 mac->opmode == NL80211_IFTYPE_MESH_POINT) { in rtl92ee_dm_check_rssi_monitor()
582 if (rtlpriv->mac80211.opmode == NL80211_IFTYPE_AP) { in rtl92ee_dm_dynamic_primary_cca_check()
880 mac->opmode == NL80211_IFTYPE_STATION) { in rtl92ee_dm_refresh_rate_adaptive_mask()
936 if (rtlpriv->mac80211.opmode == NL80211_IFTYPE_STATION && in rtl92ee_dm_common_info_self_update()
942 if (rtlpriv->mac80211.opmode == NL80211_IFTYPE_AP || in rtl92ee_dm_common_info_self_update()
943 rtlpriv->mac80211.opmode == NL80211_IFTYPE_ADHOC || in rtl92ee_dm_common_info_self_update()
[all …]
/linux/Documentation/devicetree/bindings/usb/
H A Dst,stusb160x.yaml44 typec-power-opmode: true
76 typec-power-opmode = "default";
/linux/net/mac80211/
H A Dvht.c646 u8 opmode, enum nl80211_band band) in __ieee80211_vht_handle_opmode() argument
654 if (opmode & IEEE80211_OPMODE_NOTIF_RX_NSS_TYPE_BF) in __ieee80211_vht_handle_opmode()
657 nss = opmode & IEEE80211_OPMODE_NOTIF_RX_NSS_MASK; in __ieee80211_vht_handle_opmode()
677 switch (opmode & IEEE80211_OPMODE_NOTIF_CHANWIDTH_MASK) { in __ieee80211_vht_handle_opmode()
687 if (opmode & IEEE80211_OPMODE_NOTIF_BW_160_80P80) in __ieee80211_vht_handle_opmode()
759 u8 opmode, enum nl80211_band band) in ieee80211_vht_handle_opmode() argument
765 opmode, band); in ieee80211_vht_handle_opmode()
/linux/drivers/net/wireless/rsi/
H A Drsi_mgmt.h234 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,

123456