Home
last modified time | relevance | path

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

1234

/linux-6.1.9/drivers/net/wireless/intel/iwlwifi/
Diwl-op-mode.h94 void (*stop)(struct iwl_op_mode *op_mode);
95 void (*rx)(struct iwl_op_mode *op_mode, struct napi_struct *napi,
97 void (*rx_rss)(struct iwl_op_mode *op_mode, struct napi_struct *napi,
99 void (*async_cb)(struct iwl_op_mode *op_mode,
101 void (*queue_full)(struct iwl_op_mode *op_mode, int queue);
102 void (*queue_not_full)(struct iwl_op_mode *op_mode, int queue);
103 bool (*hw_rf_kill)(struct iwl_op_mode *op_mode, bool state);
104 void (*free_skb)(struct iwl_op_mode *op_mode, struct sk_buff *skb);
105 void (*nic_error)(struct iwl_op_mode *op_mode, bool sync);
106 void (*cmd_queue_full)(struct iwl_op_mode *op_mode);
[all …]
/linux-6.1.9/arch/arm/boot/dts/
Dexynos4412-itop-scp-core.dtsi175 op_mode = <1>; /* Normal Mode */
185 op_mode = <1>; /* Normal Mode */
193 op_mode = <1>; /* Normal Mode */
201 op_mode = <1>; /* Normal Mode */
206 op_mode = <0>; /* Always off Mode */
214 op_mode = <1>; /* Normal Mode */
222 op_mode = <1>; /* Normal Mode */
229 op_mode = <1>; /* Normal Mode */
236 op_mode = <1>; /* Normal Mode */
243 op_mode = <1>; /* Normal Mode */
[all …]
Dexynos4412-origen.dts163 op_mode = <1>; /* Normal Mode */
171 op_mode = <1>; /* Normal Mode */
179 op_mode = <1>; /* Normal Mode */
187 op_mode = <1>; /* Normal Mode */
195 op_mode = <1>; /* Normal Mode */
203 op_mode = <1>; /* Normal Mode */
211 op_mode = <1>; /* Normal Mode */
219 op_mode = <1>; /* Normal Mode */
227 op_mode = <1>; /* Normal Mode */
235 op_mode = <1>; /* Normal Mode */
[all …]
Dexynos5250-arndale.dts263 op_mode = <1>;
272 op_mode = <1>;
281 op_mode = <1>;
289 op_mode = <1>;
298 op_mode = <1>;
307 op_mode = <1>;
316 op_mode = <1>;
325 op_mode = <1>;
332 op_mode = <1>;
341 op_mode = <1>;
[all …]
Dexynos5250-spring.dts160 op_mode = <0>;
168 op_mode = <0>;
176 op_mode = <3>;
184 op_mode = <3>;
192 op_mode = <3>;
200 op_mode = <3>;
208 op_mode = <0>;
216 op_mode = <3>;
224 op_mode = <0>;
232 op_mode = <3>;
[all …]
/linux-6.1.9/drivers/gpu/drm/msm/disp/dpu1/
Ddpu_hw_lm.c71 u32 op_mode; in dpu_hw_lm_setup_out() local
73 op_mode = DPU_REG_READ(c, LM_OP_MODE); in dpu_hw_lm_setup_out()
80 op_mode |= BIT(31); in dpu_hw_lm_setup_out()
82 op_mode &= ~BIT(31); in dpu_hw_lm_setup_out()
83 DPU_REG_WRITE(c, LM_OP_MODE, op_mode); in dpu_hw_lm_setup_out()
153 int op_mode; in dpu_hw_lm_setup_color3() local
156 op_mode = DPU_REG_READ(c, LM_OP_MODE); in dpu_hw_lm_setup_color3()
158 op_mode = (op_mode & (BIT(31) | BIT(30))) | mixer_op_mode; in dpu_hw_lm_setup_color3()
160 DPU_REG_WRITE(c, LM_OP_MODE, op_mode); in dpu_hw_lm_setup_color3()
Ddpu_hw_util.c274 u32 op_mode = 0; in dpu_hw_setup_scaler3() local
280 op_mode |= BIT(0); in dpu_hw_setup_scaler3()
281 op_mode |= (scaler3_cfg->y_rgb_filter_cfg & 0x3) << 16; in dpu_hw_setup_scaler3()
284 op_mode |= BIT(12); in dpu_hw_setup_scaler3()
285 op_mode |= (scaler3_cfg->uv_filter_cfg & 0x3) << 24; in dpu_hw_setup_scaler3()
288 op_mode |= (scaler3_cfg->blend_cfg & 1) << 31; in dpu_hw_setup_scaler3()
289 op_mode |= (scaler3_cfg->dir_en) ? BIT(4) : 0; in dpu_hw_setup_scaler3()
308 op_mode |= BIT(8); in dpu_hw_setup_scaler3()
358 op_mode |= BIT(14); in dpu_hw_setup_scaler3()
361 op_mode |= BIT(10); in dpu_hw_setup_scaler3()
[all …]
/linux-6.1.9/drivers/net/wireless/intel/iwlwifi/mvm/
Dops.c81 static void iwl_mvm_nic_config(struct iwl_op_mode *op_mode) in iwl_mvm_nic_config() argument
83 struct iwl_mvm *mvm = IWL_OP_MODE_GET_MVM(op_mode); in iwl_mvm_nic_config()
1073 struct iwl_op_mode *op_mode; in iwl_op_mode_mvm_start() local
1107 op_mode = hw->priv; in iwl_op_mode_mvm_start()
1109 mvm = IWL_OP_MODE_GET_MVM(op_mode); in iwl_op_mode_mvm_start()
1125 op_mode->ops = &iwl_mvm_ops_mq; in iwl_op_mode_mvm_start()
1132 op_mode->ops = &iwl_mvm_ops; in iwl_op_mode_mvm_start()
1213 trans_cfg.op_mode = op_mode; in iwl_op_mode_mvm_start()
1335 return op_mode; in iwl_op_mode_mvm_start()
1344 return op_mode; in iwl_op_mode_mvm_start()
[all …]
/linux-6.1.9/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 …]
/linux-6.1.9/drivers/gpu/drm/msm/disp/mdp4/
Dmdp4_plane.c222 uint32_t op_mode = 0; in mdp4_plane_mode_set() local
268 op_mode |= MDP4_PIPE_OP_MODE_SCALEX_EN; in mdp4_plane_mode_set()
276 op_mode |= MDP4_PIPE_OP_MODE_SCALEX_UNIT_SEL(sel_unit); in mdp4_plane_mode_set()
284 op_mode |= MDP4_PIPE_OP_MODE_SCALEY_EN; in mdp4_plane_mode_set()
293 op_mode |= MDP4_PIPE_OP_MODE_SCALEY_UNIT_SEL(sel_unit); in mdp4_plane_mode_set()
339 op_mode |= MDP4_PIPE_OP_MODE_SRC_YCBCR; in mdp4_plane_mode_set()
340 op_mode |= MDP4_PIPE_OP_MODE_CSC_EN; in mdp4_plane_mode_set()
344 mdp4_write(mdp4_kms, REG_MDP4_PIPE_OP_MODE(pipe), op_mode); in mdp4_plane_mode_set()
/linux-6.1.9/drivers/net/wireless/intel/iwlwifi/dvm/
Dmain.c1233 struct iwl_op_mode *op_mode; in iwl_op_mode_dvm_start() local
1255 op_mode = hw->priv; in iwl_op_mode_dvm_start()
1256 op_mode->ops = &iwl_dvm_ops; in iwl_op_mode_dvm_start()
1257 priv = IWL_OP_MODE_GET_DVM(op_mode); in iwl_op_mode_dvm_start()
1309 trans_cfg.op_mode = op_mode; in iwl_op_mode_dvm_start()
1490 return op_mode; in iwl_op_mode_dvm_start()
1505 op_mode = NULL; in iwl_op_mode_dvm_start()
1506 return op_mode; in iwl_op_mode_dvm_start()
1509 static void iwl_op_mode_dvm_stop(struct iwl_op_mode *op_mode) in iwl_op_mode_dvm_stop() argument
1511 struct iwl_priv *priv = IWL_OP_MODE_GET_DVM(op_mode); in iwl_op_mode_dvm_stop()
[all …]
/linux-6.1.9/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,
219 pdata->operating_mode = dev_data->op_mode; in fsl_usb2_mph_dr_of_probe()
/linux-6.1.9/drivers/iio/accel/
Dadxl355_core.c168 enum adxl355_op_mode op_mode; member
184 enum adxl355_op_mode op_mode) in adxl355_set_op_mode() argument
188 if (data->op_mode == op_mode) in adxl355_set_op_mode()
192 ADXL355_POWER_CTL_MODE_MSK, op_mode); in adxl355_set_op_mode()
196 data->op_mode = op_mode; in adxl355_set_op_mode()
724 data->op_mode = ADXL355_STANDBY; in adxl355_core_probe()
/linux-6.1.9/drivers/net/ethernet/dec/tulip/
Duli526x.c160 u8 op_mode; /* real work media mode */ member
553 db->op_mode = db->media_mode; /* Force Mode */ in uli526x_init()
949 if(db->op_mode==ULI526X_100MHF || db->op_mode==ULI526X_100MFD) in ULi_ethtool_get_link_ksettings()
953 if(db->op_mode==ULI526X_10MFD || db->op_mode==ULI526X_100MFD) in ULi_ethtool_get_link_ksettings()
1095 (db->op_mode == ULI526X_100MHF || in uli526x_timer()
1096 db->op_mode == ULI526X_100MFD) in uli526x_timer()
1098 (db->op_mode == ULI526X_10MFD || in uli526x_timer()
1099 db->op_mode == ULI526X_100MFD) in uli526x_timer()
1497 case 0x1000: db->op_mode = ULI526X_10MHF; break; in uli526x_sense_speed()
1498 case 0x2000: db->op_mode = ULI526X_10MFD; break; in uli526x_sense_speed()
[all …]
/linux-6.1.9/drivers/input/misc/
Dda7280.c240 u8 op_mode; member
369 switch (haptics->op_mode) { in da7280_haptic_activate()
409 dev_err(haptics->dev, "Invalid op mode %d\n", haptics->op_mode); in da7280_haptic_activate()
416 haptics->op_mode); in da7280_haptic_activate()
423 if (haptics->op_mode == DA7280_PWM_MODE || in da7280_haptic_activate()
424 haptics->op_mode == DA7280_RTWM_MODE) { in da7280_haptic_activate()
456 switch (haptics->op_mode) { in da7280_haptic_deactivate()
486 dev_err(haptics->dev, "Invalid op mode %d\n", haptics->op_mode); in da7280_haptic_deactivate()
522 haptics->op_mode = haptics->const_op_mode; in da7280_haptics_upload_effect()
523 if (haptics->op_mode == DA7280_DRO_MODE) { in da7280_haptics_upload_effect()
[all …]
/linux-6.1.9/Documentation/devicetree/bindings/regulator/
Dsamsung,s5m8767.yaml31 op_mode:
55 op_mode:
80 op_mode:
/linux-6.1.9/drivers/usb/dwc2/
Dcore.c881 unsigned int op_mode = dwc2_op_mode(hsotg); in dwc2_hw_is_otg() local
883 return (op_mode == GHWCFG2_OP_MODE_HNP_SRP_CAPABLE) || in dwc2_hw_is_otg()
884 (op_mode == GHWCFG2_OP_MODE_SRP_ONLY_CAPABLE) || in dwc2_hw_is_otg()
885 (op_mode == GHWCFG2_OP_MODE_NO_HNP_SRP_CAPABLE); in dwc2_hw_is_otg()
891 unsigned int op_mode = dwc2_op_mode(hsotg); in dwc2_hw_is_host() local
893 return (op_mode == GHWCFG2_OP_MODE_SRP_CAPABLE_HOST) || in dwc2_hw_is_host()
894 (op_mode == GHWCFG2_OP_MODE_NO_SRP_CAPABLE_HOST); in dwc2_hw_is_host()
900 unsigned int op_mode = dwc2_op_mode(hsotg); in dwc2_hw_is_device() local
902 return (op_mode == GHWCFG2_OP_MODE_SRP_CAPABLE_DEVICE) || in dwc2_hw_is_device()
903 (op_mode == GHWCFG2_OP_MODE_NO_SRP_CAPABLE_DEVICE); in dwc2_hw_is_device()
/linux-6.1.9/drivers/media/platform/st/stm32/dma2d/
Ddma2d.h98 enum dma2d_op_mode op_mode; member
132 void dma2d_config_common(struct dma2d_dev *d, enum dma2d_op_mode op_mode,
Ddma2d.c237 ctx->op_mode = DMA2D_MODE_R2M; in dma2d_s_ctrl()
239 ctx->op_mode = DMA2D_MODE_M2M; in dma2d_s_ctrl()
290 ctx->op_mode = DMA2D_MODE_M2M_FPC; in dma2d_open()
502 if (ctx->op_mode != DMA2D_MODE_R2M) { in device_run()
504 ctx->op_mode = DMA2D_MODE_M2M; in device_run()
506 ctx->op_mode = DMA2D_MODE_M2M_FPC; in device_run()
511 dma2d_config_common(dev, ctx->op_mode, frm_cap->width, frm_cap->height); in device_run()
/linux-6.1.9/drivers/s390/crypto/
Dzcrypt_ep11misc.h91 u64 op_mode; /* card operational mode(s) */ member
100 u64 op_mode; /* domain operational mode(s) */ member
/linux-6.1.9/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()
/linux-6.1.9/sound/soc/ti/
Ddavinci-mcasp.c95 u8 op_mode; member
762 if (mcasp->op_mode == DAVINCI_MCASP_DIT_MODE) in davinci_mcasp_set_tdm_slot()
825 if (mcasp->op_mode != DAVINCI_MCASP_DIT_MODE) { in davinci_config_channel_size()
869 if (mcasp->op_mode == DAVINCI_MCASP_DIT_MODE) in mcasp_common_hw_param()
1267 if (mcasp->op_mode == DAVINCI_MCASP_IIS_MODE) in davinci_mcasp_hw_params()
1281 if (mcasp->op_mode == DAVINCI_MCASP_DIT_MODE) in davinci_mcasp_hw_params()
1292 if (mcasp->op_mode == DAVINCI_MCASP_IIS_MODE) { in davinci_mcasp_hw_params()
1503 if (mcasp->op_mode == DAVINCI_MCASP_DIT_MODE) in davinci_mcasp_startup()
1608 if (mcasp->op_mode == DAVINCI_MCASP_DIT_MODE) in davinci_mcasp_shutdown()
1707 if (mcasp->op_mode == DAVINCI_MCASP_DIT_MODE) { in davinci_mcasp_dai_probe()
[all …]
/linux-6.1.9/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()

1234