Home
last modified time | relevance | path

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

/linux-5.19.10/sound/soc/ti/
Dj721e-evm.c614 static int j721e_soc_probe_cpb(struct j721e_priv *priv, int *link_idx, in j721e_soc_probe_cpb() argument
660 priv->dai_links[*link_idx].cpus = &compnent[comp_idx++]; in j721e_soc_probe_cpb()
661 priv->dai_links[*link_idx].num_cpus = 1; in j721e_soc_probe_cpb()
662 priv->dai_links[*link_idx].codecs = &compnent[comp_idx++]; in j721e_soc_probe_cpb()
663 priv->dai_links[*link_idx].num_codecs = 1; in j721e_soc_probe_cpb()
664 priv->dai_links[*link_idx].platforms = &compnent[comp_idx++]; in j721e_soc_probe_cpb()
665 priv->dai_links[*link_idx].num_platforms = 1; in j721e_soc_probe_cpb()
667 priv->dai_links[*link_idx].name = "CPB PCM3168A Playback"; in j721e_soc_probe_cpb()
668 priv->dai_links[*link_idx].stream_name = "CPB PCM3168A Analog"; in j721e_soc_probe_cpb()
669 priv->dai_links[*link_idx].cpus->of_node = dai_node; in j721e_soc_probe_cpb()
[all …]
/linux-5.19.10/net/smc/
Dsmc_ib.c695 static int smc_ib_map_mr_sg(struct smc_buf_desc *buf_slot, u8 link_idx) in smc_ib_map_mr_sg() argument
701 sg_num = ib_map_mr_sg(buf_slot->mr_rx[link_idx], in smc_ib_map_mr_sg()
702 buf_slot->sgt[link_idx].sgl, in smc_ib_map_mr_sg()
703 buf_slot->sgt[link_idx].orig_nents, in smc_ib_map_mr_sg()
711 struct smc_buf_desc *buf_slot, u8 link_idx) in smc_ib_get_memory_region() argument
713 if (buf_slot->mr_rx[link_idx]) in smc_ib_get_memory_region()
716 buf_slot->mr_rx[link_idx] = in smc_ib_get_memory_region()
718 if (IS_ERR(buf_slot->mr_rx[link_idx])) { in smc_ib_get_memory_region()
721 rc = PTR_ERR(buf_slot->mr_rx[link_idx]); in smc_ib_get_memory_region()
722 buf_slot->mr_rx[link_idx] = NULL; in smc_ib_get_memory_region()
[all …]
Dsmc_core.c736 u8 link_idx, struct smc_init_info *ini) in smcr_link_init() argument
757 lnk->link_idx = link_idx; in smcr_link_init()
823 u8 link_idx; in smc_lgr_create() local
901 link_idx = SMC_SINGLE_LINK; in smc_lgr_create()
902 lnk = &lgr->lnk[link_idx]; in smc_lgr_create()
903 rc = smcr_link_init(lgr, lnk, link_idx, ini); in smc_lgr_create()
1027 if (!smc_link_active(&lgr->lnk[i]) || i == from_lnk->link_idx) in smc_switch_conns()
1182 buf_desc->is_reg_mr[lnk->link_idx] = false; in smcr_buf_unmap_link()
1183 if (!buf_desc->is_map_ib[lnk->link_idx]) in smcr_buf_unmap_link()
1186 if (buf_desc->mr_rx[lnk->link_idx]) { in smcr_buf_unmap_link()
[all …]
Dsmc_llc.c508 htonl(rmb_desc->mr_rx[link->link_idx]->rkey); in smc_llc_send_confirm_rkey()
511 rmb_desc->sgt[link->link_idx].sgl)); in smc_llc_send_confirm_rkey()
518 htonl(rmb_desc->mr_rx[send_link->link_idx]->rkey); in smc_llc_send_confirm_rkey()
520 (u64)sg_dma_address(rmb_desc->sgt[send_link->link_idx].sgl)); in smc_llc_send_confirm_rkey()
547 rkeyllc->rkey[0] = htonl(rmb_desc->mr_rx[link->link_idx]->rkey); in smc_llc_send_delete_rkey()
606 prim_lnk_idx = link->link_idx; in smc_llc_fill_ext_v2()
607 lnk_idx = link_new->link_idx; in smc_llc_fill_ext_v2()
841 prim_lnk_idx = link->link_idx; in smc_llc_add_link_cont()
842 lnk_idx = link_new->link_idx; in smc_llc_add_link_cont()
901 smc_rtoken_set(lgr, link->link_idx, link_new->link_idx, in smc_llc_cli_rkey_exchange()
[all …]
Dsmc_core.h140 u8 link_idx; /* index in lgr link array */ member
514 void smc_rtoken_set(struct smc_link_group *lgr, int link_idx, int link_idx_new,
531 u8 link_idx, struct smc_init_info *ini);
Dsmc_ib.h103 struct smc_buf_desc *buf_slot, u8 link_idx);
Dsmc_tx.c349 lgr->rtokens[conn->rtoken_idx][link->link_idx].dma_addr + in smc_tx_rdma_write()
354 rdma_wr->rkey = lgr->rtokens[conn->rtoken_idx][link->link_idx].rkey; in smc_tx_rdma_write()
386 sg_dma_address(conn->sndbuf_desc->sgt[link->link_idx].sgl); in smcr_tx_rdma_writes()
Dsmc_clc.c1037 htonl(conn->rmb_desc->mr_rx[link->link_idx]->rkey); in smc_clc_send_confirm_accept()
1050 (conn->rmb_desc->sgt[link->link_idx].sgl)); in smc_clc_send_confirm_accept()
/linux-5.19.10/samples/bpf/
Dtask_fd_query_user.c91 static int test_debug_fs_kprobe(int link_idx, const char *fn_name, in test_debug_fs_kprobe() argument
100 event_fd = bpf_link__fd(links[link_idx]); in test_debug_fs_kprobe()
106 __func__, link_idx, fn_name); in test_debug_fs_kprobe()
114 link_idx); in test_debug_fs_kprobe()