Lines Matching refs:epnt
60 static bool skl_check_ep_match(struct device *dev, struct nhlt_endpoint *epnt, in skl_check_ep_match() argument
64 epnt->virtual_bus_id, epnt->linktype, in skl_check_ep_match()
65 epnt->direction, epnt->device_type); in skl_check_ep_match()
67 if ((epnt->virtual_bus_id == instance_id) && in skl_check_ep_match()
68 (epnt->linktype == link_type) && in skl_check_ep_match()
69 (epnt->direction == dirn)) { in skl_check_ep_match()
71 if (epnt->linktype == NHLT_LINK_DMIC) in skl_check_ep_match()
74 if (epnt->device_type == dev_type) in skl_check_ep_match()
87 struct nhlt_endpoint *epnt; in skl_get_ep_blob() local
97 epnt = (struct nhlt_endpoint *)nhlt->desc; in skl_get_ep_blob()
102 if (skl_check_ep_match(dev, epnt, instance, link_type, in skl_get_ep_blob()
104 fmt = (struct nhlt_fmt *)(epnt->config.caps + in skl_get_ep_blob()
105 epnt->config.size); in skl_get_ep_blob()
112 epnt = (struct nhlt_endpoint *)((u8 *)epnt + epnt->length); in skl_get_ep_blob()
339 struct nhlt_endpoint *epnt; in skl_get_clks() local
344 epnt = (struct nhlt_endpoint *)nhlt->desc; in skl_get_clks()
346 if (epnt->linktype == NHLT_LINK_SSP) { in skl_get_clks()
347 id = epnt->virtual_bus_id; in skl_get_clks()
349 fmt = (struct nhlt_fmt *)(epnt->config.caps in skl_get_clks()
350 + epnt->config.size); in skl_get_clks()
355 epnt = (struct nhlt_endpoint *)((u8 *)epnt + epnt->length); in skl_get_clks()