Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/sound/soc/ti/
Dj721e-evm.c615 static int j721e_soc_probe_cpb(struct j721e_priv *priv, int *link_idx, in j721e_soc_probe_cpb() argument
658 priv->dai_links[*link_idx].cpus = &compnent[comp_idx++]; in j721e_soc_probe_cpb()
659 priv->dai_links[*link_idx].num_cpus = 1; in j721e_soc_probe_cpb()
660 priv->dai_links[*link_idx].codecs = &compnent[comp_idx++]; in j721e_soc_probe_cpb()
661 priv->dai_links[*link_idx].num_codecs = 1; in j721e_soc_probe_cpb()
662 priv->dai_links[*link_idx].platforms = &compnent[comp_idx++]; in j721e_soc_probe_cpb()
663 priv->dai_links[*link_idx].num_platforms = 1; in j721e_soc_probe_cpb()
665 priv->dai_links[*link_idx].name = "CPB PCM3168A Playback"; in j721e_soc_probe_cpb()
666 priv->dai_links[*link_idx].stream_name = "CPB PCM3168A Analog"; in j721e_soc_probe_cpb()
667 priv->dai_links[*link_idx].cpus->of_node = dai_node; in j721e_soc_probe_cpb()
[all …]
/kernel/linux/linux-5.10/net/smc/
Dsmc_ib.c394 static int smc_ib_map_mr_sg(struct smc_buf_desc *buf_slot, u8 link_idx) in smc_ib_map_mr_sg() argument
400 sg_num = ib_map_mr_sg(buf_slot->mr_rx[link_idx], in smc_ib_map_mr_sg()
401 buf_slot->sgt[link_idx].sgl, in smc_ib_map_mr_sg()
402 buf_slot->sgt[link_idx].orig_nents, in smc_ib_map_mr_sg()
410 struct smc_buf_desc *buf_slot, u8 link_idx) in smc_ib_get_memory_region() argument
412 if (buf_slot->mr_rx[link_idx]) in smc_ib_get_memory_region()
415 buf_slot->mr_rx[link_idx] = in smc_ib_get_memory_region()
417 if (IS_ERR(buf_slot->mr_rx[link_idx])) { in smc_ib_get_memory_region()
420 rc = PTR_ERR(buf_slot->mr_rx[link_idx]); in smc_ib_get_memory_region()
421 buf_slot->mr_rx[link_idx] = NULL; in smc_ib_get_memory_region()
[all …]
Dsmc_core.c304 u8 link_idx, struct smc_init_info *ini) in smcr_link_init() argument
313 lnk->link_idx = link_idx; in smcr_link_init()
373 u8 link_idx; in smc_lgr_create() local
433 link_idx = SMC_SINGLE_LINK; in smc_lgr_create()
434 lnk = &lgr->lnk[link_idx]; in smc_lgr_create()
435 rc = smcr_link_init(lgr, lnk, link_idx, ini); in smc_lgr_create()
544 if (!smc_link_active(&lgr->lnk[i]) || i == from_lnk->link_idx) in smc_switch_conns()
678 buf_desc->is_reg_mr[lnk->link_idx] = false; in smcr_buf_unmap_link()
679 if (!buf_desc->is_map_ib[lnk->link_idx]) in smcr_buf_unmap_link()
682 if (buf_desc->mr_rx[lnk->link_idx]) { in smcr_buf_unmap_link()
[all …]
Dsmc_core.h125 u8 link_idx; /* index in lgr link array */ member
391 void smc_rtoken_set(struct smc_link_group *lgr, int link_idx, int link_idx_new,
408 u8 link_idx, struct smc_init_info *ini);
Dsmc_llc.c438 htonl(rmb_desc->mr_rx[link->link_idx]->rkey); in smc_llc_send_confirm_rkey()
441 rmb_desc->sgt[link->link_idx].sgl)); in smc_llc_send_confirm_rkey()
448 htonl(rmb_desc->mr_rx[send_link->link_idx]->rkey); in smc_llc_send_confirm_rkey()
450 (u64)sg_dma_address(rmb_desc->sgt[send_link->link_idx].sgl)); in smc_llc_send_confirm_rkey()
477 rkeyllc->rkey[0] = htonl(rmb_desc->mr_rx[link->link_idx]->rkey); in smc_llc_send_delete_rkey()
713 prim_lnk_idx = link->link_idx; in smc_llc_add_link_cont()
714 lnk_idx = link_new->link_idx; in smc_llc_add_link_cont()
773 smc_rtoken_set(lgr, link->link_idx, link_new->link_idx, in smc_llc_cli_rkey_exchange()
851 smcr_lgr_set_type_asym(lgr, lgr_new_t, link_new->link_idx); in smc_llc_cli_conf_link()
1108 smc_rtoken_set(lgr, link->link_idx, link_new->link_idx, in smc_llc_srv_rkey_exchange()
[all …]
Dsmc_ib.h80 struct smc_buf_desc *buf_slot, u8 link_idx);
Dsmc_tx.c278 lgr->rtokens[conn->rtoken_idx][link->link_idx].dma_addr + in smc_tx_rdma_write()
283 rdma_wr->rkey = lgr->rtokens[conn->rtoken_idx][link->link_idx].rkey; in smc_tx_rdma_write()
315 sg_dma_address(conn->sndbuf_desc->sgt[link->link_idx].sgl); in smcr_tx_rdma_writes()
Dsmc_clc.c696 htonl(conn->rmb_desc->mr_rx[link->link_idx]->rkey); in smc_clc_send_confirm_accept()
709 (conn->rmb_desc->sgt[link->link_idx].sgl)); in smc_clc_send_confirm_accept()