Home
last modified time | relevance | path

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

12345

/Linux-v5.15/drivers/scsi/
Dsg.c176 static int sg_start_req(Sg_request *srp, unsigned char *cmd);
177 static int sg_finish_rem_req(Sg_request * srp);
180 Sg_request * srp);
184 static int sg_common_write(Sg_fd * sfp, Sg_request * srp,
186 static int sg_read_oxfer(Sg_request * srp, char __user *outp, int num_read_xfer);
189 static void sg_link_reserve(Sg_fd * sfp, Sg_request * srp, int size);
190 static void sg_unlink_reserve(Sg_fd * sfp, Sg_request * srp);
195 static int sg_remove_request(Sg_fd * sfp, Sg_request * srp);
445 Sg_request *srp; in sg_read() local
469 srp = sg_get_rq_mark(sfp, req_pack_id); in sg_read()
[all …]
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 …]
/Linux-v5.15/Documentation/ABI/stable/
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 …]
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".
/Linux-v5.15/drivers/net/wan/
Dcosa.h17 #define SR_RST 0x10 /* SRP reset */
27 #define SR_UP_REQUEST 0x02 /* request from SRP to transfer data
29 #define SR_DOWN_REQUEST 0x01 /* SRP is able to transfer data down
30 from PC to SRP */
31 #define SR_END_OF_TRANSFER 0x03 /* SRP signalize end of
34 #define SR_CMD_FROM_SRP_MASK 0x03 /* mask to get SRP command */
47 #define SR_LOAD_ADDR 0x4400 /* SRP microcode load address */
48 #define SR_START_ADDR 0x4400 /* SRP microcode start address */
50 #define COSA_LOAD_ADDR 0x400 /* SRP microcode load address */
77 /* Read the device type (one of "srp", "cosa", and "cosa8" for now) */
Dcosa.c8 /* The driver for the SRP and COSA synchronous serial cards.
21 * The SRP (serial port?, the Czech word "srp" means "sickle") card
42 * for the COSA and SRP in one computer and allows each channel to work
55 * The COSA/SRP NetBSD driver by Zdenek Salvet and Ivos Cernohlavek
217 MODULE_PARM_DESC(io, "The I/O bases of the COSA or SRP cards");
219 MODULE_PARM_DESC(irq, "The IRQ lines of the COSA or SRP cards");
221 MODULE_PARM_DESC(dma, "The DMA channels of the COSA or SRP cards");
224 MODULE_DESCRIPTION("Modular driver for the COSA or SRP synchronous card");
308 /* COSA/SRP ROM monitor */
470 if (!strncmp(cosa->id_string, "SRP", 3)) { in cosa_probe()
[all …]
DKconfig38 # The COSA/SRP driver has not been tested as non-modular yet.
40 tristate "COSA/SRP sync serial boards support"
43 Driver for COSA and SRP synchronous serial boards.
51 You will need user-space utilities COSA or SRP boards for downloading
/Linux-v5.15/drivers/infiniband/ulp/srpt/
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 …]
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
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.
/Linux-v5.15/include/scsi/
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>
82 /* MADs are Management requests above and beyond the IUs defined in the SRP
132 * All SRP (and MAD) requests normally flow from the
196 union srp_iu srp; member
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.
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
/Linux-v5.15/Documentation/devicetree/bindings/usb/
Dusb-drd.yaml18 features (HNP/SRP/ADP) is enabled. If ADP is required, otg-rev should be
34 basic function of real OTG except you want it to be a srp-capable only B
38 srp-disable:
40 Tells OTG controllers we want to disable OTG SRP. SRP is optional for OTG
/Linux-v5.15/sound/pci/emu10k1/
Dp17v.h97 #define P17V_MIXER_AC97_SRP_REC_VOL_L 0x65 /* SRP Record to Mixer_AC97 input volume control */
98 #define P17V_MIXER_AC97_SRP_REC_VOL_H 0x66 /* SRP Record to Mixer_AC97 input volume control */
104 #define P17V_MIXER_Spdif_SRP_REC_VOL_L 0x6D /* SRP Record to Mixer_Spdif input volume control */
105 #define P17V_MIXER_Spdif_SRP_REC_VOL_H 0x6E /* SRP Record to Mixer_Spdif input volume control */
111 #define P17V_MIXER_I2S_SRP_REC_VOL_L 0x75 /* SRP Record to Mixer_I2S input volume control */
112 #define P17V_MIXER_I2S_SRP_REC_VOL_H 0x76 /* SRP Record to Mixer_I2S input volume control */
118 #define P17V_MIXER_ATT 0x7D /* SRP Mixer Attenuation Select */
119 #define P17V_SRP_RECORD_SRR 0x7E /* SRP Record channel source Select */
120 #define P17V_SOFT_RESET_SRP_MIXER 0x7F /* SRP and mixer soft reset */
/Linux-v5.15/drivers/scsi/ibmvscsi/
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 …]
/Linux-v5.15/drivers/scsi/ibmvscsi_tgt/
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()
2096 * @cmd: Pointer to the command for the SRP Login request
2105 struct srp_login_rsp *rsp = &vio_iu(iue)->srp.login_rsp; in ibmvscsis_login_rsp()
2155 * @cmd: Pointer to the command for the SRP Login request
2156 * @reason: The reason the SRP Login is being rejected, per SRP protocol
2165 struct srp_login_rej *rej = &vio_iu(iue)->srp.login_rej; in ibmvscsis_srp_login_rej()
[all …]
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 */
/Linux-v5.15/drivers/usb/chipidea/
Dotg_fsm.h51 /* SRP Fail Time */
57 /* SE0 Time Before SRP */
59 /* SSEND time before SRP */
/Linux-v5.15/drivers/infiniband/ulp/srp/
DKconfig8 allows you to access storage devices that speak SRP over
11 The SRP protocol is defined by the INCITS T10 technical
Dib_srp.c53 #include <scsi/srp.h>
83 "Default number of gather/scatter entries in the SRP command (default is 12, max 255)");
95 "Enable workarounds for Topspin/Cisco SRP target bugs if != 0");
123 "Maximum number of seconds that the SRP transport should"
133 "Whether or not to request permission to use immediate data during SRP login.");
142 …"Number of RDMA channels to use for communication with an SRP target. Using more than one channel …
159 .name = "srp",
512 * @ch: SRP RDMA channel.
794 pr_warn("%s: subnet timeout %d may cause SRP login to fail.\n", in srp_get_subnet_timeout()
881 * In the published SRP specification (draft rev. 16a), the in srp_send_req()
[all …]
/Linux-v5.15/security/smack/
Dsmackfs.c199 * @srp: the rule to add or replace
211 static int smk_set_access(struct smack_parsed_rule *srp, in smk_set_access() argument
226 if (sp->smk_object == srp->smk_object && in smk_set_access()
227 sp->smk_subject == srp->smk_subject) { in smk_set_access()
229 sp->smk_access |= srp->smk_access1; in smk_set_access()
230 sp->smk_access &= ~srp->smk_access2; in smk_set_access()
242 sp->smk_subject = srp->smk_subject; in smk_set_access()
243 sp->smk_object = srp->smk_object; in smk_set_access()
244 sp->smk_access = srp->smk_access1 & ~srp->smk_access2; in smk_set_access()
564 static void smk_rule_show(struct seq_file *s, struct smack_rule *srp, int max) in smk_rule_show() argument
[all …]
/Linux-v5.15/Documentation/usb/
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
92 8) B-device does data pulse for SRP.
/Linux-v5.15/include/linux/usb/
Dotg-fsm.h74 * @a_srp_det: TRUE if the A-device detects SRP
84 * time before generating SRP
86 * the minimum time before generating SRP
129 * b_srp_done: TRUE when the B-device has completed initiating SRP
/Linux-v5.15/drivers/usb/phy/
Dphy-fsl-usb.h261 /* SRP Initiate Time */
264 /* SRP Fail Time */
267 /* SRP result wait time */
284 /* SE0 Time Before SRP */

12345