| /linux/drivers/hid/amd-sfh-hid/sfh1_1/ |
| H A D | amd_sfh_interface.c | 120 static int amd_sfh_op_mode_info(u32 *op_mode) in amd_sfh_op_mode_info() 125 if (!op_mode) 138 mode.op_mode.mode == SFH_MODE_TABLET ? "tablet" : "laptop", in amd_sfh_mode_info() 139 mode.op_mode.mode); in amd_sfh_mode_info() 140 *op_mode = mode.op_mode.mode; in amd_sfh_mode_info() 157 *platform_type = mode.op_mode.devicemode; in amd_sfh_mode_info() 159 if (mode.op_mode.ontablestate == 1) { in amd_sfh_mode_info() 161 } else if (mode.op_mode.ontablestate == 2) { in amd_sfh_hpd_info() 163 } else if (mode.op_mode in amd_sfh_hpd_info() 101 amd_sfh_op_mode_info(u32 * op_mode) amd_sfh_op_mode_info() argument [all...] |
| /linux/drivers/net/wireless/intel/iwlwifi/mld/ |
| H A D | mld.c | 54 pr_err("Unable to register MLD op_mode: %d\n", ret); 361 iwl_mld_configure_trans(struct iwl_op_mode *op_mode) in iwl_mld_configure_trans() 363 struct iwl_mld *mld = IWL_OP_MODE_GET_MLD(op_mode); in iwl_mld_configure_trans() 396 iwl_trans_op_mode_enter(trans, op_mode); in iwl_op_mode_mld_start() 411 struct iwl_op_mode *op_mode; in iwl_op_mode_mld_start() 422 op_mode = hw->priv; in iwl_op_mode_mld_start() 424 op_mode->ops = &iwl_mld_ops; in iwl_op_mode_mld_start() 426 mld = IWL_OP_MODE_GET_MLD(op_mode); in iwl_op_mode_mld_start() 437 iwl_mld_configure_trans(op_mode); in iwl_op_mode_mld_start() 501 return op_mode; in iwl_op_mode_mld_start() 350 iwl_mld_configure_trans(struct iwl_op_mode * op_mode) iwl_mld_configure_trans() argument 400 struct iwl_op_mode *op_mode; iwl_op_mode_mld_start() local 505 iwl_op_mode_mld_stop(struct iwl_op_mode * op_mode) iwl_op_mode_mld_stop() argument 536 iwl_mld_queue_state_change(struct iwl_op_mode * op_mode,int hw_queue,bool queue_full) iwl_mld_queue_state_change() argument 582 iwl_mld_queue_full(struct iwl_op_mode * op_mode,int hw_queue) iwl_mld_queue_full() argument 588 iwl_mld_queue_not_full(struct iwl_op_mode * op_mode,int hw_queue) iwl_mld_queue_not_full() argument 594 iwl_mld_set_hw_rfkill_state(struct iwl_op_mode * op_mode,bool state) iwl_mld_set_hw_rfkill_state() argument 604 iwl_mld_free_skb(struct iwl_op_mode * op_mode,struct sk_buff * skb) iwl_mld_free_skb() argument 650 iwl_mld_nic_error(struct iwl_op_mode * op_mode,enum iwl_fw_error_type type) iwl_mld_nic_error() argument 692 iwl_mld_dump_error(struct iwl_op_mode * op_mode,struct iwl_fw_error_dump_mode * mode) iwl_mld_dump_error() argument 709 iwl_mld_sw_reset(struct iwl_op_mode * op_mode,enum iwl_fw_error_type type) iwl_mld_sw_reset() argument 734 iwl_mld_time_point(struct iwl_op_mode * op_mode,enum iwl_fw_ini_time_point tp_id,union iwl_dbg_tlv_tp_data * tp_data) iwl_mld_time_point() argument 744 iwl_mld_device_powered_off(struct iwl_op_mode * op_mode) iwl_mld_device_powered_off() argument 755 iwl_mld_device_powered_off(struct iwl_op_mode * op_mode) iwl_mld_device_powered_off() argument 759 iwl_mld_dump(struct iwl_op_mode * op_mode) iwl_mld_dump() argument [all...] |
| /linux/arch/arm/boot/dts/samsung/ |
| H A D | exynos5250-arndale.dts | 284 op_mode = <1>; 293 op_mode = <1>; 302 op_mode = <1>; 310 op_mode = <1>; 319 op_mode = <1>; 328 op_mode = <1>; 337 op_mode = <1>; 346 op_mode = <1>; 353 op_mode = <1>; 362 op_mode = <1>; [all …]
|
| H A D | exynos5250-spring.dts | 165 op_mode = <0>; 173 op_mode = <0>; 181 op_mode = <3>; 189 op_mode = <3>; 197 op_mode = <3>; 205 op_mode = <3>; 213 op_mode = <0>; 221 op_mode = <3>; 229 op_mode = <0>; 237 op_mode = <3>; [all …]
|
| H A D | exynos4212-tab3.dtsi | 618 op_mode = <1>; 627 op_mode = <1>; 635 op_mode = <1>; 642 op_mode = <1>; 649 op_mode = <3>; 656 op_mode = <1>; 663 op_mode = <3>; 670 op_mode = <1>; 680 op_mode = <1>; 687 op_mode = <1>; [all …]
|
| /linux/drivers/net/wireless/intel/iwlwifi/mvm/ |
| H A D | ops.c | 64 pr_err("Unable to register MVM op_mode: %d\n", ret); in iwl_mvm_init() 79 static void iwl_mvm_nic_config(struct iwl_op_mode *op_mode) 81 struct iwl_mvm *mvm = IWL_OP_MODE_GET_MVM(op_mode); in iwl_mvm_nic_config() 1201 struct iwl_op_mode *op_mode; in iwl_op_mode_mvm_start() 1238 op_mode = hw->priv; in iwl_op_mode_mvm_start() 1240 mvm = IWL_OP_MODE_GET_MVM(op_mode); in iwl_op_mode_mvm_start() 1297 op_mode->ops = &iwl_mvm_ops_mq; in iwl_op_mode_mvm_start() 1304 op_mode->ops = &iwl_mvm_ops; in iwl_op_mode_mvm_start() 1434 iwl_trans_op_mode_enter(mvm->trans, op_mode); in iwl_op_mode_mvm_start() 1499 return op_mode; in iwl_op_mode_mvm_start() 80 iwl_mvm_nic_config(struct iwl_op_mode * op_mode) iwl_mvm_nic_config() argument 1202 struct iwl_op_mode *op_mode; iwl_op_mode_mvm_start() local 1550 iwl_op_mode_mvm_stop(struct iwl_op_mode * op_mode) iwl_op_mode_mvm_stop() argument 1780 iwl_mvm_rx(struct iwl_op_mode * op_mode,struct napi_struct * napi,struct iwl_rx_cmd_buffer * rxb) iwl_mvm_rx() argument 1796 iwl_mvm_rx_mq(struct iwl_op_mode * op_mode,struct napi_struct * napi,struct iwl_rx_cmd_buffer * rxb) iwl_mvm_rx_mq() argument 1825 iwl_mvm_queue_state_change(struct iwl_op_mode * op_mode,int hw_queue,bool start) iwl_mvm_queue_state_change() argument 1892 iwl_mvm_stop_sw_queue(struct iwl_op_mode * op_mode,int hw_queue) iwl_mvm_stop_sw_queue() argument 1897 iwl_mvm_wake_sw_queue(struct iwl_op_mode * op_mode,int hw_queue) iwl_mvm_wake_sw_queue() argument 1924 iwl_mvm_set_hw_rfkill_state(struct iwl_op_mode * op_mode,bool state) iwl_mvm_set_hw_rfkill_state() argument 1955 iwl_mvm_free_skb(struct iwl_op_mode * op_mode,struct sk_buff * skb) iwl_mvm_free_skb() argument 1965 iwl_mvm_nic_error(struct iwl_op_mode * op_mode,enum iwl_fw_error_type type) iwl_mvm_nic_error() argument 1992 iwl_mvm_dump_error(struct iwl_op_mode * op_mode,struct iwl_fw_error_dump_mode * mode) iwl_mvm_dump_error() argument 2009 iwl_mvm_sw_reset(struct iwl_op_mode * op_mode,enum iwl_fw_error_type type) iwl_mvm_sw_reset() argument 2068 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) iwl_op_mode_mvm_time_point() argument 2077 iwl_mvm_dump(struct iwl_op_mode * op_mode) iwl_mvm_dump() argument 2089 iwl_op_mode_mvm_device_powered_off(struct iwl_op_mode * op_mode) iwl_op_mode_mvm_device_powered_off() argument 2100 iwl_op_mode_mvm_device_powered_off(struct iwl_op_mode * op_mode) iwl_op_mode_mvm_device_powered_off() argument 2125 iwl_mvm_rx_mq_rss(struct iwl_op_mode * op_mode,struct napi_struct * napi,struct iwl_rx_cmd_buffer * rxb,unsigned int queue) iwl_mvm_rx_mq_rss() argument [all...] |
| /linux/drivers/net/ethernet/qlogic/qlcnic/ |
| H A 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()
|
| H A D | qlcnic_sysfs.c | 220 if (adapter->ahw->op_mode == QLCNIC_NON_PRIV_FUNC) { in qlcnic_store_beacon() 486 u32 op_mode; in validate_esw_config() local 490 op_mode = readl(ahw->pci_base0 + QLCNIC_DRV_OP_MODE); in validate_esw_config() 492 op_mode = QLCRDX(ahw, QLC_83XX_DRV_OP_MODE); in validate_esw_config() 499 if (adapter->ahw->op_mode == QLCNIC_MGMT_FUNC) in validate_esw_config() 503 switch (esw_cfg[i].op_mode) { in validate_esw_config() 506 ret = QLC_DEV_GET_DRV(op_mode, pci_func); in validate_esw_config() 508 ret = QLC_83XX_GET_FUNC_PRIVILEGE(op_mode, in validate_esw_config() 552 u8 op_mode = 0, pci_func; in qlcnic_sysfs_write_esw_config() local 566 if (adapter->ahw->op_mode == QLCNIC_MGMT_FUNC) in qlcnic_sysfs_write_esw_config() [all …]
|
| H A D | qlcnic_ctx.c | 884 npar_info->op_mode = le16_to_cpu(nic_info->op_mode); in qlcnic_82xx_get_nic_info() 914 if (adapter->ahw->op_mode != QLCNIC_MGMT_FUNC) in qlcnic_82xx_set_nic_info() 925 nic_info->op_mode = cpu_to_le16(nic->op_mode); in qlcnic_82xx_set_nic_info() 1036 if (adapter->ahw->op_mode != QLCNIC_MGMT_FUNC || in qlcnic_config_port_mirroring() 1079 if ((adapter->ahw->op_mode != QLCNIC_MGMT_FUNC) && in qlcnic_get_port_stats() 1199 if (adapter->ahw->op_mode != QLCNIC_MGMT_FUNC) in qlcnic_get_eswitch_stats() 1252 if (ahw->op_mode != QLCNIC_MGMT_FUNC) in qlcnic_clear_esw_stats() 1316 op_mode [all...] |
| H A D | qlcnic_main.c | 950 if (ahw->op_mode == QLCNIC_MGMT_FUNC) in qlcnic_get_act_pci_func() 1093 u32 op_mode, priv_level; in qlcnic_check_vf() local 1103 op_mode = QLC_SHARED_REG_RD32(adapter, QLCNIC_DRV_OP_MODE); in qlcnic_check_vf() 1104 if (op_mode == QLC_DEV_DRV_DEFAULT) in qlcnic_check_vf() 1107 priv_level = QLC_DEV_GET_DRV(op_mode, adapter->ahw->pci_func); in qlcnic_check_vf() 1110 adapter->ahw->op_mode = QLCNIC_NON_PRIV_FUNC; in qlcnic_check_vf() 1237 if (ahw->op_mode != QLCNIC_NON_PRIV_FUNC) { in qlcnic_check_options() 1431 u32 op_mode, priv_level; in qlcnic_check_eswitch_mode() local 1441 op_mode = QLC_SHARED_REG_RD32(adapter, QLCNIC_DRV_OP_MODE); in qlcnic_check_eswitch_mode() 1442 priv_level = QLC_DEV_GET_DRV(op_mode, adapte in qlcnic_check_eswitch_mode() [all...] |
| /linux/tools/net/ynl/pyynl/ |
| H A D | ynl_gen_c.py | 1317 for op_mode in ['do', 'dump']: 1318 self.hooks[when][op_mode] = {} 1319 self.hooks[when][op_mode]['set'] = set() 1320 self.hooks[when][op_mode]['list'] = [] 1377 for op_mode in ['do', 'dump']: 1378 if op_mode in op and 'request' in op[op_mode]: 1379 req_attrs.update(set(op[op_mode]['request']['attributes'])) 1380 if op_mode in op and 'reply' in op[op_mode] 1602 __init__(self, cw, family, ku_space, op, op_mode, attr_set=None) global() argument [all...] |
| /linux/drivers/net/wireless/intel/iwlwifi/dvm/ |
| H A D | main.c | 1240 struct iwl_op_mode *op_mode; in iwl_op_mode_dvm_start() local 1263 op_mode = hw->priv; in iwl_op_mode_dvm_start() 1264 op_mode->ops = &iwl_dvm_ops; in iwl_op_mode_dvm_start() 1265 priv = IWL_OP_MODE_GET_DVM(op_mode); in iwl_op_mode_dvm_start() 1363 iwl_trans_op_mode_enter(priv->trans, op_mode); in iwl_op_mode_dvm_start() 1505 return op_mode; in iwl_op_mode_dvm_start() 1526 static void iwl_op_mode_dvm_stop(struct iwl_op_mode *op_mode) in iwl_op_mode_dvm_stop() argument 1528 struct iwl_priv *priv = IWL_OP_MODE_GET_DVM(op_mode); in iwl_op_mode_dvm_stop() 1956 static void iwl_nic_error(struct iwl_op_mode *op_mode, in iwl_nic_error() argument 1959 struct iwl_priv *priv = IWL_OP_MODE_GET_DVM(op_mode); in iwl_nic_error() 1983 iwlagn_sw_reset(struct iwl_op_mode * op_mode,enum iwl_fw_error_type type) iwlagn_sw_reset() argument 1997 iwl_nic_config(struct iwl_op_mode * op_mode) iwl_nic_config() argument 2047 iwl_wimax_active(struct iwl_op_mode * op_mode) iwl_wimax_active() argument 2055 iwl_stop_sw_queue(struct iwl_op_mode * op_mode,int queue) iwl_stop_sw_queue() argument 2074 iwl_wake_sw_queue(struct iwl_op_mode * op_mode,int queue) iwl_wake_sw_queue() argument 2114 iwl_free_skb(struct iwl_op_mode * op_mode,struct sk_buff * skb) iwl_free_skb() argument 2124 iwl_set_hw_rfkill_state(struct iwl_op_mode * op_mode,bool state) iwl_set_hw_rfkill_state() argument [all...] |
| /linux/drivers/input/misc/ |
| H A D | da7280.c | 239 u8 op_mode; member 368 switch (haptics->op_mode) { in da7280_haptic_activate() 408 dev_err(haptics->dev, "Invalid op mode %d\n", haptics->op_mode); in da7280_haptic_activate() 415 haptics->op_mode); in da7280_haptic_activate() 422 if (haptics->op_mode == DA7280_PWM_MODE || in da7280_haptic_activate() 423 haptics->op_mode == DA7280_RTWM_MODE) { in da7280_haptic_activate() 455 switch (haptics->op_mode) { in da7280_haptic_deactivate() 485 dev_err(haptics->dev, "Invalid op mode %d\n", haptics->op_mode); in da7280_haptic_deactivate() 521 haptics->op_mode = haptics->const_op_mode; in da7280_haptics_upload_effect() 522 if (haptics->op_mode in da7280_haptics_upload_effect() [all...] |
| /linux/drivers/iio/accel/ |
| H A D | adxl355_core.c | 225 enum adxl355_op_mode op_mode; member 241 enum adxl355_op_mode op_mode) in adxl355_set_op_mode() argument 245 if (data->op_mode == op_mode) in adxl355_set_op_mode() 249 ADXL355_POWER_CTL_MODE_MSK, op_mode); in adxl355_set_op_mode() 253 data->op_mode = op_mode; in adxl355_set_op_mode() 797 data->op_mode = ADXL355_STANDBY; in adxl355_core_probe()
|
| /linux/drivers/iio/dac/ |
| H A D | ad3530r.c | 105 const unsigned int *op_mode; 653 .op_mode = ad3530r_op_mode, 671 .op_mode = ad3530r_op_mode, in ad3530r_setup() 689 .op_mode = ad3531r_op_mode, in ad3530r_setup() 707 .op_mode = ad3531r_op_mode, in ad3530r_setup() 725 .op_mode = ad3532r_op_mode, in ad3530r_setup() 743 .op_mode = ad3532r_op_mode, in ad3530r_probe() 761 .op_mode = ad3532r_op_mode, in ad3530r_probe() 778 .op_mode = ad3530r_op_mode, in ad3530r_probe() 795 .op_mode 98 const unsigned int *op_mode; global() member [all...] |
| /linux/drivers/media/platform/st/stm32/dma2d/ |
| H A D | dma2d.h | 96 enum dma2d_op_mode op_mode; member 130 void dma2d_config_common(struct dma2d_dev *d, enum dma2d_op_mode op_mode,
|
| H A D | dma2d.c | 238 ctx->op_mode = DMA2D_MODE_R2M; in dma2d_s_ctrl() 240 ctx->op_mode = DMA2D_MODE_M2M; in dma2d_s_ctrl() 291 ctx->op_mode = DMA2D_MODE_M2M_FPC; in dma2d_open() 498 if (ctx->op_mode != DMA2D_MODE_R2M) { in device_run() 500 ctx->op_mode = DMA2D_MODE_M2M; in device_run() 502 ctx->op_mode = DMA2D_MODE_M2M_FPC; in device_run() 507 dma2d_config_common(dev, ctx->op_mode, frm_cap->width, frm_cap->height); in device_run()
|
| H A D | dma2d-hw.c | 52 void dma2d_config_common(struct dma2d_dev *d, enum dma2d_op_mode op_mode, in dma2d_config_common() argument 56 op_mode << CR_MODE_SHIFT); in dma2d_config_common()
|
| /linux/drivers/net/wireless/ath/ath5k/ |
| H A D | pcu.c | 877 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/sound/soc/ti/ |
| H A D | davinci-mcasp.c | 106 u8 op_mode; 963 if (mcasp->op_mode == DAVINCI_MCASP_DIT_MODE) in mcasp_common_hw_param() 1041 if (mcasp->op_mode != DAVINCI_MCASP_DIT_MODE) { in mcasp_i2s_hw_param() 1092 if (mcasp->op_mode == DAVINCI_MCASP_DIT_MODE) in mcasp_dit_hw_param() 1535 if (mcasp->op_mode == DAVINCI_MCASP_IIS_MODE) in davinci_mcasp_startup() 1549 if (mcasp->op_mode == DAVINCI_MCASP_DIT_MODE) in davinci_mcasp_startup() 1561 if (mcasp->op_mode == DAVINCI_MCASP_IIS_MODE && !mcasp->async_mode) { in davinci_mcasp_startup() 1787 if (mcasp->op_mode == DAVINCI_MCASP_DIT_MODE) 1900 if (mcasp->op_mode == DAVINCI_MCASP_DIT_MODE) in davinci_mcasp_get_config() 1988 if (mcasp->op_mode in davinci_mcasp_get_config() 93 u8 op_mode; global() member [all...] |
| /linux/drivers/net/wireless/atmel/ |
| H A D | at76c50x-usb.c | 555 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() 1250 int op_mode; in at76_load_external_fw() local 1260 op_mode = at76_get_op_mode(udev); in at76_load_external_fw() 1261 at76_dbg(DBG_DEVSTART, "opmode %d", op_mode); in at76_load_external_fw() 1263 if (op_mode != OPMODE_NORMAL_NIC_WITHOUT_FLASH) { in at76_load_external_fw() [all …]
|
| /linux/drivers/net/wireless/mediatek/mt76/mt7915/ |
| H A D | testmode.c | 158 u32 op_mode; in mt7915_tm_set_tam_arb() local 161 op_mode = TAM_ARB_OP_MODE_NORMAL; in mt7915_tm_set_tam_arb() 163 op_mode = TAM_ARB_OP_MODE_TEST; in mt7915_tm_set_tam_arb() 165 op_mode = TAM_ARB_OP_MODE_FORCE_SU; in mt7915_tm_set_tam_arb() 167 return mt7915_mcu_set_muru_ctrl(dev, MURU_SET_ARB_OP_MODE, op_mode); in mt7915_tm_set_tam_arb() 504 .op.op_mode = cpu_to_le32(oper), in mt7915_tm_rf_switch_mode()
|
| /linux/drivers/net/wireless/intel/iwlwifi/ |
| H A D | iwl-drv.c | 45 * @op_mode: the running op_mode 53 * @dbgfs_op_mode: debugfs op_mode directory entry 59 struct iwl_op_mode *op_mode; member 87 const struct iwl_op_mode_ops *ops; /* pointer to op_mode ops */ 88 struct list_head drv; /* list of devices using this op_mode */ 1591 struct iwl_op_mode *op_mode = NULL; in _iwl_op_mode_start() 1605 op_mode = ops->start(drv->trans, drv->trans->cfg, in _iwl_op_mode_start() 1608 if (!IS_ERR(op_mode)) in _iwl_op_mode_start() 1609 return op_mode; in _iwl_op_mode_start() 1584 struct iwl_op_mode *op_mode = NULL; _iwl_op_mode_start() local [all...] |
| /linux/include/linux/ |
| H A D | amd-pmf-io.h | 56 u32 op_mode; member
|
| /linux/drivers/spi/ |
| H A D | spi-mtk-snfi.c | 871 u32 op_mode = 0; in mtk_snand_read_page_cache() local 882 op_mode = CNFG_AUTO_FMT_EN; in mtk_snand_read_page_cache() 884 op_mode |= CNFG_HW_ECC_EN; in mtk_snand_read_page_cache() 932 CNFG_READ_MODE | CNFG_DMA_MODE | op_mode); in mtk_snand_read_page_cache() 1061 u32 op_mode = 0; in mtk_snand_write_page_cache() local 1074 op_mode = CNFG_AUTO_FMT_EN; in mtk_snand_write_page_cache() 1076 op_mode |= CNFG_HW_ECC_EN; in mtk_snand_write_page_cache() 1123 CNFG_DMA_BURST_EN | CNFG_DMA_MODE | op_mode); in mtk_snand_write_page_cache()
|