ALSA: hda - Move low level functions to hda_controller
Share more code from hda_intel. This moves the link control and initialization to hda_controller. The code will also be used by an hda platform driver. Signed-off-by: Dylan Reid <dgreid@chromium.org> Signed-off-by: Takashi Iwai <tiwai@suse.de>
此提交包含在:
@@ -50,11 +50,14 @@ void azx_free_stream_pages(struct azx *chip);
|
||||
/*
|
||||
* CORB / RIRB interface
|
||||
*/
|
||||
void azx_init_cmd_io(struct azx *chip);
|
||||
void azx_free_cmd_io(struct azx *chip);
|
||||
void azx_update_rirb(struct azx *chip);
|
||||
int azx_send_cmd(struct hda_bus *bus, unsigned int val);
|
||||
unsigned int azx_get_response(struct hda_bus *bus,
|
||||
unsigned int addr);
|
||||
|
||||
/* Low level azx interface */
|
||||
void azx_init_chip(struct azx *chip, int full_reset);
|
||||
void azx_stop_chip(struct azx *chip);
|
||||
void azx_enter_link_reset(struct azx *chip);
|
||||
|
||||
#endif /* __SOUND_HDA_CONTROLLER_H */
|
||||
|
新增問題並參考
封鎖使用者