/freebsd/sys/contrib/device-tree/Bindings/gpio/ |
H A D | gpio-pca953x.txt | 4 - compatible: Has to contain one of the following: 38 - gpio-controller: if used as gpio expander. 39 - #gpio-cells: if used as gpio expander. 40 - interrupt-controller: if to be used as interrupt expander. 41 - #interrupt-cells: if to be used as interrupt expander. 44 - interrupts: interrupt specifier for the device's interrupt output. 45 - reset-gpios: GPIO specification for the RESET input. This is an 47 - vcc-supply: power supply regulator. 55 pinctrl-names = "default"; 56 pinctrl-0 = <&pinctrl_pca9505>; [all …]
|
H A D | gpio-pca95xx.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/gpio/gpio-pca95xx.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Krzysztof Kozlowski <krzk@kernel.org> 19 - items: 20 - const: diodes,pi4ioe5v6534q 21 - const: nxp,pcal6534 22 - items: 23 - enum: [all …]
|
/freebsd/sbin/tunefs/ |
H A D | tunefs.c | 1 /*- 2 * SPDX-License-Identifier: BSD-3-Clause 64 static int blocks; 71 static int journal_alloc(int64_t size); 75 int 76 main(int argc, char *argv[]) in main() 83 int Aflag, aflag, eflag, evalue, fflag, fvalue, jflag, Jflag, kflag; in main() 84 int kvalue, Lflag, lflag, mflag, mvalue, Nflag, nflag, oflag, ovalue; in main() 85 int pflag, sflag, svalue, Svalue, tflag; in main() 86 int ch, found_arg, i; in main() [all …]
|
/freebsd/sys/powerpc/aim/ |
H A D | mmu_oea64.c | 1 /*- 2 * SPDX-License-Identifier: BSD-2-Clause 4 * Copyright (c) 2008-2015 Nathan Whitehorn 128 * Cheap NUMA-izing of the pv locks, to reduce contention across domains. 155 pa_end = pa + (HPT_SP_SIZE - PV_LOCK_SIZE); in moea64_sp_pv_lock() 171 pa += HPT_SP_SIZE - PV_LOCK_SIZE; in moea64_sp_pv_unlock() 176 pa -= PV_LOCK_SIZE; in moea64_sp_pv_unlock() 206 static int regions_sz, pregions_sz, numapregions_sz; 228 static int moea64_bpvo_pool_index = 0; 229 static int moea64_bpvo_pool_size = 0; [all …]
|
H A D | mmu_oea.c | 1 /*- 2 * SPDX-License-Identifier: BSD-2-Clause AND BSD-4-Clause 8 * by Matt Thomas <matt@3am-software.com> of Allegro Networks, Inc. 31 /*- 63 /*- 161 #define PVO_PADDR(pvo) ((pvo)->pvo_pte.pte.pte_lo & PTE_RPGN) 179 static int regions_sz, pregions_sz; 212 static int moea_bpvo_pool_index = 0; 252 static int moea_pte_insert(u_int, struct pte *); 257 static int moea_pvo_enter(pmap_t, uma_zone_t, struct pvo_head *, [all …]
|
/freebsd/sys/contrib/device-tree/src/arm/rockchip/ |
H A D | rk3188-bqedison2qc.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 7 /dts-v1/; 8 #include <dt-bindings/i2c/i2c.h> 9 #include <dt-bindings/input/input.h> 10 #include <dt-bindings/interrupt-controller/irq.h> 14 model = "BQ Edison2 Quad-Core"; 15 compatible = "mundoreader,bq-edison2qc", "rockchip,rk3188"; 29 compatible = "pwm-backlight"; 30 power-supply = <&vsys>; 34 gpio-keys { [all …]
|
/freebsd/sys/dev/sym/ |
H A D | sym_hipd.c | 1 /*- 2 * SPDX-License-Identifier: BSD-3-Clause 5 * PCI-SCSI controllers. 7 * Copyright (C) 1999-2001 Gerard Roudier <groudier@free.fr> 9 * This driver also supports the following Symbios/LSI PCI-SCSI chips: 14 * This driver for FreeBSD-CAM is derived from the Linux sym53c8xx driver. 15 * Copyright (C) 1998-1999 Gerard Roudier 18 * a port of the FreeBSD ncr driver to Linux-1.2.13. 22 * Stefan Esser <se@mi.Uni-Koeln.de> 26 * FreeBSD-CAM services is based on the aic7xxx driver for FreeBSD-CAM [all …]
|
/freebsd/sys/netinet/tcp_stacks/ |
H A D | tcp_rack.h | 1 /*- 2 * Copyright (c) 2016-2020 Netflix, Inc. 31 #define RACK_DEFERRED 0x000004/* We can't use this for RTT calc - not used */ 36 #define RACK_TLP 0x000080/* segment sent as tail-loss-probe */ 45 #define RACK_MUST_RXT 0x010000/* We must retransmit this rsm (non-sack/mtu chg)*/ 67 r_rtr_cnt : 8; /* Retran count, index this -1 to get time */ 83 uint64_t r_ack_arrival; /* This is the time of ack-arrival (if SACK'd) */ 90 int optname; 116 return ((tv->tv_sec * HPTS_USEC_IN_SEC) + tv->tv_usec); in rack_to_usec_ts() 310 * with the time it was sent. During non-recovery sending we [all …]
|
H A D | sack_filter.c | 1 /*- 2 * Copyright (c) 2017-9 Netflix, Inc. 65 * cum-ack A 66 * sack B - C 68 * cum-ack A 69 * sack D - E 70 * sack B - C 72 * The previous sack information (B-C) is repeated 74 * SACK 2 then any work associated with B-C as already 82 * so gets re-processe [all...] |
/freebsd/sys/sys/ |
H A D | sockio.h | 1 /*- 2 * SPDX-License-Identifier: BSD-3-Clause 38 #define SIOCSHIWAT _IOW('s', 0, int) /* set high watermark */ 39 #define SIOCGHIWAT _IOR('s', 1, int) /* get high watermark */ 40 #define SIOCSLOWAT _IOW('s', 2, int) /* set low watermark */ 41 #define SIOCGLOWAT _IOR('s', 3, int) /* get low watermark */ 42 #define SIOCATMARK _IOR('s', 7, int) /* at oob mark? */ 43 #define SIOCSPGRP _IOW('s', 8, int) /* set process group */ 44 #define SIOCGPGRP _IOR('s', 9, int) /* get process group */ 54 #define SIOCSIFDSTADDR _IOW('i', 14, struct ifreq) /* set p-p address */ [all …]
|
/freebsd/sys/net/ |
H A D | bridgestp.h | 3 /*- 4 * SPDX-License-Identifier: BSD-4-Clause 40 /*- 166 #define BSTP_MSGTYPE_TCN 0x80 /* Topology chg notification */ 186 typedef void (*bstp_state_cb_t)(struct ifnet *, int); 187 typedef void (*bstp_rtage_cb_t)(struct ifnet *, int); 243 int active; 244 int latched; 245 int value; 364 #define BSTP_LOCK_INIT(_bs) mtx_init(&(_bs)->bs_mtx, "bstp", NULL, MTX_DEF) [all …]
|
/freebsd/contrib/ncurses/ncurses/tty/ |
H A D | tty_update.c | 2 * Copyright 2018-2023,2024 Thomas E. Dickey * 3 * Copyright 1998-2016,2017 Free Software Foundation, Inc. * 31 * Author: Zeyd M. Ben-Halim <zmbenhal@netcom.com> 1992,1995 * 33 * and: Thomas E. Dickey 1996-on * 37 /*----------------------------------------------------------------- 45 *-----------------------------------------------------------------*/ 91 * This define controls the line-breakout optimization. Every once in a 96 * Note: Input-check-and-abort is no longer done if the screen is being 101 #define FILL_BCE(sp) (sp->_coloron && !sp->_default_color && !back_color_erase) 109 * work ONLY on ANSI-compatible terminals! [all …]
|
/freebsd/sbin/routed/ |
H A D | if.c | 1 /*- 2 * SPDX-License-Identifier: BSD-3-Clause 60 int tot_interfaces; /* # of remote and local interfaces */ 61 int rip_interfaces; /* # of interfaces doing RIP */ 62 static int foundloopback; /* valid flag for loopaddr */ 72 int have_ripv1_out; /* have a RIPv1 interface */ 73 static int have_ripv1_in; 77 static int addrouteforif(struct interface *); 101 hifp = AHASH(ifp->int_addr); in if_link() 102 ifp->int_ahash_prev = hifp; in if_link() [all …]
|
H A D | trace.c | 1 /*- 2 * SPDX-License-Identifier: BSD-3-Clause 40 int tracelevel, new_tracelevel; 45 static int file_trace; /* 1=tracing to file, not stdout */ 54 qstring(u_char *s, int len) in qstring() 61 for (p = buf; len != 0 && p < &buf[sizeof(buf)-1]; len--) { in qstring() 110 static int bufno; in naddr_ntoa() 154 (void)fprintf(ftrace, "-- %s --\n", ts(now.tv_sec)); in lastlog() 177 trace_close(int zap_stdio) in trace_close() 179 int fd; in trace_close() [all …]
|
/freebsd/sys/dev/usb/controller/dwc3/ |
H A D | dwc3.c | 1 /*- 2 * SPDX-License-Identifier: BSD-2-Clause 5 * Copyright (c) 2021-2022 Bjoern A. Zeeb <bz@FreeBSD.ORG> 95 bus_space_write_4(_sc->bst, _sc->bsh, _off, _val) 97 bus_space_read_4(_sc->bst, _sc->bsh, _off) 106 USB_BUS_UNLOCK(&sc->sc_bus); in xhci_interrupt_poll() 108 USB_BUS_LOCK(&sc->sc_bus); in xhci_interrupt_poll() 109 usb_callout_reset(&sc->sc_callout, 1, (void *)&xhci_interrupt_poll, sc); in xhci_interrupt_poll() 112 static int 116 struct xhci_softc *sc = &snps_sc->sc; in snps_dwc3_attach_xhci() [all …]
|
/freebsd/crypto/heimdal/lib/krb5/ |
H A D | changepw.c | 2 * Copyright (c) 1997 - 2005 Kungliga Tekniska Högskolan 54 d->length = vasprintf (&str, fmt, args); in str2data() 56 d->data = str; in str2data() 61 * draft-ietf-cat-kerb-chg-password-02.txt 72 int is_stream, in chgpw_send_request() 90 krb5_principal_compare(context, creds->client, targprinc) != TRUE) in chgpw_send_request() 155 * Set password protocol as defined by RFC3244 -- 164 int is_stream, in setpw_send_request() 194 chpw.targname = &targprinc->name; in setpw_send_request() 195 chpw.targrealm = &targprinc->realm; in setpw_send_request() [all …]
|
/freebsd/contrib/tcsh/ |
H A D | ed.defns.c | 4 /*- 39 /* no #define here -- this is a dummy to detect initing of the key map */ 344 F_INSERT, /* - */ 427 F_UNASSIGNED, /* M-^@ */ 428 F_UNASSIGNED, /* M-^A */ 429 F_UNASSIGNED, /* M-^B */ 430 F_UNASSIGNED, /* M-^C */ 431 F_LIST_CHOICES, /* M-^D */ 432 F_UNASSIGNED, /* M-^E */ 433 F_UNASSIGNED, /* M-^F */ [all …]
|
/freebsd/sys/contrib/device-tree/src/arm64/rockchip/ |
H A D | rk3399-orangepi.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 6 /dts-v1/; 8 #include "dt-bindings/pwm/pwm.h" 9 #include "dt-bindings/input/input.h" 10 #include <dt-bindings/interrupt-controller/irq.h> 11 #include "dt-bindings/usb/pd.h" 16 compatible = "xunlong,rk3399-orangepi", "rockchip,rk3399"; 26 stdout-path = "serial2:1500000n8"; 29 clkin_gmac: external-gmac-clock { 30 compatible = "fixed-clock"; [all …]
|
/freebsd/contrib/ncurses/ncurses/ |
H A D | curses.priv.h | 2 * Copyright 2018-2023,2024 Thomas E. Dickey * 3 * Copyright 1998-2017,2018 Free Software Foundation, Inc. * 31 * Author: Zeyd M. Ben-Halim <zmbenhal@netcom.com> 1992,1995 * 33 * and: Thomas E. Dickey 1996-on * 49 /* *INDENT-OFF* */ 87 extern int errno; 142 /* include signal.h before curses.h to work-around defect in glibc 2.1.3 */ 145 /* Alessandro Rubini's GPM (general-purpose mouse) */ 311 * Originally a terminal-driver option, the window-list is per-screen to allow 319 * this, re-enable USE_HARD_TABS and run worm for a while. Other systems [all …]
|
/freebsd/sys/dev/mlx4/ |
H A D | device.h | 14 * - Redistributions of source code must retain the above 18 * - Redistributions in binary form must reproduce the above 38 #include <linux/radix-tree.h> 93 /* base qkey for use in sriov tunnel-qp/proxy-qp communication. 95 * and to test for violation, we use the mask (protect against future chg). 112 MLX4_MFUNC_EQE_MASK = (MLX4_MFUNC_MAX_EQES - 1) 116 * -device managed - High level API for ib and eth flow steering. FW is 118 * - B0 steering mode - Common low level API for ib and (if supported) eth. 119 * - A0 steering mode - Limited low level API for eth. In case of IB, 136 static inline const char *mlx4_steering_mode_str(int steering_mode) in mlx4_steering_mode_str() [all …]
|
/freebsd/sys/net80211/ |
H A D | ieee80211_var.h | 1 /*- 2 * SPDX-License-Identifier: BSD-2-Clause 5 * Copyright (c) 2002-2009 Sam Leffler, Errno Consulting 93 * says that VHT is supported - and then this macro can be 97 ((ic)->ic_flags_ext & IEEE80211_FEXT_VHT) 100 ((ic)->ic_flags_ext & IEEE80211_FEXT_SEQNO_OFFLOAD) 102 ((ic)->ic_flags_ext & IEEE80211_FEXT_FRAG_OFFLOAD) 106 * 1-1 to a physical device and one or more "Virtual AP's" (VAP) 116 * e.g. device-specific callbacks. 123 uint8_t ie_data[]; /* user-specified IE's */ [all …]
|
/freebsd/sys/contrib/device-tree/src/arm64/qcom/ |
H A D | qcm6490-fairphone-fp5.dts | 1 // SPDX-License-Identifier: BSD-3-Clause 6 /dts-v1/; 12 #include <dt-bindings/iio/qcom,spmi-adc7-pm7325.h> 13 #include <dt-bindings/iio/qcom,spmi-adc7-pmk8350.h> 14 #include <dt-bindings/leds/common.h> 15 #include <dt-bindings/pinctrl/qcom,pmic-gpio.h> 16 #include <dt-bindings/regulator/qcom,rpmh-regulator.h> 23 /delete-node/ &rmtfs_mem; 28 chassis-type = "handset"; 36 #address-cells = <2>; [all …]
|
H A D | sm7225-fairphone-fp4.dts | 1 // SPDX-License-Identifier: BSD-3-Clause 6 /dts-v1/; 15 #include <dt-bindings/firmware/qcom,scm.h> 16 #include <dt-bindings/gpio/gpio.h> 17 #include <dt-bindings/iio/qcom,spmi-adc7-pmk8350.h> 18 #include <dt-bindings/input/input.h> 19 #include <dt-bindings/leds/common.h> 20 #include <dt-bindings/pinctrl/qcom,pmic-gpio.h> 21 #include <dt-bindings/regulator/qcom,rpmh-regulator.h> 22 #include <dt-bindings/usb/pd.h> [all …]
|
/freebsd/sys/netinet/ |
H A D | tcp_var.h | 1 /*- 2 * SPDX-License-Identifier: BSD-3-Clause 73 * take and shift over by 1 minus the value (1-8). 100 int tqe_len; /* TCP segment data length */ 135 #define SEGQ_EMPTY(tp) TAILQ_EMPTY(&(tp)->t_segq) 151 uint64_t end; /* End if not open-range req */ 176 * - sendmap 177 * - timers 178 * - rack_times 202 * is unfilled. This may mean that a time is off by a micro-second [all …]
|
/freebsd/usr.sbin/services_mkdb/ |
H A D | services | 10 # https://www.iana.org/assignments/service-names-port-numbers/ 16 # Note that it is presently the policy of IANA to assign a single well-known 47 ftp-data 20/tcp #File Transfer [Default Data] 48 ftp-data 20/udp #File Transfer [Default Data] 49 ftp-data 20/sctp #File Transfer [Default Data] 62 nsw-fe 27/tcp #NSW User System FE 63 nsw-fe 27/udp #NSW User System FE 64 msg-icp 29/tcp #MSG ICP 65 msg-icp 29/udp #MSG ICP 66 msg-auth 31/tcp #MSG Authentication [all …]
|