Home
last modified time | relevance | path

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

/linux-6.1.9/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.c1273 rmh.stat_len = PCXHR_SIZE_MAX_STATUS; in pcxhr_proc_info()
1278 if (rmh.stat_len > 8) in pcxhr_proc_info()
1279 rmh.stat_len = 8; in pcxhr_proc_info()
1280 for (i = 0; i < rmh.stat_len; i++) in pcxhr_proc_info()
/linux-6.1.9/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-6.1.9/drivers/net/wan/
Dhdlc_fr.c464 int stat_len = (lmi == LMI_CISCO) ? 6 : 3; in fr_lmi_send() local
469 len += state(hdlc)->dce_pvc_count * (2 + stat_len); in fr_lmi_send()
506 data[i++] = stat_len; in fr_lmi_send()
536 i += stat_len; in fr_lmi_send()
640 int stat_len = (lmi == LMI_CISCO) ? 6 : 3, reptype, error, no_ram, i; in fr_lmi_recv() local
773 while (skb->len >= i + 2 + stat_len) { in fr_lmi_recv()
785 if (skb->data[++i] != stat_len) { in fr_lmi_recv()
827 i += stat_len; in fr_lmi_recv()
/linux-6.1.9/drivers/crypto/bcm/
Dcipher.c206 u32 stat_len; in spu_skcipher_tx_sg_create() local
236 stat_len = spu->spu_tx_status_len(); in spu_skcipher_tx_sg_create()
237 if (stat_len) { in spu_skcipher_tx_sg_create()
238 memset(rctx->msg_buf.tx_stat, 0, stat_len); in spu_skcipher_tx_sg_create()
239 sg_set_buf(sg, rctx->msg_buf.tx_stat, stat_len); in spu_skcipher_tx_sg_create()
588 u32 stat_len; in spu_ahash_tx_sg_create() local
618 stat_len = spu->spu_tx_status_len(); in spu_ahash_tx_sg_create()
619 if (stat_len) { in spu_ahash_tx_sg_create()
620 memset(rctx->msg_buf.tx_stat, 0, stat_len); in spu_ahash_tx_sg_create()
621 sg_set_buf(sg, rctx->msg_buf.tx_stat, stat_len); in spu_ahash_tx_sg_create()
[all …]
/linux-6.1.9/drivers/net/ethernet/chelsio/cxgb4vf/
Dsge.c2285 &fl->addr, &fl->sdesc, s->stat_len); in t4vf_sge_alloc_rxq()
2297 s->stat_len / EQ_UNIT); in t4vf_sge_alloc_rxq()
2424 nentries = txq->q.size + s->stat_len / sizeof(struct tx_desc); in t4vf_sge_alloc_eth_txq()
2433 &txq->q.phys_addr, &txq->q.sdesc, s->stat_len); in t4vf_sge_alloc_eth_txq()
2516 tq->size * sizeof(*tq->desc) + s->stat_len, in free_txq()
2546 fl->size * sizeof(*fl->desc) + s->stat_len, in free_rspq_fl()
2665 s->stat_len = ((sge_params->sge_control & EGRSTATUSPAGESIZE_F) in t4vf_sge_init()
Dadapter.h316 u32 stat_len; /* length of status page at ring end */ member
/linux-6.1.9/drivers/gpu/drm/vmwgfx/
Dvmwgfx_msg.c1019 const size_t num_pages_stat = PFN_UP(arg->stat_len); in vmw_mksstat_add_ioctl()
1036 if (!arg->stat_len || !arg->info_len || !arg->strs_len) in vmw_mksstat_add_ioctl()
1071 pdesc->statLength = arg->stat_len; in vmw_mksstat_add_ioctl()
/linux-6.1.9/include/uapi/drm/
Dvmwgfx_drm.h1269 __u64 stat_len; member
/linux-6.1.9/drivers/net/ethernet/chelsio/cxgb4/
Dsge.c4432 &fl->sdesc, s->stat_len, in t4_sge_alloc_rxq()
4437 flsz = fl->size / 8 + s->stat_len / sizeof(struct tx_desc); in t4_sge_alloc_rxq()
4601 nentries = txq->q.size + s->stat_len / sizeof(struct tx_desc); in t4_sge_alloc_eth_txq()
4605 &txq->q.phys_addr, &txq->q.sdesc, s->stat_len, in t4_sge_alloc_eth_txq()
4694 nentries = txq->q.size + s->stat_len / sizeof(struct tx_desc); in t4_sge_alloc_ctrl_txq()
4764 nentries = q->size + s->stat_len / sizeof(struct tx_desc); in t4_sge_alloc_ofld_txq()
4767 &q->sdesc, s->stat_len, NUMA_NO_NODE); in t4_sge_alloc_ofld_txq()
4857 q->size * sizeof(struct tx_desc) + s->stat_len, in free_txq()
4882 dma_free_coherent(adap->pdev_dev, fl->size * 8 + s->stat_len, in free_rspq_fl()
5186 s->stat_len = (sge_control & EGRSTATUSPAGESIZE_F) ? 128 : 64; in t4_sge_init()
Dcxgb4_uld.c631 lld->sge_egrstatuspagesize = adap->sge.stat_len; in uld_init()
Dcxgb4.h995 u32 stat_len; /* length of status page at ring end */ member
Dt4_hw.c7275 unsigned int stat_len = cache_line_size > 64 ? 128 : 64; in t4_fixup_host_params() local
7295 EGRSTATUSPAGESIZE_V(stat_len != 64)); in t4_fixup_host_params()
7371 EGRSTATUSPAGESIZE_V(stat_len != 64)); in t4_fixup_host_params()
/linux-6.1.9/drivers/scsi/csiostor/
Dcsio_wr.c1316 uint32_t stat_len = clsz > 64 ? 128 : 64; in csio_wr_fixup_host_params() local
1396 EGRSTATUSPAGESIZE_V(stat_len != 64)); in csio_wr_fixup_host_params()