Home
last modified time | relevance | path

Searched refs:max_bufsize (Results 1 – 9 of 9) sorted by relevance

/Linux-v5.4/drivers/media/pci/ttpci/
Dbudget-core.c410 int max_bufsize; in ttpci_budget_init() local
423 max_bufsize = TS_MAX_BUFSIZE_K_ACTIVY; in ttpci_budget_init()
435 max_bufsize = TS_MAX_BUFSIZE_K_DVBC; in ttpci_budget_init()
441 max_bufsize = TS_MAX_BUFSIZE_K; in ttpci_budget_init()
447 else if (dma_buffer_size > max_bufsize) in ttpci_budget_init()
448 dma_buffer_size = max_bufsize; in ttpci_budget_init()
/Linux-v5.4/drivers/s390/net/
Dctcm_sysfs.c61 priv->channel[CTCM_READ]->max_bufsize = bs1; in ctcm_buffer_write()
62 priv->channel[CTCM_WRITE]->max_bufsize = bs1; in ctcm_buffer_write()
Dctcm_main.c385 ch->trans_skb = __dev_alloc_skb(ch->max_bufsize, GFP_ATOMIC | GFP_DMA); in ctcm_ch_alloc_buffer()
395 ch->ccw[1].count = ch->max_bufsize; in ctcm_ch_alloc_buffer()
483 if (ch->collect_len + l > ch->max_bufsize - 2) { in ctcm_transmit_skb()
1032 int max_bufsize; in ctcm_change_mtu() local
1035 max_bufsize = priv->channel[CTCM_READ]->max_bufsize; in ctcm_change_mtu()
1038 if (new_mtu > max_bufsize - TH_HEADER_LENGTH) in ctcm_change_mtu()
1042 if (new_mtu > max_bufsize - LL_HEADER_LENGTH - 2) in ctcm_change_mtu()
1373 ch->max_bufsize = (MPC_BUFSIZE_DEFAULT - 35); in add_channel()
1599 priv->channel[direction]->max_bufsize = priv->buffer_size; in ctcm_new_device()
Dctcm_fsms.c360 int len = ch->max_bufsize - ch->irb->scsw.cmd.count; in chx_rx()
375 if (len > ch->max_bufsize) { in chx_rx()
378 CTCM_FUNTAIL, dev->name, len, ch->max_bufsize); in chx_rx()
418 ch->ccw[1].count = ch->max_bufsize; in chx_rx()
525 ch->ccw[1].count = ch->max_bufsize; in chx_rxidle()
1337 ch->ccw[1].count = ch->max_bufsize; in ctcmpc_chx_txdone()
1388 int len = ch->max_bufsize - ch->irb->scsw.cmd.count; in ctcmpc_chx_rx()
1392 ch->id, ch->max_bufsize, len); in ctcmpc_chx_rx()
1412 new_skb = __dev_alloc_skb(ch->max_bufsize, GFP_ATOMIC); in ctcmpc_chx_rx()
1450 ch->ccw[1].count = ch->max_bufsize; in ctcmpc_chx_rx()
[all …]
Dctcm_main.h153 int max_bufsize; member
Dctcm_mpc.c1120 if ((pskb->len <= 0) || (pskb->len > ch->max_bufsize)) { in ctcmpc_unpack_skb()
/Linux-v5.4/drivers/staging/comedi/
Ddrivers.c671 async->max_bufsize = comedi_default_buf_maxsize_kb * 1024; in __comedi_device_postconfig_async()
673 if (buf_size > async->max_bufsize) in __comedi_device_postconfig_async()
674 buf_size = async->max_bufsize; in __comedi_device_postconfig_async()
Dcomedi_fops.c344 if (new_size > async->max_bufsize) in resize_async_buffer()
393 size = s->async->max_bufsize / 1024; in max_read_buffer_kb_show()
424 s->async->max_bufsize = size; in max_read_buffer_kb_store()
506 size = s->async->max_bufsize / 1024; in max_write_buffer_kb_show()
537 s->async->max_bufsize = size; in max_write_buffer_kb_store()
895 async->max_bufsize = bc.maximum_size; in do_bufconfig_ioctl()
905 bc.maximum_size = async->max_bufsize; in do_bufconfig_ioctl()
Dcomedidev.h351 unsigned int max_bufsize; member