Home
last modified time | relevance | path

Searched refs:spos (Results 1 – 7 of 7) sorted by relevance

/sound/pci/ctxfi/
Dctdaio.h74 int (*set_spos)(struct dao *dao, unsigned int spos);
76 int (*get_spos)(struct dao *dao, unsigned int *spos);
Dcthw20k1.c773 u16 spos:1; member
781 unsigned int spos; /* S/PDIF Output Channel Status Register */ member
927 static int dao_set_spos(void *blk, unsigned int spos) in dao_set_spos() argument
929 ((struct dao_ctrl_blk *)blk)->spos = spos; in dao_set_spos()
930 ((struct dao_ctrl_blk *)blk)->dirty.bf.spos = 1; in dao_set_spos()
938 if (ctl->dirty.bf.spos) { in dao_commit_write()
941 hw_write_20kx(hw, SPOS+0x4*idx, ctl->spos); in dao_commit_write()
943 ctl->dirty.bf.spos = 0; in dao_commit_write()
949 static int dao_get_spos(void *blk, unsigned int *spos) in dao_get_spos() argument
951 *spos = ((struct dao_ctrl_blk *)blk)->spos; in dao_get_spos()
Dcthardware.h163 int (*dao_set_spos)(void *blk, unsigned int spos);
165 int (*dao_get_spos)(void *blk, unsigned int *spos);
Dctdaio.c141 static int dao_spdif_get_spos(struct dao *dao, unsigned int *spos) in dao_spdif_get_spos() argument
143 dao->hw->dao_get_spos(dao->ctrl_blk, spos); in dao_spdif_get_spos()
147 static int dao_spdif_set_spos(struct dao *dao, unsigned int spos) in dao_spdif_set_spos() argument
149 dao->hw->dao_set_spos(dao->ctrl_blk, spos); in dao_spdif_set_spos()
Dcthw20k2.c911 static int dao_set_spos(void *blk, unsigned int spos) in dao_set_spos() argument
913 ((struct dao_ctrl_blk *)blk)->atxcsl = spos; in dao_set_spos()
934 static int dao_get_spos(void *blk, unsigned int *spos) in dao_get_spos() argument
936 *spos = ((struct dao_ctrl_blk *)blk)->atxcsl; in dao_get_spos()
Dctatc.c1118 unsigned int spos = 0; in atc_spdif_out_passthru() local
1126 spos = IEC958_DEFAULT_CON; in atc_spdif_out_passthru()
1136 dao->ops->set_spos(dao, spos); in atc_spdif_out_passthru()
/sound/core/
Dinit.c501 const char *spos = name; in retrieve_id_from_card_name() local
505 spos = name + 1; in retrieve_id_from_card_name()
508 return spos; in retrieve_id_from_card_name()
567 char *spos; in snd_card_set_id_no_lock() local
578 spos = id + sizeof(card->id) - sfxlen - 1; in snd_card_set_id_no_lock()
580 spos = id + len; in snd_card_set_id_no_lock()
581 strcpy(spos, sfxstr); in snd_card_set_id_no_lock()