Home
last modified time | relevance | path

Searched refs:smcd_gid (Results 1 – 9 of 9) sorted by relevance

/openbmc/linux/include/net/
H A Dsmc.h55 struct smcd_gid { struct
61 int (*query_remote_gid)(struct smcd_dev *dev, struct smcd_gid *rgid, argument
71 void (*get_local_gid)(struct smcd_dev *dev, struct smcd_gid *gid);
80 int (*signal_event)(struct smcd_dev *dev, struct smcd_gid *rgid,
/openbmc/linux/net/smc/
H A Dsmc_clc.c894 struct smcd_gid smcd_gid; in smc_clc_send_proposal() local
899 smcd->ops->get_local_gid(smcd, &smcd_gid); in smc_clc_send_proposal()
900 pclc_smcd->ism.gid = htonll(smcd_gid.gid); in smc_clc_send_proposal()
932 struct smcd_gid smcd_gid; in smc_clc_send_proposal() local
948 smcd->ops->get_local_gid(smcd, &smcd_gid); in smc_clc_send_proposal()
951 gidchids[entry].gid = htonll(smcd_gid.gid); in smc_clc_send_proposal()
960 htonll(smcd_gid.gid_ext); in smc_clc_send_proposal()
1034 struct smcd_gid smcd_gid; in smcd_clc_prep_confirm_accept() local
1041 smcd->ops->get_local_gid(smcd, &smcd_gid); in smcd_clc_prep_confirm_accept()
1043 clc->d0.gid = htonll(smcd_gid.gid); in smcd_clc_prep_confirm_accept()
[all …]
H A Dsmc_diag.c171 struct smcd_gid smcd_gid; in __smc_diag_dump() local
177 smcd->ops->get_local_gid(smcd, &smcd_gid); in __smc_diag_dump()
178 dinfo.my_gid = smcd_gid.gid; in __smc_diag_dump()
H A Dsmc_ism.c47 int smc_ism_cantalk(struct smcd_gid *peer_gid, unsigned short vlan_id, in smc_ism_cantalk()
388 struct smcd_gid peer_gid = { .gid = wrk->event.tok, in smcd_handle_sw_event()
416 struct smcd_gid smcd_gid = { .gid = wrk->event.tok, in smc_ism_event_work() local
421 smc_smcd_terminate(wrk->smcd, &smcd_gid, VLAN_VID_MASK); in smc_ism_event_work()
H A Dsmc_ism.h35 int smc_ism_cantalk(struct smcd_gid *peer_gid, unsigned short vlan_id,
H A Dsmc_core.h360 struct smcd_gid peer_gid;
426 struct smcd_gid ism_peer_gid[SMC_MAX_V2_ISM_DEVS + 1];
554 void smc_smcd_terminate(struct smcd_dev *dev, struct smcd_gid *peer_gid,
H A Daf_smc.c2105 struct smcd_gid *proposed_gid, in smc_check_ism_v2_match()
2143 struct smcd_gid smcd_gid; in smc_find_ism_v2_device_serv() local
2159 smcd_gid.gid = ntohll(pclc_smcd->ism.gid); in smc_find_ism_v2_device_serv()
2160 smcd_gid.gid_ext = 0; in smc_find_ism_v2_device_serv()
2162 &smcd_gid, &matches); in smc_find_ism_v2_device_serv()
2168 smcd_gid.gid = ntohll(smcd_v2_ext->gidchid[i].gid); in smc_find_ism_v2_device_serv()
2169 smcd_gid.gid_ext = 0; in smc_find_ism_v2_device_serv()
2182 smcd_gid.gid_ext = in smc_find_ism_v2_device_serv()
2185 smc_check_ism_v2_match(ini, chid, &smcd_gid, &matches); in smc_find_ism_v2_device_serv()
H A Dsmc_core.c509 struct smcd_gid smcd_gid; in smc_nl_fill_smcd_lgr() local
525 smcd->ops->get_local_gid(smcd, &smcd_gid); in smc_nl_fill_smcd_lgr()
527 smcd_gid.gid, SMC_NLA_LGR_D_PAD)) in smc_nl_fill_smcd_lgr()
1539 void smc_smcd_terminate(struct smcd_dev *dev, struct smcd_gid *peer_gid, in smc_smcd_terminate()
1890 struct smcd_gid *peer_gid) in smcd_lgr_match()
/openbmc/linux/drivers/s390/net/
H A Dism_drv.c765 static int smcd_query_rgid(struct smcd_dev *smcd, struct smcd_gid *rgid, in smcd_query_rgid()
819 static int smcd_signal_ieq(struct smcd_dev *smcd, struct smcd_gid *rgid, in smcd_signal_ieq()
845 struct smcd_gid *smcd_gid) in smcd_get_local_gid() argument
847 smcd_gid->gid = ism_get_local_gid(smcd->priv); in smcd_get_local_gid()
848 smcd_gid->gid_ext = 0; in smcd_get_local_gid()