Home
last modified time | relevance | path

Searched +full:max +full:- +full:burst +full:- +full:len (Results 1 – 25 of 119) sorted by relevance

12345

/freebsd/sys/contrib/device-tree/Bindings/dma/
H A Dsnps,dma-spear1340.yaml1 # SPDX-License-Identifier: GPL-2.0-only
3 ---
4 $id: http://devicetree.org/schemas/dma/snps,dma-spear1340.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Viresh Kumar <vireshk@kernel.org>
11 - Andy Shevchenko <andriy.shevchenko@linux.intel.com>
14 - $ref: dma-controller.yaml#
19 - const: snps,dma-spear1340
20 - items:
21 - enum:
[all …]
H A Dsnps,dw-axi-dmac.txt4 - compatible: "snps,axi-dma-1.01a"
5 - reg: Address range of the DMAC registers. This should include
6 all of the per-channel registers.
7 - interrupt: Should contain the DMAC interrupt number.
8 - dma-channels: Number of channels supported by hardware.
9 - snps,dma-masters: Number of AXI masters supported by the hardware.
10 - snps,data-width: Maximum AXI data width supported by hardware.
11 (0 - 8bits, 1 - 16bits, 2 - 32bits, ..., 6 - 512bits)
12 - snps,priority: Priority of channel. Array size is equal to the number of
13 dma-channels. Priority value must be programmed within [0:dma-channels-1]
[all …]
H A Dsnps,dw-axi-dmac.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/dma/snps,dw-axi-dmac.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Eugeniy Paltsev <Eugeniy.Paltsev@synopsys.com>
16 - $ref: dma-controller.yaml#
21 - snps,axi-dma-1.01a
22 - intel,kmb-axi-dma
23 - starfive,jh7110-axi-dma
24 - starfive,jh8100-axi-dma
[all …]
/freebsd/sys/contrib/alpine-hal/
H A Dal_hal_udma_config.h9 found at http://www.gnu.org/licenses/gpl-2.0.html
53 /* *INDENT-OFF* */
57 /* *INDENT-ON* */
81 uint8_t burst; member
94 al_bool break_on_max_boundary; /* Data read break on max boundary */
95 uint8_t min_axi_beats; /* Minimum burst for writing completion desc. */
107 al_bool break_on_max_boundary; /* Data read break on max boundary */
108 uint8_t min_axi_beats; /* Minimum burst for writing completion desc. */
123 /** M2S max packet size configuration */
135 uint8_t max_desc_per_packet; /* max number of descriptors to
[all …]
H A Dal_hal_udma_config.c1 /*-
10 found at http://www.gnu.org/licenses/gpl-2.0.html
55 al_reg_write32(&axi_regs->cfg_1, axi->axi_timeout); in al_udma_axi_set()
57 reg = al_reg_read32(&axi_regs->cfg_2); in al_udma_axi_set()
59 reg |= axi->arb_promotion; in al_udma_axi_set()
60 al_reg_write32(&axi_regs->cfg_2, reg); in al_udma_axi_set()
62 reg = al_reg_read32(&axi_regs->endian_cfg); in al_udma_axi_set()
63 if (axi->swap_8_bytes == AL_TRUE) in al_udma_axi_set()
68 if (axi->swap_s2m_data == AL_TRUE) in al_udma_axi_set()
73 if (axi->swap_s2m_desc == AL_TRUE) in al_udma_axi_set()
[all …]
/freebsd/usr.bin/netstat/
H A Dsctp.c1 /*-
2 * SPDX-License-Identifier: BSD-3-Clause
4 * Copyright (c) 2001-2007, by Weongyo Jeong. All rights reserved.
111 switch (address->sa.sa_family) { in sctp_print_address()
115 Wflag ? 39 : 16, inetname(&address->sin.sin_addr)); in sctp_print_address()
121 Wflag ? 39 : 16, inet6name(&address->sin6.sin6_addr)); in sctp_print_address()
134 snprintf(cp, sizeof(line) - alen, in sctp_print_address()
135 "%.15s ", sp ? sp->s_name : "*"); in sctp_print_address()
137 snprintf(cp, sizeof(line) - alen, in sctp_print_address()
140 xo_emit("{d:target/%-*.*s} ", width, width, line); in sctp_print_address()
[all …]
/freebsd/sys/netpfil/ipfw/test/
H A Dmain.c34 int lmin, lmax; /* packet len */
39 int max_y; /* max random number in the generation */
41 int cur_fs; /* used in generation, between 0 and max_y - 1 */
45 int burst; /* count of packets sent in a burst */ member
46 struct mbuf *tosend; /* packet to send -- also flag to enqueue */
56 /* size of the three fields including sched-specific areas */
58 uint32_t q_len; /* size of a queue including sched-fields */
59 uint32_t si_len; /* size of a sch_inst including sched-fields */
64 * for scheduler-specific parameters, total size is schk_len
70 * total size is si_len. si->sched points to sched
[all …]
/freebsd/tools/tools/netmap/
H A Dnmreplay.c49 * --- Main functions of the program ---
59 * q->cur_pkt points to the buffer containing the packet
60 * q->cur_len packet length, excluding CRC
61 * q->cur_caplen available packet length (may be shorter than cur_len)
62 * q->cur_tt transmission time for the packet, computed from the trace.
66 * q->c_loss (set with the -L command line option) decides
69 * The function is supposed to set q->c_drop = 1 if the
72 * q->c_bw (set with the -B command line option) is used to
74 * in q->cur_tt the transmission time (in nanoseconds) of
76 * of the packet, i.e. q->cur_tt = q->cur_len / <bandwidth>
[all …]
/freebsd/sys/netpfil/ipfw/
H A Dip_dn_io.c1 /*-
2 * SPDX-License-Identifier: BSD-2-Clause
109 if (error != 0 || req->newptr == NULL) in sysctl_hash_size()
129 if (error != 0 || req->newptr == NULL) in sysctl_limits()
185 CTLFLAG_RD | CTLFLAG_VNET, DC(red_max_pkt_size), 0, "RED Max packet size");
196 "Adjusted vs non-adjusted curr_time difference (ticks).");
242 if (mtag != NULL && mtag->m_tag_id == DN_AQM_MTAG_TS) { in dn_tag_get()
249 mtag->m_tag_cookie == MTAG_ABI_COMPAT && in dn_tag_get()
250 mtag->m_tag_id == PACKET_TAG_DUMMYNET, in dn_tag_get()
263 if (m->m_flags & M_STACK) { in mq_append()
[all …]
H A Dip_dummynet.c1 /*-
2 * SPDX-License-Identifier: BSD-2-Clause
4 * Codel/FQ_Codel and PIE/FQ-PIE Code:
9 * Implemented by Rasool Al-Saadi <ralsaadi@swin.edu.au>
11 * Copyright (c) 1998-2002,2010 Luigi Rizzo, Universita` di Pisa
88 /*---- callout hooks. ----*/
131 /*----- end of callout hooks -----*/
143 if (d->type == type || (name && !strcasecmp(d->name, name))) in find_aqm_type()
159 if (d->type == type || (name && !strcasecmp(d->name, name))) in find_sched_type()
187 /*---- flow_id mask, hash and compare functions ---*/
[all …]
/freebsd/sys/netinet/
H A Dtcp.h1 /*-
2 * SPDX-License-Identifier: BSD-3-Clause
85 return (((uint16_t)th->th_x2 << 8) | th->th_flags); in __tcp_get_flags()
91 th->th_x2 = (flags >> 8) & 0x0f; in __tcp_set_flags()
92 th->th_flags = flags & 0xff; in __tcp_set_flags()
100 #define PADTCPOLEN(len) ((((len) / 4) + !!((len) % 4)) * 4) argument
125 #define MAX_TCPOPTLEN 40 /* Absolute maximum TCP options len */
128 #define MAX_SACK_BLKS 6 /* Max # SACK blocks stored at receiver side */
129 #define TCP_MAX_SACK 4 /* MAX # SACKs sent in any segment */
140 * For IPv4 the MSS is 576 - sizeof(struct tcpiphdr)
[all …]
/freebsd/sbin/ipfw/
H A Ddummynet.c1 /*-
7 * Implemented by Rasool Al-Saadi <ralsaadi@swin.edu.au>
9 * Copyright (c) 2002-2003,2010 Luigi Rizzo
57 { "dst-ip", TOK_DSTIP },
58 { "src-ip", TOK_SRCIP },
59 { "dst-port", TOK_DSTPORT },
60 { "src-port", TOK_SRCPORT },
75 { "fq_codel", TOK_FQ_CODEL}, /* FQ-Codel */
77 { "fq_pie", TOK_FQ_PIE}, /* FQ-PIE */
90 { "flow-id", TOK_FLOWID},
[all …]
/freebsd/sys/contrib/device-tree/src/arm/ti/davinci/
H A Dda850-evm.dts1 // SPDX-License-Identifier: GPL-2.0-only
5 * Copyright (C) 2012 Texas Instruments Incorporated - https://www.ti.com/
7 /dts-v1/;
9 #include <dt-bindings/gpio/gpio.h>
12 compatible = "ti,da850-evm", "ti,da850";
13 model = "DA850/AM1808/OMAP-L138 EVM";
16 stdout-path = &serial2;
27 backlight: backlight-pwm {
28 pinctrl-names = "default";
29 pinctrl-0 = <&ecap2_pins>;
[all …]
/freebsd/contrib/ntp/ntpd/
H A Dntp_proto.c2 * ntp_proto.c - NTP version 4 protocol machinery
31 # define BDELAY_DEFAULT (-0.050)
38 x.l_ui &= ~((1 << SRVFUZ_SHIFT) - 1U); \
50 AUTH_UNKNOWN = -1, /* Unknown */
81 #define RESP_DELAY 1 /* refclock burst delay (s) */
167 int sys_ceiling = STRATUM_UNSPEC - 1; /* cluster stratum ceiling */
175 u_int sys_ttlmax; /* max ttl mapping vector index */
179 * Statistics counters - first the good, then the bad
196 * The default way is "on-receipt". If this was a packet from a
197 * well-behaved source, on-receipt will offer the fastest recovery.
[all …]
H A Dntp_refclock.c2 * ntp_refclock - processing support for reference clocks
53 * In addition, there may be a driver-specific unit structure used for
57 * which is used for all peer-specific processing and contains a
82 #if MAXSTAGE & (MAXSTAGE - 1)
89 pp->coderecv = (pp->coderecv + 1) % MAXSTAGE; in clk_add_sample()
90 if (pp->coderecv == pp->codeproc) in clk_add_sample()
91 pp->codeproc = (pp->codepro in clk_add_sample()
820 refclock_fdwrite(const struct peer * peer,int fd,const void * buf,size_t len,const char * what) refclock_fdwrite() argument
857 refclock_write(const struct peer * peer,const void * buf,size_t len,const char * what) refclock_write() argument
1805 refclock_save_lcode(struct refclockproc * pp,char const * tc,size_t len) refclock_save_lcode() argument
1826 long len; refclock_vformat_lcode() local
[all...]
/freebsd/sys/contrib/device-tree/src/arm64/intel/
H A Dsocfpga_agilex5.dtsi1 // SPDX-License-Identifier: GPL-2.0-only
6 /dts-v1/;
7 #include <dt-bindings/reset/altr,rst-mgr-s10.h>
8 #include <dt-bindings/gpio/gpio.h>
9 #include <dt-bindings/interrupt-controller/arm-gic.h>
10 #include <dt-bindings/interrupt-controller/irq.h>
11 #include <dt-bindings/clock/intel,agilex5-clkmgr.h>
14 compatible = "intel,socfpga-agilex5";
15 #address-cells = <2>;
16 #size-cells = <2>;
[all …]
/freebsd/sys/dev/cxgbe/cxgbei/
H A Dicl_cxgbei.c1 /*-
106 #define TT_HASH(icc, tt) (G_PPOD_TAG(tt) & (icc)->cmp_hash_mask)
119 &first_burst_length, 0, "First burst length");
122 &max_burst_length, 0, "Maximum burst length");
177 KASSERT(icp->ref_cnt != 0, ("freeing deleted PDU")); in icl_cxgbei_conn_pdu_free()
178 MPASS(icp->icp_signature == CXGBEI_PDU_SIGNATURE); in icl_cxgbei_conn_pdu_free()
179 MPASS(ic == ip->ip_conn); in icl_cxgbei_conn_pdu_free()
181 m_freem(ip->ip_ahs_mbuf); in icl_cxgbei_conn_pdu_free()
182 m_freem(ip->ip_data_mbuf); in icl_cxgbei_conn_pdu_free()
183 m_freem(ip->ip_bhs_mbu in icl_cxgbei_conn_pdu_free()
312 uint32_t len = 0; icl_pdu_data_segment_length() local
577 cxgbei_getm(size_t len,int flags) cxgbei_getm() argument
620 icl_cxgbei_conn_pdu_append_bio(struct icl_conn * ic,struct icl_pdu * ip,struct bio * bp,size_t offset,size_t len,int flags) icl_cxgbei_conn_pdu_append_bio() argument
743 icl_cxgbei_conn_pdu_append_data(struct icl_conn * ic,struct icl_pdu * ip,const void * addr,size_t len,int flags) icl_cxgbei_conn_pdu_append_data() argument
809 icl_cxgbei_conn_pdu_get_bio(struct icl_conn * ic,struct icl_pdu * ip,size_t pdu_off,struct bio * bp,size_t bio_off,size_t len) icl_cxgbei_conn_pdu_get_bio() argument
851 icl_cxgbei_conn_pdu_get_data(struct icl_conn * ic,struct icl_pdu * ip,size_t off,void * addr,size_t len) icl_cxgbei_conn_pdu_get_data() argument
[all...]
/freebsd/sys/contrib/device-tree/src/arm/samsung/
H A Dexynos4210-trats.dts1 // SPDX-License-Identifier: GPL-2.0
12 /dts-v1/;
14 #include <dt-bindings/gpio/gpio.h>
19 chassis-type = "handset";
37 stdout-path = "serial2:115200n8";
40 vemmc_reg: regulator-0 {
41 compatible = "regulator-fixed";
42 regulator-nam
[all...]
/freebsd/sys/dev/ath/
H A Dif_ath_tx_ht.c1 /*-
2 * SPDX-License-Identifier: BSD-2-Clause
109 (ATH_AGGR_MINPLEN - (_len) - ATH_AGGR_DELIM_SZ) : 0) >> 2)
111 #define PADBYTES(_len) ((4 - ((_len) % 4)) % 4)
170 #define NUM_SYMBOLS_PER_USEC_HALFGI(_usec) (((_usec*5)-4)/18)
178 { 104, 216 }, // 3: 16-QAM 1/2
179 { 156, 324 }, // 4: 16-QAM 3/4
180 { 208, 432 }, // 5: 64-QAM 2/3
181 { 234, 486 }, // 6: 64-QAM 3/4
182 { 260, 540 }, // 7: 64-QAM 5/6
[all …]
/freebsd/sys/dev/ath/ath_hal/
H A Dah_btcoex.h1 /*-
2 * SPDX-License-Identifier: ISC
52 HAL_BT_COEX_CFG_2WIRE_2CH, /* 2-wire with 2 chains */
53 HAL_BT_COEX_CFG_2WIRE_CH1, /* 2-wire with ch1 */
54 HAL_BT_COEX_CFG_2WIRE_CH0, /* 2-wire with ch0 */
55 HAL_BT_COEX_CFG_3WIRE, /* 3-wire */
63 HAL_BT_COEX_MCI_MAX_TX_PWR, /* Set max tx power for concurrent tx */
106 /* extend rx_clear after tx/rx to protect the burst (in usec). */
170 MCI_LNA_CTRL = 0x10, /* len = 0 */
171 MCI_CONT_NACK = 0x20, /* len = 0 */
[all …]
/freebsd/sys/contrib/device-tree/src/arc/
H A Dhsdk.dts1 // SPDX-License-Identifier: GPL-2.0-only
9 /dts-v1/;
11 #include <dt-bindings/gpio/gpio.h>
12 #include <dt-bindings/reset/snps,hsdk-reset.h>
18 #address-cells = <2>;
19 #size-cells = <2>;
22 … "earlycon=uart8250,mmio32,0xf0005000,115200n8 console=ttyS0,115200n8 debug print-fatal-signals=1";
30 #address-cells = <1>;
31 #size-cells = <0>;
62 input_clk: input-clk {
[all …]
/freebsd/contrib/ntp/include/
H A Dntp.h2 * ntp.h - NTP definitions for the masses
21 * Calendar arithmetic - contributed by G. Healton
35 / 4 - ((year - 1) / 100) + ((year - 1) / \
41 #define ntp0(year) (julian0(year) - julian0(1900))
46 #define unix0(year) (julian0(year) - julian0(1970))
49 * LEAP YEAR test for full 4-digit years (e.g, 1999, 2010)
61 * to convert simple two-digit years to tm_year style years:
66 * to convert either two-digi
347 int burst; /* packets remaining in burst */ global() member
703 #define max( global() macro
[all...]
/freebsd/sys/contrib/device-tree/src/arm/ti/omap/
H A Dam335x-pdu001.dts6 * Copyright (C) 2018 EETS GmbH - https://www.eets.ch/
8 * Copyright (C) 2011, Texas Instruments, Incorporated - https://www.ti.com/
10 * SPDX-License-Identifier: GPL-2.0+
13 /dts-v1/;
16 #include <dt-bindings/interrupt-controller/irq.h>
17 #include <dt-bindings/leds/leds-pca9532.h>
24 stdout-path = &uart3;
29 cpu0-supply = <&vdd1_reg>;
39 compatible = "regulator-fixed";
40 regulator-name = "vbat";
[all …]
H A Dam335x-pepper.dts1 // SPDX-License-Identifier: GPL-2.0-only
3 * Copyright (C) 2014 Gumstix, Inc. - https://www.gumstix.com/
5 /dts-v1/;
7 #include <dt-bindings/input/input.h>
12 compatible = "gumstix,am335x-pepper", "ti,am33xx";
16 cpu0-supply = <&dcdc3_reg>;
26 compatible = "gpio-keys";
29 leds: user-leds-pins {
30 compatible = "gpio-leds";
38 compatible = "ti,da830-evm-audio";
[all …]
H A Dam335x-sl50.dts1 // SPDX-License-Identifier: GPL-2.0-only
3 * Copyright (C) 2015 Toby Churchill - https://www.toby-churchill.com/
6 /dts-v1/;
9 #include <dt-bindings/pwm/pwm.h>
10 #include <dt-bindings/interrupt-controller/irq.h>
14 compatible = "tcl,am335x-sl50", "ti,am33xx";
18 cpu0-supply = <&dcdc2_reg>;
28 stdout-path = &uart0;
32 compatible = "gpio-leds";
33 pinctrl-names = "default";
[all …]

12345