Searched refs:active_mode (Results 1 – 8 of 8) sorted by relevance
| /Linux-v5.4/drivers/scsi/ |
| D | hosts.c | 434 shost->active_mode = MODE_INITIATOR; in scsi_host_alloc() 436 shost->active_mode = sht->supported_mode; in scsi_host_alloc()
|
| D | scsi_sysfs.c | 275 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.4/drivers/scsi/qla2xxx/ |
| D | qla_target.h | 1020 return ha->host->active_mode == MODE_TARGET; in qla_tgt_mode_enabled() 1025 return ha->host->active_mode == MODE_INITIATOR; in qla_ini_mode_enabled() 1030 return (ha->host->active_mode == MODE_DUAL); in qla_dual_mode_enabled()
|
| D | qla_target.c | 1120 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()
|
| D | qla_init.c | 1516 if (vha->host->active_mode == MODE_TARGET) in qla24xx_fcport_handle_login() 3873 ha->fw_options[3], vha->host->active_mode); in qla24xx_update_fw_options() 5394 switch (vha->host->active_mode) { in qla2x00_update_fcport() 5801 (vha->host->active_mode == MODE_TARGET))) { in qla2x00_find_all_fabric_devs() 8672 ha->fw_options[3], vha->host->active_mode); in qla81xx_update_fw_options()
|
| /Linux-v5.4/include/scsi/ |
| D | scsi_host.h | 613 unsigned active_mode:2; member
|
| /Linux-v5.4/drivers/media/usb/cx231xx/ |
| D | cx231xx-avcore.c | 1531 cx231xx_dif_configure_C2HH_for_low_IF(dev, dev->active_mode, in cx231xx_set_Colibri_For_LowIF() 1754 status = cx231xx_dif_configure_C2HH_for_low_IF(dev, dev->active_mode, in cx231xx_dif_set_standard() 2103 if (dev->active_mode == V4L2_TUNER_RADIO) in cx231xx_dif_set_standard()
|
| D | cx231xx.h | 710 u32 active_mode; member
|