Home
last modified time | relevance | path

Searched full:srp (Results 1 – 25 of 172) sorted by relevance

1234567

/openbmc/linux/drivers/scsi/
H A Dsg.c181 static int sg_start_req(Sg_request *srp, unsigned char *cmd);
182 static int sg_finish_rem_req(Sg_request * srp);
185 Sg_request * srp);
189 static int sg_common_write(Sg_fd * sfp, Sg_request * srp,
191 static int sg_read_oxfer(Sg_request * srp, char __user *outp, int num_read_xfer);
194 static void sg_link_reserve(Sg_fd * sfp, Sg_request * srp, int size);
195 static void sg_unlink_reserve(Sg_fd * sfp, Sg_request * srp);
200 static int sg_remove_request(Sg_fd * sfp, Sg_request * srp);
441 Sg_request *srp; in sg_read() local
466 srp = sg_get_rq_mark(sfp, req_pack_id, &busy); in sg_read()
[all …]
H A Dscsi_transport_srp.c3 * SCSI RDMA (SRP) transport class
134 {SRP_RPORT_ROLE_INITIATOR, "SRP Initiator"},
135 {SRP_RPORT_ROLE_TARGET, "SRP Target"},
430 pr_info("fast_io_fail_tmo expired for SRP %s / %s.\n", in rport_fast_io_fail_timedout()
450 pr_info("dev_loss_tmo expired for SRP %s / %s.\n", in rport_dev_loss_timedout()
497 * @rport: SRP target port.
511 * srp_reconnect_rport() - reconnect to an SRP target port
512 * @rport: SRP target port.
593 * srp_timed_out() - SRP transport intercept of the SCSI timeout EH
670 * @rport: SRP target port.
[all …]
/openbmc/linux/Documentation/ABI/stable/
H A Dsysfs-driver-ib_srp1 What: /sys/class/infiniband_srp/srp-<hca>-<port_number>/add_target
11 byte identifier extension in the 16-byte SRP target port
23 the SRP target. How to find out the value of the service ID
24 is specified in the documentation of the SRP target.
29 * io_class, a hexadecimal number specifying the SRP I/O class.
31 class defines the format of the SRP initiator and target
34 identifier extension portion of the SRP initiator port
50 target via a single SCSI command. Since not all SRP target
64 spread the SRP completion workload over multiple CPU's.
74 What: /sys/class/infiniband_srp/srp-<hca>-<port_number>/ibdev
[all …]
H A Dsysfs-transport-srp5 Description: Instructs an SRP initiator to disconnect from a target and to
30 Description: 16-byte local SRP port identifier in hexadecimal format. An
45 Description: Role of the remote port. Either "SRP Initiator" or "SRP Target".
/openbmc/qemu/hw/scsi/
H A Dspapr_vscsi.c40 #include "srp.h"
75 uint32_t qtag; /* qemu tag != srp tag */
130 if (req_iu(req)->srp.cmd.tag == srp_tag) { in vscsi_find_req()
187 /* First copy the SRP */ in vscsi_send_iu()
199 req->crq.s.IU_data_ptr = req_iu(req)->srp.rsp.tag; /* right byte order */ in vscsi_send_iu()
236 uint64_t tag = iu->srp.rsp.tag; in vscsi_send_rsp()
237 int total_len = sizeof(iu->srp.rsp); in vscsi_send_rsp()
238 uint8_t sol_not = iu->srp.cmd.sol_not; in vscsi_send_rsp()
243 iu->srp.rsp.opcode = SRP_RSP; in vscsi_send_rsp()
244 iu->srp.rsp.req_lim_delta = cpu_to_be32(1); in vscsi_send_rsp()
[all …]
H A Dviosrp.h2 /* srp.h -- SCSI RDMA Protocol definitions */
23 /* platform architecture) implementation of the SRP (SCSI RDMA Protocol) */
24 /* standard. SRP is used on IBM iSeries and pSeries platforms to send SCSI */
27 /* SRP Information Units (IUs) are sent on a "Command/Response Queue" (CRQ) */
36 #include "hw/scsi/srp.h"
82 /* MADs are Management requests above and beyond the IUs defined in the SRP
133 * All SRP (and MAD) requests normally flow from the
203 union srp_iu srp; member
H A Dsrp.h38 * Structures and constants for the SCSI RDMA Protocol (SRP) as
40 * draft Revision 16a of the SRP standard.
107 * We need the packed attribute because the SRP spec puts the list of
137 * The SRP spec defines the size of the LOGIN_RSP structure to be 52
178 * We need the packed attribute because the SRP spec only aligns the
196 * We need the packed attribute because the SRP spec only aligns the
227 * The SRP spec defines the size of the RSP structure to be 36 bytes,
/openbmc/linux/drivers/infiniband/ulp/srpt/
H A Dib_srpt.h48 #include <scsi/srp.h>
54 * ServiceEntries attribute pair. See also the SRP specification.
56 #define SRP_SERVICE_NAME_PREFIX "SRP.T10:"
62 * SRP IOControllerProfile attributes for SRP target ports that have
63 * not been defined in <scsi/srp.h>. Source: section B.7, table B.7
64 * in the SRP specification.
75 * srp_login_cmd.req_flags bitmasks. See also table 9 in the SRP
85 * 18 and 20 in the SRP specification.
92 * 16 and 22 in the SRP specification.
96 /* See also table 24 in the SRP specification. */
[all …]
H A DKconfig7 Support for the SCSI RDMA Protocol (SRP) Target driver. The
8 SRP protocol is a protocol that allows an initiator to access
12 information about the SRP protocol can be found on the website
H A Dib_dm_mad.h68 * Structure of management datagram sent by the SRP target implementation.
71 * - The SRP target implementation does not use RMPP or ib_dm_hdr when sending
133 * Specification. See also section B.7, table B.8 in the T10 SRP r16a document.
/openbmc/linux/include/scsi/
H A Dviosrp.h3 /* srp.h -- SCSI RDMA Protocol definitions */
11 /* platform architecture) implementation of the SRP (SCSI RDMA Protocol) */
12 /* standard. SRP is used on IBM iSeries and pSeries platforms to send SCSI */
15 /* SRP Information Units (IUs) are sent on a "Command/Response Queue" (CRQ) */
23 #include <scsi/srp.h>
87 /* MADs are Management requests above and beyond the IUs defined in the SRP
137 * All SRP (and MAD) requests normally flow from the
201 union srp_iu srp; member
H A Dscsi_transport_srp.h18 * enum srp_rport_state - SRP transport layer state
33 * struct srp_rport - SRP initiator or target port
35 * Fields that are relevant for SRP initiator and SRP target drivers:
40 * Fields that are only relevant for SRP initiator drivers:
79 * Fields that are only relevant for SRP initiator drivers:
125 * @rport: SRP target port pointer.
H A Dsrp.h39 * Structures and constants for the SCSI RDMA Protocol (SRP) as
41 * draft Revision 16a of the SRP standard.
104 * We need the packed attribute because the SRP spec puts the list of
170 * The SRP spec defines the size of the LOGIN_RSP structure to be 52
252 * The SRP spec defines the size of the RSP structure to be 36 bytes,
287 * The SRP spec defines the fixed portion of the AER_REQ structure to be
/openbmc/linux/Documentation/devicetree/bindings/usb/
H A Dusb-drd.yaml18 features (HNP/SRP/ADP) is enabled. If ADP is required, otg-rev should be
35 basic function of real OTG except you want it to be a srp-capable only B
39 srp-disable:
41 Tells OTG controllers we want to disable OTG SRP. SRP is optional for OTG
/openbmc/linux/sound/pci/emu10k1/
H A Dp17v.h96 #define P17V_MIXER_AC97_SRP_REC_VOL_L 0x65 /* SRP Record to Mixer_AC97 input volume control */
97 #define P17V_MIXER_AC97_SRP_REC_VOL_H 0x66 /* SRP Record to Mixer_AC97 input volume control */
103 #define P17V_MIXER_Spdif_SRP_REC_VOL_L 0x6D /* SRP Record to Mixer_Spdif input volume control */
104 #define P17V_MIXER_Spdif_SRP_REC_VOL_H 0x6E /* SRP Record to Mixer_Spdif input volume control */
110 #define P17V_MIXER_I2S_SRP_REC_VOL_L 0x75 /* SRP Record to Mixer_I2S input volume control */
111 #define P17V_MIXER_I2S_SRP_REC_VOL_H 0x76 /* SRP Record to Mixer_I2S input volume control */
117 #define P17V_MIXER_ATT 0x7D /* SRP Mixer Attenuation Select */
118 #define P17V_SRP_RECORD_SRR 0x7E /* SRP Record channel source Select */
119 #define P17V_SOFT_RESET_SRP_MIXER 0x7F /* SRP and mixer soft reset */
/openbmc/linux/drivers/scsi/ibmvscsi/
H A Dibmvscsi.c35 * The VSCSI client builds a SCSI Remote Protocol (SRP) Information Unit
38 * payload of a CRQ message. The server DMAs the SRP IU and processes it,
40 * DMAs the SRP response back to the same address as the request came from,
579 * @format: SRP or MAD format
600 * set_srp_direction: Set the fields in the srp related to data
677 * Called by map_data_for_srp_cmd() when building srp cmd from scsi cmd.
745 * map_data_for_srp_cmd: - Calls functions to map data for srp cmds
751 * Called by scsi_cmd_to_srp_cmd() when converting scsi cmds to srp cmds
797 unmap_cmd_data(&evt->iu.srp.cmd, evt, in purge_requests()
802 evt->iu.srp.login_req.opcode != SRP_LOGIN_REQ) in purge_requests()
[all …]
/openbmc/linux/drivers/scsi/ibmvscsi_tgt/
H A Dibmvscsi_tgt.c511 * Initiator has not done a successful srp login in ibmvscsis_disconnect()
512 * or has done a successful srp logout ( adapter was not in ibmvscsis_disconnect()
1080 dev_dbg(&vscsi->dev, "trans_event: SRP Processing, but no outstanding work\n"); in ibmvscsis_trans_event()
1435 * Copy the srp information unit from the hosted
1797 * If the server is processing SRP requests, i.e. in srp_snd_msg_failed()
2093 * @cmd: Pointer to the command for the SRP Login request
2102 struct srp_login_rsp *rsp = &vio_iu(iue)->srp.login_rsp; in ibmvscsis_login_rsp()
2152 * @cmd: Pointer to the command for the SRP Login request
2153 * @reason: The reason the SRP Login is being rejected, per SRP protocol
2162 struct srp_login_rej *rej = &vio_iu(iue)->srp.login_rej; in ibmvscsis_srp_login_rej()
[all …]
H A Dibmvscsi_tgt.h39 * SRP buffer formats defined as of 16.a supported by this driver.
179 /* ASCII formatted WWPN for SRP Target port */
204 /* at least one port is processing SRP IU */
231 /* allowable number of outstanding SRP requests */
269 /* used in hcall to copy response back into srp buffer */
/openbmc/linux/drivers/usb/chipidea/
H A Dotg_fsm.h51 /* SRP Fail Time */
57 /* SE0 Time Before SRP */
59 /* SSEND time before SRP */
/openbmc/linux/drivers/infiniband/ulp/srp/
H A DKconfig8 allows you to access storage devices that speak SRP over
11 The SRP protocol is defined by the INCITS T10 technical
H A Dib_srp.c53 #include <scsi/srp.h>
78 "Default number of gather/scatter entries in the SRP command (default is 12, max 255)");
90 "Enable workarounds for Topspin/Cisco SRP target bugs if != 0");
118 "Maximum number of seconds that the SRP transport should"
128 "Whether or not to request permission to use immediate data during SRP login.");
137 …"Number of RDMA channels to use for communication with an SRP target. Using more than one channel …
154 .name = "srp",
507 * @ch: SRP RDMA channel.
789 pr_warn("%s: subnet timeout %d may cause SRP login to fail.\n", in srp_get_subnet_timeout()
876 * In the published SRP specification (draft rev. 16a), the in srp_send_req()
[all …]
/openbmc/linux/security/smack/
H A Dsmackfs.c200 * @srp: the rule to add or replace
212 static int smk_set_access(struct smack_parsed_rule *srp, in smk_set_access() argument
227 if (sp->smk_object == srp->smk_object && in smk_set_access()
228 sp->smk_subject == srp->smk_subject) { in smk_set_access()
230 sp->smk_access |= srp->smk_access1; in smk_set_access()
231 sp->smk_access &= ~srp->smk_access2; in smk_set_access()
243 sp->smk_subject = srp->smk_subject; in smk_set_access()
244 sp->smk_object = srp->smk_object; in smk_set_access()
245 sp->smk_access = srp->smk_access1 & ~srp->smk_access2; in smk_set_access()
565 static void smk_rule_show(struct seq_file *s, struct smack_rule *srp, int max) in smk_rule_show() argument
[all …]
/openbmc/linux/include/linux/usb/
H A Dotg-fsm.h61 * @a_srp_det: TRUE if the A-device detects SRP
71 * time before generating SRP
73 * the minimum time before generating SRP
116 * b_srp_done: TRUE when the B-device has completed initiating SRP
/openbmc/linux/Documentation/usb/
H A Dchipidea.rst5 1. How to test OTG FSM(HNP and SRP)
8 To show how to demo OTG HNP and SRP functions via sys input files
93 8) B-device does data pulse for SRP.
/openbmc/qemu/target/m68k/
H A Dmonitor.c50 { "srp", offsetof(CPUM68KState, mmu.srp) },

1234567