/kernel/linux/linux-5.10/sound/pci/pcxhr/ |
H A D | pcxhr_core.c | 541 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() 562 /* need to update rmh->stat_len on the fly ?? */ 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() 588 dev_dbg(&mgr->pci->dev, "PCXHR : rmh->stat_len=%x too big\n", in pcxhr_read_rmh_status() 589 rmh->stat_len); in pcxhr_read_rmh_status() [all...] |
H A D | pcxhr_core.h | 36 u16 stat_len; /* length of the status received (WORDs) */ member 44 CMD_VERSION, /* cmd_len = 2 stat_len = 1 */ 45 CMD_SUPPORTED, /* cmd_len = 1 stat_len = 4 */ 46 CMD_TEST_IT, /* cmd_len = 1 stat_len = 1 */ 47 CMD_SEND_IRQA, /* cmd_len = 1 stat_len = 0 */ 48 CMD_ACCESS_IO_WRITE, /* cmd_len >= 1 stat_len >= 1 */ 49 CMD_ACCESS_IO_READ, /* cmd_len >= 1 stat_len >= 1 */ 50 CMD_ASYNC, /* cmd_len = 1 stat_len = 1 */ 51 CMD_MODIFY_CLOCK, /* cmd_len = 3 stat_len = 0 */ 52 CMD_RESYNC_AUDIO_INPUTS, /* cmd_len = 1 stat_len [all...] |
H A D | pcxhr.c | 1273 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()
|
/kernel/linux/linux-6.6/sound/pci/pcxhr/ |
H A D | pcxhr_core.c | 541 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() 562 /* need to update rmh->stat_len on the fly ?? */ 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() 588 dev_dbg(&mgr->pci->dev, "PCXHR : rmh->stat_len=%x too big\n", in pcxhr_read_rmh_status() 589 rmh->stat_len); in pcxhr_read_rmh_status() [all...] |
H A D | pcxhr_core.h | 36 u16 stat_len; /* length of the status received (WORDs) */ member 44 CMD_VERSION, /* cmd_len = 2 stat_len = 1 */ 45 CMD_SUPPORTED, /* cmd_len = 1 stat_len = 4 */ 46 CMD_TEST_IT, /* cmd_len = 1 stat_len = 1 */ 47 CMD_SEND_IRQA, /* cmd_len = 1 stat_len = 0 */ 48 CMD_ACCESS_IO_WRITE, /* cmd_len >= 1 stat_len >= 1 */ 49 CMD_ACCESS_IO_READ, /* cmd_len >= 1 stat_len >= 1 */ 50 CMD_ASYNC, /* cmd_len = 1 stat_len = 1 */ 51 CMD_MODIFY_CLOCK, /* cmd_len = 3 stat_len = 0 */ 52 CMD_RESYNC_AUDIO_INPUTS, /* cmd_len = 1 stat_len [all...] |
H A D | pcxhr.c | 1273 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()
|
/kernel/linux/linux-5.10/sound/pci/lx6464es/ |
H A D | lx_core.c | 214 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() 496 for (i = 0; i < MAX_STREAM_BUFFER && i < chip->rmh.stat_len; in lx_buffer_ask() 579 chip->rmh.stat_len = 2; /* need all words here! */ in lx_pipe_sample_count()
|
H A D | lx_core.h | 88 u16 stat_len; /* length of the status received (WORDs) */ member
|
/kernel/linux/linux-6.6/sound/pci/lx6464es/ |
H A D | lx_core.c | 214 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() 496 for (i = 0; i < MAX_STREAM_BUFFER && i < chip->rmh.stat_len; in lx_buffer_ask() 579 chip->rmh.stat_len = 2; /* need all words here! */ in lx_pipe_sample_count()
|
H A D | lx_core.h | 88 u16 stat_len; /* length of the status received (WORDs) */ member
|
/kernel/linux/linux-5.10/drivers/net/wan/ |
H A D | hdlc_fr.c | 485 int stat_len = (lmi == LMI_CISCO) ? 6 : 3; in fr_lmi_send() local 490 len += state(hdlc)->dce_pvc_count * (2 + stat_len); in fr_lmi_send() 528 data[i++] = stat_len; in fr_lmi_send() 558 i += stat_len; in fr_lmi_send() 666 int stat_len = (lmi == LMI_CISCO) ? 6 : 3, reptype, error, no_ram, i; in fr_lmi_recv() local 798 while (skb->len >= i + 2 + stat_len) { in fr_lmi_recv() 810 if (skb->data[++i] != stat_len) { in fr_lmi_recv() 852 i += stat_len; in fr_lmi_recv()
|
/kernel/linux/linux-6.6/drivers/net/wan/ |
H A D | hdlc_fr.c | 464 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()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/chelsio/cxgb4vf/ |
H A D | sge.c | 2288 &fl->addr, &fl->sdesc, s->stat_len); in t4vf_sge_alloc_rxq() 2300 s->stat_len / EQ_UNIT); in t4vf_sge_alloc_rxq() 2427 nentries = txq->q.size + s->stat_len / sizeof(struct tx_desc); in t4vf_sge_alloc_eth_txq() 2436 &txq->q.phys_addr, &txq->q.sdesc, s->stat_len); in t4vf_sge_alloc_eth_txq() 2519 tq->size * sizeof(*tq->desc) + s->stat_len, in free_txq() 2549 fl->size * sizeof(*fl->desc) + s->stat_len, in free_rspq_fl() 2668 s->stat_len = ((sge_params->sge_control & EGRSTATUSPAGESIZE_F) in t4vf_sge_init()
|
H A D | adapter.h | 315 u32 stat_len; /* length of status page at ring end */ member
|
/kernel/linux/linux-6.6/drivers/net/ethernet/chelsio/cxgb4vf/ |
H A D | sge.c | 2285 &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()
|
H A D | adapter.h | 316 u32 stat_len; /* length of status page at ring end */ member
|
/kernel/linux/linux-6.6/drivers/gpu/drm/vmwgfx/ |
H A D | vmwgfx_msg.c | 993 const size_t num_pages_stat = PFN_UP(arg->stat_len); in vmw_mksstat_add_ioctl() 1013 if (!arg->stat_len || !arg->info_len || !arg->strs_len) in vmw_mksstat_add_ioctl() 1058 pdesc->statLength = arg->stat_len; in vmw_mksstat_add_ioctl()
|
/kernel/linux/linux-5.10/drivers/crypto/bcm/ |
H A D | cipher.c | 205 u32 stat_len; in spu_skcipher_tx_sg_create() local 235 stat_len = spu->spu_tx_status_len(); in spu_skcipher_tx_sg_create() 236 if (stat_len) { in spu_skcipher_tx_sg_create() 237 memset(rctx->msg_buf.tx_stat, 0, stat_len); in spu_skcipher_tx_sg_create() 238 sg_set_buf(sg, rctx->msg_buf.tx_stat, stat_len); in spu_skcipher_tx_sg_create() 589 u32 stat_len; in spu_ahash_tx_sg_create() local 619 stat_len = spu->spu_tx_status_len(); in spu_ahash_tx_sg_create() 620 if (stat_len) { in spu_ahash_tx_sg_create() 621 memset(rctx->msg_buf.tx_stat, 0, stat_len); in spu_ahash_tx_sg_create() 622 sg_set_buf(sg, rctx->msg_buf.tx_stat, stat_len); in spu_ahash_tx_sg_create() 1182 u32 stat_len; spu_aead_tx_sg_create() local [all...] |
/kernel/linux/linux-6.6/drivers/crypto/bcm/ |
H A D | cipher.c | 205 u32 stat_len; in spu_skcipher_tx_sg_create() local 235 stat_len = spu->spu_tx_status_len(); in spu_skcipher_tx_sg_create() 236 if (stat_len) { in spu_skcipher_tx_sg_create() 237 memset(rctx->msg_buf.tx_stat, 0, stat_len); in spu_skcipher_tx_sg_create() 238 sg_set_buf(sg, rctx->msg_buf.tx_stat, stat_len); in spu_skcipher_tx_sg_create() 587 u32 stat_len; in spu_ahash_tx_sg_create() local 617 stat_len = spu->spu_tx_status_len(); in spu_ahash_tx_sg_create() 618 if (stat_len) { in spu_ahash_tx_sg_create() 619 memset(rctx->msg_buf.tx_stat, 0, stat_len); in spu_ahash_tx_sg_create() 620 sg_set_buf(sg, rctx->msg_buf.tx_stat, stat_len); in spu_ahash_tx_sg_create() 1179 u32 stat_len; spu_aead_tx_sg_create() local [all...] |
/kernel/linux/linux-6.6/include/uapi/drm/ |
H A D | vmwgfx_drm.h | 1256 * @stat_len: Length in bytes of stat-counters array. 1269 __u64 stat_len; member
|
/kernel/linux/linux-5.10/drivers/net/ethernet/chelsio/cxgb4/ |
H A D | sge.c | 4407 &fl->sdesc, s->stat_len, in t4_sge_alloc_rxq() 4412 flsz = fl->size / 8 + s->stat_len / sizeof(struct tx_desc); in t4_sge_alloc_rxq() 4576 nentries = txq->q.size + s->stat_len / sizeof(struct tx_desc); in t4_sge_alloc_eth_txq() 4580 &txq->q.phys_addr, &txq->q.sdesc, s->stat_len, in t4_sge_alloc_eth_txq() 4664 nentries = txq->q.size + s->stat_len / sizeof(struct tx_desc); in t4_sge_alloc_ctrl_txq() 4734 nentries = q->size + s->stat_len / sizeof(struct tx_desc); in t4_sge_alloc_ofld_txq() 4737 &q->sdesc, s->stat_len, NUMA_NO_NODE); in t4_sge_alloc_ofld_txq() 4827 q->size * sizeof(struct tx_desc) + s->stat_len, in free_txq() 4852 dma_free_coherent(adap->pdev_dev, fl->size * 8 + s->stat_len, in free_rspq_fl() 5156 s->stat_len in t4_sge_init() [all...] |
H A D | cxgb4_uld.c | 631 lld->sge_egrstatuspagesize = adap->sge.stat_len; in uld_init()
|
/kernel/linux/linux-6.6/drivers/net/ethernet/chelsio/cxgb4/ |
H A D | sge.c | 4432 &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 in t4_sge_init() [all...] |
/kernel/linux/linux-5.10/drivers/scsi/csiostor/ |
H A D | csio_wr.c | 1315 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()
|
/kernel/linux/linux-6.6/drivers/scsi/csiostor/ |
H A D | csio_wr.c | 1315 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()
|