Lines Matching refs:skl
31 int skl_nhlt_update_topology_bin(struct skl_dev *skl) in skl_nhlt_update_topology_bin() argument
33 struct nhlt_acpi_table *nhlt = (struct nhlt_acpi_table *)skl->nhlt; in skl_nhlt_update_topology_bin()
34 struct hdac_bus *bus = skl_to_bus(skl); in skl_nhlt_update_topology_bin()
41 snprintf(skl->tplg_name, sizeof(skl->tplg_name), "%x-%.6s-%.8s-%d%s", in skl_nhlt_update_topology_bin()
42 skl->pci_id, nhlt->header.oem_id, nhlt->header.oem_table_id, in skl_nhlt_update_topology_bin()
45 skl_nhlt_trim_space(skl->tplg_name); in skl_nhlt_update_topology_bin()
55 struct skl_dev *skl = bus_to_skl(bus); in platform_id_show() local
56 struct nhlt_acpi_table *nhlt = (struct nhlt_acpi_table *)skl->nhlt; in platform_id_show()
59 sprintf(platform_id, "%x-%.6s-%.8s-%d", skl->pci_id, in platform_id_show()
69 int skl_nhlt_create_sysfs(struct skl_dev *skl) in skl_nhlt_create_sysfs() argument
71 struct device *dev = &skl->pci->dev; in skl_nhlt_create_sysfs()
79 void skl_nhlt_remove_sysfs(struct skl_dev *skl) in skl_nhlt_remove_sysfs() argument
81 struct device *dev = &skl->pci->dev; in skl_nhlt_remove_sysfs()
83 if (skl->nhlt) in skl_nhlt_remove_sysfs()
92 static void skl_get_ssp_clks(struct skl_dev *skl, struct skl_ssp_clk *ssp_clks, in skl_get_ssp_clks() argument
204 static void skl_get_mclk(struct skl_dev *skl, struct skl_ssp_clk *mclk, in skl_get_mclk() argument
248 void skl_get_clks(struct skl_dev *skl, struct skl_ssp_clk *ssp_clks) in skl_get_clks() argument
250 struct nhlt_acpi_table *nhlt = (struct nhlt_acpi_table *)skl->nhlt; in skl_get_clks()
264 skl_get_ssp_clks(skl, ssp_clks, fmt, id); in skl_get_clks()
265 skl_get_mclk(skl, ssp_clks, fmt, id); in skl_get_clks()