Searched refs:supported_mode (Results 1 – 6 of 6) sorted by relevance
258 unsigned int supported_mode = shost->hostt->supported_mode; in show_shost_supported_mode() local260 if (supported_mode == MODE_UNKNOWN) in show_shost_supported_mode()262 supported_mode = MODE_INITIATOR; in show_shost_supported_mode()264 return show_shost_mode(supported_mode, buf); in show_shost_supported_mode()267 static DEVICE_ATTR(supported_mode, S_IRUGO | S_IWUSR, show_shost_supported_mode, NULL);
444 if (sht->supported_mode == MODE_UNKNOWN) in scsi_host_alloc()448 shost->active_mode = sht->supported_mode; in scsi_host_alloc()
419 unsigned supported_mode:2; member
450 .supported_mode = MODE_INITIATOR,
6361 if (!(base_vha->host->hostt->supported_mode & MODE_TARGET)) in qlt_add_target()6362 base_vha->host->hostt->supported_mode |= MODE_TARGET; in qlt_add_target()6492 if (!(host->hostt->supported_mode & MODE_TARGET)) in qlt_lport_register()
7683 .supported_mode = MODE_INITIATOR,