Lines Matching defs:targ

551 	tgtdev = cmd->targ;
771 target = cmd->targ;
887 targ_dev = cmd->targ;
951 struct mpi3mr_target *targ;
980 targ = mpi3mr_find_target_by_per_id(cam_sc, csio->ccb_h.target_id);
981 if (targ == NULL) {
989 if (targ && targ->is_hidden) {
997 if (targ->dev_removed == 1) {
1004 if (targ->dev_handle == 0x0) {
1012 if (mpi3mr_atomic_read(&targ->block_io) ||
1037 if (targ->flags & MPI3MRSAS_TARGET_INREMOVAL) {
1038 if (targ->devinfo == 0)
1048 (targ->dev_type == MPI3_DEVICE_DEVFORM_PCIE) &&
1090 req->DevHandle = htole16(targ->dev_handle);
1114 if (targ->ws_len)
1115 mpi3mr_divert_ws(req, csio, targ->ws_len);
1129 cm->targ = targ;
1188 struct mpi3mr_target *targ = cm->targ;
1196 targ->io_throttle_enabled) {
1199 tg = targ->throttle_group;
1211 targ->per_id, targ->dev_handle,
1224 tg->id, targ->per_id);
1236 targ->per_id, targ->dev_handle,
1243 targ->io_divert = 1;
1246 targ->per_id);
1253 if (targ->io_divert) {
1273 mpi3mr_atomic_inc(&targ->outstanding);
1307 struct mpi3mr_target *targ;
1349 targ = mpi3mr_find_target_by_per_id(cam_sc, ccb->ccb_h.target_id);
1351 if (targ && (targ->dev_type == MPI3_DEVICE_DEVFORM_PCIE) &&
1352 ((targ->dev_spec.pcie_inf.dev_info &
1355 cpi->maxio = targ->dev_spec.pcie_inf.mdts;
1378 targ = mpi3mr_find_target_by_per_id(cam_sc, cts->ccb_h.target_id);
1380 if (targ == NULL) {
1387 if ((targ->dev_handle == 0x0) || (targ->dev_removed == 1)) {
1398 switch (targ->link_rate) {
1473 mpi3mr_rescan_target(struct mpi3mr_softc *sc, struct mpi3mr_target *targ)
1481 if (targ == NULL)
1484 targetid = targ->per_id;