Home
last modified time | relevance | path

Searched refs:ac97_ctrl (Results 1 – 4 of 4) sorted by relevance

/sound/ac97/
Dbus.c61 ac97_codec_find(struct ac97_controller *ac97_ctrl, unsigned int codec_num) in ac97_codec_find() argument
66 return ac97_ctrl->codecs[codec_num]; in ac97_codec_find()
70 ac97_of_get_child_device(struct ac97_controller *ac97_ctrl, int idx, in ac97_of_get_child_device() argument
80 for_each_child_of_node(ac97_ctrl->parent->of_node, node) { in ac97_of_get_child_device()
93 struct ac97_controller *ac97_ctrl; in ac97_codec_release() local
96 ac97_ctrl = adev->ac97_ctrl; in ac97_codec_release()
97 ac97_ctrl->codecs[adev->num] = NULL; in ac97_codec_release()
102 static int ac97_codec_add(struct ac97_controller *ac97_ctrl, int idx, in ac97_codec_add() argument
111 ac97_ctrl->codecs[idx] = codec; in ac97_codec_add()
115 codec->dev.parent = &ac97_ctrl->adap; in ac97_codec_add()
[all …]
Dsnd_ac97_compat.c23 struct ac97_controller *actrl = adev->ac97_ctrl; in compat_ac97_reset()
32 struct ac97_controller *actrl = adev->ac97_ctrl; in compat_ac97_warm_reset()
42 struct ac97_controller *actrl = adev->ac97_ctrl; in compat_ac97_write()
51 struct ac97_controller *actrl = adev->ac97_ctrl; in compat_ac97_read()
102 struct ac97_controller *actrl = adev->ac97_ctrl; in snd_ac97_reset()
/sound/pci/trident/
Dtrident_main.c2493 val = trident->ac97_ctrl = inl(TRID_REG(trident, NX_ACR0_AC97_COM_STAT)); in snd_trident_ac97_control_get()
2507 val = trident->ac97_ctrl = inl(TRID_REG(trident, NX_ACR0_AC97_COM_STAT)); in snd_trident_ac97_control_put()
2511 change = val != trident->ac97_ctrl; in snd_trident_ac97_control_put()
2512 trident->ac97_ctrl = val; in snd_trident_ac97_control_put()
2513 outl(trident->ac97_ctrl = val, TRID_REG(trident, NX_ACR0_AC97_COM_STAT)); in snd_trident_ac97_control_put()
3283 snd_iprintf(buffer, "Rear Speakers : %s\n", trident->ac97_ctrl & 0x00000010 ? "on" : "off"); in snd_trident_proc_read()
3383 trident->ac97_ctrl = 0x0000004a; in snd_trident_4d_dx_init()
3384 outl(trident->ac97_ctrl, TRID_REG(trident, DX_ACR2_AC97_COM_STAT)); in snd_trident_4d_dx_init()
3436 trident->ac97_ctrl = 0x00000002; in snd_trident_4d_nx_init()
3437 outl(trident->ac97_ctrl, TRID_REG(trident, NX_ACR0_AC97_COM_STAT)); in snd_trident_4d_nx_init()
Dtrident.h359 unsigned int ac97_ctrl; member