Home
last modified time | relevance | path

Searched refs:link_id (Results 1 – 25 of 47) sorted by relevance

12

/kernel/linux/linux-5.10/drivers/soundwire/
Dslave.c43 bus->link_id, id->mfg_id, id->part_id, in sdw_slave_add()
48 bus->link_id, id->mfg_id, id->part_id, in sdw_slave_add()
99 unsigned int link_id; in find_slave() local
112 link_id = SDW_DISCO_LINK_ID(addr); in find_slave()
115 if (link_id != bus->link_id) in find_slave()
206 int link_id, ret, len; in sdw_of_find_slaves() local
231 link_id = be32_to_cpup(addr++); in sdw_of_find_slaves()
236 if (link_id != bus->link_id) in sdw_of_find_slaves()
Dintel.c337 unsigned int link_id = sdw->instance; in intel_link_power_up() local
405 *shim_mask |= BIT(link_id); in intel_link_power_up()
418 unsigned int link_id = sdw->instance; in intel_shim_glue_to_master_ip() local
422 ioctl = intel_readw(shim, SDW_SHIM_IOCTL(link_id)); in intel_shim_glue_to_master_ip()
425 intel_writew(shim, SDW_SHIM_IOCTL(link_id), ioctl); in intel_shim_glue_to_master_ip()
429 intel_writew(shim, SDW_SHIM_IOCTL(link_id), ioctl); in intel_shim_glue_to_master_ip()
433 intel_writew(shim, SDW_SHIM_IOCTL(link_id), ioctl); in intel_shim_glue_to_master_ip()
438 intel_writew(shim, SDW_SHIM_IOCTL(link_id), ioctl); in intel_shim_glue_to_master_ip()
447 unsigned int link_id = sdw->instance; in intel_shim_master_ip_to_glue() local
452 ioctl = intel_readw(shim, SDW_SHIM_IOCTL(link_id)); in intel_shim_master_ip_to_glue()
[all …]
/kernel/linux/linux-5.10/drivers/net/wireless/st/cw1200/
Dtxrx.c440 if (t->sta && t->sta_priv->link_id) in cw1200_tx_h_calc_link_ids()
442 t->txpriv.link_id = in cw1200_tx_h_calc_link_ids()
443 t->sta_priv->link_id; in cw1200_tx_h_calc_link_ids()
446 t->txpriv.link_id = 0; in cw1200_tx_h_calc_link_ids()
450 t->txpriv.link_id = CW1200_LINK_ID_AFTER_DTIM; in cw1200_tx_h_calc_link_ids()
453 t->txpriv.link_id = 0; in cw1200_tx_h_calc_link_ids()
456 t->txpriv.link_id = cw1200_find_link_id(priv, t->da); in cw1200_tx_h_calc_link_ids()
457 if (!t->txpriv.link_id) in cw1200_tx_h_calc_link_ids()
458 t->txpriv.link_id = cw1200_alloc_link_id(priv, t->da); in cw1200_tx_h_calc_link_ids()
459 if (!t->txpriv.link_id) { in cw1200_tx_h_calc_link_ids()
[all …]
Dqueue.c100 --queue->link_map_cache[item->txpriv.link_id]; in __cw1200_queue_gc()
103 if (!--stats->link_map_cache[item->txpriv.link_id]) in __cw1200_queue_gc()
284 if (txpriv->link_id >= queue->stats->map_capacity) in cw1200_queue_put()
304 ++queue->link_map_cache[txpriv->link_id]; in cw1200_queue_put()
308 ++stats->link_map_cache[txpriv->link_id]; in cw1200_queue_put()
341 if (link_id_map & BIT(item->txpriv.link_id)) { in cw1200_queue_get()
354 --queue->link_map_cache[item->txpriv.link_id]; in cw1200_queue_get()
359 if (!--stats->link_map_cache[item->txpriv.link_id]) in cw1200_queue_get()
393 ++queue->link_map_cache[item->txpriv.link_id]; in cw1200_queue_requeue()
397 ++stats->link_map_cache[item->txpriv.link_id]; in cw1200_queue_requeue()
[all …]
Dtxrx.h72 int link_id,
76 int link_id,
Dwsm.c167 u16 cmd = WSM_RESET_REQ_ID | WSM_TX_LINK_ID(arg->link_id); in wsm_reset()
354 int link_id) in wsm_tx_confirm() argument
366 cw1200_tx_confirm_cb(priv, link_id, &tx_confirm); in wsm_tx_confirm()
375 struct wsm_buf *buf, int link_id) in wsm_multi_tx_confirm() argument
395 ret = wsm_tx_confirm(priv, buf, link_id); in wsm_multi_tx_confirm()
752 u16 cmd = 0x001C | WSM_TX_LINK_ID(arg->link_id); in wsm_map_link()
861 int link_id, in wsm_receive_indication() argument
905 cw1200_rx_cb(priv, &rx, link_id, skb_p); in wsm_receive_indication()
1049 int link_id, struct wsm_buf *buf) in wsm_suspend_resume_indication() argument
1055 arg.link_id = link_id; in wsm_suspend_resume_indication()
[all …]
Dsta.c39 int link_id);
270 reset.link_id = i; in cw1200_remove_interface()
282 reset.link_id = 0; in cw1200_remove_interface()
1551 sta_priv->link_id = cw1200_find_link_id(priv, sta->addr); in cw1200_sta_add()
1552 if (WARN_ON(!sta_priv->link_id)) { in cw1200_sta_add()
1558 entry = &priv->link_id_db[sta_priv->link_id - 1]; in cw1200_sta_add()
1562 priv->sta_asleep_mask |= BIT(sta_priv->link_id); in cw1200_sta_add()
1578 if (priv->mode != NL80211_IFTYPE_AP || !sta_priv->link_id) in cw1200_sta_remove()
1581 entry = &priv->link_id_db[sta_priv->link_id - 1]; in cw1200_sta_remove()
1596 int link_id) in __cw1200_sta_notify() argument
[all …]
Dwsm.h599 #define WSM_TX_LINK_ID(link_id) \ argument
600 ((link_id & WSM_TX_LINK_ID_MAX) << 6)
658 /* [in] */ int link_id; member
1248 /* [out] */ int link_id; member
1278 /* [in] */ u8 link_id; member
Dqueue.h57 u8 link_id; member
/kernel/linux/linux-5.10/include/linux/soundwire/
Dsdw_intel.h19 int link_id; member
31 int link_id; member
98 int link_id; member
/kernel/linux/linux-5.10/sound/soc/intel/boards/
Dsof_sdw.c599 unsigned int link_id, part_id, class_id; in create_codec_dai_name() local
607 link_id = SDW_DISCO_LINK_ID(adr); in create_codec_dai_name()
619 link_id, mfg_id, part_id, in create_codec_dai_name()
625 link_id, mfg_id, part_id, in create_codec_dai_name()
963 int num_links, link_id = 0; in sof_card_dai_links_create() local
1073 link_id = be_id; in sof_card_dai_links_create()
1117 init_dai_link(links + link_id, be_id, name, in sof_card_dai_links_create()
1123 ret = info->init(NULL, links + link_id, info, 0); in sof_card_dai_links_create()
1127 INC_ID(be_id, cpu_id, link_id); in sof_card_dai_links_create()
1138 init_dai_link(links + link_id, be_id, "dmic01", in sof_card_dai_links_create()
[all …]
/kernel/linux/linux-5.10/drivers/net/wireless/ti/wl18xx/
Devent.c211 u8 link_id = mbox->rx_ba_link_id; in wl18xx_process_mailbox_events() local
215 wlvif = wl->links[link_id].wlvif; in wl18xx_process_mailbox_events()
224 addr = wl->links[link_id].addr; in wl18xx_process_mailbox_events()
230 wl->links[link_id].ba_bitmap, in wl18xx_process_mailbox_events()
/kernel/linux/linux-5.10/sound/soc/sof/intel/
Dhda.c72 int link_id = params_data->link_id; in sdw_params_stream() local
81 config.dai_index = (link_id << 8) | (d->id); in sdw_params_stream()
91 link_id, d->id, alh_stream_id); in sdw_params_stream()
104 int link_id = free_data->link_id; in sdw_free_stream() local
112 config.dai_index = (link_id << 8) | d->id; in sdw_free_stream()
122 link_id, d->id); in sdw_free_stream()
1080 unsigned int part_id, link_id, unique_id, mfg_id; in link_slaves_found() local
1088 link_id = SDW_DISCO_LINK_ID(adr); in link_slaves_found()
1090 if (ids[j].link_id != link_id || in link_slaves_found()
1105 part_id, link_id); in link_slaves_found()
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/dc/core/
Ddc_link.c105 struct graphics_object_id link_id, in get_hpd_gpio() argument
112 if (dcb->funcs->get_hpd_info(dcb, link_id, &hpd_info) != BP_RESULT_OK) in get_hpd_gpio()
178 hpd = get_hpd_gpio(link->ctx->dc_bios, link->link_id, in program_hpd_filter()
230 hpd_pin = get_hpd_gpio(link->ctx->dc_bios, link->link_id, in dc_link_detect_sink()
357 dal_graphics_object_id_get_connector_id(link->link_id); in dc_link_is_dp_sink_present()
415 link->link_id); in link_detect_sink()
430 if (link->link_id.id == CONNECTOR_ID_PCIE) { in link_detect_sink()
434 switch (link->link_id.id) { in link_detect_sink()
443 if (link->link_id.id == CONNECTOR_ID_HDMI_TYPE_A) in link_detect_sink()
1230 hpd = get_hpd_gpio(link->ctx->dc_bios, link->link_id, in get_hpd_line()
[all …]
/kernel/linux/linux-5.10/drivers/staging/wfx/
Dsta.c300 sta_priv->link_id = ffz(wvif->link_id_map); in wfx_sta_add()
301 wvif->link_id_map |= BIT(sta_priv->link_id); in wfx_sta_add()
302 WARN_ON(!sta_priv->link_id); in wfx_sta_add()
303 WARN_ON(sta_priv->link_id >= HIF_LINK_ID_MAX); in wfx_sta_add()
304 hif_map_link(wvif, false, sta->addr, sta_priv->link_id, sta->mfp); in wfx_sta_add()
316 if (!sta_priv->link_id) in wfx_sta_remove()
319 hif_map_link(wvif, true, sta->addr, sta_priv->link_id, false); in wfx_sta_remove()
320 wvif->link_id_map &= ~BIT(sta_priv->link_id); in wfx_sta_remove()
/kernel/linux/linux-5.10/net/smc/
Dsmc_llc.c111 u8 link_id; /* link id of the rtoken */ member
402 confllc->link_num = link->link_id; in smc_llc_send_confirm_link()
436 rkeyllc->rtoken[rtok_ix].link_id = link->link_id; in smc_llc_send_confirm_rkey()
510 addllc->link_num = link_new->link_id; in smc_llc_send_add_link()
715 addc_llc->link_num = link_new->link_id; in smc_llc_add_link_cont()
811 rc = smc_llc_send_delete_link(link, link_new->link_id, in smc_llc_cli_conf_link()
828 smc_llc_send_delete_link(link, link_new->link_id, SMC_LLC_REQ, in smc_llc_cli_conf_link()
836 smc_llc_send_delete_link(link, link_new->link_id, SMC_LLC_REQ, in smc_llc_cli_conf_link()
844 smc_llc_send_delete_link(link, link_new->link_id, SMC_LLC_REQ, in smc_llc_cli_conf_link()
901 lnk_new->link_id = llc->link_num; /* SMC server assigns link id */ in smc_llc_cli_add_link()
[all …]
Dsmc_core.c285 u8 link_id; in smcr_next_link_id() local
290 link_id = ++lgr->next_link_id; in smcr_next_link_id()
291 if (!link_id) /* skip zero as link_id */ in smcr_next_link_id()
292 link_id = ++lgr->next_link_id; in smcr_next_link_id()
295 lgr->lnk[i].link_id == link_id) in smcr_next_link_id()
300 return link_id; in smcr_next_link_id()
311 lnk->link_id = smcr_next_link_id(lgr); in smcr_link_init()
1138 del_link_id = lnk->link_id; in smcr_link_down()
1838 void smc_rtoken_set2(struct smc_link_group *lgr, int rtok_idx, int link_id, in smc_rtoken_set2() argument
1847 if (lgr->lnk[link_idx].link_id == link_id) { in smc_rtoken_set2()
Dsmc_core.h122 u8 link_id; /* unique # within link group */ member
393 void smc_rtoken_set2(struct smc_link_group *lgr, int rtok_idx, int link_id,
/kernel/linux/linux-5.10/kernel/bpf/preload/iterators/
Dbpf_preload_common.h10 int link_id; member
Diterators.c29 obj.link_id = info.id; in send_link_to_kernel()
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/dc/inc/
Dlink_hwss.h44 struct graphics_object_id link_id,
/kernel/linux/linux-5.10/tools/testing/selftests/bpf/prog_tests/
Dflow_dissector_reattach.c479 __u32 info_len, link_id; in test_link_get_info() local
522 link_id = info.id; in test_link_get_info()
533 CHECK_FAIL(info.id != link_id); in test_link_get_info()
558 CHECK_FAIL(info.id != link_id); in test_link_get_info()
/kernel/linux/patches/linux-5.10/prebuilts/usr/include/linux/
Dsmc_diag.h80 __u8 link_id; member
/kernel/linux/patches/linux-4.19/prebuilts/usr/include/linux/
Dsmc_diag.h70 __u8 link_id; member
/kernel/linux/linux-5.10/include/uapi/linux/
Dsmc_diag.h87 __u8 link_id; /* link identifier */ member

12