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>
此提交包含在:
Dylan Reid
2014-02-28 15:41:27 -08:00
提交者 Takashi Iwai
父節點 f19c3ec21b
當前提交 f43923ff2c
共有 3 個檔案被更改,包括 180 行新增179 行删除

查看文件

@@ -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 */