Home
last modified time | relevance | path

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

/Linux-v5.4/sound/pci/pcxhr/
Dpcxhr_core.c541 if (rmh->stat_len < PCXHR_SIZE_MAX_STATUS) in pcxhr_read_rmh_status()
543 else max_stat_len = rmh->stat_len; in pcxhr_read_rmh_status()
545 for (i = 0; i < rmh->stat_len; i++) { in pcxhr_read_rmh_status()
566 rmh->stat_len = (data & 0x0000ff) + 1; in pcxhr_read_rmh_status()
570 rmh->stat_len = 1; in pcxhr_read_rmh_status()
574 rmh->stat_len++; in pcxhr_read_rmh_status()
587 if (rmh->stat_len > max_stat_len) { in pcxhr_read_rmh_status()
589 rmh->stat_len); in pcxhr_read_rmh_status()
590 rmh->stat_len = max_stat_len; in pcxhr_read_rmh_status()
723 rmh->stat_len = pcxhr_dsp_cmds[cmd].st_length; in pcxhr_init_rmh()
[all …]
Dpcxhr_core.h36 u16 stat_len; /* length of the status received (WORDs) */ member
Dpcxhr.c1290 rmh.stat_len = PCXHR_SIZE_MAX_STATUS; in pcxhr_proc_info()
1295 if (rmh.stat_len > 8) in pcxhr_proc_info()
1296 rmh.stat_len = 8; in pcxhr_proc_info()
1297 for (i = 0; i < rmh.stat_len; i++) in pcxhr_proc_info()
/Linux-v5.4/sound/pci/lx6464es/
Dlx_core.c214 rmh->stat_len = dsp_commands[cmd].dcStatusLength; in lx_message_init()
239 for (i = 0; i != rmh->stat_len; ++i) in lx_message_dump()
289 if (rmh->stat_len) { in lx_message_send_atomic()
290 snd_BUG_ON(rmh->stat_len >= (REG_CRM_NUMBER-1)); in lx_message_send_atomic()
292 rmh->stat_len); in lx_message_send_atomic()
403 chip->rmh.stat_len = 9; /* we don't necessarily need the full length */ in lx_dsp_read_async_events()
408 memcpy(data, chip->rmh.stat, chip->rmh.stat_len * sizeof(u32)); in lx_dsp_read_async_events()
497 for (i = 0; i != chip->rmh.stat_len; ++i) in lx_buffer_ask()
580 chip->rmh.stat_len = 2; /* need all words here! */ in lx_pipe_sample_count()
Dlx_core.h88 u16 stat_len; /* length of the status received (WORDs) */ member
/Linux-v5.4/drivers/net/wan/
Dhdlc_fr.c475 int stat_len = (lmi == LMI_CISCO) ? 6 : 3; in fr_lmi_send() local
480 len += state(hdlc)->dce_pvc_count * (2 + stat_len); in fr_lmi_send()
520 data[i++] = stat_len; in fr_lmi_send()
550 i += stat_len; in fr_lmi_send()
657 int stat_len = (lmi == LMI_CISCO) ? 6 : 3, reptype, error, no_ram, i; in fr_lmi_recv() local
789 while (skb->len >= i + 2 + stat_len) { in fr_lmi_recv()
801 if (skb->data[++i] != stat_len) { in fr_lmi_recv()
843 i += stat_len; in fr_lmi_recv()
/Linux-v5.4/drivers/crypto/bcm/
Dcipher.c209 u32 stat_len; in spu_ablkcipher_tx_sg_create() local
239 stat_len = spu->spu_tx_status_len(); in spu_ablkcipher_tx_sg_create()
240 if (stat_len) { in spu_ablkcipher_tx_sg_create()
241 memset(rctx->msg_buf.tx_stat, 0, stat_len); in spu_ablkcipher_tx_sg_create()
242 sg_set_buf(sg, rctx->msg_buf.tx_stat, stat_len); in spu_ablkcipher_tx_sg_create()
624 u32 stat_len; in spu_ahash_tx_sg_create() local
654 stat_len = spu->spu_tx_status_len(); in spu_ahash_tx_sg_create()
655 if (stat_len) { in spu_ahash_tx_sg_create()
656 memset(rctx->msg_buf.tx_stat, 0, stat_len); in spu_ahash_tx_sg_create()
657 sg_set_buf(sg, rctx->msg_buf.tx_stat, stat_len); in spu_ahash_tx_sg_create()
[all …]
/Linux-v5.4/drivers/net/ethernet/chelsio/cxgb4vf/
Dsge.c2288 &fl->addr, &fl->sdesc, s->stat_len); in t4vf_sge_alloc_rxq()
2300 s->stat_len / EQ_UNIT); in t4vf_sge_alloc_rxq()
2426 nentries = txq->q.size + s->stat_len / sizeof(struct tx_desc); in t4vf_sge_alloc_eth_txq()
2435 &txq->q.phys_addr, &txq->q.sdesc, s->stat_len); in t4vf_sge_alloc_eth_txq()
2518 tq->size * sizeof(*tq->desc) + s->stat_len, in free_txq()
2548 fl->size * sizeof(*fl->desc) + s->stat_len, in free_rspq_fl()
2667 s->stat_len = ((sge_params->sge_control & EGRSTATUSPAGESIZE_F) in t4vf_sge_init()
Dadapter.h315 u32 stat_len; /* length of status page at ring end */ member
/Linux-v5.4/drivers/net/ethernet/chelsio/cxgb4/
Dsge.c3602 &fl->sdesc, s->stat_len, in t4_sge_alloc_rxq()
3607 flsz = fl->size / 8 + s->stat_len / sizeof(struct tx_desc); in t4_sge_alloc_rxq()
3771 nentries = txq->q.size + s->stat_len / sizeof(struct tx_desc); in t4_sge_alloc_eth_txq()
3775 &txq->q.phys_addr, &txq->q.sdesc, s->stat_len, in t4_sge_alloc_eth_txq()
3856 nentries = txq->q.size + s->stat_len / sizeof(struct tx_desc); in t4_sge_alloc_ctrl_txq()
3927 nentries = txq->q.size + s->stat_len / sizeof(struct tx_desc); in t4_sge_alloc_uld_txq()
3931 &txq->q.phys_addr, &txq->q.sdesc, s->stat_len, in t4_sge_alloc_uld_txq()
3984 q->size * sizeof(struct tx_desc) + s->stat_len, in free_txq()
4009 dma_free_coherent(adap->pdev_dev, fl->size * 8 + s->stat_len, in free_rspq_fl()
4294 s->stat_len = (sge_control & EGRSTATUSPAGESIZE_F) ? 128 : 64; in t4_sge_init()
Dcxgb4_uld.c685 lld->sge_egrstatuspagesize = adap->sge.stat_len; in uld_init()
Dcxgb4.h827 u32 stat_len; /* length of status page at ring end */ member
Dt4_hw.c7288 unsigned int stat_len = cache_line_size > 64 ? 128 : 64; in t4_fixup_host_params() local
7308 EGRSTATUSPAGESIZE_V(stat_len != 64)); in t4_fixup_host_params()
7384 EGRSTATUSPAGESIZE_V(stat_len != 64)); in t4_fixup_host_params()
/Linux-v5.4/drivers/scsi/csiostor/
Dcsio_wr.c1315 uint32_t stat_len = clsz > 64 ? 128 : 64; in csio_wr_fixup_host_params() local
1395 EGRSTATUSPAGESIZE_V(stat_len != 64)); in csio_wr_fixup_host_params()