Searched refs:active_mode (Results 1 – 11 of 11) sorted by relevance
348 bool active_mode; in fxos8700_set_scale() local368 active_mode = val & FXOS8700_ACTIVE; in fxos8700_set_scale()369 if (active_mode) { in fxos8700_set_scale()388 active_mode); in fxos8700_set_scale()483 bool active_mode; in fxos8700_set_odr() local490 active_mode = val & FXOS8700_ACTIVE; in fxos8700_set_odr()492 if (active_mode) { in fxos8700_set_odr()
1104 return ha->host->active_mode == MODE_TARGET; in qla_tgt_mode_enabled()1109 return ha->host->active_mode == MODE_INITIATOR; in qla_ini_mode_enabled()1114 return (ha->host->active_mode == MODE_DUAL); in qla_dual_mode_enabled()
1153 switch (vha->host->active_mode) { in qlt_free_session_done()7246 switch (vha->host->active_mode) { in qlt_get_port_database()7615 if ((!npiv_wwpn || !npiv_wwnn) && host->active_mode & MODE_TARGET) { in qlt_lport_register()7681 vha->host->active_mode = MODE_TARGET; in qlt_set_mode()7684 vha->host->active_mode = MODE_INITIATOR; in qlt_set_mode()7687 vha->host->active_mode = MODE_DUAL; in qlt_set_mode()7699 vha->host->active_mode = MODE_UNKNOWN; in qlt_clear_mode()7702 vha->host->active_mode = MODE_INITIATOR; in qlt_clear_mode()7706 vha->host->active_mode = MODE_INITIATOR; in qlt_clear_mode()
1255 if (vha->host->active_mode == MODE_TARGET) in qla24xx_post_prli_work()1697 if (vha->host->active_mode == MODE_TARGET && !N2N_TOPO(vha->hw)) in qla24xx_fcport_handle_login()1973 if (vha->host->active_mode == MODE_TARGET) in qla_handle_els_plogi_done()4656 ha->fw_options[3], vha->host->active_mode); in qla24xx_update_fw_options()6244 switch (vha->host->active_mode) { in qla2x00_update_fcport()6656 (vha->host->active_mode == MODE_TARGET))) { in qla2x00_find_all_fabric_devs()
3458 bool startit = !!(host->active_mode & MODE_INITIATOR); in qla2x00_probe_one()
473 shost->active_mode = MODE_INITIATOR; in scsi_host_alloc()475 shost->active_mode = sht->supported_mode; in scsi_host_alloc()
276 if (shost->active_mode == MODE_UNKNOWN) in show_shost_active_mode()279 return show_shost_mode(shost->active_mode, buf); in show_shost_active_mode()282 static DEVICE_ATTR(active_mode, S_IRUGO, show_shost_active_mode, NULL);
663 unsigned active_mode:2; member
527 <active_mode>`.591 ``intel_pstate`` works in the :ref:`active mode <active_mode>`:617 "intel_pstate" (in the :ref:`active mode <active_mode>`) or "intel_cpufreq"774 Register ``intel_pstate`` in the :ref:`active mode <active_mode>` to828 it works in the :ref:`active mode <active_mode>`.
1521 cx231xx_dif_configure_C2HH_for_low_IF(dev, dev->active_mode, in cx231xx_set_Colibri_For_LowIF()1744 status = cx231xx_dif_configure_C2HH_for_low_IF(dev, dev->active_mode, in cx231xx_dif_set_standard()2093 if (dev->active_mode == V4L2_TUNER_RADIO) in cx231xx_dif_set_standard()
698 u32 active_mode; member