Home
last modified time | relevance | path

Searched refs:hostt (Results 1 – 25 of 38) sorted by relevance

12

/openbmc/linux/drivers/scsi/
H A Dscsi_error.c130 if (host->hostt->eh_should_retry_cmd) in scsi_eh_should_retry_cmd()
346 if (host->hostt->eh_timed_out) { in scsi_timeout()
877 const struct scsi_host_template *hostt = host->hostt; in scsi_try_host_reset() local
882 if (!hostt->eh_host_reset_handler) in scsi_try_host_reset()
888 if (!hostt->skip_settle_delay) in scsi_try_host_reset()
907 const struct scsi_host_template *hostt = host->hostt; in scsi_try_bus_reset() local
912 if (!hostt->eh_bus_reset_handler) in scsi_try_bus_reset()
918 if (!hostt->skip_settle_delay) in scsi_try_bus_reset()
949 const struct scsi_host_template *hostt = host->hostt; in scsi_try_target_reset() local
978 const struct scsi_host_template *hostt = scmd->device->host->hostt; in scsi_try_bus_device_reset() local
[all …]
H A Dhosts.c184 scsi_proc_hostdir_rm(shost->hostt); in scsi_remove_host()
222 const struct scsi_host_template *sht = shost->hostt; in scsi_add_host_with_dma()
362 scsi_proc_hostdir_rm(shost->hostt); in scsi_host_dev_release()
437 shost->hostt = sht; in scsi_host_alloc()
523 if (scsi_proc_hostdir_add(shost->hostt) < 0) in scsi_host_alloc()
653 "when no workqueue created.\n", shost->hostt->name); in scsi_queue_work()
672 "when no workqueue created.\n", shost->hostt->name); in scsi_flush_work()
H A Dscsi_proc.c74 if (!shost->hostt->write_info) in proc_scsi_host_write()
82 ret = shost->hostt->write_info(shost, page, count); in proc_scsi_host_write()
92 return shost->hostt->show_info(m, shost); in proc_scsi_show()
220 const struct scsi_host_template *sht = shost->hostt; in scsi_proc_host_add()
251 const struct scsi_host_template *sht = shost->hostt; in scsi_proc_host_rm()
H A Dscsi_scan.c366 if (shost->hostt->slave_alloc) { in scsi_alloc_sdev()
367 ret = shost->hostt->slave_alloc(sdev); in scsi_alloc_sdev()
399 if (shost->hostt->target_destroy) in scsi_target_destroy()
400 shost->hostt->target_destroy(starget); in scsi_target_destroy()
535 if (shost->hostt->target_alloc) { in scsi_alloc_target()
536 error = shost->hostt->target_alloc(starget); in scsi_alloc_target()
1065 if (sdev->host->hostt->slave_configure) { in scsi_add_lun()
1066 ret = sdev->host->hostt->slave_configure(sdev); in scsi_add_lun()
1975 if (shost->hostt->scan_finished) { in do_scsi_scan_host()
1977 if (shost->hostt->scan_start) in do_scsi_scan_host()
[all …]
H A Dscsi_lib.c1518 rtn = host->hostt->queuecommand(host, cmd); in scsi_dispatch_cmd()
1571 if (!shost->hostt->init_cmd_priv) in scsi_prepare_cmd()
1572 memset(cmd + 1, 0, shost->hostt->cmd_size); in scsi_prepare_cmd()
1823 shost->hostt->cmd_size; in scsi_mq_init_request()
1827 if (shost->hostt->init_cmd_priv) { in scsi_mq_init_request()
1842 if (shost->hostt->exit_cmd_priv) in scsi_mq_exit_request()
1843 shost->hostt->exit_cmd_priv(shost, cmd); in scsi_mq_exit_request()
1852 if (shost->hostt->mq_poll) in scsi_mq_poll()
1871 if (shost->hostt->map_queues) in scsi_map_queues()
1872 return shost->hostt->map_queues(shost); in scsi_map_queues()
[all …]
H A Dscsi_ioctl.c52 if (host->hostt->info) in ioctl_probe()
53 string = host->hostt->info(host); in ioctl_probe()
55 string = host->hostt->name; in ioctl_probe()
933 if (!sdev->host->hostt->compat_ioctl) in scsi_ioctl()
935 return sdev->host->hostt->compat_ioctl(sdev, cmd, arg); in scsi_ioctl()
938 if (!sdev->host->hostt->ioctl) in scsi_ioctl()
940 return sdev->host->hostt->ioctl(sdev, cmd, arg); in scsi_ioctl()
H A Dscsi_sysfs.c259 unsigned int supported_mode = shost->hostt->supported_mode; in show_shost_supported_mode()
299 const struct scsi_host_template *sht = shost->hostt; in store_host_reset()
341 !shost->hostt->eh_host_reset_handler)) in store_shost_eh_deadline()
379 shost_rd_attr2(proc_name, hostt->proc_name, "%s\n");
1029 const struct scsi_host_template *sht = sdev->host->hostt; in DECLARE_EVT()
1260 !sdev->host->hostt->change_queue_depth) in scsi_sdev_attr_is_visible()
1264 !sdev->host->hostt->change_queue_depth) in scsi_sdev_attr_is_visible()
1506 if (sdev->host->hostt->slave_destroy) in __scsi_remove_device()
1507 sdev->host->hostt->slave_destroy(sdev); in __scsi_remove_device()
1639 const struct scsi_host_template *hostt = shost->hostt; in scsi_sysfs_device_initialize() local
[all …]
H A Dscsi.c765 if (!try_module_get(sdev->host->hostt->module)) in scsi_device_get()
772 module_put(sdev->host->hostt->module); in scsi_device_get()
788 struct module *mod = sdev->host->hostt->module; in scsi_device_put()
H A Dam53c974.c374 const struct scsi_host_template *hostt = &scsi_esp_template; in pci_esp_probe_one() local
391 shost = scsi_host_alloc(hostt, sizeof(struct esp)); in pci_esp_probe_one()
H A Draid_class.c68 if (i->f->cookie != sdev->host->hostt) in raid_match()
H A Dscsi_transport_fc.c2792 "when no workqueue created.\n", shost->hostt->name); in fc_queue_work()
2811 "when no workqueue created.\n", shost->hostt->name); in fc_flush_work()
2835 "when no workqueue created.\n", shost->hostt->name); in fc_queue_devloss_work()
2854 "when no workqueue created.\n", shost->hostt->name); in fc_flush_devloss()
4130 if ((shost->hostt->vendor_id == 0L) || in fc_bsg_host_dispatch()
4132 shost->hostt->vendor_id)) { in fc_bsg_host_dispatch()
H A Dsd.c1482 if (host->hostt->bios_param) in sd_getgeo()
1483 host->hostt->bios_param(sdp, bdev, capacity, diskinfo); in sd_getgeo()
3588 if (sdev->host->hostt->unlock_native_capacity) in sd_unlock_native_capacity()
3589 sdev->host->hostt->unlock_native_capacity(sdev); in sd_unlock_native_capacity()
3761 sdp->host->hostt->rpm_autosuspend_delay); in sd_probe()
/openbmc/linux/drivers/staging/ks7010/
H A Dks_wlan.h179 struct hostt { struct
510 struct hostt hostt; member
H A Dks7010_sdio.c395 priv->hostt.buff[priv->hostt.qtail] = le16_to_cpu(hdr->event); in ks_wlan_hw_tx()
396 priv->hostt.qtail = (priv->hostt.qtail + 1) % SME_EVENT_BUFF_SIZE; in ks_wlan_hw_tx()
H A Dks_hostif.c1030 priv->hostt.buff[priv->hostt.qtail] = event; in hostif_event_check()
1031 priv->hostt.qtail = (priv->hostt.qtail + 1) % SME_EVENT_BUFF_SIZE; in hostif_event_check()
/openbmc/linux/Documentation/scsi/
H A Dscsi_eh.rst50 invoking hostt->queuecommand() or the block layer will time it out.
92 1. invokes optional hostt->eh_timed_out() callback. Return value can
155 has timed out, unless hostt->eh_timed_out() made lower layers forget
212 hostt EH callbacks. Callbacks may be omitted and omitted ones are
356 hostt->eh_abort_handler() is invoked for each scmd. The
396 *NOTE* If hostt->eh_abort_handler() isn't implemented or
409 instead of issuing STU, hostt->eh_device_reset_handler()
418 hostt->eh_bus_reset_handler() is invoked for each channel
427 This is the last resort. hostt->eh_host_reset_handler()
/openbmc/linux/drivers/target/
H A Dtarget_core_pscsi.c82 (scsi_host->hostt->name) ? (scsi_host->hostt->name) : in pscsi_detach_hba()
107 " %s\n", hba->hba_id, (sh->hostt->name) ? in pscsi_pmode_enable_hba()
108 (sh->hostt->name) : "Unknown"); in pscsi_pmode_enable_hba()
128 hba->hba_id, (sh->hostt->name) ? (sh->hostt->name) : "Unknown"); in pscsi_pmode_enable_hba()
/openbmc/linux/drivers/scsi/libfc/
H A Dfc_npiv.c27 vn_port = libfc_host_alloc(shost->hostt, privsize); in libfc_vport_create()
/openbmc/linux/drivers/scsi/libsas/
H A Dsas_scsi_host.c509 if (!shost->hostt->eh_device_reset_handler) in try_to_reset_cmd_device()
512 res = shost->hostt->eh_device_reset_handler(cmd); in try_to_reset_cmd_device()
517 if (shost->hostt->eh_target_reset_handler) in try_to_reset_cmd_device()
518 return shost->hostt->eh_target_reset_handler(cmd); in try_to_reset_cmd_device()
H A Dsas_host_smp.c270 memcpy(resp_data + 12, shost->hostt->name, in sas_smp_host_handler()
/openbmc/linux/drivers/scsi/arm/
H A Darxescsi.c222 host->hostt->name, info->info.scsi.type, info->ec->slot_no, in arxescsi_info()
H A Dpowertec.c193 host->hostt->name, info->info.scsi.type, info->ec->slot_no, in powertecscsi_info()
H A Dcumana_2.c305 host->hostt->name, info->info.scsi.type, info->ec->slot_no, in cumanascsi_2_info()
H A Deesox.c390 host->hostt->name, info->info.scsi.type, info->ec->slot_no, in eesoxscsi_info()
/openbmc/linux/include/scsi/
H A Dscsi_host.h560 const struct scsi_host_template *hostt; member

12