/Linux-v6.1/drivers/net/wireless/intel/iwlwifi/ |
D | iwl-op-mode.h | 25 * The operational mode (a.k.a. op_mode) is the layer that implements 27 * the transport API to access the HW. The op_mode doesn't need to know how the 30 * There can be several op_mode: i.e. different fw APIs will require two 31 * different op_modes. This is why the op_mode is virtualized. 39 * 1) The driver layer (iwl-drv.c) chooses the op_mode based on the 41 * 2) The driver layer starts the op_mode (ops->start) 42 * 3) The op_mode registers mac80211 43 * 4) The op_mode is governed by mac80211 44 * 5) The driver layer stops the op_mode 48 * struct iwl_op_mode_ops - op_mode specific operations [all …]
|
D | iwl-trans.h | 48 * 4) At some point (i.e. mac80211's start call), the op_mode will call 108 * @CMD_WANT_ASYNC_CALLBACK: the op_mode's async callback function must be 388 * @op_mode: pointer to the upper layer. 414 struct iwl_op_mode *op_mode; member 492 * @tx: send an skb. The transport relies on the op_mode to zero the 495 * IPv4). If the MPDU is a single MSDU, the op_mode must compute the IP 502 * this one. The op_mode must not configure the HCMD queue. The scheduler 530 * the op_mode. May be called several times before start_fw, can't be 970 * @op_mode - pointer to the op_mode 1006 struct iwl_op_mode *op_mode; member [all …]
|
D | iwl-drv.c | 44 * @op_mode: the running op_mode 52 * @dbgfs_op_mode: debugfs op_mode directory entry 58 struct iwl_op_mode *op_mode; member 83 const struct iwl_op_mode_ops *ops; /* pointer to op_mode ops */ 84 struct list_head drv; /* list of devices using this op_mode */ 1343 struct iwl_op_mode *op_mode = NULL; in _iwl_op_mode_start() local 1354 op_mode = ops->start(drv->trans, drv->trans->cfg, in _iwl_op_mode_start() 1357 if (op_mode) in _iwl_op_mode_start() 1358 return op_mode; in _iwl_op_mode_start() 1373 /* op_mode can be NULL if its start failed */ in _iwl_op_mode_stop() [all …]
|
/Linux-v6.1/arch/arm/boot/dts/ |
D | exynos4412-itop-scp-core.dtsi | 175 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 …]
|
D | exynos4412-origen.dts | 163 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 …]
|
D | exynos5250-arndale.dts | 263 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 …]
|
D | exynos5250-spring.dts | 160 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-v6.1/drivers/gpu/drm/msm/disp/dpu1/ |
D | dpu_hw_lm.c | 71 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 155 /* read the existing op_mode configuration */ in dpu_hw_lm_setup_color3() 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()
|
D | dpu_hw_util.c | 274 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-v6.1/drivers/net/wireless/intel/iwlwifi/mvm/ |
D | ops.c | 68 pr_err("Unable to register MVM op_mode: %d\n", ret); in iwl_mvm_init() 81 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() [all …]
|
/Linux-v6.1/drivers/net/ethernet/qlogic/qlcnic/ |
D | qlcnic_83xx_vnic.c | 193 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()
|
D | qlcnic_sysfs.c | 221 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 …]
|
D | qlcnic_ctx.c | 878 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() 1310 op_mode = 0 for setting default port behavior 1311 op_mode = 1 for setting vlan id 1312 op_mode = 2 for deleting vlan id [all …]
|
/Linux-v6.1/drivers/gpu/drm/msm/disp/mdp4/ |
D | mdp4_plane.c | 222 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-v6.1/drivers/ata/ |
D | pata_arasan_cf.c | 75 #define OP_MODE 0x00C macro 234 dev_dbg(dev, ": OP_MODE: %x", readl(acdev->vbase + OP_MODE)); in cf_dumpregs() 267 u32 val = readl(acdev->vbase + OP_MODE); in cf_card_reset() 269 writel(val | CARD_RESET, acdev->vbase + OP_MODE); in cf_card_reset() 271 writel(val & ~CARD_RESET, acdev->vbase + OP_MODE); in cf_card_reset() 276 writel(readl(acdev->vbase + OP_MODE) & ~CFHOST_ENB, in cf_ctrl_reset() 277 acdev->vbase + OP_MODE); in cf_ctrl_reset() 278 writel(readl(acdev->vbase + OP_MODE) | CFHOST_ENB, in cf_ctrl_reset() 279 acdev->vbase + OP_MODE); in cf_ctrl_reset() 335 writel(TRUE_IDE_MODE | CFHOST_ENB, acdev->vbase + OP_MODE); in cf_init() [all …]
|
/Linux-v6.1/Documentation/devicetree/bindings/regulator/ |
D | samsung,s5m8767.yaml | 31 op_mode: 55 op_mode: 80 op_mode:
|
/Linux-v6.1/drivers/net/wireless/intel/iwlwifi/dvm/ |
D | main.c | 1233 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-v6.1/drivers/iio/accel/ |
D | adxl355_core.c | 167 struct mutex lock; /* lock to protect op_mode */ 168 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-v6.1/drivers/crypto/allwinner/sun8i-ss/ |
D | sun8i-ss.h | 105 * @op_mode: list of supported block modes 111 u32 op_mode[SS_ID_OP_MAX]; member 180 * @op_mode: op_mode for this request 194 u32 op_mode; member
|
/Linux-v6.1/drivers/input/misc/ |
D | da7280.c | 240 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-v6.1/drivers/net/ethernet/dec/tulip/ |
D | uli526x.c | 160 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() 1103 /* SHOW_MEDIA_TYPE(db->op_mode); */ in uli526x_timer() 1497 case 0x1000: db->op_mode = ULI526X_10MHF; break; in uli526x_sense_speed() [all …]
|
/Linux-v6.1/drivers/usb/host/ |
D | fsl-mph-dr-of.c | 21 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-v6.1/Documentation/devicetree/bindings/mfd/ |
D | samsung,s5m8767.yaml | 238 op_mode = <1>; /* Normal Mode */ 249 op_mode = <1>; /* Normal Mode */ 258 op_mode = <1>; /* Normal Mode */ 301 op_mode = <1>; /* Normal Mode */
|
/Linux-v6.1/drivers/media/platform/st/stm32/dma2d/ |
D | dma2d.c | 237 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()
|
D | dma2d.h | 98 enum dma2d_op_mode op_mode; member 132 void dma2d_config_common(struct dma2d_dev *d, enum dma2d_op_mode op_mode,
|