Home
last modified time | relevance | path

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

/Linux-v5.10/drivers/iio/imu/
Dfxos8700_core.c421 bool active_mode; in fxos8700_set_odr() local
428 active_mode = val & FXOS8700_ACTIVE; in fxos8700_set_odr()
430 if (active_mode) { in fxos8700_set_odr()
451 fxos8700_odr[i].bits << 3 | active_mode); in fxos8700_set_odr()
/Linux-v5.10/drivers/scsi/qla2xxx/
Dqla_target.h1021 return ha->host->active_mode == MODE_TARGET; in qla_tgt_mode_enabled()
1026 return ha->host->active_mode == MODE_INITIATOR; in qla_ini_mode_enabled()
1031 return (ha->host->active_mode == MODE_DUAL); in qla_dual_mode_enabled()
Dqla_target.c1126 switch (vha->host->active_mode) { in qlt_free_session_done()
6064 switch (vha->host->active_mode) { in qlt_get_port_database()
6500 if ((!npiv_wwpn || !npiv_wwnn) && host->active_mode & MODE_TARGET) { in qlt_lport_register()
6566 vha->host->active_mode = MODE_TARGET; in qlt_set_mode()
6569 vha->host->active_mode = MODE_INITIATOR; in qlt_set_mode()
6572 vha->host->active_mode = MODE_DUAL; in qlt_set_mode()
6584 vha->host->active_mode = MODE_UNKNOWN; in qlt_clear_mode()
6587 vha->host->active_mode = MODE_INITIATOR; in qlt_clear_mode()
6591 vha->host->active_mode = MODE_INITIATOR; in qlt_clear_mode()
Dqla_init.c1556 if (vha->host->active_mode == MODE_TARGET && !N2N_TOPO(vha->hw)) in qla24xx_fcport_handle_login()
1753 if (vha->host->active_mode == MODE_TARGET) in qla_handle_els_plogi_done()
4010 ha->fw_options[3], vha->host->active_mode); in qla24xx_update_fw_options()
5537 switch (vha->host->active_mode) { in qla2x00_update_fcport()
5945 (vha->host->active_mode == MODE_TARGET))) { in qla2x00_find_all_fabric_devs()
/Linux-v5.10/drivers/scsi/
Dhosts.c438 shost->active_mode = MODE_INITIATOR; in scsi_host_alloc()
440 shost->active_mode = sht->supported_mode; in scsi_host_alloc()
Dscsi_sysfs.c275 if (shost->active_mode == MODE_UNKNOWN) in show_shost_active_mode()
278 return show_shost_mode(shost->active_mode, buf); in show_shost_active_mode()
281 static DEVICE_ATTR(active_mode, S_IRUGO | S_IWUSR, show_shost_active_mode, NULL);
/Linux-v5.10/include/scsi/
Dscsi_host.h613 unsigned active_mode:2; member
/Linux-v5.10/drivers/media/usb/cx231xx/
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()
Dcx231xx.h697 u32 active_mode; member