Home
last modified time | relevance | path

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

/linux-2.6.39/sound/pci/pcxhr/
Dpcxhr_core.c549 if (rmh->stat_len < PCXHR_SIZE_MAX_STATUS) in pcxhr_read_rmh_status()
551 else max_stat_len = rmh->stat_len; in pcxhr_read_rmh_status()
553 for (i = 0; i < rmh->stat_len; i++) { in pcxhr_read_rmh_status()
574 rmh->stat_len = (data & 0x0000ff) + 1; in pcxhr_read_rmh_status()
578 rmh->stat_len = 1; in pcxhr_read_rmh_status()
582 rmh->stat_len++; in pcxhr_read_rmh_status()
595 if (rmh->stat_len > max_stat_len) { in pcxhr_read_rmh_status()
597 rmh->stat_len); in pcxhr_read_rmh_status()
598 rmh->stat_len = max_stat_len; in pcxhr_read_rmh_status()
728 rmh->stat_len = pcxhr_dsp_cmds[cmd].st_length; in pcxhr_init_rmh()
[all …]
Dpcxhr_core.h49 u16 stat_len; /* length of the status received (WORDs) */ member
Dpcxhr.c1280 rmh.stat_len = PCXHR_SIZE_MAX_STATUS; in pcxhr_proc_info()
1285 if (rmh.stat_len > 8) in pcxhr_proc_info()
1286 rmh.stat_len = 8; in pcxhr_proc_info()
1287 for (i = 0; i < rmh.stat_len; i++) in pcxhr_proc_info()
/linux-2.6.39/sound/pci/lx6464es/
Dlx_core.c276 rmh->stat_len = dsp_commands[cmd].dcStatusLength; in lx_message_init()
301 for (i = 0; i != rmh->stat_len; ++i) in lx_message_dump()
351 if (rmh->stat_len) { in lx_message_send_atomic()
352 snd_BUG_ON(rmh->stat_len >= (REG_CRM_NUMBER-1)); in lx_message_send_atomic()
354 rmh->stat_len); in lx_message_send_atomic()
469 chip->rmh.stat_len = 9; /* we don't necessarily need the full length */ in lx_dsp_read_async_events()
474 memcpy(data, chip->rmh.stat, chip->rmh.stat_len * sizeof(u32)); in lx_dsp_read_async_events()
601 for (i = 0; i != chip->rmh.stat_len; ++i) in lx_buffer_ask()
690 chip->rmh.stat_len = 2; /* need all words here! */ in lx_pipe_sample_count()
Dlx_core.h106 u16 stat_len; /* length of the status received (WORDs) */ member
/linux-2.6.39/drivers/net/wan/
Dhdlc_fr.c477 int stat_len = (lmi == LMI_CISCO) ? 6 : 3; in fr_lmi_send() local
482 len += state(hdlc)->dce_pvc_count * (2 + stat_len); in fr_lmi_send()
524 data[i++] = stat_len; in fr_lmi_send()
554 i += stat_len; in fr_lmi_send()
664 int stat_len = (lmi == LMI_CISCO) ? 6 : 3, reptype, error, no_ram, i; in fr_lmi_recv() local
797 while (skb->len >= i + 2 + stat_len) { in fr_lmi_recv()
809 if (skb->data[++i] != stat_len) { in fr_lmi_recv()
853 i += stat_len; in fr_lmi_recv()