Lines Matching refs:skl
82 *skl_get_ep_blob(struct skl_dev *skl, u32 instance, u8 link_type, in skl_get_ep_blob() argument
88 struct hdac_bus *bus = skl_to_bus(skl); in skl_get_ep_blob()
91 struct nhlt_acpi_table *nhlt = skl->nhlt; in skl_get_ep_blob()
133 int skl_nhlt_update_topology_bin(struct skl_dev *skl) in skl_nhlt_update_topology_bin() argument
135 struct nhlt_acpi_table *nhlt = (struct nhlt_acpi_table *)skl->nhlt; in skl_nhlt_update_topology_bin()
136 struct hdac_bus *bus = skl_to_bus(skl); in skl_nhlt_update_topology_bin()
143 snprintf(skl->tplg_name, sizeof(skl->tplg_name), "%x-%.6s-%.8s-%d%s", in skl_nhlt_update_topology_bin()
144 skl->pci_id, nhlt->header.oem_id, nhlt->header.oem_table_id, in skl_nhlt_update_topology_bin()
147 skl_nhlt_trim_space(skl->tplg_name); in skl_nhlt_update_topology_bin()
157 struct skl_dev *skl = bus_to_skl(bus); in skl_nhlt_platform_id_show() local
158 struct nhlt_acpi_table *nhlt = (struct nhlt_acpi_table *)skl->nhlt; in skl_nhlt_platform_id_show()
161 sprintf(platform_id, "%x-%.6s-%.8s-%d", skl->pci_id, in skl_nhlt_platform_id_show()
171 int skl_nhlt_create_sysfs(struct skl_dev *skl) in skl_nhlt_create_sysfs() argument
173 struct device *dev = &skl->pci->dev; in skl_nhlt_create_sysfs()
181 void skl_nhlt_remove_sysfs(struct skl_dev *skl) in skl_nhlt_remove_sysfs() argument
183 struct device *dev = &skl->pci->dev; in skl_nhlt_remove_sysfs()
185 if (skl->nhlt) in skl_nhlt_remove_sysfs()
194 static void skl_get_ssp_clks(struct skl_dev *skl, struct skl_ssp_clk *ssp_clks, in skl_get_ssp_clks() argument
306 static void skl_get_mclk(struct skl_dev *skl, struct skl_ssp_clk *mclk, in skl_get_mclk() argument
350 void skl_get_clks(struct skl_dev *skl, struct skl_ssp_clk *ssp_clks) in skl_get_clks() argument
352 struct nhlt_acpi_table *nhlt = (struct nhlt_acpi_table *)skl->nhlt; in skl_get_clks()
366 skl_get_ssp_clks(skl, ssp_clks, fmt, id); in skl_get_clks()
367 skl_get_mclk(skl, ssp_clks, fmt, id); in skl_get_clks()