Searched refs:stat_len (Results 1 – 13 of 13) sorted by relevance
/linux-4.4.14/sound/pci/pcxhr/ |
D | pcxhr_core.c | 554 if (rmh->stat_len < PCXHR_SIZE_MAX_STATUS) in pcxhr_read_rmh_status() 556 else max_stat_len = rmh->stat_len; in pcxhr_read_rmh_status() 558 for (i = 0; i < rmh->stat_len; i++) { in pcxhr_read_rmh_status() 579 rmh->stat_len = (data & 0x0000ff) + 1; in pcxhr_read_rmh_status() 583 rmh->stat_len = 1; in pcxhr_read_rmh_status() 587 rmh->stat_len++; in pcxhr_read_rmh_status() 600 if (rmh->stat_len > max_stat_len) { in pcxhr_read_rmh_status() 602 rmh->stat_len); in pcxhr_read_rmh_status() 603 rmh->stat_len = max_stat_len; in pcxhr_read_rmh_status() 736 rmh->stat_len = pcxhr_dsp_cmds[cmd].st_length; in pcxhr_init_rmh() [all …]
|
D | pcxhr_core.h | 49 u16 stat_len; /* length of the status received (WORDs) */ member
|
D | pcxhr.c | 1305 rmh.stat_len = PCXHR_SIZE_MAX_STATUS; in pcxhr_proc_info() 1310 if (rmh.stat_len > 8) in pcxhr_proc_info() 1311 rmh.stat_len = 8; in pcxhr_proc_info() 1312 for (i = 0; i < rmh.stat_len; i++) in pcxhr_proc_info()
|
/linux-4.4.14/sound/pci/lx6464es/ |
D | lx_core.c | 229 rmh->stat_len = dsp_commands[cmd].dcStatusLength; in lx_message_init() 254 for (i = 0; i != rmh->stat_len; ++i) in lx_message_dump() 304 if (rmh->stat_len) { in lx_message_send_atomic() 305 snd_BUG_ON(rmh->stat_len >= (REG_CRM_NUMBER-1)); in lx_message_send_atomic() 307 rmh->stat_len); in lx_message_send_atomic() 418 chip->rmh.stat_len = 9; /* we don't necessarily need the full length */ in lx_dsp_read_async_events() 423 memcpy(data, chip->rmh.stat, chip->rmh.stat_len * sizeof(u32)); in lx_dsp_read_async_events() 512 for (i = 0; i != chip->rmh.stat_len; ++i) in lx_buffer_ask() 595 chip->rmh.stat_len = 2; /* need all words here! */ in lx_pipe_sample_count()
|
D | lx_core.h | 103 u16 stat_len; /* length of the status received (WORDs) */ member
|
/linux-4.4.14/drivers/net/wan/ |
D | hdlc_fr.c | 477 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() 522 data[i++] = stat_len; in fr_lmi_send() 552 i += stat_len; in fr_lmi_send() 660 int stat_len = (lmi == LMI_CISCO) ? 6 : 3, reptype, error, no_ram, i; in fr_lmi_recv() local 792 while (skb->len >= i + 2 + stat_len) { in fr_lmi_recv() 804 if (skb->data[++i] != stat_len) { in fr_lmi_recv() 846 i += stat_len; in fr_lmi_recv()
|
/linux-4.4.14/drivers/net/ethernet/chelsio/cxgb4vf/ |
D | sge.c | 2280 &fl->addr, &fl->sdesc, s->stat_len); in t4vf_sge_alloc_rxq() 2292 s->stat_len / EQ_UNIT); in t4vf_sge_alloc_rxq() 2404 nentries = txq->q.size + s->stat_len / sizeof(struct tx_desc); in t4vf_sge_alloc_eth_txq() 2413 &txq->q.phys_addr, &txq->q.sdesc, s->stat_len); in t4vf_sge_alloc_eth_txq() 2494 tq->size * sizeof(*tq->desc) + s->stat_len, in free_txq() 2524 fl->size * sizeof(*fl->desc) + s->stat_len, in free_rspq_fl() 2632 s->stat_len = ((sge_params->sge_control & EGRSTATUSPAGESIZE_F) in t4vf_sge_init()
|
D | adapter.h | 314 u32 stat_len; /* length of status page at ring end */ member
|
/linux-4.4.14/drivers/net/ethernet/chelsio/cxgb4/ |
D | sge.c | 2503 &fl->sdesc, s->stat_len, NUMA_NO_NODE); in t4_sge_alloc_rxq() 2507 flsz = fl->size / 8 + s->stat_len / sizeof(struct tx_desc); in t4_sge_alloc_rxq() 2647 nentries = txq->q.size + s->stat_len / sizeof(struct tx_desc); in t4_sge_alloc_eth_txq() 2651 &txq->q.phys_addr, &txq->q.sdesc, s->stat_len, in t4_sge_alloc_eth_txq() 2704 nentries = txq->q.size + s->stat_len / sizeof(struct tx_desc); in t4_sge_alloc_ctrl_txq() 2757 nentries = txq->q.size + s->stat_len / sizeof(struct tx_desc); in t4_sge_alloc_ofld_txq() 2761 &txq->q.phys_addr, &txq->q.sdesc, s->stat_len, in t4_sge_alloc_ofld_txq() 2809 q->size * sizeof(struct tx_desc) + s->stat_len, in free_txq() 2835 dma_free_coherent(adap->pdev_dev, fl->size * 8 + s->stat_len, in free_rspq_fl() 3090 s->stat_len = (sge_control & EGRSTATUSPAGESIZE_F) ? 128 : 64; in t4_sge_init()
|
D | cxgb4.h | 659 u32 stat_len; /* length of status page at ring end */ member
|
D | t4_hw.c | 6114 unsigned int stat_len = cache_line_size > 64 ? 128 : 64; in t4_fixup_host_params() local 6134 EGRSTATUSPAGESIZE_V(stat_len != 64)); in t4_fixup_host_params() 6168 EGRSTATUSPAGESIZE_V(stat_len != 64)); in t4_fixup_host_params()
|
D | cxgb4_main.c | 2473 lli.sge_egrstatuspagesize = adap->sge.stat_len; in uld_attach()
|
/linux-4.4.14/drivers/scsi/csiostor/ |
D | csio_wr.c | 1311 uint32_t stat_len = clsz > 64 ? 128 : 64; in csio_wr_fixup_host_params() local 1326 EGRSTATUSPAGESIZE_V(stat_len != 64)); in csio_wr_fixup_host_params()
|