Lines Matching refs:target
111 /* With these defaults, this driver will make 1 host with 1 target
291 unsigned int target;
1062 (devip->target == dp->target)) {
1125 * on the target, until a REPORT LUNS command is
1265 arr[num++] = 0x94; /* PIV=1, target port, rel port */
1275 arr[num++] = 0x93; /* piv=1, target port, naa */
1282 arr[num++] = 0x95; /* piv=1, target port group id */
1291 arr[num++] = 0xa3; /* piv=1, target device, naa */
1298 arr[num++] = 0xa8; /* piv=1, target device, SCSI name string */
1375 /* naa-5 target port identifier (A) */
1377 arr[num++] = 0x93; /* PIV=1, target port, NAA */
1390 /* naa-5 target port identifier (B) */
1392 arr[num++] = 0x93; /* PIV=1, target port, NAA */
1607 (devip->target * 1000) + devip->lun);
1609 (devip->target * 1000) - 3;
2167 static int resp_err_recov_pg(unsigned char *p, int pcontrol, int target)
2178 static int resp_disconnect_pg(unsigned char *p, int pcontrol, int target)
2189 static int resp_format_pg(unsigned char *p, int pcontrol, int target)
2209 static int resp_caching_pg(unsigned char *p, int pcontrol, int target)
2229 static int resp_ctrl_m_pg(unsigned char *p, int pcontrol, int target)
2253 static int resp_iec_m_pg(unsigned char *p, int pcontrol, int target)
2268 static int resp_sas_sf_m_pg(unsigned char *p, int pcontrol, int target)
2280 static int resp_sas_pcd_m_spg(unsigned char *p, int pcontrol, int target,
2334 int target = scp->device->id;
2359 (devip->target * 1000) - 3;
2406 len = resp_err_recov_pg(ap, pcontrol, target);
2410 len = resp_disconnect_pg(ap, pcontrol, target);
2415 len = resp_format_pg(ap, pcontrol, target);
2422 len = resp_caching_pg(ap, pcontrol, target);
2428 len = resp_ctrl_m_pg(ap, pcontrol, target);
2438 len += resp_sas_sf_m_pg(ap + len, pcontrol, target);
2440 len += resp_sas_pcd_m_spg(ap + len, pcontrol, target,
2447 len = resp_iec_m_pg(ap, pcontrol, target);
2452 len = resp_err_recov_pg(ap, pcontrol, target);
2453 len += resp_disconnect_pg(ap + len, pcontrol, target);
2456 target);
2458 target);
2461 target);
2463 len += resp_ctrl_m_pg(ap + len, pcontrol, target);
2464 len += resp_sas_sf_m_pg(ap + len, pcontrol, target);
2467 target, target_dev_id);
2470 len += resp_iec_m_pg(ap + len, pcontrol, target);
3197 * target we proceed to verify the PI even if
4014 /* set UAs on most devices (LUs) in this target */
4018 if (dp->target == sdp->id) {
4026 /* set UA on all devices (LUs) in this target */
4030 if (dp->target == sdp->id)
4284 /* Even though each pseudo target has a REPORT LUNS "well known logical unit"
4289 * the above will associate a W-LUN to each target. To only get a W-LUN
4290 * for target 2, then use "echo '- 2 49409' > scan" .
5114 (devip->target == sdev->id) &&
5131 open_devip->target = sdev->id;
5338 if (devip->target == sdp->id) {
5346 "%s: %d device(s) found in target\n", __func__, k);
5807 MODULE_PARM_DESC(max_luns, "number of LUNs per target to simulate(def=1)");
5933 seq_printf(m, "RESETs: device=%d, target=%d, bus=%d, host=%d\n",