Home
last modified time | relevance | path

Searched refs:op_mode (Results 1 – 25 of 90) sorted by relevance

1234

/kernel/linux/linux-5.10/drivers/net/wireless/intel/iwlwifi/
Diwl-op-mode.h149 void (*stop)(struct iwl_op_mode *op_mode);
150 void (*rx)(struct iwl_op_mode *op_mode, struct napi_struct *napi,
152 void (*rx_rss)(struct iwl_op_mode *op_mode, struct napi_struct *napi,
154 void (*async_cb)(struct iwl_op_mode *op_mode,
156 void (*queue_full)(struct iwl_op_mode *op_mode, int queue);
157 void (*queue_not_full)(struct iwl_op_mode *op_mode, int queue);
158 bool (*hw_rf_kill)(struct iwl_op_mode *op_mode, bool state);
159 void (*free_skb)(struct iwl_op_mode *op_mode, struct sk_buff *skb);
160 void (*nic_error)(struct iwl_op_mode *op_mode);
161 void (*cmd_queue_full)(struct iwl_op_mode *op_mode);
[all …]
Diwl-trans.h443 struct iwl_op_mode *op_mode; member
990 struct iwl_op_mode *op_mode; member
1049 trans->op_mode = trans_cfg->op_mode; in iwl_trans_configure()
1069 trans->op_mode = NULL; in iwl_trans_op_mode_leave()
1440 if (WARN_ON_ONCE(!trans->op_mode)) in iwl_trans_fw_error()
1445 iwl_op_mode_nic_error(trans->op_mode); in iwl_trans_fw_error()
/kernel/linux/linux-5.10/arch/arm/boot/dts/
Dexynos4412-itop-scp-core.dtsi174 op_mode = <1>; /* Normal Mode */
184 op_mode = <1>; /* Normal Mode */
192 op_mode = <1>; /* Normal Mode */
200 op_mode = <1>; /* Normal Mode */
205 op_mode = <0>; /* Always off Mode */
213 op_mode = <1>; /* Normal Mode */
221 op_mode = <1>; /* Normal Mode */
228 op_mode = <1>; /* Normal Mode */
235 op_mode = <1>; /* Normal Mode */
242 op_mode = <1>; /* Normal Mode */
[all …]
Dexynos4412-origen.dts162 op_mode = <1>; /* Normal Mode */
170 op_mode = <1>; /* Normal Mode */
178 op_mode = <1>; /* Normal Mode */
186 op_mode = <1>; /* Normal Mode */
194 op_mode = <1>; /* Normal Mode */
202 op_mode = <1>; /* Normal Mode */
210 op_mode = <1>; /* Normal Mode */
218 op_mode = <1>; /* Normal Mode */
226 op_mode = <1>; /* Normal Mode */
234 op_mode = <1>; /* Normal Mode */
[all …]
Dexynos5250-arndale.dts265 op_mode = <1>;
274 op_mode = <1>;
283 op_mode = <1>;
291 op_mode = <1>;
300 op_mode = <1>;
309 op_mode = <1>;
318 op_mode = <1>;
327 op_mode = <1>;
334 op_mode = <1>;
343 op_mode = <1>;
[all …]
Dexynos5250-spring.dts159 op_mode = <0>;
167 op_mode = <0>;
175 op_mode = <3>;
183 op_mode = <3>;
191 op_mode = <3>;
199 op_mode = <3>;
207 op_mode = <0>;
215 op_mode = <3>;
223 op_mode = <0>;
231 op_mode = <3>;
[all …]
/kernel/linux/linux-5.10/drivers/gpu/drm/msm/disp/dpu1/
Ddpu_hw_lm.c68 u32 op_mode; in dpu_hw_lm_setup_out() local
70 op_mode = DPU_REG_READ(c, LM_OP_MODE); in dpu_hw_lm_setup_out()
77 op_mode |= BIT(31); in dpu_hw_lm_setup_out()
79 op_mode &= ~BIT(31); in dpu_hw_lm_setup_out()
80 DPU_REG_WRITE(c, LM_OP_MODE, op_mode); in dpu_hw_lm_setup_out()
140 int op_mode; in dpu_hw_lm_setup_color3() local
143 op_mode = DPU_REG_READ(c, LM_OP_MODE); in dpu_hw_lm_setup_color3()
145 op_mode = (op_mode & (BIT(31) | BIT(30))) | mixer_op_mode; in dpu_hw_lm_setup_color3()
147 DPU_REG_WRITE(c, LM_OP_MODE, op_mode); in dpu_hw_lm_setup_color3()
Ddpu_hw_util.c208 u32 op_mode = 0; in dpu_hw_setup_scaler3() local
214 op_mode |= BIT(0); in dpu_hw_setup_scaler3()
215 op_mode |= (scaler3_cfg->y_rgb_filter_cfg & 0x3) << 16; in dpu_hw_setup_scaler3()
218 op_mode |= BIT(12); in dpu_hw_setup_scaler3()
219 op_mode |= (scaler3_cfg->uv_filter_cfg & 0x3) << 24; in dpu_hw_setup_scaler3()
222 op_mode |= (scaler3_cfg->blend_cfg & 1) << 31; in dpu_hw_setup_scaler3()
223 op_mode |= (scaler3_cfg->dir_en) ? BIT(4) : 0; in dpu_hw_setup_scaler3()
242 op_mode |= BIT(8); in dpu_hw_setup_scaler3()
289 op_mode |= BIT(14); in dpu_hw_setup_scaler3()
292 op_mode |= BIT(10); in dpu_hw_setup_scaler3()
[all …]
/kernel/linux/linux-5.10/drivers/net/wireless/intel/iwlwifi/mvm/
Dops.c133 static void iwl_mvm_nic_config(struct iwl_op_mode *op_mode) in iwl_mvm_nic_config() argument
135 struct iwl_mvm *mvm = IWL_OP_MODE_GET_MVM(op_mode); in iwl_mvm_nic_config()
615 struct iwl_op_mode *op_mode; in iwl_op_mode_mvm_start() local
649 op_mode = hw->priv; in iwl_op_mode_mvm_start()
651 mvm = IWL_OP_MODE_GET_MVM(op_mode); in iwl_op_mode_mvm_start()
664 op_mode->ops = &iwl_mvm_ops_mq; in iwl_op_mode_mvm_start()
671 op_mode->ops = &iwl_mvm_ops; in iwl_op_mode_mvm_start()
758 trans_cfg.op_mode = op_mode; in iwl_op_mode_mvm_start()
889 return op_mode; in iwl_op_mode_mvm_start()
896 return op_mode; in iwl_op_mode_mvm_start()
[all …]
/kernel/linux/linux-5.10/drivers/net/ethernet/qlogic/qlcnic/
Dqlcnic_83xx_vnic.c193 u32 op_mode, priv_level; in qlcnic_83xx_config_vnic_opmode() local
198 op_mode = QLCRDX(adapter->ahw, QLC_83XX_DRV_OP_MODE); in qlcnic_83xx_config_vnic_opmode()
200 if (op_mode == QLC_83XX_DEFAULT_OPMODE) in qlcnic_83xx_config_vnic_opmode()
203 priv_level = QLC_83XX_GET_FUNC_PRIVILEGE(op_mode, in qlcnic_83xx_config_vnic_opmode()
207 ahw->op_mode = QLCNIC_NON_PRIV_FUNC; in qlcnic_83xx_config_vnic_opmode()
212 ahw->op_mode = QLCNIC_PRIV_FUNC; in qlcnic_83xx_config_vnic_opmode()
217 ahw->op_mode = QLCNIC_MGMT_FUNC; in qlcnic_83xx_config_vnic_opmode()
Dqlcnic_sysfs.c221 if (adapter->ahw->op_mode == QLCNIC_NON_PRIV_FUNC) { in qlcnic_store_beacon()
487 u32 op_mode; in validate_esw_config() local
491 op_mode = readl(ahw->pci_base0 + QLCNIC_DRV_OP_MODE); in validate_esw_config()
493 op_mode = QLCRDX(ahw, QLC_83XX_DRV_OP_MODE); in validate_esw_config()
500 if (adapter->ahw->op_mode == QLCNIC_MGMT_FUNC) in validate_esw_config()
504 switch (esw_cfg[i].op_mode) { in validate_esw_config()
507 ret = QLC_DEV_GET_DRV(op_mode, pci_func); in validate_esw_config()
509 ret = QLC_83XX_GET_FUNC_PRIVILEGE(op_mode, in validate_esw_config()
553 u8 op_mode = 0, pci_func; in qlcnic_sysfs_write_esw_config() local
567 if (adapter->ahw->op_mode == QLCNIC_MGMT_FUNC) in qlcnic_sysfs_write_esw_config()
[all …]
Dqlcnic_ctx.c878 npar_info->op_mode = le16_to_cpu(nic_info->op_mode); in qlcnic_82xx_get_nic_info()
908 if (adapter->ahw->op_mode != QLCNIC_MGMT_FUNC) in qlcnic_82xx_set_nic_info()
919 nic_info->op_mode = cpu_to_le16(nic->op_mode); in qlcnic_82xx_set_nic_info()
1030 if (adapter->ahw->op_mode != QLCNIC_MGMT_FUNC || in qlcnic_config_port_mirroring()
1073 if ((adapter->ahw->op_mode != QLCNIC_MGMT_FUNC) && in qlcnic_get_port_stats()
1193 if (adapter->ahw->op_mode != QLCNIC_MGMT_FUNC) in qlcnic_get_eswitch_stats()
1246 if (ahw->op_mode != QLCNIC_MGMT_FUNC) in qlcnic_clear_esw_stats()
1325 if (adapter->ahw->op_mode != QLCNIC_MGMT_FUNC) { in qlcnic_config_switch_port()
1343 switch (esw_cfg->op_mode) { in qlcnic_config_switch_port()
1375 __func__, esw_cfg->op_mode); in qlcnic_config_switch_port()
[all …]
/kernel/linux/linux-5.10/drivers/gpu/drm/msm/disp/mdp4/
Dmdp4_plane.c204 uint32_t op_mode = 0; in mdp4_plane_mode_set() local
250 op_mode |= MDP4_PIPE_OP_MODE_SCALEX_EN; in mdp4_plane_mode_set()
258 op_mode |= MDP4_PIPE_OP_MODE_SCALEX_UNIT_SEL(sel_unit); in mdp4_plane_mode_set()
266 op_mode |= MDP4_PIPE_OP_MODE_SCALEY_EN; in mdp4_plane_mode_set()
275 op_mode |= MDP4_PIPE_OP_MODE_SCALEY_UNIT_SEL(sel_unit); in mdp4_plane_mode_set()
321 op_mode |= MDP4_PIPE_OP_MODE_SRC_YCBCR; in mdp4_plane_mode_set()
322 op_mode |= MDP4_PIPE_OP_MODE_CSC_EN; in mdp4_plane_mode_set()
326 mdp4_write(mdp4_kms, REG_MDP4_PIPE_OP_MODE(pipe), op_mode); in mdp4_plane_mode_set()
/kernel/linux/linux-5.10/drivers/net/wireless/intel/iwlwifi/dvm/
Dmain.c1239 struct iwl_op_mode *op_mode; in iwl_op_mode_dvm_start() local
1261 op_mode = hw->priv; in iwl_op_mode_dvm_start()
1262 op_mode->ops = &iwl_dvm_ops; in iwl_op_mode_dvm_start()
1263 priv = IWL_OP_MODE_GET_DVM(op_mode); in iwl_op_mode_dvm_start()
1315 trans_cfg.op_mode = op_mode; in iwl_op_mode_dvm_start()
1496 return op_mode; in iwl_op_mode_dvm_start()
1511 op_mode = NULL; in iwl_op_mode_dvm_start()
1512 return op_mode; in iwl_op_mode_dvm_start()
1515 static void iwl_op_mode_dvm_stop(struct iwl_op_mode *op_mode) in iwl_op_mode_dvm_stop() argument
1517 struct iwl_priv *priv = IWL_OP_MODE_GET_DVM(op_mode); in iwl_op_mode_dvm_stop()
[all …]
/kernel/linux/linux-5.10/drivers/usb/host/
Dfsl-mph-dr-of.c21 enum fsl_usb2_operating_modes op_mode; /* operating mode */ member
28 .op_mode = FSL_USB2_DR_HOST,
33 .op_mode = FSL_USB2_DR_OTG,
38 .op_mode = FSL_USB2_DR_DEVICE,
216 pdata->operating_mode = dev_data->op_mode; in fsl_usb2_mph_dr_of_probe()
/kernel/linux/linux-5.10/drivers/net/ethernet/dec/tulip/
Duli526x.c160 u8 op_mode; /* real work media mode */ member
550 db->op_mode = db->media_mode; /* Force Mode */ in uli526x_init()
946 if(db->op_mode==ULI526X_100MHF || db->op_mode==ULI526X_100MFD) in ULi_ethtool_get_link_ksettings()
950 if(db->op_mode==ULI526X_10MFD || db->op_mode==ULI526X_100MFD) in ULi_ethtool_get_link_ksettings()
1092 (db->op_mode == ULI526X_100MHF || in uli526x_timer()
1093 db->op_mode == ULI526X_100MFD) in uli526x_timer()
1095 (db->op_mode == ULI526X_10MFD || in uli526x_timer()
1096 db->op_mode == ULI526X_100MFD) in uli526x_timer()
1494 case 0x1000: db->op_mode = ULI526X_10MHF; break; in uli526x_sense_speed()
1495 case 0x2000: db->op_mode = ULI526X_10MFD; break; in uli526x_sense_speed()
[all …]
/kernel/linux/linux-5.10/drivers/s390/crypto/
Dzcrypt_ep11misc.h91 u64 op_mode; /* card operational mode(s) */ member
100 u64 op_mode; /* domain operational mode(s) */ member
/kernel/linux/linux-5.10/drivers/usb/dwc2/
Dcore.c967 unsigned int op_mode = dwc2_op_mode(hsotg); in dwc2_hw_is_otg() local
969 return (op_mode == GHWCFG2_OP_MODE_HNP_SRP_CAPABLE) || in dwc2_hw_is_otg()
970 (op_mode == GHWCFG2_OP_MODE_SRP_ONLY_CAPABLE) || in dwc2_hw_is_otg()
971 (op_mode == GHWCFG2_OP_MODE_NO_HNP_SRP_CAPABLE); in dwc2_hw_is_otg()
977 unsigned int op_mode = dwc2_op_mode(hsotg); in dwc2_hw_is_host() local
979 return (op_mode == GHWCFG2_OP_MODE_SRP_CAPABLE_HOST) || in dwc2_hw_is_host()
980 (op_mode == GHWCFG2_OP_MODE_NO_SRP_CAPABLE_HOST); in dwc2_hw_is_host()
986 unsigned int op_mode = dwc2_op_mode(hsotg); in dwc2_hw_is_device() local
988 return (op_mode == GHWCFG2_OP_MODE_SRP_CAPABLE_DEVICE) || in dwc2_hw_is_device()
989 (op_mode == GHWCFG2_OP_MODE_NO_SRP_CAPABLE_DEVICE); in dwc2_hw_is_device()
/kernel/linux/linux-5.10/drivers/net/wireless/ath/ath5k/
Dpcu.c877 ath5k_hw_set_opmode(struct ath5k_hw *ah, enum nl80211_iftype op_mode) in ath5k_hw_set_opmode() argument
882 ATH5K_DBG(ah, ATH5K_DEBUG_MODE, "mode %d\n", op_mode); in ath5k_hw_set_opmode()
893 switch (op_mode) { in ath5k_hw_set_opmode()
954 ath5k_hw_pcu_init(struct ath5k_hw *ah, enum nl80211_iftype op_mode) in ath5k_hw_pcu_init() argument
960 ath5k_hw_set_opmode(ah, op_mode); in ath5k_hw_pcu_init()
/kernel/linux/linux-5.10/drivers/regulator/
Dact8945a-regulator.c73 u32 op_mode[ACT8945A_ID_MAX]; member
204 act8945a->op_mode[id] = mode; in act8945a_set_mode()
217 return act8945a->op_mode[id]; in act8945a_get_mode()
/kernel/linux/linux-5.10/drivers/crypto/allwinner/sun8i-ss/
Dsun8i-ss.h108 u32 op_mode[SS_ID_OP_MAX]; member
191 u32 op_mode; member
/kernel/linux/linux-5.10/drivers/net/wireless/atmel/
Dat76c50x-usb.c555 u8 *op_mode; in at76_get_op_mode() local
557 op_mode = kmalloc(1, GFP_NOIO); in at76_get_op_mode()
558 if (!op_mode) in at76_get_op_mode()
562 USB_RECIP_INTERFACE, 0x01, 0, op_mode, 1, in at76_get_op_mode()
564 saved = *op_mode; in at76_get_op_mode()
565 kfree(op_mode); in at76_get_op_mode()
1256 int op_mode; in at76_load_external_fw() local
1266 op_mode = at76_get_op_mode(udev); in at76_load_external_fw()
1267 at76_dbg(DBG_DEVSTART, "opmode %d", op_mode); in at76_load_external_fw()
1269 if (op_mode != OPMODE_NORMAL_NIC_WITHOUT_FLASH) { in at76_load_external_fw()
[all …]
/kernel/linux/linux-5.10/include/linux/platform_data/
Ddavinci_asp.h81 u8 op_mode; member
/kernel/linux/linux-5.10/drivers/net/wireless/intel/iwlwifi/queue/
Dtx.h87 iwl_op_mode_queue_not_full(trans->op_mode, txq->id); in iwl_wake_queue()
117 iwl_op_mode_queue_full(trans->op_mode, txq->id); in iwl_txq_stop()
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/regulator/
Dsamsung,s5m8767.txt63 - op_mode: describes the different operating modes of the LDO's with
114 op_mode = <1>; /* Normal Mode */
136 op_mode = <3>; /* Standby Mode */

1234