Home
last modified time | relevance | path

Searched refs:sa (Results 1 – 6 of 6) sorted by relevance

/sound/soc/codecs/
Dsigmadsp.c360 static inline u32 sigma_action_len(struct sigma_action *sa) in sigma_action_len() argument
362 return (sa->len_hi << 16) | le16_to_cpu(sa->len); in sigma_action_len()
365 static size_t sigma_action_size(struct sigma_action *sa) in sigma_action_size() argument
369 switch (sa->instr) { in sigma_action_size()
373 payload = sigma_action_len(sa); in sigma_action_size()
389 struct sigma_action *sa) in process_sigma_action() argument
391 size_t len = sigma_action_len(sa); in process_sigma_action()
395 sa->instr, sa->addr, len); in process_sigma_action()
397 switch (sa->instr) { in process_sigma_action()
408 data->addr = be16_to_cpu(sa->addr); in process_sigma_action()
[all …]
/sound/pci/ctxfi/
Dcthw20k1.c84 u16 sa:1; member
98 unsigned int sa; member
302 static int src_set_sa(void *blk, unsigned int sa) in src_set_sa() argument
306 set_field(&ctl->sa, SRCSA_SA, sa); in src_set_sa()
307 ctl->dirty.bf.sa = 1; in src_set_sa()
388 if (ctl->dirty.bf.sa) { in src_commit_write()
389 hw_write_20kx(hw, SRCSA+idx*0x100, ctl->sa); in src_commit_write()
390 ctl->dirty.bf.sa = 0; in src_commit_write()
Dcthw20k2.c84 u16 sa:1; member
98 unsigned int sa; member
302 static int src_set_sa(void *blk, unsigned int sa) in src_set_sa() argument
306 set_field(&ctl->sa, SRCSA_SA, sa); in src_set_sa()
307 ctl->dirty.bf.sa = 1; in src_set_sa()
388 if (ctl->dirty.bf.sa) { in src_commit_write()
389 hw_write_20kx(hw, SRC_SA+idx*0x100, ctl->sa); in src_commit_write()
390 ctl->dirty.bf.sa = 0; in src_commit_write()
Dctsrc.h64 int (*set_sa)(struct src *src, unsigned int sa);
Dcthardware.h101 int (*src_set_sa)(void *blk, unsigned int sa);
Dctsrc.c134 static int src_set_sa(struct src *src, unsigned int sa) in src_set_sa() argument
139 hw->src_set_sa(src->rsc.ctrl_blk, sa); in src_set_sa()