Searched refs:stat_len (Results 1 - 13 of 13) sorted by relevance

/linux-4.4.14/sound/pci/pcxhr/
H A Dpcxhr_core.h49 u16 stat_len; /* length of the status received (WORDs) */ member in struct:pcxhr_rmh
57 CMD_VERSION, /* cmd_len = 2 stat_len = 1 */
58 CMD_SUPPORTED, /* cmd_len = 1 stat_len = 4 */
59 CMD_TEST_IT, /* cmd_len = 1 stat_len = 1 */
60 CMD_SEND_IRQA, /* cmd_len = 1 stat_len = 0 */
61 CMD_ACCESS_IO_WRITE, /* cmd_len >= 1 stat_len >= 1 */
62 CMD_ACCESS_IO_READ, /* cmd_len >= 1 stat_len >= 1 */
63 CMD_ASYNC, /* cmd_len = 1 stat_len = 1 */
64 CMD_MODIFY_CLOCK, /* cmd_len = 3 stat_len = 0 */
65 CMD_RESYNC_AUDIO_INPUTS, /* cmd_len = 1 stat_len = 0 */
66 CMD_GET_DSP_RESOURCES, /* cmd_len = 1 stat_len = 4 */
67 CMD_SET_TIMER_INTERRUPT, /* cmd_len = 1 stat_len = 0 */
68 CMD_RES_PIPE, /* cmd_len >=2 stat_len = 0 */
69 CMD_FREE_PIPE, /* cmd_len = 1 stat_len = 0 */
70 CMD_CONF_PIPE, /* cmd_len = 2 stat_len = 0 */
71 CMD_STOP_PIPE, /* cmd_len = 1 stat_len = 0 */
72 CMD_PIPE_SAMPLE_COUNT, /* cmd_len = 2 stat_len = 2 */
73 CMD_CAN_START_PIPE, /* cmd_len >= 1 stat_len = 1 */
74 CMD_START_STREAM, /* cmd_len = 2 stat_len = 0 */
75 CMD_STREAM_OUT_LEVEL_ADJUST, /* cmd_len >= 1 stat_len = 0 */
76 CMD_STOP_STREAM, /* cmd_len = 2 stat_len = 0 */
77 CMD_UPDATE_R_BUFFERS, /* cmd_len = 4 stat_len = 0 */
78 CMD_FORMAT_STREAM_OUT, /* cmd_len >= 2 stat_len = 0 */
79 CMD_FORMAT_STREAM_IN, /* cmd_len >= 4 stat_len = 0 */
80 CMD_STREAM_SAMPLE_COUNT, /* cmd_len = 2 stat_len = (2 * nb_stream) */
81 CMD_AUDIO_LEVEL_ADJUST, /* cmd_len = 3 stat_len = 0 */
82 CMD_GET_TIME_CODE, /* cmd_len = 1 stat_len = 5 */
83 CMD_MANAGE_SIGNAL, /* cmd_len = 1 stat_len = 0 */
H A Dpcxhr_core.c554 if (rmh->stat_len < PCXHR_SIZE_MAX_STATUS) pcxhr_read_rmh_status()
556 else max_stat_len = rmh->stat_len; pcxhr_read_rmh_status()
558 for (i = 0; i < rmh->stat_len; i++) { pcxhr_read_rmh_status()
575 /* need to update rmh->stat_len on the fly ?? */ pcxhr_read_rmh_status()
579 rmh->stat_len = (data & 0x0000ff) + 1; pcxhr_read_rmh_status()
583 rmh->stat_len = 1; pcxhr_read_rmh_status()
587 rmh->stat_len++; pcxhr_read_rmh_status()
600 if (rmh->stat_len > max_stat_len) { pcxhr_read_rmh_status()
601 dev_dbg(&mgr->pci->dev, "PCXHR : rmh->stat_len=%x too big\n", pcxhr_read_rmh_status()
602 rmh->stat_len); pcxhr_read_rmh_status()
603 rmh->stat_len = max_stat_len; pcxhr_read_rmh_status()
736 rmh->stat_len = pcxhr_dsp_cmds[cmd].st_length; pcxhr_init_rmh()
1076 prmh->stat_len = PCXHR_SIZE_MAX_LONG_STATUS; pcxhr_msg_thread()
1082 while (i < prmh->stat_len) { pcxhr_msg_thread()
1141 /* rmh.stat_len = 2; */ /* 2 resp data for each stream of the pipe */ pcxhr_stream_read_position()
H A Dpcxhr.c1305 rmh.stat_len = PCXHR_SIZE_MAX_STATUS; pcxhr_proc_info()
1310 if (rmh.stat_len > 8) pcxhr_proc_info()
1311 rmh.stat_len = 8; pcxhr_proc_info()
1312 for (i = 0; i < rmh.stat_len; i++) pcxhr_proc_info()
/linux-4.4.14/sound/pci/lx6464es/
H A Dlx_core.c229 rmh->stat_len = dsp_commands[cmd].dcStatusLength; lx_message_init()
254 for (i = 0; i != rmh->stat_len; ++i) lx_message_dump()
304 if (rmh->stat_len) { lx_message_send_atomic()
305 snd_BUG_ON(rmh->stat_len >= (REG_CRM_NUMBER-1)); lx_message_send_atomic()
307 rmh->stat_len); lx_message_send_atomic()
418 chip->rmh.stat_len = 9; /* we don't necessarily need the full length */ lx_dsp_read_async_events()
423 memcpy(data, chip->rmh.stat, chip->rmh.stat_len * sizeof(u32)); lx_dsp_read_async_events()
512 for (i = 0; i != chip->rmh.stat_len; ++i) lx_buffer_ask()
595 chip->rmh.stat_len = 2; /* need all words here! */ lx_pipe_sample_count()
H A Dlx_core.h103 u16 stat_len; /* length of the status received (WORDs) */ member in struct:lx_rmh
/linux-4.4.14/drivers/net/wan/
H A Dhdlc_fr.c477 int stat_len = (lmi == LMI_CISCO) ? 6 : 3; fr_lmi_send() local
482 len += state(hdlc)->dce_pvc_count * (2 + stat_len); fr_lmi_send()
522 data[i++] = stat_len; fr_lmi_send()
552 i += stat_len; fr_lmi_send()
660 int stat_len = (lmi == LMI_CISCO) ? 6 : 3, reptype, error, no_ram, i; fr_lmi_recv() local
792 while (skb->len >= i + 2 + stat_len) { fr_lmi_recv()
804 if (skb->data[++i] != stat_len) { fr_lmi_recv()
846 i += stat_len; fr_lmi_recv()
/linux-4.4.14/drivers/net/ethernet/chelsio/cxgb4/
H A Dsge.c2503 &fl->sdesc, s->stat_len, NUMA_NO_NODE); t4_sge_alloc_rxq()
2507 flsz = fl->size / 8 + s->stat_len / sizeof(struct tx_desc); t4_sge_alloc_rxq()
2647 nentries = txq->q.size + s->stat_len / sizeof(struct tx_desc); t4_sge_alloc_eth_txq()
2651 &txq->q.phys_addr, &txq->q.sdesc, s->stat_len, t4_sge_alloc_eth_txq()
2704 nentries = txq->q.size + s->stat_len / sizeof(struct tx_desc); t4_sge_alloc_ctrl_txq()
2757 nentries = txq->q.size + s->stat_len / sizeof(struct tx_desc); t4_sge_alloc_ofld_txq()
2761 &txq->q.phys_addr, &txq->q.sdesc, s->stat_len, t4_sge_alloc_ofld_txq()
2809 q->size * sizeof(struct tx_desc) + s->stat_len, free_txq()
2835 dma_free_coherent(adap->pdev_dev, fl->size * 8 + s->stat_len, free_rspq_fl()
3090 s->stat_len = (sge_control & EGRSTATUSPAGESIZE_F) ? 128 : 64; t4_sge_init()
H A Dcxgb4.h659 u32 stat_len; /* length of status page at ring end */ member in struct:sge
H A Dt4_hw.c6114 unsigned int stat_len = cache_line_size > 64 ? 128 : 64; t4_fixup_host_params() local
6134 EGRSTATUSPAGESIZE_V(stat_len != 64)); t4_fixup_host_params()
6168 EGRSTATUSPAGESIZE_V(stat_len != 64)); t4_fixup_host_params()
H A Dcxgb4_main.c2473 lli.sge_egrstatuspagesize = adap->sge.stat_len; uld_attach()
/linux-4.4.14/drivers/net/ethernet/chelsio/cxgb4vf/
H A Dsge.c2280 &fl->addr, &fl->sdesc, s->stat_len); t4vf_sge_alloc_rxq()
2292 s->stat_len / EQ_UNIT); t4vf_sge_alloc_rxq()
2404 nentries = txq->q.size + s->stat_len / sizeof(struct tx_desc); t4vf_sge_alloc_eth_txq()
2413 &txq->q.phys_addr, &txq->q.sdesc, s->stat_len); t4vf_sge_alloc_eth_txq()
2494 tq->size * sizeof(*tq->desc) + s->stat_len, free_txq()
2524 fl->size * sizeof(*fl->desc) + s->stat_len, free_rspq_fl()
2632 s->stat_len = ((sge_params->sge_control & EGRSTATUSPAGESIZE_F) t4vf_sge_init()
H A Dadapter.h314 u32 stat_len; /* length of status page at ring end */ member in struct:sge
/linux-4.4.14/drivers/scsi/csiostor/
H A Dcsio_wr.c1311 uint32_t stat_len = clsz > 64 ? 128 : 64; csio_wr_fixup_host_params() local
1326 EGRSTATUSPAGESIZE_V(stat_len != 64)); csio_wr_fixup_host_params()

Completed in 610 milliseconds