Home
last modified time | relevance | path

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

12

/linux-6.6.21/drivers/scsi/qla4xxx/
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 …]
/linux-6.6.21/drivers/scsi/pm8001/
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 …]
/linux-6.6.21/drivers/scsi/arcmsr/
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 …]
/linux-6.6.21/drivers/scsi/snic/
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()
/linux-6.6.21/drivers/scsi/qla2xxx/
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 …]
/linux-6.6.21/drivers/scsi/lpfc/
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()
838 struct Scsi_Host *shost = class_to_shost(dev); in lpfc_serialnum_show()
[all …]
/linux-6.6.21/drivers/scsi/fnic/
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()
/linux-6.6.21/drivers/scsi/mpt3sas/
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 …]
/linux-6.6.21/drivers/scsi/bfa/
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()
/linux-6.6.21/drivers/scsi/qedf/
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()
/linux-6.6.21/drivers/scsi/
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 …]
Dhosts.c58 put_device(&class_to_shost(dev)->shost_gendev); in scsi_host_cls_release()
542 p = class_to_shost(dev); in __scsi_host_match()
565 shost = scsi_host_get(class_to_shost(cdev)); in scsi_host_lookup()
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()
/linux-6.6.21/drivers/scsi/aacraid/
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 …]
/linux-6.6.21/drivers/scsi/qedi/
Dqedi_sysfs.c14 struct Scsi_Host *shost = class_to_shost(dev); in qedi_dev_to_hba()
/linux-6.6.21/drivers/scsi/bnx2i/
Dbnx2i_sysfs.c25 struct Scsi_Host *shost = class_to_shost(dev); in bnx2i_dev_to_hba()
/linux-6.6.21/drivers/scsi/cxlflash/
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 …]
/linux-6.6.21/drivers/message/fusion/
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 …]
/linux-6.6.21/drivers/ata/
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()
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()
/linux-6.6.21/drivers/scsi/mpi3mr/
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()
/linux-6.6.21/drivers/infiniband/ulp/srp/
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 …]
/linux-6.6.21/drivers/scsi/ibmvscsi/
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()
/linux-6.6.21/drivers/scsi/be2iscsi/
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()
/linux-6.6.21/drivers/scsi/pcmcia/
Dsym53c500_cs.c623 struct Scsi_Host *SHp = class_to_shost(dev); in SYM53C500_show_pio()
635 struct Scsi_Host *SHp = class_to_shost(dev); in SYM53C500_store_pio()

12