Searched refs:op_mode (Results 1 - 25 of 97) sorted by relevance

1234

/linux-master/drivers/net/wireless/intel/iwlwifi/
H A Diwl-op-mode.h25 * 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 specifi
127 iwl_op_mode_stop(struct iwl_op_mode *op_mode) argument
133 iwl_op_mode_rx(struct iwl_op_mode *op_mode, struct napi_struct *napi, struct iwl_rx_cmd_buffer *rxb) argument
140 iwl_op_mode_rx_rss(struct iwl_op_mode *op_mode, struct napi_struct *napi, struct iwl_rx_cmd_buffer *rxb, unsigned int queue) argument
148 iwl_op_mode_queue_full(struct iwl_op_mode *op_mode, int queue) argument
154 iwl_op_mode_queue_not_full(struct iwl_op_mode *op_mode, int queue) argument
161 iwl_op_mode_hw_rf_kill(struct iwl_op_mode *op_mode, bool state) argument
167 iwl_op_mode_free_skb(struct iwl_op_mode *op_mode, struct sk_buff *skb) argument
175 iwl_op_mode_nic_error(struct iwl_op_mode *op_mode, bool sync) argument
180 iwl_op_mode_cmd_queue_full(struct iwl_op_mode *op_mode) argument
185 iwl_op_mode_nic_config(struct iwl_op_mode *op_mode) argument
191 iwl_op_mode_wimax_active(struct iwl_op_mode *op_mode) argument
197 iwl_op_mode_time_point(struct iwl_op_mode *op_mode, enum iwl_fw_ini_time_point tp_id, union iwl_dbg_tlv_tp_data *tp_data) argument
[all...]
/linux-master/drivers/gpu/drm/msm/disp/dpu1/
H A Ddpu_hw_lm.c55 u32 op_mode; local
57 op_mode = DPU_REG_READ(c, LM_OP_MODE);
64 op_mode |= BIT(31);
66 op_mode &= ~BIT(31);
67 DPU_REG_WRITE(c, LM_OP_MODE, op_mode);
137 int op_mode; local
139 /* read the existing op_mode configuration */
140 op_mode = DPU_REG_READ(c, LM_OP_MODE);
142 op_mode = (op_mode
[all...]
H A Ddpu_hw_util.c287 u32 op_mode = 0; local
293 op_mode |= BIT(0);
294 op_mode |= (scaler3_cfg->y_rgb_filter_cfg & 0x3) << 16;
297 op_mode |= BIT(12);
298 op_mode |= (scaler3_cfg->uv_filter_cfg & 0x3) << 24;
301 op_mode |= (scaler3_cfg->blend_cfg & 1) << 31;
302 op_mode |= (scaler3_cfg->dir_en) ? BIT(4) : 0;
321 op_mode |= BIT(8);
371 op_mode |= BIT(14);
374 op_mode |
[all...]
/linux-master/include/linux/platform_data/
H A Ddavinci_asp.h63 u8 op_mode; member in struct:davinci_mcasp_pdata
/linux-master/drivers/net/ethernet/qlogic/qlcnic/
H A Dqlcnic_83xx_vnic.c193 u32 op_mode, priv_level; local
198 op_mode = QLCRDX(adapter->ahw, QLC_83XX_DRV_OP_MODE);
200 if (op_mode == QLC_83XX_DEFAULT_OPMODE)
203 priv_level = QLC_83XX_GET_FUNC_PRIVILEGE(op_mode,
207 ahw->op_mode = QLCNIC_NON_PRIV_FUNC;
212 ahw->op_mode = QLCNIC_PRIV_FUNC;
217 ahw->op_mode = QLCNIC_MGMT_FUNC;
H A Dqlcnic_sysfs.c220 if (adapter->ahw->op_mode == QLCNIC_NON_PRIV_FUNC) {
486 u32 op_mode; local
490 op_mode = readl(ahw->pci_base0 + QLCNIC_DRV_OP_MODE);
492 op_mode = QLCRDX(ahw, QLC_83XX_DRV_OP_MODE);
499 if (adapter->ahw->op_mode == QLCNIC_MGMT_FUNC)
503 switch (esw_cfg[i].op_mode) {
506 ret = QLC_DEV_GET_DRV(op_mode, pci_func);
508 ret = QLC_83XX_GET_FUNC_PRIVILEGE(op_mode,
552 u8 op_mode = 0, pci_func; local
566 if (adapter->ahw->op_mode
[all...]
/linux-master/drivers/staging/vt6656/
H A Dpower.c46 if (priv->op_mode != NL80211_IFTYPE_ADHOC)
/linux-master/drivers/media/platform/st/stm32/dma2d/
H A Ddma2d.h96 enum dma2d_op_mode op_mode; member in struct:dma2d_ctx
130 void dma2d_config_common(struct dma2d_dev *d, enum dma2d_op_mode op_mode,
H A Ddma2d-hw.c52 void dma2d_config_common(struct dma2d_dev *d, enum dma2d_op_mode op_mode, argument
56 op_mode << CR_MODE_SHIFT);
/linux-master/drivers/net/wireless/intel/iwlwifi/mvm/
H A Dops.c69 pr_err("Unable to register MVM op_mode: %d\n", ret);
82 static void iwl_mvm_nic_config(struct iwl_op_mode *op_mode) argument
84 struct iwl_mvm *mvm = IWL_OP_MODE_GET_MVM(op_mode);
1204 struct iwl_op_mode *op_mode; local
1245 op_mode = hw->priv;
1247 mvm = IWL_OP_MODE_GET_MVM(op_mode);
1264 op_mode->ops = &iwl_mvm_ops_mq;
1271 op_mode->ops = &iwl_mvm_ops;
1359 trans_cfg.op_mode = op_mode;
1535 iwl_op_mode_mvm_stop(struct iwl_op_mode *op_mode) argument
1765 iwl_mvm_rx(struct iwl_op_mode *op_mode, struct napi_struct *napi, struct iwl_rx_cmd_buffer *rxb) argument
1781 iwl_mvm_rx_mq(struct iwl_op_mode *op_mode, struct napi_struct *napi, struct iwl_rx_cmd_buffer *rxb) argument
1810 iwl_mvm_queue_state_change(struct iwl_op_mode *op_mode, int hw_queue, bool start) argument
1877 iwl_mvm_stop_sw_queue(struct iwl_op_mode *op_mode, int hw_queue) argument
1882 iwl_mvm_wake_sw_queue(struct iwl_op_mode *op_mode, int hw_queue) argument
1909 iwl_mvm_set_hw_rfkill_state(struct iwl_op_mode *op_mode, bool state) argument
1942 iwl_mvm_free_skb(struct iwl_op_mode *op_mode, struct sk_buff *skb) argument
2062 iwl_mvm_nic_error(struct iwl_op_mode *op_mode, bool sync) argument
2092 iwl_mvm_cmd_queue_full(struct iwl_op_mode *op_mode) argument
2100 iwl_op_mode_mvm_time_point(struct iwl_op_mode *op_mode, enum iwl_fw_ini_time_point tp_id, union iwl_dbg_tlv_tp_data *tp_data) argument
2128 iwl_mvm_rx_mq_rss(struct iwl_op_mode *op_mode, struct napi_struct *napi, struct iwl_rx_cmd_buffer *rxb, unsigned int queue) argument
[all...]
/linux-master/tools/net/ynl/
H A Dynl-gen-c.py941 for op_mode in ['do', 'dump']:
942 self.hooks[when][op_mode] = dict()
943 self.hooks[when][op_mode]['set'] = set()
944 self.hooks[when][op_mode]['list'] = []
994 for op_mode in ['do', 'dump']:
995 if op_mode in op and 'request' in op[op_mode]:
996 req_attrs.update(set(op[op_mode]['request']['attributes']))
997 if op_mode in op and 'reply' in op[op_mode]
[all...]
/linux-master/drivers/s390/crypto/
H A Dzcrypt_ep11misc.h92 u64 op_mode; /* card operational mode(s) */ member in struct:ep11_card_info
101 u64 op_mode; /* domain operational mode(s) */ member in struct:ep11_domain_info
/linux-master/drivers/gpu/drm/msm/disp/mdp4/
H A Dmdp4_plane.c206 uint32_t op_mode = 0; local
252 op_mode |= MDP4_PIPE_OP_MODE_SCALEX_EN;
260 op_mode |= MDP4_PIPE_OP_MODE_SCALEX_UNIT_SEL(sel_unit);
268 op_mode |= MDP4_PIPE_OP_MODE_SCALEY_EN;
277 op_mode |= MDP4_PIPE_OP_MODE_SCALEY_UNIT_SEL(sel_unit);
324 op_mode |= MDP4_PIPE_OP_MODE_SRC_YCBCR;
325 op_mode |= MDP4_PIPE_OP_MODE_CSC_EN;
329 mdp4_write(mdp4_kms, REG_MDP4_PIPE_OP_MODE(pipe), op_mode);
/linux-master/drivers/net/wireless/mediatek/mt76/mt7915/
H A Dtestmode.h74 __le32 op_mode; member in union:mt7915_tm_rf_test::__anon1976
/linux-master/drivers/staging/vt6655/
H A Dpower.c56 if (priv->op_mode != NL80211_IFTYPE_ADHOC) {
/linux-master/drivers/usb/host/
H A Dfsl-mph-dr-of.c22 enum fsl_usb2_operating_modes op_mode; /* operating mode */ member in struct:fsl_usb2_dev_data
29 .op_mode = FSL_USB2_DR_HOST,
34 .op_mode = FSL_USB2_DR_OTG,
39 .op_mode = FSL_USB2_DR_DEVICE,
216 pdata->operating_mode = dev_data->op_mode;
/linux-master/drivers/net/wireless/intel/iwlwifi/dvm/
H A Dmain.c1233 struct iwl_op_mode *op_mode; local
1255 op_mode = hw->priv;
1256 op_mode->ops = &iwl_dvm_ops;
1257 priv = IWL_OP_MODE_GET_DVM(op_mode);
1309 trans_cfg.op_mode = op_mode;
1490 return op_mode;
1505 op_mode = NULL;
1506 return op_mode;
1509 static void iwl_op_mode_dvm_stop(struct iwl_op_mode *op_mode) argument
1947 iwl_nic_error(struct iwl_op_mode *op_mode, bool sync) argument
1960 iwl_cmd_queue_full(struct iwl_op_mode *op_mode) argument
1972 iwl_nic_config(struct iwl_op_mode *op_mode) argument
2022 iwl_wimax_active(struct iwl_op_mode *op_mode) argument
2030 iwl_stop_sw_queue(struct iwl_op_mode *op_mode, int queue) argument
2049 iwl_wake_sw_queue(struct iwl_op_mode *op_mode, int queue) argument
2089 iwl_free_skb(struct iwl_op_mode *op_mode, struct sk_buff *skb) argument
2099 iwl_set_hw_rfkill_state(struct iwl_op_mode *op_mode, bool state) argument
[all...]
/linux-master/drivers/input/misc/
H A Dda7280.c239 u8 op_mode; member in struct:da7280_haptic
368 switch (haptics->op_mode) {
408 dev_err(haptics->dev, "Invalid op mode %d\n", haptics->op_mode);
415 haptics->op_mode);
422 if (haptics->op_mode == DA7280_PWM_MODE ||
423 haptics->op_mode == DA7280_RTWM_MODE) {
455 switch (haptics->op_mode) {
485 dev_err(haptics->dev, "Invalid op mode %d\n", haptics->op_mode);
521 haptics->op_mode = haptics->const_op_mode;
522 if (haptics->op_mode
[all...]
/linux-master/drivers/iio/accel/
H A Dadxl355_core.c223 struct mutex lock; /* lock to protect op_mode */
224 enum adxl355_op_mode op_mode; member in struct:adxl355_data
240 enum adxl355_op_mode op_mode)
244 if (data->op_mode == op_mode)
248 ADXL355_POWER_CTL_MODE_MSK, op_mode);
252 data->op_mode = op_mode;
770 data->op_mode = ADXL355_STANDBY;
239 adxl355_set_op_mode(struct adxl355_data *data, enum adxl355_op_mode op_mode) argument
/linux-master/drivers/net/wireless/ath/ath5k/
H A Dpcu.c872 * @op_mode: One of enum nl80211_iftype
877 ath5k_hw_set_opmode(struct ath5k_hw *ah, enum nl80211_iftype op_mode) argument
882 ATH5K_DBG(ah, ATH5K_DEBUG_MODE, "mode %d\n", op_mode);
893 switch (op_mode) {
948 * @op_mode: One of enum nl80211_iftype
954 ath5k_hw_pcu_init(struct ath5k_hw *ah, enum nl80211_iftype op_mode) argument
960 ath5k_hw_set_opmode(ah, op_mode);
/linux-master/drivers/net/ethernet/dec/tulip/
H A Duli526x.c160 u8 op_mode; /* real work media mode */ member in struct:uli526x_board_info
553 db->op_mode = db->media_mode; /* Force Mode */
949 if(db->op_mode==ULI526X_100MHF || db->op_mode==ULI526X_100MFD)
953 if(db->op_mode==ULI526X_10MFD || db->op_mode==ULI526X_100MFD)
1095 (db->op_mode == ULI526X_100MHF ||
1096 db->op_mode == ULI526X_100MFD)
1098 (db->op_mode == ULI526X_10MFD ||
1099 db->op_mode
[all...]
/linux-master/drivers/usb/dwc2/
H A Dcore.c886 unsigned int op_mode = dwc2_op_mode(hsotg); local
888 return (op_mode == GHWCFG2_OP_MODE_HNP_SRP_CAPABLE) ||
889 (op_mode == GHWCFG2_OP_MODE_SRP_ONLY_CAPABLE) ||
890 (op_mode == GHWCFG2_OP_MODE_NO_HNP_SRP_CAPABLE);
896 unsigned int op_mode = dwc2_op_mode(hsotg); local
898 return (op_mode == GHWCFG2_OP_MODE_SRP_CAPABLE_HOST) ||
899 (op_mode == GHWCFG2_OP_MODE_NO_SRP_CAPABLE_HOST);
905 unsigned int op_mode = dwc2_op_mode(hsotg); local
907 return (op_mode == GHWCFG2_OP_MODE_SRP_CAPABLE_DEVICE) ||
908 (op_mode
[all...]
/linux-master/drivers/regulator/
H A Dact8945a-regulator.c73 u32 op_mode[ACT8945A_ID_MAX]; member in struct:act8945a_pmic
204 act8945a->op_mode[id] = mode;
217 return act8945a->op_mode[id];
/linux-master/drivers/crypto/allwinner/sun8i-ss/
H A Dsun8i-ss.h105 * @op_mode: list of supported block modes
111 u32 op_mode[SS_ID_OP_MAX]; member in struct:ss_variant
180 * @op_mode: op_mode for this request
194 u32 op_mode; member in struct:sun8i_cipher_req_ctx
/linux-master/drivers/net/wireless/intel/iwlwifi/queue/
H A Dtx.h34 iwl_op_mode_queue_not_full(trans->op_mode, txq->id);
64 iwl_op_mode_queue_full(trans->op_mode, txq->id);

Completed in 434 milliseconds

1234