Lines Matching refs:dev_handle
2826 sc->init_cmds.dev_handle = MPI3MR_INVALID_DEV_HANDLE; in mpi3mr_initialize_ioc()
2832 sc->ioctl_cmds.dev_handle = MPI3MR_INVALID_DEV_HANDLE; in mpi3mr_initialize_ioc()
2838 sc->pel_abort_cmd.dev_handle = MPI3MR_INVALID_DEV_HANDLE; in mpi3mr_initialize_ioc()
2844 sc->host_tm_cmds.dev_handle = MPI3MR_INVALID_DEV_HANDLE; in mpi3mr_initialize_ioc()
2857 sc->dev_rmhs_cmds[i].dev_handle = MPI3MR_INVALID_DEV_HANDLE; in mpi3mr_initialize_ioc()
3302 if (target->dev_handle == handle) in mpi3mr_find_target_by_dev_handle()
3317 tgtdev->dev_handle = (dev_pg0->DevHandle); in mpi3mr_update_device()
3484 __func__, drv_cmd->dev_handle, drv_cmd->ioc_status, in mpi3mr_dev_rmhs_complete_iou()
3491 __func__, drv_cmd->dev_handle, in mpi3mr_dev_rmhs_complete_iou()
3493 mpi3mr_dev_rmhs_send_tm(sc, drv_cmd->dev_handle, in mpi3mr_dev_rmhs_complete_iou()
3499 __func__, drv_cmd->dev_handle); in mpi3mr_dev_rmhs_complete_iou()
3503 __func__, drv_cmd->dev_handle); in mpi3mr_dev_rmhs_complete_iou()
3504 mpi3mr_clear_bit(drv_cmd->dev_handle, sc->removepend_bitmap); in mpi3mr_dev_rmhs_complete_iou()
3509 drv_cmd->dev_handle = delayed_dev_rmhs->handle; in mpi3mr_dev_rmhs_complete_iou()
3514 __func__, drv_cmd->dev_handle); in mpi3mr_dev_rmhs_complete_iou()
3515 mpi3mr_dev_rmhs_send_tm(sc, drv_cmd->dev_handle, drv_cmd, in mpi3mr_dev_rmhs_complete_iou()
3524 drv_cmd->dev_handle = MPI3MR_INVALID_DEV_HANDLE; in mpi3mr_dev_rmhs_complete_iou()
3553 sc->name, drv_cmd->dev_handle, drv_cmd->ioc_status, in mpi3mr_dev_rmhs_complete_tm()
3558 sc->name, drv_cmd->dev_handle, cmd_idx); in mpi3mr_dev_rmhs_complete_tm()
3566 iou_ctrl.Param16[0] = htole16(drv_cmd->dev_handle); in mpi3mr_dev_rmhs_complete_tm()
3581 drv_cmd->dev_handle = MPI3MR_INVALID_DEV_HANDLE; in mpi3mr_dev_rmhs_complete_tm()
3612 if ((tgtdev->dev_handle == handle) && in mpi3mr_dev_rmhs_send_tm()
3663 drv_cmd->dev_handle = handle; in mpi3mr_dev_rmhs_send_tm()
3683 drv_cmd->dev_handle = MPI3MR_INVALID_DEV_HANDLE; in mpi3mr_dev_rmhs_send_tm()
3942 U16 dev_handle = 0; in mpi3mr_devstatuschg_evt_th() local
3948 dev_handle = le16toh(evtdata->DevHandle); in mpi3mr_devstatuschg_evt_th()
3974 tgtdev = mpi3mr_find_target_by_dev_handle(sc->cam_sc, dev_handle); in mpi3mr_devstatuschg_evt_th()
3978 __func__, dev_handle); in mpi3mr_devstatuschg_evt_th()
4002 mpi3mr_dev_rmhs_send_tm(sc, dev_handle, NULL, in mpi3mr_devstatuschg_evt_th()
4006 mpi3mr_dev_rmhs_send_tm(sc, dev_handle, NULL, in mpi3mr_devstatuschg_evt_th()
4575 target->dev_handle, in mpi3mr_process_op_reply_desc()
4597 target->dev_handle, in mpi3mr_process_op_reply_desc()
4618 target->dev_handle, in mpi3mr_process_op_reply_desc()
4638 target->dev_handle, in mpi3mr_process_op_reply_desc()
5642 target->dev_handle = MPI3MR_INVALID_DEV_HANDLE; in mpi3mr_invalidate_devhandles()
5668 if (target->dev_handle == MPI3MR_INVALID_DEV_HANDLE) { in mpi3mr_rfresh_tgtdevs()
5670 mpi3mr_remove_device_from_os(sc, target->dev_handle); in mpi3mr_rfresh_tgtdevs()
5676 if ((target->dev_handle != MPI3MR_INVALID_DEV_HANDLE) && in mpi3mr_rfresh_tgtdevs()