Home
last modified time | relevance | path

Searched refs:rport (Results 1 – 25 of 94) sorted by relevance

1234

/linux/drivers/scsi/bfa/
A Dbfa_fcs_rport.c173 bfa_trc(rport->fcs, rport->pwwn); in bfa_fcs_rport_sm_uninit()
174 bfa_trc(rport->fcs, rport->pid); in bfa_fcs_rport_sm_uninit()
212 bfa_trc(rport->fcs, rport->pwwn); in bfa_fcs_rport_sm_plogi_sending()
213 bfa_trc(rport->fcs, rport->pid); in bfa_fcs_rport_sm_plogi_sending()
273 bfa_trc(rport->fcs, rport->pwwn); in bfa_fcs_rport_sm_plogiacc_sending()
274 bfa_trc(rport->fcs, rport->pid); in bfa_fcs_rport_sm_plogiacc_sending()
340 bfa_trc(rport->fcs, rport->pid); in bfa_fcs_rport_sm_plogi_retry()
410 bfa_trc(rport->fcs, rport->pid); in bfa_fcs_rport_sm_plogi()
438 rport->old_pid = rport->pid; in bfa_fcs_rport_sm_plogi()
516 bfa_trc(rport->fcs, rport->pid); in bfa_fcs_rport_sm_fc4_fcs_online()
[all …]
A Dbfa_fcs_fcpim.c200 itnim->rport->bfa_rport, itnim); in bfa_fcs_itnim_sm_hal_rport_online()
417 struct bfa_fcs_rport_s *rport = itnim->rport; in bfa_fcs_itnim_aen_post() local
444 struct bfa_fcs_rport_s *rport = itnim->rport; in bfa_fcs_itnim_send_prli() local
509 itnim->rport->scsi_function = in bfa_fcs_itnim_prli_response()
590 bfa_trc(port->fcs, rport->pwwn); in bfa_fcs_itnim_create()
597 itnim->rport = rport; in bfa_fcs_itnim_create()
598 itnim->fcs = rport->fcs; in bfa_fcs_itnim_create()
747 struct bfa_fcs_rport_s *rport; in bfa_fcs_itnim_lookup() local
750 if (!rport) in bfa_fcs_itnim_lookup()
753 WARN_ON(rport->itnim == NULL); in bfa_fcs_itnim_lookup()
[all …]
A Dbfa_fcs.h331 struct bfa_fcs_rport_s *rport);
333 struct bfa_fcs_rport_s *rport);
452 return rport->bfa_rport; in bfa_fcs_rport_get_halrport()
522 return itnim->rport->port->bfad_port; in bfa_fcs_itnim_get_drvport()
529 return itnim->rport->port; in bfa_fcs_itnim_get_port()
536 return itnim->rport->nwwn; in bfa_fcs_itnim_get_nwwn()
543 return itnim->rport->pwwn; in bfa_fcs_itnim_get_pwwn()
550 return itnim->rport->pid; in bfa_fcs_itnim_get_fcid()
557 return itnim->rport->maxfrsize; in bfa_fcs_itnim_get_maxfrsize()
564 return itnim->rport->fc_cos; in bfa_fcs_itnim_get_cos()
[all …]
A Dbfa_fcs_lport.c488 if (rport) { in bfa_fcs_lport_plogi()
507 if (!rport) { in bfa_fcs_lport_plogi()
847 if (rport) { in bfa_fcs_lport_uf_recv()
984 if (wwn_is_equal(rport->pwwn, pwwn) && rport->pid == pid) in bfa_fcs_lport_get_rport_by_qualifier()
1248 if (rport) { in bfa_fcs_lport_n2n_online()
1263 if (rport) { in bfa_fcs_lport_n2n_online()
1350 if (!rport) in bfa_fcs_lport_loop_online()
1362 if (!rport) in bfa_fcs_lport_loop_online()
5573 if (!rport) in bfa_fcs_lport_scn_portid_rscn()
5761 if (rport) in bfa_fcs_lport_get_rport()
[all …]
/linux/drivers/scsi/
A Dscsi_transport_srp.c317 res = srp_tmo_valid(rport->reconnect_delay, rport->fast_io_fail_tmo, in store_srp_rport_dev_loss_tmo()
472 rport->state); in __srp_start_tl_fail_timers()
482 rport->state); in __srp_start_tl_fail_timers()
544 if (rport->state != SRP_RPORT_FAIL_FAST && rport->state != SRP_RPORT_LOST) in srp_reconnect_rport()
552 res = rport->state != SRP_RPORT_LOST ? i->f->reconnect(rport) : -ENODEV; in srp_reconnect_rport()
611 return rport && rport->fast_io_fail_tmo < 0 && in srp_timed_out()
623 kfree(rport); in srp_rport_release()
703 rport = kzalloc(sizeof(*rport), GFP_KERNEL); in srp_rport_add()
704 if (!rport) in srp_rport_add()
714 memcpy(rport->port_id, ids->port_id, sizeof(rport->port_id)); in srp_rport_add()
[all …]
A Dscsi_transport_fc.c366 if (rport) { in fc_target_setup()
774 if (rport && in fc_fpin_li_stats_update()
787 if (rport && in fc_fpin_li_stats_update()
821 if (rport && in fc_fpin_delivery_stats_update()
854 if (rport && in fc_fpin_peer_congn_stats_update()
867 if (rport && in fc_fpin_peer_congn_stats_update()
2454 kfree(rport); in fc_rport_dev_release()
3081 rport->dd_data = &rport[1]; in fc_remote_port_create()
3129 return rport; in fc_remote_port_create()
3723 scsi_scan_target(&rport->dev, rport->channel, in fc_scsi_scan_rport()
[all …]
/linux/drivers/phy/rockchip/
A Dphy-rockchip-inno-usb2.c424 dev_dbg(&rport->phy->dev, "mode %d\n", rport->mode); in rockchip_usb2phy_init()
455 if (!rport->suspended) in rockchip_usb2phy_power_on()
482 if (rport->suspended) in rockchip_usb2phy_power_off()
537 switch (rport->state) { in rockchip_usb2phy_otg_sm_work()
690 if (!rport->suspended) in rockchip_chg_detect_work()
893 if (rport->suspended && rport->port_id == USB2PHY_PORT_HOST) in rockchip_usb2phy_linestate_irq()
946 return rport->ls_irq; in rockchip_usb2phy_host_port_init()
1015 rport); in rockchip_usb2phy_otg_port_init()
1034 rport); in rockchip_usb2phy_otg_port_init()
1158 rport->phy = phy; in rockchip_usb2phy_probe()
[all …]
/linux/drivers/nvme/host/
A Dfc.c914 nvme_fc_signal_discovery_scan(rport->lport, rport); in nvme_fc_rescan_remoteport()
1040 struct nvme_fc_rport *rport = lsop->rport; in __nvme_fc_finish_ls_req() local
1080 lsop->rport = rport; in __nvme_fc_send_ls_req()
1465 struct nvme_fc_rport *rport = lsop->rport; in nvme_fc_xmt_ls_rsp_done() local
1486 struct nvme_fc_rport *rport = lsop->rport; in nvme_fc_xmt_ls_rsp() local
1561 struct nvme_fc_rport *rport = lsop->rport; in nvme_fc_ls_disconnect_assoc() local
1781 lsop->rport = rport; in nvme_fc_rcv_ls_req()
3026 struct nvme_fc_rport *rport = ctrl->rport; in nvme_fc_ctlr_active_on_rport() local
3042 struct nvme_fc_rport *rport = ctrl->rport; in nvme_fc_ctlr_inactive_on_rport() local
3301 struct nvme_fc_rport *rport = ctrl->rport; in nvme_fc_reconnect_or_delete() local
[all …]
/linux/include/scsi/
A Dscsi_transport_srp.h100 int (*reconnect)(struct srp_rport *rport);
101 void (*terminate_rport_io)(struct srp_rport *rport);
102 void (*rport_delete)(struct srp_rport *rport);
109 extern void srp_rport_get(struct srp_rport *rport);
110 extern void srp_rport_put(struct srp_rport *rport);
117 extern int srp_reconnect_rport(struct srp_rport *rport);
118 extern void srp_start_tl_fail_timers(struct srp_rport *rport);
120 extern void srp_stop_rport_timers(struct srp_rport *rport);
131 static inline int srp_chkready(struct srp_rport *rport) in srp_chkready() argument
133 switch (rport->state) { in srp_chkready()
/linux/drivers/nvme/target/
A Dfcloop.c325 spin_lock(&rport->lock); in fcloop_rport_lsrqst_work()
368 ret = nvmet_fc_rcv_ls_req(rport->targetport, rport, in fcloop_h2t_ls_req()
722 if (!rport->targetport) in fcloop_fcp_req()
1335 rport->nport = nport; in fcloop_create_remote_port()
1337 nport->rport = rport; in fcloop_create_remote_port()
1349 struct fcloop_rport *rport = nport->rport; in __unlink_remote_port() local
1353 nport->rport = NULL; in __unlink_remote_port()
1355 return rport; in __unlink_remote_port()
1361 if (!rport) in __remoteport_unreg()
1430 tport->remoteport = (nport->rport) ? nport->rport->remoteport : NULL; in fcloop_create_target_port()
[all …]
/linux/drivers/s390/scsi/
A Dzfcp_scsi.c305 ret = fc_block_rport(rport); in zfcp_scsi_task_mgmt_function()
530 port->rport = NULL; in zfcp_scsi_adapter_unregister()
689 rport->dev_loss_tmo = timeout; in zfcp_scsi_set_rport_dev_loss_tmo()
725 struct fc_rport *rport; in zfcp_scsi_rport_register() local
727 if (port->rport) in zfcp_scsi_rport_register()
739 if (!rport) { in zfcp_scsi_rport_register()
748 port->rport = rport; in zfcp_scsi_rport_register()
756 struct fc_rport *rport = port->rport; in zfcp_scsi_rport_block() local
758 if (rport) { in zfcp_scsi_rport_block()
762 fc_remote_port_delete(rport); in zfcp_scsi_rport_block()
[all …]
A Dzfcp_unit.c24 struct fc_rport *rport = unit->port->rport; in zfcp_unit_scsi_scan() local
29 if (rport && rport->port_state == FC_PORTSTATE_ONLINE) in zfcp_unit_scsi_scan()
30 scsi_scan_target(&rport->dev, 0, rport->scsi_target_id, lun, in zfcp_unit_scsi_scan()
/linux/drivers/scsi/csiostor/
A Dcsio_attr.c64 struct fc_rport *rport; in csio_reg_rnode() local
73 rport = rn->rport; in csio_reg_rnode()
74 CSIO_ASSERT(rport != NULL); in csio_reg_rnode()
79 if (!rn->rport) { in csio_reg_rnode()
86 rport = rn->rport; in csio_reg_rnode()
94 rport->supported_classes = FC_COS_CLASS3; in csio_reg_rnode()
106 rn->scsi_id = rport->scsi_target_id; in csio_reg_rnode()
124 struct fc_rport *rport = rn->rport; in csio_unreg_rnode() local
127 fc_remote_port_delete(rport); in csio_unreg_rnode()
383 rport->dev_loss_tmo = timeout; in csio_set_rport_loss_tmo()
[all …]
/linux/drivers/message/fusion/
A Dmptfc.c425 struct fc_rport *rport; in mptfc_register_dev() local
462 if (rport) { in mptfc_register_dev()
463 ri->rport = rport; in mptfc_register_dev()
511 struct fc_rport *rport; in mptfc_target_destroy() local
515 if (rport) { in mptfc_target_destroy()
533 struct fc_rport *rport; in mptfc_target_alloc() local
544 if (rport) { in mptfc_target_alloc()
603 struct fc_rport *rport; in mptfc_slave_alloc() local
609 if (!rport || fc_remote_port_chkready(rport)) in mptfc_slave_alloc()
1093 ri->rport = NULL; in mptfc_setup_reset()
[all …]
/linux/arch/um/drivers/
A Dumcast_kern.c22 int rport; member
37 dpri->rport = init->rport; in umcast_init()
44 "%u\n", dpri->addr, dpri->rport, dpri->lport); in umcast_init()
108 init->rport = init->lport; in mcast_setup()
125 .rport = 1102 }); in ucast_setup()
145 init->rport = simple_strtoul(rport_str, &last, 10); in ucast_setup()
156 init->lport, init->addr, init->rport); in ucast_setup()
/linux/drivers/scsi/libfc/
A Dfc_fcp.c1174 struct fc_rport *rport; in fc_fcp_cmd_send() local
1190 rport = fsp->rport; in fc_fcp_cmd_send()
1192 rpriv = rport->dd_data; in fc_fcp_cmd_send()
1425 struct fc_rport *rport = fsp->rport; in fc_fcp_timeout() local
1464 struct fc_rport *rport; in fc_fcp_rec() local
1468 rport = fsp->rport; in fc_fcp_rec()
1469 rpriv = rport->dd_data; in fc_fcp_rec()
1728 rport = fsp->rport; in fc_fcp_srr()
1909 fsp->rport = rport; /* set the remote port ptr */ in fc_queuecommand()
2186 fsp->rport = rport; /* set the remote port ptr */ in fc_eh_device_reset()
[all …]
A Dfc_rport.c208 rport->dev_loss_tmo = 1; in fc_set_rport_loss_tmo()
268 struct fc_rport *rport; in fc_rport_work() local
275 rport = rdata->rport; in fc_rport_work()
287 if (!rport) { in fc_rport_work()
291 if (!rport) { in fc_rport_work()
298 if (rdata->rport) in fc_rport_work()
300 rdata->rport = rport; in fc_rport_work()
304 rpriv = rport->dd_data; in fc_rport_work()
355 if (rport) { in fc_rport_work()
356 rpriv = rport->dd_data; in fc_rport_work()
[all …]
/linux/sound/soc/generic/
A Daudio-graph-card2.c559 struct device_node *rport = of_get_parent(ep); in __graph_parse_node() local
560 struct device_node *rports = of_get_parent(rport); in __graph_parse_node()
566 of_node_put(rport); in __graph_parse_node()
759 struct device_node *rport = of_graph_get_remote_port(ep); in audio_graph2_link_dpcm() local
793 ret = graph_parse_node(priv, GRAPH_DPCM, rport, li, 1); in audio_graph2_link_dpcm()
826 ret = graph_parse_node(priv, GRAPH_DPCM, rport, li, 0); in audio_graph2_link_dpcm()
835 graph_link_init(priv, rport, li, is_cpu); in audio_graph2_link_dpcm()
839 of_node_put(rport); in audio_graph2_link_dpcm()
1030 struct device_node *rport = of_graph_get_remote_port(ep); in graph_count_dpcm() local
1049 li->num[li->link].platforms = graph_counter(rport); in graph_count_dpcm()
[all …]
/linux/drivers/scsi/bnx2fc/
A Dbnx2fc_tgt.c84 struct fc_rport *rport = rdata->rport; in bnx2fc_offload_session() local
95 "port_id (%6x)\n", rport->port_id); in bnx2fc_offload_session()
355 struct fc_rport *rport = rdata->rport; in bnx2fc_init_tgt() local
361 tgt->rport = rport; in bnx2fc_init_tgt()
446 struct fc_rport *rport = rdata->rport; in bnx2fc_rport_event_handler() local
455 if (!rport) { in bnx2fc_rport_event_handler()
460 rp = rport->dd_data; in bnx2fc_rport_event_handler()
461 if (rport->port_id == FC_FID_DIR_SERV) { in bnx2fc_rport_event_handler()
532 if (!rport) { in bnx2fc_rport_event_handler()
537 rp = rport->dd_data; in bnx2fc_rport_event_handler()
/linux/Documentation/ABI/testing/
A Dsysfs-class-fc_remote_ports1 What: /sys/class/fc_remote_ports/rport-X:Y-Z/statistics/fpin_cn_yyy
9 What: /sys/class/fc_remote_ports/rport-X:Y-Z/statistics/fpin_li_yyy
17 What: /sys/class/fc_remote_ports/rport-X:Y-Z/statistics/fpin_dn_yyy
/linux/drivers/scsi/lpfc/
A Dlpfc_nvme.c191 ndlp = rport->ndlp; in lpfc_nvme_remoteport_delete()
655 struct lpfc_nvme_rport *rport; in lpfc_nvme_ls_req() local
1491 struct lpfc_nvme_rport *rport; in lpfc_nvme_fcp_io_submit() local
1546 ndlp = rport->ndlp; in lpfc_nvme_fcp_io_submit()
2308 struct lpfc_nvme_rport *rport; in lpfc_nvme_register_port() local
2386 rport->ndlp = NULL; in lpfc_nvme_register_port()
2387 rport->remoteport = NULL; in lpfc_nvme_register_port()
2401 rport->lport = lport; in lpfc_nvme_register_port()
2402 rport->ndlp = ndlp; in lpfc_nvme_register_port()
2404 ndlp->nrport = rport; in lpfc_nvme_register_port()
[all …]
/linux/drivers/scsi/ibmvscsi/
A Dibmvfc.c1796 if (rport == tgt->rport) { in ibmvfc_relogin()
2146 if (rport) in ibmvfc_bsg_request()
3329 if (!rport || fc_remote_port_chkready(rport)) in ibmvfc_slave_alloc()
5374 if (rport) { in ibmvfc_tgt_add_rport()
5376 tgt->rport = rport; in ibmvfc_tgt_add_rport()
5506 rport = tgt->rport; in ibmvfc_do_work()
5511 if (rport) in ibmvfc_do_work()
5518 rport = tgt->rport; in ibmvfc_do_work()
5532 if (rport && rport->fast_io_fail_tmo == -1) in ibmvfc_do_work()
5535 if (rport) in ibmvfc_do_work()
[all …]
/linux/drivers/infiniband/hw/irdma/
A Dtrace_cm.h209 __field(u16, rport)
226 __entry->rport = cm_node->rem_port;
252 __entry->rport, __entry->ipv4)
286 __field(u16, rport)
301 __entry->rport = cm_node->rem_port;
324 __entry->rport, __entry->ipv4)
408 __field(u16, rport)
421 __entry->rport = cm_node->rem_port;
442 __entry->rport, __entry->ipv4)
/linux/drivers/scsi/fnic/
A Dfnic_scsi.c428 struct fc_rport *rport; in fnic_queuecommand_lck() local
449 if (!rport) { in fnic_queuecommand_lck()
467 rp = rport->dd_data; in fnic_queuecommand_lck()
471 rport->port_id); in fnic_queuecommand_lck()
482 rport->port_id, rp->rp_state); in fnic_queuecommand_lck()
1687 if (!rport) { in fnic_terminate_rport_io()
1691 rdata = rport->dd_data; in fnic_terminate_rport_io()
1707 rport->port_name, rport->node_name, rport, in fnic_terminate_rport_io()
1708 rport->port_id); in fnic_terminate_rport_io()
1727 struct fc_rport *rport; in fnic_abort_cmd() local
[all …]
/linux/net/bridge/
A Dbr_forward.c299 struct net_bridge_port *port, *lport, *rport; in br_multicast_flood() local
302 rport = br_multicast_rport_from_node_skb(rp, skb); in br_multicast_flood()
304 if ((unsigned long)lport > (unsigned long)rport) { in br_multicast_flood()
317 port = rport; in br_multicast_flood()
326 if ((unsigned long)rport >= (unsigned long)port) in br_multicast_flood()

Completed in 113 milliseconds

1234