/linux-6.3-rc2/sound/soc/intel/avs/boards/ |
A D | i2s_test.c | 29 dl->name = devm_kasprintf(dev, GFP_KERNEL, "SSP%d-Codec", ssp_port); in avs_create_dai_link() 56 static int avs_create_dapm_routes(struct device *dev, int ssp_port, in avs_create_dapm_routes() argument 66 dr[0].sink = devm_kasprintf(dev, GFP_KERNEL, "ssp%dpb", ssp_port); in avs_create_dapm_routes() 71 dr[1].sink = devm_kasprintf(dev, GFP_KERNEL, "ssp%d Rx", ssp_port); in avs_create_dapm_routes() 82 static int avs_create_dapm_widgets(struct device *dev, int ssp_port, in avs_create_dapm_widgets() argument 94 dw[0].name = devm_kasprintf(dev, GFP_KERNEL, "ssp%dpb", ssp_port); in avs_create_dapm_widgets() 100 dw[1].name = devm_kasprintf(dev, GFP_KERNEL, "ssp%dcp", ssp_port); in avs_create_dapm_widgets() 120 int ssp_port, ret; in avs_i2s_test_probe() local 124 ssp_port = __ffs(mach->mach_params.i2s_link_mask); in avs_i2s_test_probe() 134 ret = avs_create_dai_link(dev, pname, ssp_port, &dai_link); in avs_i2s_test_probe() [all …]
|
A D | max98357a.c | 27 static int avs_create_dai_link(struct device *dev, const char *platform_name, int ssp_port, in avs_create_dai_link() argument 40 dl->name = devm_kasprintf(dev, GFP_KERNEL, "SSP%d-Codec", ssp_port); in avs_create_dai_link() 46 dl->cpus->dai_name = devm_kasprintf(dev, GFP_KERNEL, "SSP%d Pin", ssp_port); in avs_create_dai_link() 67 static int avs_create_dapm_routes(struct device *dev, int ssp_port, in avs_create_dapm_routes() argument 83 dr[idx].source = devm_kasprintf(dev, GFP_KERNEL, "ssp%d Tx", ssp_port); in avs_create_dapm_routes() 101 int num_routes, ssp_port, ret; in avs_max98357a_probe() local 105 ssp_port = __ffs(mach->mach_params.i2s_link_mask); in avs_max98357a_probe() 107 ret = avs_create_dai_link(dev, pname, ssp_port, &dai_link); in avs_max98357a_probe() 113 ret = avs_create_dapm_routes(dev, ssp_port, &routes, &num_routes); in avs_max98357a_probe()
|
A D | ssm4567.c | 129 dl->name = devm_kasprintf(dev, GFP_KERNEL, "SSP%d-Codec", ssp_port); in avs_create_dai_link() 135 dl->cpus->dai_name = devm_kasprintf(dev, GFP_KERNEL, "SSP%d Pin", ssp_port); in avs_create_dai_link() 163 static int avs_create_dapm_routes(struct device *dev, int ssp_port, in avs_create_dapm_routes() argument 179 dr[idx].source = devm_kasprintf(dev, GFP_KERNEL, "ssp%d Tx", ssp_port); in avs_create_dapm_routes() 185 dr[idx].source = devm_kasprintf(dev, GFP_KERNEL, "ssp%d Tx", ssp_port); in avs_create_dapm_routes() 190 dr[idx].sink = devm_kasprintf(dev, GFP_KERNEL, "ssp%d Rx", ssp_port); in avs_create_dapm_routes() 196 dr[idx].sink = devm_kasprintf(dev, GFP_KERNEL, "ssp%d Rx", ssp_port); in avs_create_dapm_routes() 215 int num_routes, ssp_port, ret; in avs_ssm4567_probe() local 219 ssp_port = __ffs(mach->mach_params.i2s_link_mask); in avs_ssm4567_probe() 221 ret = avs_create_dai_link(dev, pname, ssp_port, &dai_link); in avs_ssm4567_probe() [all …]
|
A D | max98373.c | 97 static int avs_create_dai_link(struct device *dev, const char *platform_name, int ssp_port, in avs_create_dai_link() argument 110 dl->name = devm_kasprintf(dev, GFP_KERNEL, "SSP%d-Codec", ssp_port); in avs_create_dai_link() 116 dl->cpus->dai_name = devm_kasprintf(dev, GFP_KERNEL, "SSP%d Pin", ssp_port); in avs_create_dai_link() 144 static int avs_create_dapm_routes(struct device *dev, int ssp_port, in avs_create_dapm_routes() argument 160 dr[idx].source = devm_kasprintf(dev, GFP_KERNEL, "ssp%d Tx", ssp_port); in avs_create_dapm_routes() 166 dr[idx].source = devm_kasprintf(dev, GFP_KERNEL, "ssp%d Tx", ssp_port); in avs_create_dapm_routes() 184 int num_routes, ssp_port, ret; in avs_max98373_probe() local 188 ssp_port = __ffs(mach->mach_params.i2s_link_mask); in avs_max98373_probe() 190 ret = avs_create_dai_link(dev, pname, ssp_port, &dai_link); in avs_max98373_probe() 196 ret = avs_create_dapm_routes(dev, ssp_port, &routes, &num_routes); in avs_max98373_probe()
|
A D | max98927.c | 94 static int avs_create_dai_link(struct device *dev, const char *platform_name, int ssp_port, in avs_create_dai_link() argument 107 dl->name = devm_kasprintf(dev, GFP_KERNEL, "SSP%d-Codec", ssp_port); in avs_create_dai_link() 113 dl->cpus->dai_name = devm_kasprintf(dev, GFP_KERNEL, "SSP%d Pin", ssp_port); in avs_create_dai_link() 141 static int avs_create_dapm_routes(struct device *dev, int ssp_port, in avs_create_dapm_routes() argument 157 dr[idx].source = devm_kasprintf(dev, GFP_KERNEL, "ssp%d Tx", ssp_port); in avs_create_dapm_routes() 163 dr[idx].source = devm_kasprintf(dev, GFP_KERNEL, "ssp%d Tx", ssp_port); in avs_create_dapm_routes() 181 int num_routes, ssp_port, ret; in avs_max98927_probe() local 185 ssp_port = __ffs(mach->mach_params.i2s_link_mask); in avs_max98927_probe() 187 ret = avs_create_dai_link(dev, pname, ssp_port, &dai_link); in avs_max98927_probe() 193 ret = avs_create_dapm_routes(dev, ssp_port, &routes, &num_routes); in avs_max98927_probe()
|
A D | da7219.c | 120 static int avs_create_dai_link(struct device *dev, const char *platform_name, int ssp_port, in avs_create_dai_link() argument 133 dl->name = devm_kasprintf(dev, GFP_KERNEL, "SSP%d-Codec", ssp_port); in avs_create_dai_link() 139 dl->cpus->dai_name = devm_kasprintf(dev, GFP_KERNEL, "SSP%d Pin", ssp_port); in avs_create_dai_link() 163 static int avs_create_dapm_routes(struct device *dev, int ssp_port, in avs_create_dapm_routes() argument 179 dr[idx].source = devm_kasprintf(dev, GFP_KERNEL, "ssp%d Tx", ssp_port); in avs_create_dapm_routes() 184 dr[idx].sink = devm_kasprintf(dev, GFP_KERNEL, "ssp%d Rx", ssp_port); in avs_create_dapm_routes() 219 int num_routes, ssp_port, ret; in avs_da7219_probe() local 223 ssp_port = __ffs(mach->mach_params.i2s_link_mask); in avs_da7219_probe() 225 ret = avs_create_dai_link(dev, pname, ssp_port, &dai_link); in avs_da7219_probe() 231 ret = avs_create_dapm_routes(dev, ssp_port, &routes, &num_routes); in avs_da7219_probe()
|
A D | rt286.c | 116 static int avs_create_dai_link(struct device *dev, const char *platform_name, int ssp_port, in avs_create_dai_link() argument 129 dl->name = devm_kasprintf(dev, GFP_KERNEL, "SSP%d-Codec", ssp_port); in avs_create_dai_link() 135 dl->cpus->dai_name = devm_kasprintf(dev, GFP_KERNEL, "SSP%d Pin", ssp_port); in avs_create_dai_link() 161 static int avs_create_dapm_routes(struct device *dev, int ssp_port, in avs_create_dapm_routes() argument 177 dr[idx].source = devm_kasprintf(dev, GFP_KERNEL, "ssp%d Tx", ssp_port); in avs_create_dapm_routes() 182 dr[idx].sink = devm_kasprintf(dev, GFP_KERNEL, "ssp%d Rx", ssp_port); in avs_create_dapm_routes() 217 int num_routes, ssp_port, ret; in avs_rt286_probe() local 221 ssp_port = __ffs(mach->mach_params.i2s_link_mask); in avs_rt286_probe() 223 ret = avs_create_dai_link(dev, pname, ssp_port, &dai_link); in avs_rt286_probe() 229 ret = avs_create_dapm_routes(dev, ssp_port, &routes, &num_routes); in avs_rt286_probe()
|
A D | rt298.c | 133 static int avs_create_dai_link(struct device *dev, const char *platform_name, int ssp_port, in avs_create_dai_link() argument 146 dl->name = devm_kasprintf(dev, GFP_KERNEL, "SSP%d-Codec", ssp_port); in avs_create_dai_link() 152 dl->cpus->dai_name = devm_kasprintf(dev, GFP_KERNEL, "SSP%d Pin", ssp_port); in avs_create_dai_link() 181 static int avs_create_dapm_routes(struct device *dev, int ssp_port, in avs_create_dapm_routes() argument 197 dr[idx].source = devm_kasprintf(dev, GFP_KERNEL, "ssp%d Tx", ssp_port); in avs_create_dapm_routes() 202 dr[idx].sink = devm_kasprintf(dev, GFP_KERNEL, "ssp%d Rx", ssp_port); in avs_create_dapm_routes() 237 int num_routes, ssp_port, ret; in avs_rt298_probe() local 241 ssp_port = __ffs(mach->mach_params.i2s_link_mask); in avs_rt298_probe() 243 ret = avs_create_dai_link(dev, pname, ssp_port, &dai_link); in avs_rt298_probe() 249 ret = avs_create_dapm_routes(dev, ssp_port, &routes, &num_routes); in avs_rt298_probe()
|
A D | rt274.c | 147 static int avs_create_dai_link(struct device *dev, const char *platform_name, int ssp_port, in avs_create_dai_link() argument 160 dl->name = devm_kasprintf(dev, GFP_KERNEL, "SSP%d-Codec", ssp_port); in avs_create_dai_link() 166 dl->cpus->dai_name = devm_kasprintf(dev, GFP_KERNEL, "SSP%d Pin", ssp_port); in avs_create_dai_link() 191 static int avs_create_dapm_routes(struct device *dev, int ssp_port, in avs_create_dapm_routes() argument 207 dr[idx].source = devm_kasprintf(dev, GFP_KERNEL, "ssp%d Tx", ssp_port); in avs_create_dapm_routes() 212 dr[idx].sink = devm_kasprintf(dev, GFP_KERNEL, "ssp%d Rx", ssp_port); in avs_create_dapm_routes() 247 int num_routes, ssp_port, ret; in avs_rt274_probe() local 251 ssp_port = __ffs(mach->mach_params.i2s_link_mask); in avs_rt274_probe() 253 ret = avs_create_dai_link(dev, pname, ssp_port, &dai_link); in avs_rt274_probe() 259 ret = avs_create_dapm_routes(dev, ssp_port, &routes, &num_routes); in avs_rt274_probe()
|
A D | rt5682.c | 172 static int avs_create_dai_link(struct device *dev, const char *platform_name, int ssp_port, in avs_create_dai_link() argument 185 dl->name = devm_kasprintf(dev, GFP_KERNEL, "SSP%d-Codec", ssp_port); in avs_create_dai_link() 191 dl->cpus->dai_name = devm_kasprintf(dev, GFP_KERNEL, "SSP%d Pin", ssp_port); in avs_create_dai_link() 215 static int avs_create_dapm_routes(struct device *dev, int ssp_port, in avs_create_dapm_routes() argument 231 dr[idx].source = devm_kasprintf(dev, GFP_KERNEL, "ssp%d Tx", ssp_port); in avs_create_dapm_routes() 236 dr[idx].sink = devm_kasprintf(dev, GFP_KERNEL, "ssp%d Rx", ssp_port); in avs_create_dapm_routes() 271 int num_routes, ssp_port, ret; in avs_rt5682_probe() local 281 ssp_port = __ffs(mach->mach_params.i2s_link_mask); in avs_rt5682_probe() 283 ret = avs_create_dai_link(dev, pname, ssp_port, &dai_link); in avs_rt5682_probe() 289 ret = avs_create_dapm_routes(dev, ssp_port, &routes, &num_routes); in avs_rt5682_probe()
|
A D | nau8825.c | 173 static int avs_create_dai_link(struct device *dev, const char *platform_name, int ssp_port, in avs_create_dai_link() argument 186 dl->name = devm_kasprintf(dev, GFP_KERNEL, "SSP%d-Codec", ssp_port); in avs_create_dai_link() 192 dl->cpus->dai_name = devm_kasprintf(dev, GFP_KERNEL, "SSP%d Pin", ssp_port); in avs_create_dai_link() 218 static int avs_create_dapm_routes(struct device *dev, int ssp_port, in avs_create_dapm_routes() argument 234 dr[idx].source = devm_kasprintf(dev, GFP_KERNEL, "ssp%d Tx", ssp_port); in avs_create_dapm_routes() 239 dr[idx].sink = devm_kasprintf(dev, GFP_KERNEL, "ssp%d Rx", ssp_port); in avs_create_dapm_routes() 284 int num_routes, ssp_port, ret; in avs_nau8825_probe() local 288 ssp_port = __ffs(mach->mach_params.i2s_link_mask); in avs_nau8825_probe() 290 ret = avs_create_dai_link(dev, pname, ssp_port, &dai_link); in avs_nau8825_probe() 296 ret = avs_create_dapm_routes(dev, ssp_port, &routes, &num_routes); in avs_nau8825_probe()
|
/linux-6.3-rc2/Documentation/devicetree/bindings/sound/ |
A D | brcm,cygnus-audio.txt | 48 ssp0: ssp_port@0 { 52 ssp1: ssp_port@1 { 56 ssp2: ssp_port@2 {
|