Home
last modified time | relevance | path

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

/linux-6.1.9/sound/soc/fsl/
Dimx-card.c117 struct dai_link_data *link_data; member
230 static bool format_is_tdm(struct dai_link_data *link_data) in format_is_tdm() argument
232 if (link_data->slots > 2) in format_is_tdm()
259 struct dai_link_data *link_data = &data->link_data[rtd->num]; in akcodec_get_mclk_rate() local
264 if (format_is_tdm(link_data)) { in akcodec_get_mclk_rate()
279 width *= link_data->one2one_ratio ? 1 : 2; in akcodec_get_mclk_rate()
297 struct dai_link_data *link_data = &data->link_data[rtd->num]; in imx_aif_hw_params() local
306 slots = link_data->slots; in imx_aif_hw_params()
307 slot_width = link_data->slot_width; in imx_aif_hw_params()
309 if (!format_is_tdm(link_data)) { in imx_aif_hw_params()
[all …]
/linux-6.1.9/sound/soc/meson/
Daxg-card.c46 (struct axg_dai_link_tdm_data *)priv->link_data[rtd->num]; in axg_card_tdm_be_hw_params()
59 (struct axg_dai_link_tdm_data *)priv->link_data[rtd->num]; in axg_card_tdm_dai_init()
89 (struct axg_dai_link_tdm_data *)priv->link_data[rtd->num]; in axg_card_tdm_dai_lb_init()
143 priv->link_data[*index + 1] = priv->link_data[*index]; in axg_card_add_tdm_loopback()
260 priv->link_data[*index] = be; in axg_card_parse_tdm()
Dmeson-card-utils.c55 ldata = krealloc(priv->link_data, in meson_card_reallocate_links()
56 num_links * sizeof(*priv->link_data), in meson_card_reallocate_links()
62 priv->link_data = ldata; in meson_card_reallocate_links()
278 kfree(priv->link_data); in meson_card_clean_references()
Dgx-card.c35 (struct gx_dai_link_i2s_data *)priv->link_data[rtd->num]; in gx_card_i2s_be_hw_params()
56 priv->link_data[*index] = be; in gx_card_parse_i2s()
Dmeson-card.h28 void **link_data; member
/linux-6.1.9/drivers/net/wireless/
Dmac80211_hwsim.c722 struct mac80211_hwsim_link_data link_data[IEEE80211_MLD_MAX_NUM_LINKS]; member
1092 u32 bcn_int = data->link_data[0].beacon_int; in mac80211_hwsim_set_tsf()
1968 for (i = 0; i < ARRAY_SIZE(data->link_data); i++) in mac80211_hwsim_stop()
1969 hrtimer_cancel(&data->link_data[i].beacon_timer); in mac80211_hwsim_stop()
2060 struct mac80211_hwsim_link_data *link_data = arg; in mac80211_hwsim_beacon_tx() local
2061 u32 link_id = link_data->link_id; in mac80211_hwsim_beacon_tx()
2064 container_of(link_data, struct mac80211_hwsim_data, in mac80211_hwsim_beacon_tx()
2065 link_data[link_id]); in mac80211_hwsim_beacon_tx()
2086 skb = ieee80211_beacon_get(hw, vif, link_data->link_id); in mac80211_hwsim_beacon_tx()
2131 struct mac80211_hwsim_link_data *link_data = in mac80211_hwsim_beacon() local
[all …]
/linux-6.1.9/drivers/net/ethernet/intel/ice/
Dice_common.c560 struct ice_aqc_get_link_status_data link_data = { 0 }; in ice_aq_get_link_info() local
585 status = ice_aq_send_cmd(hw, &desc, &link_data, sizeof(link_data), cd); in ice_aq_get_link_info()
594 li->link_speed = le16_to_cpu(link_data.link_speed); in ice_aq_get_link_info()
595 li->phy_type_low = le64_to_cpu(link_data.phy_type_low); in ice_aq_get_link_info()
596 li->phy_type_high = le64_to_cpu(link_data.phy_type_high); in ice_aq_get_link_info()
598 li->link_info = link_data.link_info; in ice_aq_get_link_info()
599 li->link_cfg_err = link_data.link_cfg_err; in ice_aq_get_link_info()
600 li->an_info = link_data.an_info; in ice_aq_get_link_info()
601 li->ext_info = link_data.ext_info; in ice_aq_get_link_info()
602 li->max_frame_size = le16_to_cpu(link_data.max_frame_size); in ice_aq_get_link_info()
[all …]
Dice_main.c1207 struct ice_aqc_get_link_status_data *link_data; in ice_handle_link_event() local
1211 link_data = (struct ice_aqc_get_link_status_data *)event->msg_buf; in ice_handle_link_event()
1217 !!(link_data->link_info & ICE_AQ_LINK_UP), in ice_handle_link_event()
1218 le16_to_cpu(link_data->link_speed)); in ice_handle_link_event()
/linux-6.1.9/drivers/message/fusion/
Dmptsas.c3708 MpiEventDataSasPhyLinkStatus_t *link_data; in mptsas_send_link_status_event() local
3716 link_data = (MpiEventDataSasPhyLinkStatus_t *)fw_event->event_data; in mptsas_send_link_status_event()
3718 memcpy(&sas_address, &link_data->SASAddress, sizeof(__le64)); in mptsas_send_link_status_event()
3720 link_rate = link_data->LinkRates >> 4; in mptsas_send_link_status_event()
3721 phy_num = link_data->PhyNum; in mptsas_send_link_status_event()
3737 le16_to_cpu(link_data->DevHandle)); in mptsas_send_link_status_event()