Home
last modified time | relevance | path

Searched refs:active_mode (Results 1 – 9 of 9) sorted by relevance

/openbmc/linux/drivers/iio/imu/
H A Dfxos8700_core.c349 bool active_mode; in fxos8700_set_scale() local
369 active_mode = val & FXOS8700_ACTIVE; in fxos8700_set_scale()
370 if (active_mode) { in fxos8700_set_scale()
389 active_mode); in fxos8700_set_scale()
484 bool active_mode; in fxos8700_set_odr() local
491 active_mode = val & FXOS8700_ACTIVE; in fxos8700_set_odr()
493 if (active_mode) { in fxos8700_set_odr()
/openbmc/linux/drivers/scsi/qla2xxx/
H A Dqla_target.h1031 return ha->host->active_mode == MODE_TARGET; in qla_tgt_mode_enabled()
1036 return ha->host->active_mode == MODE_INITIATOR; in qla_ini_mode_enabled()
1041 return (ha->host->active_mode == MODE_DUAL); in qla_dual_mode_enabled()
H A Dqla_target.c1160 switch (vha->host->active_mode) { in qlt_free_session_done()
6175 switch (vha->host->active_mode) { in qlt_get_port_database()
6543 if ((!npiv_wwpn || !npiv_wwnn) && host->active_mode & MODE_TARGET) { in qlt_lport_register()
6609 vha->host->active_mode = MODE_TARGET; in qlt_set_mode()
6612 vha->host->active_mode = MODE_INITIATOR; in qlt_set_mode()
6615 vha->host->active_mode = MODE_DUAL; in qlt_set_mode()
6627 vha->host->active_mode = MODE_UNKNOWN; in qlt_clear_mode()
6630 vha->host->active_mode = MODE_INITIATOR; in qlt_clear_mode()
6634 vha->host->active_mode = MODE_INITIATOR; in qlt_clear_mode()
H A Dqla_init.c1255 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()
1982 if (vha->host->active_mode == MODE_TARGET) in qla_handle_els_plogi_done()
4626 ha->fw_options[3], vha->host->active_mode); in qla24xx_update_fw_options()
6214 switch (vha->host->active_mode) { in qla2x00_update_fcport()
6627 (vha->host->active_mode == MODE_TARGET))) { in qla2x00_find_all_fabric_devs()
/openbmc/linux/drivers/scsi/
H A Dhosts.c459 shost->active_mode = MODE_INITIATOR; in scsi_host_alloc()
461 shost->active_mode = sht->supported_mode; in scsi_host_alloc()
H A Dscsi_sysfs.c276 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 | S_IWUSR, show_shost_active_mode, NULL);
/openbmc/linux/include/scsi/
H A Dscsi_host.h629 unsigned active_mode:2; member
/openbmc/linux/drivers/media/usb/cx231xx/
H A Dcx231xx-avcore.c1554 cx231xx_dif_configure_C2HH_for_low_IF(dev, dev->active_mode, in cx231xx_set_Colibri_For_LowIF()
1777 status = cx231xx_dif_configure_C2HH_for_low_IF(dev, dev->active_mode, in cx231xx_dif_set_standard()
2126 if (dev->active_mode == V4L2_TUNER_RADIO) in cx231xx_dif_set_standard()
H A Dcx231xx.h695 u32 active_mode; member