Home
last modified time | relevance | path

Searched refs:class_to_shost (Results 1 – 25 of 50) sorted by relevance

12

/openbmc/linux/drivers/scsi/qla4xxx/
H A Dql4_attr.c156 struct scsi_qla_host *ha = to_qla_host(class_to_shost(dev)); in qla4xxx_fw_version_show()
172 struct scsi_qla_host *ha = to_qla_host(class_to_shost(dev)); in qla4xxx_serial_num_show()
180 struct scsi_qla_host *ha = to_qla_host(class_to_shost(dev)); in qla4xxx_iscsi_version_show()
189 struct scsi_qla_host *ha = to_qla_host(class_to_shost(dev)); in qla4xxx_optrom_version_show()
199 struct scsi_qla_host *ha = to_qla_host(class_to_shost(dev)); in qla4xxx_board_id_show()
207 struct scsi_qla_host *ha = to_qla_host(class_to_shost(dev)); in qla4xxx_fw_state_show()
218 struct scsi_qla_host *ha = to_qla_host(class_to_shost(dev)); in qla4xxx_phy_port_cnt_show()
230 struct scsi_qla_host *ha = to_qla_host(class_to_shost(dev)); in qla4xxx_phy_port_num_show()
242 struct scsi_qla_host *ha = to_qla_host(class_to_shost(dev)); in qla4xxx_iscsi_func_cnt_show()
254 struct scsi_qla_host *ha = to_qla_host(class_to_shost(dev)); in qla4xxx_hba_model_show()
[all …]
/openbmc/linux/drivers/scsi/pm8001/
H A Dpm8001_ctl.c59 struct Scsi_Host *shost = class_to_shost(cdev); in pm8001_ctl_mpi_interface_rev_show()
85 struct Scsi_Host *shost = class_to_shost(cdev); in controller_fatal_error_show()
105 struct Scsi_Host *shost = class_to_shost(cdev); in pm8001_ctl_fw_version_show()
136 struct Scsi_Host *shost = class_to_shost(cdev); in pm8001_ctl_ila_version_show()
162 struct Scsi_Host *shost = class_to_shost(cdev); in pm8001_ctl_inactive_fw_version_show()
189 struct Scsi_Host *shost = class_to_shost(cdev); in pm8001_ctl_max_out_io_show()
213 struct Scsi_Host *shost = class_to_shost(cdev); in pm8001_ctl_max_devices_show()
238 struct Scsi_Host *shost = class_to_shost(cdev); in pm8001_ctl_max_sg_list_show()
282 struct Scsi_Host *shost = class_to_shost(cdev); in pm8001_ctl_sas_spec_support_show()
311 struct Scsi_Host *shost = class_to_shost(cdev); in pm8001_ctl_host_sas_address_show()
[all …]
/openbmc/linux/drivers/scsi/arcmsr/
H A Darcmsr_attr.c68 struct Scsi_Host *host = class_to_shost(dev); in arcmsr_sysfs_iop_message_read()
115 struct Scsi_Host *host = class_to_shost(dev); in arcmsr_sysfs_iop_message_write()
163 struct Scsi_Host *host = class_to_shost(dev); in arcmsr_sysfs_iop_message_clear()
270 struct Scsi_Host *host = class_to_shost(dev); in arcmsr_attr_host_driver_posted_cmd()
282 struct Scsi_Host *host = class_to_shost(dev); in arcmsr_attr_host_driver_reset()
294 struct Scsi_Host *host = class_to_shost(dev); in arcmsr_attr_host_driver_abort()
306 struct Scsi_Host *host = class_to_shost(dev); in arcmsr_attr_host_fw_model()
318 struct Scsi_Host *host = class_to_shost(dev); in arcmsr_attr_host_fw_version()
331 struct Scsi_Host *host = class_to_shost(dev); in arcmsr_attr_host_fw_request_len()
344 struct Scsi_Host *host = class_to_shost(dev); in arcmsr_attr_host_fw_numbers_queue()
[all …]
/openbmc/linux/drivers/scsi/snic/
H A Dsnic_attrs.c14 struct snic *snic = shost_priv(class_to_shost(dev)); in snic_show_sym_name()
24 struct snic *snic = shost_priv(class_to_shost(dev)); in snic_show_state()
43 struct snic *snic = shost_priv(class_to_shost(dev)); in snic_show_link_state()
/openbmc/linux/drivers/scsi/qla2xxx/
H A Dqla_attr.c1081 scsi_qla_host_t *vha = shost_priv(class_to_shost(dev)); in qla2x00_fw_version_show()
1093 scsi_qla_host_t *vha = shost_priv(class_to_shost(dev)); in qla2x00_serial_num_show()
1114 scsi_qla_host_t *vha = shost_priv(class_to_shost(dev)); in qla2x00_isp_name_show()
1123 scsi_qla_host_t *vha = shost_priv(class_to_shost(dev)); in qla2x00_isp_id_show()
1139 scsi_qla_host_t *vha = shost_priv(class_to_shost(dev)); in qla2x00_model_name_show()
1148 scsi_qla_host_t *vha = shost_priv(class_to_shost(dev)); in qla2x00_model_desc_show()
1157 scsi_qla_host_t *vha = shost_priv(class_to_shost(dev)); in qla2x00_pci_info_show()
1169 scsi_qla_host_t *vha = shost_priv(class_to_shost(dev)); in qla2x00_link_state_show()
1209 scsi_qla_host_t *vha = shost_priv(class_to_shost(dev)); in qla2x00_zio_show()
1227 scsi_qla_host_t *vha = shost_priv(class_to_shost(dev)); in qla2x00_zio_store()
[all …]
/openbmc/linux/drivers/scsi/lpfc/
H A Dlpfc_attr.c121 struct Scsi_Host *shost = class_to_shost(dev); in lpfc_cmf_info_show()
321 struct Scsi_Host *shost = class_to_shost(dev); in lpfc_enable_fip_show()
335 struct Scsi_Host *shost = class_to_shost(dev); in lpfc_nvme_info_show()
706 struct Scsi_Host *shost = class_to_shost(dev); in lpfc_scsi_stat_show()
757 struct Scsi_Host *shost = class_to_shost(dev); in lpfc_bg_info_show()
777 struct Scsi_Host *shost = class_to_shost(dev); in lpfc_bg_guard_err_show()
789 struct Scsi_Host *shost = class_to_shost(dev); in lpfc_bg_apptag_err_show()
801 struct Scsi_Host *shost = class_to_shost(dev); in lpfc_bg_reftag_err_show()
821 struct Scsi_Host *host = class_to_shost(dev); in lpfc_info_show()
861 struct Scsi_Host *shost = class_to_shost(dev); in lpfc_temp_sensor_show()
[all …]
/openbmc/linux/drivers/scsi/fnic/
H A Dfnic_attrs.c14 struct fc_lport *lp = shost_priv(class_to_shost(dev)); in fnic_show_state()
29 struct fc_lport *lp = shost_priv(class_to_shost(dev)); in fnic_show_link_state()
/openbmc/linux/drivers/scsi/mpt3sas/
H A Dmpt3sas_ctl.c2822 struct Scsi_Host *shost = class_to_shost(cdev); in version_fw_show()
2845 struct Scsi_Host *shost = class_to_shost(cdev); in version_bios_show()
2870 struct Scsi_Host *shost = class_to_shost(cdev); in version_mpi_show()
2890 struct Scsi_Host *shost = class_to_shost(cdev); in version_product_show()
2909 struct Scsi_Host *shost = class_to_shost(cdev); in version_nvdata_persistent_show()
2929 struct Scsi_Host *shost = class_to_shost(cdev); in version_nvdata_default_show()
2949 struct Scsi_Host *shost = class_to_shost(cdev); in board_name_show()
2968 struct Scsi_Host *shost = class_to_shost(cdev); in board_assembly_show()
2987 struct Scsi_Host *shost = class_to_shost(cdev); in board_tracer_show()
3009 struct Scsi_Host *shost = class_to_shost(cdev); in io_delay_show()
[all …]
/openbmc/linux/drivers/scsi/bfa/
H A Dbfad_attr.c707 struct Scsi_Host *shost = class_to_shost(dev); in bfad_im_serial_num_show()
721 struct Scsi_Host *shost = class_to_shost(dev); in bfad_im_model_show()
735 struct Scsi_Host *shost = class_to_shost(dev); in bfad_im_model_desc_show()
815 struct Scsi_Host *shost = class_to_shost(dev); in bfad_im_node_name_show()
829 struct Scsi_Host *shost = class_to_shost(dev); in bfad_im_symbolic_name_show()
846 struct Scsi_Host *shost = class_to_shost(dev); in bfad_im_hw_version_show()
867 struct Scsi_Host *shost = class_to_shost(dev); in bfad_im_optionrom_version_show()
881 struct Scsi_Host *shost = class_to_shost(dev); in bfad_im_fw_version_show()
895 struct Scsi_Host *shost = class_to_shost(dev); in bfad_im_num_of_ports_show()
915 struct Scsi_Host *shost = class_to_shost(dev); in bfad_im_num_of_discovered_ports_show()
/openbmc/linux/drivers/scsi/qedf/
H A Dqedf_attr.c30 struct fc_lport *lport = shost_priv(class_to_shost(dev)); in fcoe_mac_show()
47 struct fc_lport *lport = shost_priv(class_to_shost(dev)); in fka_period_show()
/openbmc/linux/drivers/scsi/
H A Dscsi_sysfs.c165 struct Scsi_Host *shost = class_to_shost(dev); \
188 struct Scsi_Host *shost = class_to_shost(dev); in store_scan()
203 struct Scsi_Host *shost = class_to_shost(dev); in store_shost_state()
225 struct Scsi_Host *shost = class_to_shost(dev); in show_shost_state()
258 struct Scsi_Host *shost = class_to_shost(dev); in show_shost_supported_mode()
274 struct Scsi_Host *shost = class_to_shost(dev); in show_shost_active_mode()
298 struct Scsi_Host *shost = class_to_shost(dev); in store_host_reset()
324 struct Scsi_Host *shost = class_to_shost(dev); in show_shost_eh_deadline()
335 struct Scsi_Host *shost = class_to_shost(dev); in store_shost_eh_deadline()
384 struct Scsi_Host *shost = class_to_shost(dev); in show_host_busy()
[all …]
H A Dhosts.c58 put_device(&class_to_shost(dev)->shost_gendev); in scsi_host_cls_release()
543 p = class_to_shost(dev); in __scsi_host_match()
566 shost = scsi_host_get(class_to_shost(cdev)); in scsi_host_lookup()
H A Dmyrs.c1300 struct Scsi_Host *shost = class_to_shost(dev); in serial_show()
1313 struct Scsi_Host *shost = class_to_shost(dev); in ctlr_num_show()
1336 struct Scsi_Host *shost = class_to_shost(dev); in processor_show()
1388 struct Scsi_Host *shost = class_to_shost(dev); in model_show()
1398 struct Scsi_Host *shost = class_to_shost(dev); in ctlr_type_show()
1408 struct Scsi_Host *shost = class_to_shost(dev); in cache_size_show()
1418 struct Scsi_Host *shost = class_to_shost(dev); in firmware_show()
1431 struct Scsi_Host *shost = class_to_shost(dev); in discovery_store()
1469 struct Scsi_Host *shost = class_to_shost(dev); in flush_cache_store()
1488 struct Scsi_Host *shost = class_to_shost(dev); in disable_enclosure_messages_show()
/openbmc/linux/drivers/scsi/qedi/
H A Dqedi_sysfs.c14 struct Scsi_Host *shost = class_to_shost(dev); in qedi_dev_to_hba()
/openbmc/linux/drivers/scsi/aacraid/
H A Dlinit.c1189 struct aac_dev *dev = (struct aac_dev*)class_to_shost(device)->hostdata; in aac_show_model()
1208 struct aac_dev *dev = (struct aac_dev*)class_to_shost(device)->hostdata; in aac_show_vendor()
1230 struct aac_dev *dev = (struct aac_dev*)class_to_shost(cdev)->hostdata; in aac_show_flags()
1257 struct aac_dev *dev = (struct aac_dev*)class_to_shost(device)->hostdata; in aac_show_kernel_version()
1271 struct aac_dev *dev = (struct aac_dev*)class_to_shost(device)->hostdata; in aac_show_monitor_version()
1285 struct aac_dev *dev = (struct aac_dev*)class_to_shost(device)->hostdata; in aac_show_bios_version()
1305 struct aac_dev *dev = (struct aac_dev*)class_to_shost(device)->hostdata; in aac_show_serial_number()
1326 class_to_shost(device)->max_channel); in aac_show_max_channel()
1333 class_to_shost(device)->max_id); in aac_show_max_id()
1345 retval = aac_reset_adapter(shost_priv(class_to_shost(device)), in aac_store_reset_adapter()
[all …]
/openbmc/linux/drivers/scsi/bnx2i/
H A Dbnx2i_sysfs.c25 struct Scsi_Host *shost = class_to_shost(dev); in bnx2i_dev_to_hba()
/openbmc/linux/drivers/scsi/cxlflash/
H A Dmain.c2598 struct cxlflash_cfg *cfg = shost_priv(class_to_shost(dev)); in port0_show()
2615 struct cxlflash_cfg *cfg = shost_priv(class_to_shost(dev)); in port1_show()
2632 struct cxlflash_cfg *cfg = shost_priv(class_to_shost(dev)); in port2_show()
2649 struct cxlflash_cfg *cfg = shost_priv(class_to_shost(dev)); in port3_show()
2665 struct cxlflash_cfg *cfg = shost_priv(class_to_shost(dev)); in lun_mode_show()
2697 struct Scsi_Host *shost = class_to_shost(dev); in lun_mode_store()
2791 struct cxlflash_cfg *cfg = shost_priv(class_to_shost(dev)); in port0_lun_table_show()
2808 struct cxlflash_cfg *cfg = shost_priv(class_to_shost(dev)); in port1_lun_table_show()
2825 struct cxlflash_cfg *cfg = shost_priv(class_to_shost(dev)); in port2_lun_table_show()
2842 struct cxlflash_cfg *cfg = shost_priv(class_to_shost(dev)); in port3_lun_table_show()
[all …]
/openbmc/linux/drivers/message/fusion/
H A Dmptscsih.c3044 struct Scsi_Host *host = class_to_shost(dev); in mptscsih_version_fw_show()
3060 struct Scsi_Host *host = class_to_shost(dev); in mptscsih_version_bios_show()
3076 struct Scsi_Host *host = class_to_shost(dev); in mptscsih_version_mpi_show()
3089 struct Scsi_Host *host = class_to_shost(dev); in mptscsih_version_product_show()
3103 struct Scsi_Host *host = class_to_shost(dev); in mptscsih_version_nvdata_persistent_show()
3117 struct Scsi_Host *host = class_to_shost(dev); in mptscsih_version_nvdata_default_show()
3130 struct Scsi_Host *host = class_to_shost(dev); in mptscsih_board_name_show()
3142 struct Scsi_Host *host = class_to_shost(dev); in mptscsih_board_assembly_show()
3155 struct Scsi_Host *host = class_to_shost(dev); in mptscsih_board_tracer_show()
3168 struct Scsi_Host *host = class_to_shost(dev); in mptscsih_io_delay_show()
[all …]
/openbmc/linux/drivers/ata/
H A Dlibata-sata.c800 struct Scsi_Host *shost = class_to_shost(device); in ata_scsi_lpm_store()
839 struct Scsi_Host *shost = class_to_shost(dev); in ata_scsi_lpm_show()
968 struct Scsi_Host *shost = class_to_shost(dev); in ata_scsi_em_message_store()
979 struct Scsi_Host *shost = class_to_shost(dev); in ata_scsi_em_message_show()
994 struct Scsi_Host *shost = class_to_shost(dev); in ata_scsi_em_message_type_show()
H A Dlibahci.c263 struct Scsi_Host *shost = class_to_shost(dev); in ahci_show_host_caps()
273 struct Scsi_Host *shost = class_to_shost(dev); in ahci_show_host_cap2()
283 struct Scsi_Host *shost = class_to_shost(dev); in ahci_show_host_version()
293 struct Scsi_Host *shost = class_to_shost(dev); in ahci_show_port_cmd()
308 struct Scsi_Host *shost = class_to_shost(dev); in ahci_read_em_buffer()
368 struct Scsi_Host *shost = class_to_shost(dev); in ahci_store_em_buffer()
411 struct Scsi_Host *shost = class_to_shost(dev); in ahci_show_em_supported()
/openbmc/linux/drivers/scsi/mpi3mr/
H A Dmpi3mr_app.c1580 struct Scsi_Host *shost = class_to_shost(dev); in version_fw_show()
1602 struct Scsi_Host *shost = class_to_shost(dev); in fw_queue_depth_show()
1621 struct Scsi_Host *shost = class_to_shost(dev); in op_req_q_count_show()
1640 struct Scsi_Host *shost = class_to_shost(dev); in reply_queue_count_show()
1665 struct Scsi_Host *shost = class_to_shost(dev); in logging_level_show()
1689 struct Scsi_Host *shost = class_to_shost(dev); in logging_level_store()
1714 struct Scsi_Host *shost = class_to_shost(dev); in adp_state_show()
/openbmc/linux/drivers/infiniband/ulp/srp/
H A Dib_srp.c2865 struct srp_target_port *target = host_to_target(class_to_shost(dev)); in id_ext_show()
2875 struct srp_target_port *target = host_to_target(class_to_shost(dev)); in ioc_guid_show()
2885 struct srp_target_port *target = host_to_target(class_to_shost(dev)); in service_id_show()
2898 struct srp_target_port *target = host_to_target(class_to_shost(dev)); in pkey_show()
2911 struct srp_target_port *target = host_to_target(class_to_shost(dev)); in sgid_show()
2921 struct srp_target_port *target = host_to_target(class_to_shost(dev)); in dgid_show()
2935 struct srp_target_port *target = host_to_target(class_to_shost(dev)); in orig_dgid_show()
2948 struct srp_target_port *target = host_to_target(class_to_shost(dev)); in req_lim_show()
2965 struct srp_target_port *target = host_to_target(class_to_shost(dev)); in zero_req_lim_show()
2975 struct srp_target_port *target = host_to_target(class_to_shost(dev)); in local_ib_port_show()
[all …]
/openbmc/linux/drivers/scsi/ibmvscsi/
H A Dibmvscsi.c1905 struct Scsi_Host *shost = class_to_shost(dev); in show_host_vhost_loc()
1925 struct Scsi_Host *shost = class_to_shost(dev); in show_host_vhost_name()
1945 struct Scsi_Host *shost = class_to_shost(dev); in show_host_srp_version()
1966 struct Scsi_Host *shost = class_to_shost(dev); in show_host_partition_name()
1987 struct Scsi_Host *shost = class_to_shost(dev); in show_host_partition_number()
2007 struct Scsi_Host *shost = class_to_shost(dev); in show_host_mad_version()
2027 struct Scsi_Host *shost = class_to_shost(dev); in show_host_os_type()
/openbmc/linux/drivers/scsi/be2iscsi/
H A Dbe_mgmt.c1161 struct Scsi_Host *shost = class_to_shost(dev); in beiscsi_fw_ver_disp()
1180 struct Scsi_Host *shost = class_to_shost(dev); in beiscsi_active_session_disp()
1212 struct Scsi_Host *shost = class_to_shost(dev); in beiscsi_free_session_disp()
1243 struct Scsi_Host *shost = class_to_shost(dev); in beiscsi_adap_family_disp()
1277 struct Scsi_Host *shost = class_to_shost(dev); in beiscsi_phys_port_disp()
/openbmc/linux/drivers/scsi/libsas/
H A Dsas_init.c592 struct Scsi_Host *shost = class_to_shost(dev); in phy_event_threshold_show()
602 struct Scsi_Host *shost = class_to_shost(dev); in phy_event_threshold_store()

12