Lines Matching refs:handle

156 static void mpi3mr_dev_rmhs_send_tm(struct mpi3mr_ioc *mrioc, u16 handle,
704 struct mpi3mr_ioc *mrioc, u16 handle) in __mpi3mr_get_tgtdev_by_handle() argument
710 if (tgtdev->dev_handle == handle) in __mpi3mr_get_tgtdev_by_handle()
730 struct mpi3mr_ioc *mrioc, u16 handle) in mpi3mr_get_tgtdev_by_handle() argument
736 tgtdev = __mpi3mr_get_tgtdev_by_handle(mrioc, handle); in mpi3mr_get_tgtdev_by_handle()
1417 struct mpi3mr_ioc *mrioc, u16 handle) in mpi3mr_enclosure_find_by_handle() argument
1422 if (le16_to_cpu(enclosure_dev->pg0.enclosure_handle) != handle) in mpi3mr_enclosure_find_by_handle()
1530 u16 handle; in mpi3mr_sastopochg_evt_debug() local
1561 handle = le16_to_cpu(event_data->phy_entry[i].attached_dev_handle); in mpi3mr_sastopochg_evt_debug()
1562 if (!handle) in mpi3mr_sastopochg_evt_debug()
1591 __func__, phy_number, handle, status_str, link_rate, in mpi3mr_sastopochg_evt_debug()
1613 u16 handle; in mpi3mr_sastopochg_evt_bh() local
1643 handle = le16_to_cpu(event_data->phy_entry[i].attached_dev_handle); in mpi3mr_sastopochg_evt_bh()
1644 if (!handle) in mpi3mr_sastopochg_evt_bh()
1646 tgtdev = mpi3mr_get_tgtdev_by_handle(mrioc, handle); in mpi3mr_sastopochg_evt_bh()
1674 mpi3mr_update_links(mrioc, parent_sas_address, handle, in mpi3mr_sastopochg_evt_bh()
1707 u16 handle; in mpi3mr_pcietopochg_evt_debug() local
1738 handle = in mpi3mr_pcietopochg_evt_debug()
1740 if (!handle) in mpi3mr_pcietopochg_evt_debug()
1770 __func__, port_number, handle, status_str, link_rate, in mpi3mr_pcietopochg_evt_debug()
1792 u16 handle; in mpi3mr_pcietopochg_evt_bh() local
1801 handle = in mpi3mr_pcietopochg_evt_bh()
1803 if (!handle) in mpi3mr_pcietopochg_evt_bh()
1805 tgtdev = mpi3mr_get_tgtdev_by_handle(mrioc, handle); in mpi3mr_pcietopochg_evt_bh()
1911 u16 perst_id, handle, dev_info; in mpi3mr_fwevt_bh() local
1935 handle = le16_to_cpu(dev_pg0->dev_handle); in mpi3mr_fwevt_bh()
1948 mpi3mr_expander_add(mrioc, handle); in mpi3mr_fwevt_bh()
2173 drv_cmd->dev_handle = delayed_dev_rmhs->handle; in mpi3mr_dev_rmhs_complete_iou()
2269 static void mpi3mr_dev_rmhs_send_tm(struct mpi3mr_ioc *mrioc, u16 handle, in mpi3mr_dev_rmhs_send_tm() argument
2282 tgtdev = __mpi3mr_get_tgtdev_by_handle(mrioc, handle); in mpi3mr_dev_rmhs_send_tm()
2305 delayed_dev_rmhs->handle = handle; in mpi3mr_dev_rmhs_send_tm()
2310 __func__, handle); in mpi3mr_dev_rmhs_send_tm()
2319 __func__, handle, cmd_idx); in mpi3mr_dev_rmhs_send_tm()
2329 drv_cmd->dev_handle = handle; in mpi3mr_dev_rmhs_send_tm()
2331 tm_req.dev_handle = cpu_to_le16(handle); in mpi3mr_dev_rmhs_send_tm()
2337 set_bit(handle, mrioc->removepend_bitmap); in mpi3mr_dev_rmhs_send_tm()
2511 u16 handle; in mpi3mr_pcietopochg_evt_th() local
2517 handle = le16_to_cpu(topo_evt->port_entry[i].attached_dev_handle); in mpi3mr_pcietopochg_evt_th()
2518 if (!handle) in mpi3mr_pcietopochg_evt_th()
2522 tgtdev = mpi3mr_get_tgtdev_by_handle(mrioc, handle); in mpi3mr_pcietopochg_evt_th()
2533 mpi3mr_dev_rmhs_send_tm(mrioc, handle, NULL, in mpi3mr_pcietopochg_evt_th()
2577 u16 handle; in mpi3mr_sastopochg_evt_th() local
2583 handle = le16_to_cpu(topo_evt->phy_entry[i].attached_dev_handle); in mpi3mr_sastopochg_evt_th()
2584 if (!handle) in mpi3mr_sastopochg_evt_th()
2589 tgtdev = mpi3mr_get_tgtdev_by_handle(mrioc, handle); in mpi3mr_sastopochg_evt_th()
2600 mpi3mr_dev_rmhs_send_tm(mrioc, handle, NULL, in mpi3mr_sastopochg_evt_th()
3657 u16 handle, uint lun, u16 htag, ulong timeout, in mpi3mr_issue_tm() argument
3671 __func__, tm_type, handle); in mpi3mr_issue_tm()
3697 tm_req.dev_handle = cpu_to_le16(handle); in mpi3mr_issue_tm()
3704 tgtdev = mpi3mr_get_tgtdev_by_handle(mrioc, handle); in mpi3mr_issue_tm()
3769 handle, drv_cmd->ioc_status, drv_cmd->ioc_loginfo); in mpi3mr_issue_tm()
3789 tm_type, handle, drv_cmd->ioc_status, drv_cmd->ioc_loginfo, in mpi3mr_issue_tm()