Home
last modified time | relevance | path

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

/sound/soc/codecs/
Dsigmadsp.c362 static inline u32 sigma_action_len(struct sigma_action *sa) in sigma_action_len() argument
364 return (sa->len_hi << 16) | le16_to_cpu(sa->len); in sigma_action_len()
367 static size_t sigma_action_size(struct sigma_action *sa) in sigma_action_size() argument
371 switch (sa->instr) { in sigma_action_size()
375 payload = sigma_action_len(sa); in sigma_action_size()
391 struct sigma_action *sa) in process_sigma_action() argument
393 size_t len = sigma_action_len(sa); in process_sigma_action()
397 sa->instr, sa->addr, len); in process_sigma_action()
399 switch (sa->instr) { in process_sigma_action()
410 data->addr = be16_to_cpu(sa->addr); in process_sigma_action()
[all …]
/sound/pci/ctxfi/
Dcthw20k2.c88 u16 sa:1; member
102 unsigned int sa; member
306 static int src_set_sa(void *blk, unsigned int sa) in src_set_sa() argument
310 set_field(&ctl->sa, SRCSA_SA, sa); in src_set_sa()
311 ctl->dirty.bf.sa = 1; in src_set_sa()
392 if (ctl->dirty.bf.sa) { in src_commit_write()
393 hw_write_20kx(hw, SRC_SA+idx*0x100, ctl->sa); in src_commit_write()
394 ctl->dirty.bf.sa = 0; in src_commit_write()
Dcthw20k1.c88 u16 sa:1; member
102 unsigned int sa; member
306 static int src_set_sa(void *blk, unsigned int sa) in src_set_sa() argument
310 set_field(&ctl->sa, SRCSA_SA, sa); in src_set_sa()
311 ctl->dirty.bf.sa = 1; in src_set_sa()
392 if (ctl->dirty.bf.sa) { in src_commit_write()
393 hw_write_20kx(hw, SRCSA+idx*0x100, ctl->sa); in src_commit_write()
394 ctl->dirty.bf.sa = 0; in src_commit_write()
Dctsrc.h68 int (*set_sa)(struct src *src, unsigned int sa);
Dcthardware.h105 int (*src_set_sa)(void *blk, unsigned int sa);
Dctsrc.c138 static int src_set_sa(struct src *src, unsigned int sa) in src_set_sa() argument
143 hw->src_set_sa(src->rsc.ctrl_blk, sa); in src_set_sa()