Home
last modified time | relevance | path

Searched refs:eh_action (Results 1 – 6 of 6) sorted by relevance

/openbmc/linux/drivers/ata/
H A Dlibata-trace.c60 libata_trace_parse_eh_action(struct trace_seq *p, unsigned int eh_action) in libata_trace_parse_eh_action() argument
64 trace_seq_printf(p, "%x", eh_action); in libata_trace_parse_eh_action()
65 if (eh_action) { in libata_trace_parse_eh_action()
67 if (eh_action & ATA_EH_REVALIDATE) in libata_trace_parse_eh_action()
69 if (eh_action & (ATA_EH_SOFTRESET | ATA_EH_HARDRESET)) in libata_trace_parse_eh_action()
71 else if (eh_action & ATA_EH_SOFTRESET) in libata_trace_parse_eh_action()
73 else if (eh_action & ATA_EH_HARDRESET) in libata_trace_parse_eh_action()
75 if (eh_action & ATA_EH_ENABLE_LINK) in libata_trace_parse_eh_action()
77 if (eh_action & ATA_EH_PARK) in libata_trace_parse_eh_action()
/openbmc/linux/include/trace/events/
H A Dlibata.h444 TP_ARGS(dev, eh_action, eh_err_mask),
449 __field( unsigned int, eh_action )
456 __entry->eh_action = eh_action;
462 __parse_eh_action(__entry->eh_action),
496 TP_PROTO(struct ata_link *link, unsigned int devno, unsigned int eh_action),
498 TP_ARGS(link, devno, eh_action),
503 __field( unsigned int, eh_action )
509 __entry->eh_action = eh_action;
514 __parse_eh_action(__entry->eh_action))
519 TP_ARGS(link, devno, eh_action));
[all …]
/openbmc/linux/include/scsi/
H A Dscsi_driver.h20 int (*eh_action)(struct scsi_cmnd *, int); member
H A Dscsi_host.h557 struct completion * eh_action; /* Wait for specific actions on the member
/openbmc/linux/drivers/scsi/
H A Dscsi_error.c858 struct completion *eh_action; in scsi_eh_done() local
863 eh_action = scmd->device->host->eh_action; in scsi_eh_done()
864 if (eh_action) in scsi_eh_done()
865 complete(eh_action); in scsi_eh_done()
1152 shost->eh_action = &done; in scsi_send_eh_cmnd()
1196 shost->eh_action = NULL; in scsi_send_eh_cmnd()
1259 if (sdrv->eh_action) in scsi_eh_action()
1260 rtn = sdrv->eh_action(scmd, rtn); in scsi_eh_action()
H A Dsd.c4057 .eh_action = sd_eh_action,