Searched refs:max_rec (Results 1 – 5 of 5) sorted by relevance
14 u8 max_rec; /* max packet size */ member
469 static unsigned fwnet_max_payload(unsigned max_rec, unsigned speed) in fwnet_max_payload() argument471 max_rec = min(max_rec, speed + 8); in fwnet_max_payload()472 max_rec = clamp(max_rec, 8U, 11U); /* 512...4096 */ in fwnet_max_payload()474 return (1 << (max_rec + 1)) - RFC2374_FRAG_HDR_SIZE; in fwnet_max_payload()1414 peer->max_payload = fwnet_max_payload(device->max_rec, peer->speed); in fwnet_add_peer()1486 ha.uc.max_rec = dev->card->max_receive; in fwnet_probe()
660 device->max_rec = rom[2] >> 12 & 0xf; in read_config_rom()940 if (!device->irmc || device->max_rec < 8) in set_broadcast_channel()
201 unsigned max_rec:4; member
1833 size_t max_rec; in tls_read_flush_backlog() local1838 max_rec = prot->overhead_size - prot->tail_size + TLS_MAX_PAYLOAD_SIZE; in tls_read_flush_backlog()1839 if (done - *flushed_at < SZ_128K && tcp_inq(sk) > max_rec) in tls_read_flush_backlog()