Lines Matching refs:device
83 static int tcm_loop_driver_probe(struct device *);
84 static void tcm_loop_driver_remove(struct device *);
99 static struct device *tcm_loop_primary;
111 tl_hba = *(struct tcm_loop_hba **)shost_priv(sc->device->host);
112 tl_tpg = &tl_hba->tl_hba_tpgs[sc->device->id];
115 * Ensure that this tl_tpg reference from the incoming sc->device->id
148 tl_cmd->sc->device->lun, transfer_length,
173 __func__, sc->device->host->host_no, sc->device->id,
174 sc->device->channel, sc->device->lun, sc->cmnd[0],
203 pr_err("Unable to perform device reset without active I_T Nexus\n");
242 tl_hba = *(struct tcm_loop_hba **)shost_priv(sc->device->host);
243 tl_tpg = &tl_hba->tl_hba_tpgs[sc->device->id];
244 ret = tcm_loop_issue_tmr(tl_tpg, sc->device->lun,
262 tl_hba = *(struct tcm_loop_hba **)shost_priv(sc->device->host);
263 tl_tpg = &tl_hba->tl_hba_tpgs[sc->device->id];
265 ret = tcm_loop_issue_tmr(tl_tpg, sc->device->lun,
278 tl_hba = *(struct tcm_loop_hba **)shost_priv(sc->device->host);
280 pr_err("Unable to perform device reset without active I_T Nexus\n");
284 * Locate the tl_tpg pointer from TargetID in sc->device->id
286 tl_tpg = &tl_hba->tl_hba_tpgs[sc->device->id];
312 static int tcm_loop_driver_probe(struct device *dev)
359 static void tcm_loop_driver_remove(struct device *dev)
371 static void tcm_loop_release_adapter(struct device *dev)