Home
last modified time | relevance | path

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

12345678910

/kernel/linux/linux-6.6/drivers/scsi/
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);
445 Sg_request *srp; in sg_read() local
470 srp = sg_get_rq_mark(sfp, req_pack_id, &busy); 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 …]
/kernel/linux/linux-5.10/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
470 srp = sg_get_rq_mark(sfp, req_pack_id, &busy); 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 …]
/kernel/linux/linux-6.6/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".
/kernel/linux/linux-5.10/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".
/kernel/linux/linux-5.10/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) */
/kernel/linux/linux-6.6/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
/kernel/linux/linux-5.10/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
/kernel/linux/linux-6.6/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>
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
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
/kernel/linux/linux-5.10/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
211 * We need the packed attribute because the SRP spec only aligns the
229 * We need the packed attribute because the SRP spec only aligns the
260 * The SRP spec defines the size of the RSP structure to be 36 bytes,
295 * The SRP spec defines the fixed portion of the AER_REQ structure to be
/kernel/linux/linux-6.6/Documentation/devicetree/bindings/usb/
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
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/usb/
Dgeneric.txt23 property is used if any real OTG features(HNP/SRP/ADP)
29 to be a srp-capable only B device.
30 - srp-disable: tells OTG controllers we want to disable OTG SRP, SRP is
/kernel/linux/linux-5.10/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 */
/kernel/linux/linux-6.6/sound/pci/emu10k1/
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 */
/kernel/linux/linux-6.6/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 …]
/kernel/linux/linux-5.10/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,
580 * @format: SRP or MAD format
601 * 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.
746 * 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
796 unmap_cmd_data(&evt->iu.srp.cmd, evt, in purge_requests()
801 evt->iu.srp.login_req.opcode != SRP_LOGIN_REQ) in purge_requests()
[all …]

12345678910