Home
last modified time | relevance | path

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

1234567

/kernel/linux/linux-4.19/drivers/net/wireless/intel/iwlwifi/
Diwl-op-mode.h155 void (*stop)(struct iwl_op_mode *op_mode);
156 void (*rx)(struct iwl_op_mode *op_mode, struct napi_struct *napi,
158 void (*rx_rss)(struct iwl_op_mode *op_mode, struct napi_struct *napi,
160 void (*async_cb)(struct iwl_op_mode *op_mode,
162 void (*queue_full)(struct iwl_op_mode *op_mode, int queue);
163 void (*queue_not_full)(struct iwl_op_mode *op_mode, int queue);
164 bool (*hw_rf_kill)(struct iwl_op_mode *op_mode, bool state);
165 void (*free_skb)(struct iwl_op_mode *op_mode, struct sk_buff *skb);
166 void (*nic_error)(struct iwl_op_mode *op_mode);
167 void (*cmd_queue_full)(struct iwl_op_mode *op_mode);
[all …]
/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 …]
/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-4.19/arch/arm/boot/dts/
Dexynos4412-itop-scp-core.dtsi165 op_mode = <1>; /* Normal Mode */
175 op_mode = <1>; /* Normal Mode */
183 op_mode = <1>; /* Normal Mode */
191 op_mode = <1>; /* Normal Mode */
196 op_mode = <0>; /* Always off Mode */
204 op_mode = <1>; /* Normal Mode */
212 op_mode = <1>; /* Normal Mode */
219 op_mode = <1>; /* Normal Mode */
226 op_mode = <1>; /* Normal Mode */
233 op_mode = <1>; /* Normal Mode */
[all …]
Dexynos4412-origen.dts152 op_mode = <1>; /* Normal Mode */
160 op_mode = <1>; /* Normal Mode */
168 op_mode = <1>; /* Normal Mode */
176 op_mode = <1>; /* Normal Mode */
184 op_mode = <1>; /* Normal Mode */
192 op_mode = <1>; /* Normal Mode */
200 op_mode = <1>; /* Normal Mode */
208 op_mode = <1>; /* Normal Mode */
216 op_mode = <1>; /* Normal Mode */
224 op_mode = <1>; /* Normal Mode */
[all …]
Dexynos5250-arndale.dts213 op_mode = <1>;
222 op_mode = <1>;
231 op_mode = <1>;
239 op_mode = <1>;
248 op_mode = <1>;
257 op_mode = <1>;
266 op_mode = <1>;
275 op_mode = <1>;
282 op_mode = <1>;
291 op_mode = <1>;
[all …]
Dexynos5250-spring.dts158 op_mode = <0>;
166 op_mode = <0>;
174 op_mode = <3>;
182 op_mode = <3>;
190 op_mode = <3>;
198 op_mode = <3>;
206 op_mode = <0>;
214 op_mode = <3>;
222 op_mode = <0>;
230 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-4.19/drivers/gpu/drm/msm/disp/dpu1/
Ddpu_hw_lm.c87 u32 op_mode; in dpu_hw_lm_setup_out() local
89 op_mode = DPU_REG_READ(c, LM_OP_MODE); in dpu_hw_lm_setup_out()
96 op_mode |= BIT(31); in dpu_hw_lm_setup_out()
98 op_mode &= ~BIT(31); in dpu_hw_lm_setup_out()
99 DPU_REG_WRITE(c, LM_OP_MODE, op_mode); in dpu_hw_lm_setup_out()
159 int op_mode; in dpu_hw_lm_setup_color3() local
162 op_mode = DPU_REG_READ(c, LM_OP_MODE); in dpu_hw_lm_setup_color3()
164 op_mode = (op_mode & (BIT(31) | BIT(30))) | mixer_op_mode; in dpu_hw_lm_setup_color3()
166 DPU_REG_WRITE(c, LM_OP_MODE, op_mode); in dpu_hw_lm_setup_color3()
Ddpu_hw_util.c219 u32 op_mode = 0; in dpu_hw_setup_scaler3() local
225 op_mode |= BIT(0); in dpu_hw_setup_scaler3()
226 op_mode |= (scaler3_cfg->y_rgb_filter_cfg & 0x3) << 16; in dpu_hw_setup_scaler3()
229 op_mode |= BIT(12); in dpu_hw_setup_scaler3()
230 op_mode |= (scaler3_cfg->uv_filter_cfg & 0x3) << 24; in dpu_hw_setup_scaler3()
233 op_mode |= (scaler3_cfg->blend_cfg & 1) << 31; in dpu_hw_setup_scaler3()
234 op_mode |= (scaler3_cfg->dir_en) ? BIT(4) : 0; in dpu_hw_setup_scaler3()
253 op_mode |= BIT(8); in dpu_hw_setup_scaler3()
300 op_mode |= BIT(14); in dpu_hw_setup_scaler3()
303 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-4.19/drivers/net/wireless/intel/iwlwifi/mvm/
Dops.c146 static void iwl_mvm_nic_config(struct iwl_op_mode *op_mode) in iwl_mvm_nic_config() argument
148 struct iwl_mvm *mvm = IWL_OP_MODE_GET_MVM(op_mode); in iwl_mvm_nic_config()
578 struct iwl_op_mode *op_mode; in iwl_op_mode_mvm_start() local
609 op_mode = hw->priv; in iwl_op_mode_mvm_start()
611 mvm = IWL_OP_MODE_GET_MVM(op_mode); in iwl_op_mode_mvm_start()
624 op_mode->ops = &iwl_mvm_ops_mq; in iwl_op_mode_mvm_start()
631 op_mode->ops = &iwl_mvm_ops; in iwl_op_mode_mvm_start()
691 trans_cfg.op_mode = op_mode; in iwl_op_mode_mvm_start()
827 return op_mode; in iwl_op_mode_mvm_start()
831 return op_mode; in iwl_op_mode_mvm_start()
[all …]
/kernel/linux/linux-4.19/drivers/net/ethernet/qlogic/qlcnic/
Dqlcnic_83xx_vnic.c194 u32 op_mode, priv_level; in qlcnic_83xx_config_vnic_opmode() local
199 op_mode = QLCRDX(adapter->ahw, QLC_83XX_DRV_OP_MODE); in qlcnic_83xx_config_vnic_opmode()
201 if (op_mode == QLC_83XX_DEFAULT_OPMODE) in qlcnic_83xx_config_vnic_opmode()
204 priv_level = QLC_83XX_GET_FUNC_PRIVILEGE(op_mode, in qlcnic_83xx_config_vnic_opmode()
208 ahw->op_mode = QLCNIC_NON_PRIV_FUNC; in qlcnic_83xx_config_vnic_opmode()
213 ahw->op_mode = QLCNIC_PRIV_FUNC; in qlcnic_83xx_config_vnic_opmode()
218 ahw->op_mode = QLCNIC_MGMT_FUNC; in qlcnic_83xx_config_vnic_opmode()
Dqlcnic_sysfs.c222 if (adapter->ahw->op_mode == QLCNIC_NON_PRIV_FUNC) { in qlcnic_store_beacon()
488 u32 op_mode; in validate_esw_config() local
492 op_mode = readl(ahw->pci_base0 + QLCNIC_DRV_OP_MODE); in validate_esw_config()
494 op_mode = QLCRDX(ahw, QLC_83XX_DRV_OP_MODE); in validate_esw_config()
501 if (adapter->ahw->op_mode == QLCNIC_MGMT_FUNC) in validate_esw_config()
505 switch (esw_cfg[i].op_mode) { in validate_esw_config()
508 ret = QLC_DEV_GET_DRV(op_mode, pci_func); in validate_esw_config()
510 ret = QLC_83XX_GET_FUNC_PRIVILEGE(op_mode, in validate_esw_config()
554 u8 op_mode = 0, pci_func; in qlcnic_sysfs_write_esw_config() local
568 if (adapter->ahw->op_mode == QLCNIC_MGMT_FUNC) in qlcnic_sysfs_write_esw_config()
[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 …]
/kernel/linux/linux-4.19/drivers/gpu/drm/msm/disp/mdp4/
Dmdp4_plane.c213 uint32_t op_mode = 0; in mdp4_plane_mode_set() local
259 op_mode |= MDP4_PIPE_OP_MODE_SCALEX_EN; in mdp4_plane_mode_set()
267 op_mode |= MDP4_PIPE_OP_MODE_SCALEX_UNIT_SEL(sel_unit); in mdp4_plane_mode_set()
275 op_mode |= MDP4_PIPE_OP_MODE_SCALEY_EN; in mdp4_plane_mode_set()
284 op_mode |= MDP4_PIPE_OP_MODE_SCALEY_UNIT_SEL(sel_unit); in mdp4_plane_mode_set()
330 op_mode |= MDP4_PIPE_OP_MODE_SRC_YCBCR; in mdp4_plane_mode_set()
331 op_mode |= MDP4_PIPE_OP_MODE_CSC_EN; in mdp4_plane_mode_set()
335 mdp4_write(mdp4_kms, REG_MDP4_PIPE_OP_MODE(pipe), op_mode); in mdp4_plane_mode_set()
/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-4.19/drivers/net/wireless/intel/iwlwifi/dvm/
Dmain.c1254 struct iwl_op_mode *op_mode; in iwl_op_mode_dvm_start() local
1276 op_mode = hw->priv; in iwl_op_mode_dvm_start()
1277 op_mode->ops = &iwl_dvm_ops; in iwl_op_mode_dvm_start()
1278 priv = IWL_OP_MODE_GET_DVM(op_mode); in iwl_op_mode_dvm_start()
1330 trans_cfg.op_mode = op_mode; in iwl_op_mode_dvm_start()
1518 return op_mode; in iwl_op_mode_dvm_start()
1535 op_mode = NULL; in iwl_op_mode_dvm_start()
1536 return op_mode; in iwl_op_mode_dvm_start()
1539 static void iwl_op_mode_dvm_stop(struct iwl_op_mode *op_mode) in iwl_op_mode_dvm_stop() argument
1541 struct iwl_priv *priv = IWL_OP_MODE_GET_DVM(op_mode); in iwl_op_mode_dvm_stop()
[all …]
/kernel/linux/linux-4.19/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()

1234567