Home
last modified time | relevance | path

Searched refs:maxframe (Results 1 – 8 of 8) sorted by relevance

/Linux-v5.10/drivers/tty/
Dn_hdlc.c158 static int maxframe = 4096; variable
373 if (count > maxframe) { in n_hdlc_tty_receive()
386 buf = kmalloc(struct_size(buf, buf, maxframe), in n_hdlc_tty_receive()
503 if (count > maxframe) { in n_hdlc_tty_write()
505 __func__, count, maxframe); in n_hdlc_tty_write()
506 count = maxframe; in n_hdlc_tty_write()
662 buf = kmalloc(struct_size(buf, buf, maxframe), GFP_KERNEL); in n_hdlc_alloc_buf()
786 maxframe = clamp(maxframe, 4096, MAX_HDLC_FRAME_SIZE); in n_hdlc_init()
791 maxframe); in n_hdlc_init()
817 module_param(maxframe, int, 0);
Dsynclink_gt.c125 static int maxframe[MAX_DEVICES]; variable
129 module_param_array(maxframe, int, NULL, 0);
133 MODULE_PARM_DESC(maxframe, "Maximum frame size used by device (4096 to 65535)");
3498 if (maxframe[info->line]) in add_device()
3499 info->max_frame_size = maxframe[info->line]; in add_device()
Dsynclinkmp.c469 static int maxframe[MAX_DEVICES] = {0,}; variable
474 module_param_array(maxframe, int, NULL, 0);
3673 if (maxframe[info->line]) in add_device()
3674 info->max_frame_size = maxframe[info->line]; in add_device()
Dsynclink.c864 static int maxframe[MAX_TOTAL_DEVICES]; variable
874 module_param_array(maxframe, int, NULL, 0);
4088 if (maxframe[info->line]) in mgsl_add_device()
4089 info->max_frame_size = maxframe[info->line]; in mgsl_add_device()
/Linux-v5.10/net/caif/
Dcaif_socket.c53 int headroom, tailroom, maxframe; member
560 if (len > cf_sk->maxframe && cf_sk->sk.sk_protocol != CAIFPROTO_RFM) in caif_seqpkt_sendmsg()
620 if (size > cf_sk->maxframe) in caif_stream_sendmsg()
621 size = cf_sk->maxframe; in caif_stream_sendmsg()
853 cf_sk->maxframe = mtu - (headroom + tailroom); in caif_connect()
854 if (cf_sk->maxframe < 1) { in caif_connect()
/Linux-v5.10/drivers/net/wan/
Dsbni.c81 unsigned int maxframe; /* maximum valid frame length */ member
400 nl->maxframe = DEFAULT_FRAME_LEN; in sbni_probe1()
796 nl->maxframe, in interpret_ack()
868 nl->tx_frameno = DIV_ROUND_UP(len, nl->maxframe); in prepare_to_send()
869 nl->framelen = len < nl->maxframe ? len : nl->maxframe; in prepare_to_send()
/Linux-v5.10/drivers/char/pcmcia/
Dsynclink_cs.c449 static int maxframe[MAX_DEVICE_COUNT] = {0,}; variable
454 module_param_array(maxframe, int, NULL, 0);
2690 if (maxframe[info->line]) in mgslpc_add_device()
2691 info->max_frame_size = maxframe[info->line]; in mgslpc_add_device()
/Linux-v5.10/Documentation/scsi/
DChangeLog.lpfc348 * rport fixes: for fport, get maxframe and class support