Searched refs:link_data (Results 1 – 8 of 8) sorted by relevance
117 struct dai_link_data *link_data; member230 static bool format_is_tdm(struct dai_link_data *link_data) in format_is_tdm() argument232 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() local264 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() local306 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 …]
46 (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()
55 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()
35 (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()
28 void **link_data; member
424 struct ice_aqc_get_link_status_data link_data = { 0 }; in ice_aq_get_link_info() local449 status = ice_aq_send_cmd(hw, &desc, &link_data, sizeof(link_data), cd); in ice_aq_get_link_info()458 li->link_speed = le16_to_cpu(link_data.link_speed); in ice_aq_get_link_info()459 li->phy_type_low = le64_to_cpu(link_data.phy_type_low); in ice_aq_get_link_info()460 li->phy_type_high = le64_to_cpu(link_data.phy_type_high); in ice_aq_get_link_info()462 li->link_info = link_data.link_info; in ice_aq_get_link_info()463 li->link_cfg_err = link_data.link_cfg_err; in ice_aq_get_link_info()464 li->an_info = link_data.an_info; in ice_aq_get_link_info()465 li->ext_info = link_data.ext_info; in ice_aq_get_link_info()466 li->max_frame_size = le16_to_cpu(link_data.max_frame_size); in ice_aq_get_link_info()[all …]
1207 struct ice_aqc_get_link_status_data *link_data; in ice_handle_link_event() local1211 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()
3708 MpiEventDataSasPhyLinkStatus_t *link_data; in mptsas_send_link_status_event() local3716 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()