Home
last modified time | relevance | path

Searched +full:memcpy +full:- +full:burst +full:- +full:size (Results 1 – 25 of 56) sorted by relevance

123

/freebsd/sys/contrib/device-tree/Bindings/dma/
H A Darm-pl08x.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/dma/arm-pl08x.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Vinod Koul <vkoul@kernel.org>
13 - $ref: /schemas/arm/primecell.yaml#
14 - $ref: dma-controller.yaml#
22 - arm,pl080
23 - arm,pl081
25 - compatible
[all …]
H A Darm-pl08x.txt4 - compatible: "arm,pl080", "arm,primecell";
7 - arm,primecell-periphid: on the FTDMAC020 the primecell ID is not hard-coded
11 - reg: Address range of the PL08x registers
12 - interrupt: The PL08x interrupt number
13 - clocks: The clock running the IP core clock
14 - clock-names: Must contain "apb_pclk"
15 - lli-bus-interface-ahb1: if AHB master 1 is eligible for fetching LLIs
16 - lli-bus-interface-ahb2: if AHB master 2 is eligible for fetching LLIs
17 - mem-bus-interface-ahb1: if AHB master 1 is eligible for fetching memory contents
18 - mem-bus-interface-ahb2: if AHB master 2 is eligible for fetching memory contents
[all …]
H A Dlpc1850-dmamux.txt4 - compatible: "nxp,lpc1850-dmamux"
5 - reg: Memory map for accessing module
6 - #dma-cells: Should be set to <3>.
8 * 2nd cell contain the mux value (0-3) for the peripheral
11 - dma-requests: Number of DMA requests for the mux
12 - dma-masters: phandle pointing to the DMA controller
15 - dma-requests: Number of DMA requests the controller can handle
20 compatible = "nxp,lpc1850-gpdma", "arm,pl080", "arm,primecell";
21 arm,primecell-periphid = <0x00041080>;
25 clock-names = "apb_pclk";
[all …]
/freebsd/tools/tools/netmap/
H A Dpkt-gen.c2 * Copyright (C) 2011-2014 Matteo Landi, Luigi Rizzo. All rights reserved.
3 * Copyright (C) 2013-2015 Universita` di Pisa. All rights reserved.
28 * $Id: pkt-gen.c 12346 2013-06-12 17:36:25Z luigi $
133 n->octet[0], n->octet[1], n->octet[2], in ether_ntoa()
134 n->octet[3], n->octet[4], n->octet[5]); in ether_ntoa()
184 static const char *default_payload = "netmap pkt-gen DIRECT payload\n"
187 static const char *indirect_payload = "netmap pkt-gen indirect payload\n"
193 #define VIRT_HDR_1 10 /* length of a base vnet-hdr */
194 #define VIRT_HDR_2 12 /* length of the extenede vnet-hdr */
220 ((af) == AF_INET ? (p)->ipv4.f: (p)->ipv6.f)
[all …]
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/contrib/ntp/ntpd/
H A Drefclock_chu.c2 * refclock_chu - clock driver for Canadian CHU time/frequency station
44 * kHz and mu-law companding. This is the same standard as used by the
57 * maximum-likelihood technique which exploits the considerable degree
62 * consists of nine, ten-character bursts transmitted at 300 bps between
65 * digits. The burst data consist of five characters (ten hex digits)
79 * burst synchronization. These digits are then repeated with the same
87 * the DUT1 (d in deciseconds), Gregorian year (yyyy), difference TAI -
98 * By design, the last stop bit of the last character in the burst
101 * coincides with 0.5 - 9 * 11/300 = 0.170 second. Depending on the
110 * connections. With debugging enabled (-d on the ntpd command line),
[all …]
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 */
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.
199 * for a bad-guy to DoS us. So look and see what bites you harder
[all …]
/freebsd/sys/netpfil/ipfw/
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 …]
H A Ddn_sched_fq_pie.c2 * FQ_PIE - The FlowQueue-PIE scheduler/AQM
8 * Implemented by Rasool Al-Saadi <ralsaadi@swin.edu.au>
33 * As there is no an office document for FQ-PIE specification, we used
34 * FQ-CoDel algorithm with some modifications to implement FQ-PIE.
35 * This FQ-PIE implementation is a beta version and have not been tested
36 * extensively. Our FQ-PIE uses stand-alone PIE AQM per sub-queue. By
91 uint32_t limit; /* hard limit of FQ_PIE queue size*/
95 /* flow (sub-queue) stats */
104 /* A flow of packets (sub-queue)*/
122 * sub-queues and the flows array pointer even after the scheduler instance
[all …]
/freebsd/sys/dev/mlx5/mlx5_en/
H A Dmlx5_en_rl.c1 /*-
2 * Copyright (c) 2016-2020 Mellanox Technologies. All rights reserved.
57 void *sqc = param->sqc; in mlx5e_rl_build_sq_param()
59 uint8_t log_sq_size = order_base_2(rl->param.tx_queue_size); in mlx5e_rl_build_sq_param()
63 MLX5_SET(wq, wq, pd, rl->priv->pdn); in mlx5e_rl_build_sq_param()
65 param->wq.linear = 1; in mlx5e_rl_build_sq_param()
72 void *cqc = param->cqc; in mlx5e_rl_build_cq_param()
73 uint8_t log_sq_size = order_base_2(rl->param.tx_queue_size); in mlx5e_rl_build_cq_param()
76 MLX5_SET(cqc, cqc, cq_period, rl->param.tx_coalesce_usecs); in mlx5e_rl_build_cq_param()
77 MLX5_SET(cqc, cqc, cq_max_count, rl->param.tx_coalesce_pkts); in mlx5e_rl_build_cq_param()
[all …]
/freebsd/sys/netinet/tcp_stacks/
H A Drack_pcm.c1 /*-
2 * Copyright (c) 2024- Netflix, Inc.
142 if (rack->pcm_in_progress == 0) in rack_update_pcm_ack()
145 if (SEQ_LEQ(end, rack->r_ctl.pcm_i.sseq)) { in rack_update_pcm_ack()
153 segsiz = ctf_fixed_maxseg(rack->rc_tp); in rack_update_pcm_ack()
154 if (SEQ_GEQ(end, (rack->r_ctl.pcm_i.eseq - segsiz))) { in rack_update_pcm_ack()
159 * from a different send than our burst. in rack_update_pcm_ack()
162 rack->pcm_in_progress = 0; in rack_update_pcm_ack()
163 rack->r_ct in rack_update_pcm_ack()
[all...]
/freebsd/sys/contrib/device-tree/src/arm/st/
H A Dste-nomadik-stn8815.dtsi1 // SPDX-License-Identifier: GPL-2.0
3 * Device Tree for the ST-Ericsson Nomadik 8815 STn8815 SoC
6 #include <dt-bindings/gpio/gpio.h>
9 #address-cells = <1>;
10 #size-cells = <1>;
18 L2: cache-controller {
19 compatible = "arm,l210-cach
[all...]
/freebsd/sys/contrib/device-tree/src/riscv/starfive/
H A Djh7110.dtsi1 // SPDX-License-Identifier: GPL-2.0 OR MIT
7 /dts-v1/;
8 #include <dt-bindings/clock/starfive,jh7110-crg.h>
9 #include <dt-bindings/power/starfive,jh7110-pmu.h>
10 #include <dt-bindings/reset/starfive,jh7110-crg.h>
11 #include <dt-bindings/thermal/thermal.h>
15 #address-cells = <2>;
16 #size-cells = <2>;
19 #address-cells = <1>;
20 #size-cells = <0>;
[all …]
/freebsd/sys/contrib/device-tree/src/arm/gemini/
H A Dgemini.dtsi1 // SPDX-License-Identifier: GPL-2.0
6 #include <dt-bindings/interrupt-controller/irq.h>
7 #include <dt-bindings/clock/cortina,gemini-clock.h>
8 #include <dt-bindings/reset/cortina,gemini-reset.h>
9 #include <dt-bindings/gpio/gpio.h>
13 #address-cells = <1>;
14 #size-cells = <1>;
16 compatible = "simple-bus";
17 interrupt-parent = <&intcon>;
20 compatible = "cortina,gemini-flash", "cfi-flash";
[all …]
/freebsd/sys/contrib/device-tree/src/arm/nxp/lpc/
H A Dlpc18xx.dtsi9 * Released under the terms of 3-clause BSD License
14 #include "../../armv7-m.dtsi"
16 #include "dt-bindings/clock/lpc18xx-cgu.h"
17 #include "dt-bindings/clock/lpc18xx-ccu.h"
23 #address-cells = <1>;
24 #size-cells = <1>;
27 #address-cell
[all...]
/freebsd/sys/dev/sec/
H A Dsec.c1 /*-
2 * SPDX-License-Identifier: BSD-2-Clause
4 * Copyright (C) 2008-2009 Semihalf, Piotr Ziecik
73 struct sec_dma_mem *dma_mem, bus_size_t size);
75 struct sec_dma_mem *dma_mem, struct cryptop *crp, bus_size_t size,
158 if (dma_mem->dma_vaddr != NULL) in sec_sync_dma_mem()
159 bus_dmamap_sync(dma_mem->dma_tag, dma_mem->dma_map, op); in sec_sync_dma_mem()
166 return (desc->sd_ptr_dmem[n].dma_vaddr); in sec_get_pointer_data()
183 sc->sc_rrid = 0; in sec_probe()
184 sc->sc_rres = bus_alloc_resource_any(dev, SYS_RES_MEMORY, &sc->sc_rrid, in sec_probe()
[all …]
/freebsd/sys/dev/cesa/
H A Dcesa.c1 /*-
2 * SPDX-License-Identifier: BSD-2-Clause
4 * Copyright (C) 2009-2011 Semihalf.
32 * +------------------------+ <= sc->sc_sram_base_va + CESA_SRAM_SIZE
36 * +------------------------+ <= sc->sc_sram_base_va + CESA_DATA(0)
38 * +------------------------+
40 * +------------------------+ <= sc->sc_sram_base_va
90 { -1, 0 }
122 dev = sc->sc_dev; in cesa_dump_cshd()
124 device_printf(dev, "\t\tconfig: 0x%08X\n", cshd->cshd_config); in cesa_dump_cshd()
[all …]
/freebsd/sys/contrib/ncsw/Peripherals/FM/Pcd/
H A Dfm_plcr.c2 * Copyright 2008-2012 Freescale Semiconductor Inc.
61 return FmPcdLockSpinlock(((t_FmPcdPlcrProfile *)h_Profile)->p_Lock); in PlcrProfileLock()
67 FmPcdUnlockSpinlock(((t_FmPcdPlcrProfile *)h_Profile)->p_Lock, intFlags); in PlcrProfileUnlock()
73 return FmPcdLockTryLock(((t_FmPcdPlcrProfile *)h_Profile)->p_Lock); in PlcrProfileFlagTryLock()
79 FmPcdLockUnlock(((t_FmPcdPlcrProfile *)h_Profile)->p_Lock); in PlcrProfileFlagUnlock()
85 return XX_LockIntrSpinlock(((t_FmPcdPlcr*)h_FmPcdPlcr)->h_HwSpinlock); in PlcrHwLock()
91 XX_UnlockIntrSpinlock(((t_FmPcdPlcr*)h_FmPcdPlcr)->h_HwSpinlock, intFlags); in PlcrHwUnlock()
97 return XX_LockIntrSpinlock(((t_FmPcdPlcr*)h_FmPcdPlcr)->h_SwSpinlock); in PlcrSwLock()
103 XX_UnlockIntrSpinlock(((t_FmPcdPlcr*)h_FmPcdPlcr)->h_SwSpinlock, intFlags); in PlcrSwUnlock()
113 for (i=0;i<p_FmPcd->p_FmPcdPlcr->numOfSharedProfiles;i++) in IsProfileShared()
[all …]
/freebsd/sys/dev/ath/
H A Dif_ath_beacon.c1 /*-
2 * SPDX-License-Identifier: BSD-2-Clause
4 * Copyright (c) 2002-2009 Sam Leffler, Errno Consulting
44 * by the driver - eg, calls to ath_hal_gettsf32().
114 struct ath_hal *ah = sc->sc_ah; in ath_beaconq_setup()
123 if (sc->sc_isedma) in ath_beaconq_setup()
136 #define ATH_EXPONENT_TO_VALUE(v) ((1<<(v))-1) in ath_beaconq_config()
137 struct ieee80211com *ic = &sc->sc_ic; in ath_beaconq_config()
138 struct ath_hal *ah = sc->sc_ah; in ath_beaconq_config()
141 ath_hal_gettxqueueprops(ah, sc->sc_bhalq, &qi); in ath_beaconq_config()
[all …]
/freebsd/contrib/ofed/opensm/libvendor/
H A Dosm_vendor_mlx_dispatcher.c2 * Copyright (c) 2004-2008 Voltaire, Inc. All rights reserved.
3 * Copyright (c) 2002-2005 Mellanox Technologies LTD. All rights reserved.
4 * Copyright (c) 1996-2003 Intel Corporation. All rights reserved.
16 * - Redistributions of source code must retain the above
20 * - Redistributions in binary form must reproduce the above
103 * Lower-level MAD dispatcher.
105 * (1) Non-RMPP consumer (DATA)
124 osm_log_t *p_log = p_bo->p_vendor->p_log; in osmv_dispatch_mad()
126 OSM_LOG_ENTER(p_bo->p_vendor->p_log); in osmv_dispatch_mad()
132 if (TRUE == p_bo->is_closing) { in osmv_dispatch_mad()
[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");
125 &sendspace, 0, "Default send socket buffer size");
128 &recvspace, 0, "Default receive socket buffer size");
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()
[all …]
/freebsd/sys/dev/iscsi/
H A Dicl_soft.c1 /*-
2 * SPDX-License-Identifier: BSD-2-Clause
102 &partial_receive_len, 0, "Minimum read size for partially received "
109 &first_burst_length, 0, "First burst length");
112 &max_burst_length, 0, "Maximum burst length");
115 &sendspace, 0, "Default send socket buffer size");
118 &recvspace, 0, "Default receive socket buffer size");
177 if (ic->ic_socket == NULL) in icl_conn_fail()
183 ic->ic_socket->so_error = EDOOFUS; in icl_conn_fail()
184 (ic->ic_error)(ic); in icl_conn_fail()
[all …]
/freebsd/sys/contrib/ena-com/
H A Dena_eth_com.c1 /*-
2 * SPDX-License-Identifier: BSD-3-Clause
4 * Copyright (c) 2015-2023 Amazon.com, Inc. or its affiliates.
43 head_masked = io_cq->head & (io_cq->q_depth - 1); in ena_com_get_next_rx_cdesc()
44 expected_phase = io_cq->phase; in ena_com_get_next_rx_cdesc()
46 cdesc = (struct ena_eth_io_rx_cdesc_base *)(io_cq->cdesc_addr.virt_addr in ena_com_get_next_rx_cdesc()
47 + (head_masked * io_cq->cdesc_entry_size_in_bytes)); in ena_com_get_next_rx_cdesc()
49 desc_phase = (READ_ONCE32(cdesc->status) & ENA_ETH_IO_RX_CDESC_BASE_PHASE_MASK) >> in ena_com_get_next_rx_cdesc()
68 tail_masked = io_sq->tail & (io_sq->q_depth - 1); in get_sq_desc_regular_queue()
70 offset = tail_masked * io_sq->desc_entry_size; in get_sq_desc_regular_queue()
[all …]
/freebsd/sys/dev/iwi/
H A Dif_iwi.c1 /*-
2 * SPDX-License-Identifier: BSD-2-Clause
6 * Copyright (c) 2005-2006 Sam Leffler, Errno Consulting
33 /*-
266 for (ident = iwi_ident_table; ident->name != NULL; ident++) { in iwi_probe()
267 if (pci_get_vendor(dev) == ident->vendor && in iwi_probe()
268 pci_get_device(dev) == ident->device) { in iwi_probe()
269 device_set_desc(dev, ident->name); in iwi_probe()
280 struct ieee80211com *ic = &sc->sc_ic; in iwi_attach()
284 sc->sc_dev = dev; in iwi_attach()
[all …]
/freebsd/sys/dev/wtap/
H A Dif_wtap.c1 /*-
2 * SPDX-License-Identifier: BSD-2-Clause
4 * Copyright (c) 2010-2011 Monthadar Al Jaberi, TerraNet AB
7 * Copyright (c) 2002-2009 Sam Leffler, Errno Consulting
96 buf_len = MIN(uio->uio_iov->iov_len, 1024); in wtap_node_write()
97 err = copyin(uio->uio_iov->iov_base, buf, buf_len); in wtap_node_write()
109 sc = (struct wtap_softc *)dev->si_drv1; in wtap_node_write()
110 printf("wtap id = %d\n", sc->id); in wtap_node_write()
139 return medium_transmit(avp->av_md, avp->id, m); in wtap_medium_enqueue()
150 struct ieee80211vap *vap = ni->ni_vap; in wtap_recv_mgmt()
[all …]

123