Searched refs:ac97_ctrl (Results 1 – 6 of 6) sorted by relevance
/Linux-v5.10/sound/ac97/ |
D | bus.c | 61 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 …]
|
D | snd_ac97_compat.c | 23 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()
|
/Linux-v5.10/include/sound/ac97/ |
D | controller.h | 66 void snd_ac97_controller_unregister(struct ac97_controller *ac97_ctrl); 78 snd_ac97_controller_unregister(struct ac97_controller *ac97_ctrl) in snd_ac97_controller_unregister() argument
|
D | codec.h | 52 struct ac97_controller *ac97_ctrl; member
|
/Linux-v5.10/sound/pci/trident/ |
D | trident_main.c | 2490 val = trident->ac97_ctrl = inl(TRID_REG(trident, NX_ACR0_AC97_COM_STAT)); in snd_trident_ac97_control_get() 2504 val = trident->ac97_ctrl = inl(TRID_REG(trident, NX_ACR0_AC97_COM_STAT)); in snd_trident_ac97_control_put() 2508 change = val != trident->ac97_ctrl; in snd_trident_ac97_control_put() 2509 trident->ac97_ctrl = val; in snd_trident_ac97_control_put() 2510 outl(trident->ac97_ctrl = val, TRID_REG(trident, NX_ACR0_AC97_COM_STAT)); in snd_trident_ac97_control_put() 3259 snd_iprintf(buffer, "Rear Speakers : %s\n", trident->ac97_ctrl & 0x00000010 ? "on" : "off"); in snd_trident_proc_read() 3369 trident->ac97_ctrl = 0x0000004a; in snd_trident_4d_dx_init() 3370 outl(trident->ac97_ctrl, TRID_REG(trident, DX_ACR2_AC97_COM_STAT)); in snd_trident_4d_dx_init() 3422 trident->ac97_ctrl = 0x00000002; in snd_trident_4d_nx_init() 3423 outl(trident->ac97_ctrl, TRID_REG(trident, NX_ACR0_AC97_COM_STAT)); in snd_trident_4d_nx_init()
|
D | trident.h | 360 unsigned int ac97_ctrl; member
|