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

/linux-4.1.27/drivers/media/pci/ttpci/
H A Dbudget-core.c426 int max_bufsize; ttpci_budget_init() local
439 max_bufsize = TS_MAX_BUFSIZE_K_ACTIVY; ttpci_budget_init()
451 max_bufsize = TS_MAX_BUFSIZE_K_DVBC; ttpci_budget_init()
457 max_bufsize = TS_MAX_BUFSIZE_K; ttpci_budget_init()
463 else if (dma_buffer_size > max_bufsize) ttpci_budget_init()
464 dma_buffer_size = max_bufsize; ttpci_budget_init()
/linux-4.1.27/drivers/s390/net/
H A Dctcm_sysfs.c60 priv->channel[CTCM_READ]->max_bufsize = bs1; ctcm_buffer_write()
61 priv->channel[CTCM_WRITE]->max_bufsize = bs1; ctcm_buffer_write()
H A Dctcm_main.c384 ch->trans_skb = __dev_alloc_skb(ch->max_bufsize, GFP_ATOMIC | GFP_DMA); ctcm_ch_alloc_buffer()
394 ch->ccw[1].count = ch->max_bufsize; ctcm_ch_alloc_buffer()
482 if (ch->collect_len + l > ch->max_bufsize - 2) { ctcm_transmit_skb()
1033 int max_bufsize; ctcm_change_mtu() local
1039 max_bufsize = priv->channel[CTCM_READ]->max_bufsize; ctcm_change_mtu()
1042 if (new_mtu > max_bufsize - TH_HEADER_LENGTH) ctcm_change_mtu()
1046 if (new_mtu > max_bufsize - LL_HEADER_LENGTH - 2) ctcm_change_mtu()
1377 ch->max_bufsize = (MPC_BUFSIZE_DEFAULT - 35); add_channel()
1602 priv->channel[direction]->max_bufsize = priv->buffer_size; ctcm_new_device()
H A Dctcm_fsms.c360 int len = ch->max_bufsize - ch->irb->scsw.cmd.count; chx_rx()
375 if (len > ch->max_bufsize) { chx_rx()
378 CTCM_FUNTAIL, dev->name, len, ch->max_bufsize); chx_rx()
418 ch->ccw[1].count = ch->max_bufsize; chx_rx()
527 ch->ccw[1].count = ch->max_bufsize; chx_rxidle()
1342 ch->ccw[1].count = ch->max_bufsize; ctcmpc_chx_txdone()
1394 int len = ch->max_bufsize - ch->irb->scsw.cmd.count; ctcmpc_chx_rx()
1398 ch->id, ch->max_bufsize, len); ctcmpc_chx_rx()
1418 new_skb = __dev_alloc_skb(ch->max_bufsize, GFP_ATOMIC); ctcmpc_chx_rx()
1457 ch->ccw[1].count = ch->max_bufsize; ctcmpc_chx_rx()
1567 ch->ccw[1].count = ch->max_bufsize; ctcmpc_chx_rxidle()
H A Dctcm_main.h152 int max_bufsize; member in struct:channel
H A Dctcm_mpc.c1119 if ((pskb->len <= 0) || (pskb->len > ch->max_bufsize)) { ctcmpc_unpack_skb()
/linux-4.1.27/drivers/staging/comedi/
H A Ddrivers.c543 async->max_bufsize = comedi_default_buf_maxsize_kb * 1024; __comedi_device_postconfig_async()
545 if (buf_size > async->max_bufsize) __comedi_device_postconfig_async()
546 buf_size = async->max_bufsize; __comedi_device_postconfig_async()
H A Dcomedi_fops.c336 if (new_size > async->max_bufsize) resize_async_buffer()
385 size = s->async->max_bufsize / 1024; max_read_buffer_kb_show()
416 s->async->max_bufsize = size; max_read_buffer_kb_store()
498 size = s->async->max_bufsize / 1024; max_write_buffer_kb_show()
529 s->async->max_bufsize = size; max_write_buffer_kb_store()
862 async->max_bufsize = bc.maximum_size; do_bufconfig_ioctl()
872 bc.maximum_size = async->max_bufsize; do_bufconfig_ioctl()
H A Dcomedidev.h113 * @max_bufsize: maximum buffer size (in bytes)
197 unsigned int max_bufsize; member in struct:comedi_async

Completed in 210 milliseconds