Lines Matching refs:layout
63 struct layout { struct
272 static struct layout layouts[] = {
563 static struct layout *find_layout_by_id(unsigned int id) in find_layout_by_id()
565 struct layout *l; in find_layout_by_id()
576 static struct layout *find_layout_by_device(unsigned int id) in find_layout_by_device()
578 struct layout *l; in find_layout_by_device()
589 static void use_layout(struct layout *l) in use_layout()
612 struct layout *layout; member
826 if (!ldev->layout->codecs[i].name) in layout_found_codec()
828 if (strcmp(ldev->layout->codecs[i].name, codec->name) == 0) { in layout_found_codec()
831 &ldev->layout->codecs[i]) == 0) in layout_found_codec()
1001 struct layout *layout = NULL; in aoa_fabric_layout_probe() local
1019 layout = find_layout_by_id(*id); in aoa_fabric_layout_probe()
1023 layout = find_layout_by_device(*id); in aoa_fabric_layout_probe()
1026 if (!layout) { in aoa_fabric_layout_probe()
1038 ldev->layout = layout; in aoa_fabric_layout_probe()
1040 switch (layout->layout_id) { in aoa_fabric_layout_probe()
1063 sdev->pcmid = ldev->layout->pcmid; in aoa_fabric_layout_probe()
1064 if (ldev->layout->busname) { in aoa_fabric_layout_probe()
1065 sdev->pcmname = ldev->layout->busname; in aoa_fabric_layout_probe()
1079 use_layout(layout); in aoa_fabric_layout_probe()