Changeset 695 for GPL/trunk/alsa-kernel/include/sound/soc-component.h
- Timestamp:
- Aug 21, 2021, 3:35:34 AM (4 years ago)
- Location:
- GPL/trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
GPL/trunk
- Property svn:mergeinfo changed
/GPL/branches/uniaud32-next merged: 691-694
- Property svn:mergeinfo changed
-
GPL/trunk/alsa-kernel/include/sound/soc-component.h
r679 r695 102 102 /* DT */ 103 103 int (*of_xlate_dai_name)(struct snd_soc_component *component, 104 struct of_phandle_args *args,104 const struct of_phandle_args *args, 105 105 const char **dai_name); 106 106 int (*of_xlate_dai_id)(struct snd_soc_component *comment, … … 147 147 struct snd_pcm_substream *substream, 148 148 struct vm_area_struct *vma); 149 int (*ack)(struct snd_soc_component *component, 150 struct snd_pcm_substream *substream); 149 151 150 152 const struct snd_compress_ops *compress_ops; … … 221 223 struct snd_pcm_substream *mark_module; 222 224 struct snd_pcm_substream *mark_open; 225 struct snd_pcm_substream *mark_hw_params; 226 struct snd_pcm_substream *mark_trigger; 227 struct snd_compr_stream *mark_compr_open; 223 228 void *mark_pm; 224 229 … … 334 339 struct snd_soc_aux_dev *aux); 335 340 int snd_soc_component_init(struct snd_soc_component *component); 341 int snd_soc_component_is_dummy(struct snd_soc_component *component); 336 342 337 343 /* component IO */ … … 350 356 unsigned int reg, unsigned int mask, 351 357 unsigned int value); 358 359 unsigned int snd_soc_component_read_field(struct snd_soc_component *component, 360 unsigned int reg, unsigned int mask); 361 int snd_soc_component_write_field(struct snd_soc_component *component, 362 unsigned int reg, unsigned int mask, 363 unsigned int val); 352 364 353 365 /* component wide operations */ … … 442 454 struct device_node *ep); 443 455 int snd_soc_component_of_xlate_dai_name(struct snd_soc_component *component, 444 struct of_phandle_args *args,456 const struct of_phandle_args *args, 445 457 const char **dai_name); 458 int snd_soc_component_compr_open(struct snd_compr_stream *cstream); 459 void snd_soc_component_compr_free(struct snd_compr_stream *cstream, 460 int rollback); 461 int snd_soc_component_compr_trigger(struct snd_compr_stream *cstream, int cmd); 462 int snd_soc_component_compr_set_params(struct snd_compr_stream *cstream, 463 struct snd_compr_params *params); 464 int snd_soc_component_compr_get_params(struct snd_compr_stream *cstream, 465 struct snd_codec *params); 466 int snd_soc_component_compr_get_caps(struct snd_compr_stream *cstream, 467 struct snd_compr_caps *caps); 468 int snd_soc_component_compr_get_codec_caps(struct snd_compr_stream *cstream, 469 struct snd_compr_codec_caps *codec); 470 int snd_soc_component_compr_ack(struct snd_compr_stream *cstream, size_t bytes); 471 int snd_soc_component_compr_pointer(struct snd_compr_stream *cstream, 472 struct snd_compr_tstamp *tstamp); 473 int snd_soc_component_compr_copy(struct snd_compr_stream *cstream, 474 char __user *buf, size_t count); 475 int snd_soc_component_compr_set_metadata(struct snd_compr_stream *cstream, 476 struct snd_compr_metadata *metadata); 477 int snd_soc_component_compr_get_metadata(struct snd_compr_stream *cstream, 478 struct snd_compr_metadata *metadata); 446 479 447 480 int snd_soc_pcm_component_pointer(struct snd_pcm_substream *substream); … … 460 493 int snd_soc_pcm_component_prepare(struct snd_pcm_substream *substream); 461 494 int snd_soc_pcm_component_hw_params(struct snd_pcm_substream *substream, 462 struct snd_pcm_hw_params *params, 463 struct snd_soc_component **last); 495 struct snd_pcm_hw_params *params); 464 496 void snd_soc_pcm_component_hw_free(struct snd_pcm_substream *substream, 465 struct snd_soc_component *last);497 int rollback); 466 498 int snd_soc_pcm_component_trigger(struct snd_pcm_substream *substream, 467 int cmd );499 int cmd, int rollback); 468 500 int snd_soc_pcm_component_pm_runtime_get(struct snd_soc_pcm_runtime *rtd, 469 501 void *stream); 470 502 void snd_soc_pcm_component_pm_runtime_put(struct snd_soc_pcm_runtime *rtd, 471 503 void *stream, int rollback); 504 int snd_soc_pcm_component_ack(struct snd_pcm_substream *substream); 472 505 473 506 #endif /* __SOC_COMPONENT_H */
Note:
See TracChangeset
for help on using the changeset viewer.