Home
last modified time | relevance | path

Searched refs:ism_dev (Results 1 – 7 of 7) sorted by relevance

/Linux-v5.10/drivers/s390/net/
Dism_drv.c38 static int ism_cmd(struct ism_dev *ism, void *cmd) in ism_cmd()
59 static int ism_cmd_simple(struct ism_dev *ism, u32 cmd_code) in ism_cmd_simple()
70 static int query_info(struct ism_dev *ism) in query_info()
87 static int register_sba(struct ism_dev *ism) in register_sba()
114 static int register_ieq(struct ism_dev *ism) in register_ieq()
143 static int unregister_sba(struct ism_dev *ism) in unregister_sba()
163 static int unregister_ieq(struct ism_dev *ism) in unregister_ieq()
183 static int ism_read_local_gid(struct ism_dev *ism) in ism_read_local_gid()
204 struct ism_dev *ism = smcd->priv; in ism_query_rgid()
218 static void ism_free_dmb(struct ism_dev *ism, struct smcd_dmb *dmb) in ism_free_dmb()
[all …]
Dism.h192 struct ism_dev { struct
216 static inline void __ism_read_cmd(struct ism_dev *ism, void *data, in __ism_read_cmd() argument
230 static inline void __ism_write_cmd(struct ism_dev *ism, void *data, in __ism_write_cmd()
240 static inline int __ism_move(struct ism_dev *ism, u64 dmb_req, void *data, in __ism_move()
/Linux-v5.10/net/smc/
Dsmc_clc.c544 if (ini->ism_dev[0]) { in smc_clc_send_proposal()
545 pclc_smcd->ism.gid = htonll(ini->ism_dev[0]->local_gid); in smc_clc_send_proposal()
547 htons(smc_ism_get_chid(ini->ism_dev[0])); in smc_clc_send_proposal()
571 if (ini->ism_dev[0]) in smc_clc_send_proposal()
572 smc_ism_get_system_eid(ini->ism_dev[0], &eid); in smc_clc_send_proposal()
574 smc_ism_get_system_eid(ini->ism_dev[1], &eid); in smc_clc_send_proposal()
581 htonll(ini->ism_dev[i]->local_gid); in smc_clc_send_proposal()
583 htons(smc_ism_get_chid(ini->ism_dev[i])); in smc_clc_send_proposal()
Daf_smc.c584 if (!ini->ism_dev[0]) in smc_find_ism_device()
587 ini->ism_chid[0] = smc_ism_get_chid(ini->ism_dev[0]); in smc_find_ism_device()
595 int i = (!ini->ism_dev[0]) ? 1 : 0; in smc_find_ism_v2_is_unique_chid()
618 if (smcd->going_away || smcd == ini->ism_dev[0]) in smc_find_ism_v2_device_clnt()
625 ini->ism_dev[i] = smcd; in smc_find_ism_v2_device_clnt()
636 if (!ini->ism_dev[0] && !ini->ism_dev[1]) in smc_find_ism_v2_device_clnt()
646 if (ini->vlan_id && smc_ism_get_vlan(ini->ism_dev[0], ini->vlan_id)) in smc_connect_ism_vlan_setup()
691 if (ini->vlan_id && smc_ism_put_vlan(ini->ism_dev[0], ini->vlan_id)) in smc_connect_ism_vlan_cleanup()
1449 if (smcd == ini->ism_dev[i]) in smc_is_already_selected()
1470 ini->ism_dev[*matches] = smcd; in smc_check_ism_v2_match()
[all …]
Dsmc_core.c378 if (smc_ism_get_vlan(ini->ism_dev[ini->ism_selected], in smc_lgr_create()
416 get_device(&ini->ism_dev[ini->ism_selected]->dev); in smc_lgr_create()
418 lgr->smcd = ini->ism_dev[ini->ism_selected]; in smc_lgr_create()
419 lgr_list = &ini->ism_dev[ini->ism_selected]->lgr_list; in smc_lgr_create()
423 atomic_inc(&ini->ism_dev[ini->ism_selected]->lgr_cnt); in smc_lgr_create()
454 smc_ism_put_vlan(ini->ism_dev[ini->ism_selected], ini->vlan_id); in smc_lgr_create()
1293 lgr_list = ini->is_smcd ? &ini->ism_dev[ini->ism_selected]->lgr_list : in smc_conn_create()
1295 lgr_lock = ini->is_smcd ? &ini->ism_dev[ini->ism_selected]->lgr_lock : in smc_conn_create()
1308 smcd_lgr_match(lgr, ini->ism_dev[ini->ism_selected], in smc_conn_create()
Dsmc_core.h312 struct smcd_dev *ism_dev[SMC_MAX_ISM_DEVS + 1]; member
Dsmc_pnet.c1070 ini->ism_dev[0] = ismdev; in smc_pnet_find_ism_by_pnetid()
1104 ini->ism_dev[0] = NULL; in smc_pnet_find_ism_resource()