/freebsd/sys/contrib/device-tree/Bindings/sound/ |
H A D | wlf,wm8960.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 3 --- 5 $schema: http://devicetree.org/meta-schema [all...] |
H A D | wm8960.txt | 7 - compatible : "wlf,wm8960" 9 - reg : the I2C address of the device. 12 - wlf,shared-lrclk: This is a boolean property. If present, the LRCM bit of 18 DACLRC pin. If shared-lrclk is present, no need to enable DAC for captrue. 20 - wlf,capless: This is a boolean property. If present, OUT3 pin will be 24 - wlf,hp-cfg: A list of headphone jack detect configuration register values. 26 hp-cfg[0]: HPSEL[1:0] of R48 (Additional Control 4). 27 hp-cfg[1]: {HPSWEN:HPSWPOL} of R24 (Additional Control 2). 28 hp-cfg[2]: {TOCLKSEL:TOEN} of R23 (Additional Control 1). 30 - wlf,gpio-cfg: A list of GPIO configuration register values. [all …]
|
/freebsd/sbin/ipfw/ |
H A D | nat.c | 1 /*- 2 * Copyright (c) 2002-2003 Luigi Rizzo 3 * Copyright (c) 1996 Alex Nash, Paul Traina, Poul-Henning Kamp 20 * In-kernel nat support 46 typedef int (nat_cb_t)(struct nat44_cfg_nat *cfg, void *arg); 49 static int nat_show_data(struct nat44_cfg_nat *cfg, void *arg); 78 * n->ip ip address of interface "ifn" 79 * n->if_name copy of interface name "ifn" 102 if (sysctl(mib, 6, NULL, &needed, NULL, 0) == -1) in set_addr_dynamic() 103 err(1, "iflist-sysctl-estimate"); in set_addr_dynamic() [all …]
|
/freebsd/usr.sbin/ppp/ |
H A D | ipcp.c | 1 /*- 2 * SPDX-License-Identifier: BSD-2-Clause 4 * Copyright (c) 1996 - 2001 Brian Somers <brian@Awfulhak.org> 5 * based on work by Toshiharu OHNO <tony-o@iij.ad.jp> 100 #define REJECTED(p, x) ((p)->peer_reject & (1<<(x))) 145 { 1, "IPADDRS" }, /* IP-Addresses */ /* deprecated */ in protoname() 146 { 2, "COMPPROTO" }, /* IP-Compression-Protocol */ in protoname() 147 { 3, "IPADDR" }, /* IP-Address */ in protoname() 165 throughput_addin(&ipcp->throughput, n); in ipcp_AddInOctets() 171 throughput_addout(&ipcp->throughput, n); in ipcp_AddOutOctets() [all …]
|
H A D | pred.c | 1 /*- 2 * SPDX-License-Identifier: BSD-2-Clause 6 * Carsten Bormann <cabo@cs.tu-berlin.de> 53 * It builds a sliding hash sum of the previous 3-and-a-bit characters 58 #define HASH(state, x) state->hash = (state->hash << 4) ^ (x) 77 if (state->dict[state->hash] == *source) { in compress() 78 flags |= bitmask; /* Guess was right - don't output */ in compress() 80 state->dict[state->hash] = *source; in compress() 84 len--; in compress() 88 return (dest - orgdest); in compress() [all …]
|
H A D | radius.c | 1 /*- 2 * SPDX-License-Identifier: BSD-2-Clause 167 /* We need the RADIUS Request-Authenticator */ in demangle() 168 if (rad_request_authenticator(r->cx.rad, R, sizeof R) != AUTH_LEN) { in demangle() 177 Clen = mlen - SALT_LEN; in demangle() 178 S = rad_server_secret(r->cx.rad); /* We need the RADIUS secret */ in demangle() 190 Clen -= 16; in demangle() 206 * The resulting plain text consists of a one-byte length, the text and in demangle() 210 if (*len > mlen - 1) { in demangle() 245 * rad_continue_send_request() has given us `got' (non-zero). Deal with it. [all …]
|
/freebsd/sys/contrib/device-tree/src/arm/nvidia/ |
H A D | tegra20-tec.dts | 1 // SPDX-License-Identifier: GPL-2.0 2 /dts-v1/; 4 #include "tegra20-tamonten.dtsi" 20 interrupt-parent = <&gpio>; 23 gpio-controller; 24 #gpio-cells = <2>; 26 micdet-cfg = <0>; 27 micdet-delay = <100>; 28 gpio-cfg = <0xffffffff 45 compatible = "ad,tegra-audio-wm8903-tec", [all …]
|
H A D | tegra20-plutux.dts | 1 // SPDX-License-Identifier: GPL-2.0 2 /dts-v1/; 4 #include "tegra20-tamonten.dtsi" 20 interrupt-parent = <&gpio>; 23 gpio-controller; 24 #gpio-cells = <2>; 26 micdet-cfg = <0>; 27 micdet-delay = <100>; 28 gpio-cfg = <0xffffffff 37 compatible = "ad,tegra-audio-plutux", [all …]
|
H A D | tegra20-medcom-wide.dts | 1 // SPDX-License-Identifier: GPL-2.0 2 /dts-v1/; 4 #include "tegra20-tamonten.dtsi" 7 model = "Avionic Design Medcom-Wide board"; 8 compatible = "ad,medcom-wide", "ad,tamonten", "nvidia,tegra20"; 15 stdout-path = "serial0:115200n8"; 35 interrupt-parent = <&gpio>; 38 gpio-controller; 39 #gpio-cells = <2>; 41 micdet-cfg = <0>; [all …]
|
/freebsd/sys/dev/bhnd/bhndb/ |
H A D | bhndb_subr.c | 1 /*- 2 * Copyright (c) 2015-2016 Landon Fuller <landon@landonf.org> 50 * @param unit The device unit number, or -1 to select the next available unit 54 * @retval non-zero Failed to attach the bhndb device. 84 /* Skip non-allocated resources */ in bhndb_do_suspend_resources() 85 if (rle->res == NULL) in bhndb_do_suspend_resources() 88 BHNDB_SUSPEND_RESOURCE(device_get_parent(dev), dev, rle->type, in bhndb_do_suspend_resources() 89 rle->res); in bhndb_do_suspend_resources() 168 /* Skip non-allocated resources */ in bhnd_generic_br_resume_child() 169 if (rle->res == NULL) in bhnd_generic_br_resume_child() [all …]
|
/freebsd/sys/contrib/device-tree/Bindings/pci/ |
H A D | snps,dw-pcie.yaml | 1 # SPDX-License-Identifier: GPL-2.0 3 --- 4 $id: http://devicetree.org/schemas/pci/snps,dw-pcie.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Jingoo Han <jingoohan1@gmail.com> 11 - Gustavo Pimentel <gustavo.pimentel@synopsys.com> 16 # Please create a separate DT-schema for your DWC PCIe Root Port controller 17 # and make sure it's assigned with the vendor-specific compatible string. 21 const: snps,dw-pcie 23 - compatible [all …]
|
H A D | baikal,bt1-pcie.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/pci/baikal,bt1-pcie.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Baikal-T1 PCIe Root Port Controller 10 - Serge Semin <fancer.lancer@gmail.com> 13 Embedded into Baikal-T1 SoC Root Complex controller with a single port 14 activated. It's based on the DWC RC PCIe v4.60a IP-core, which is configured 18 performed by software. There four in- and four outbound iATU regions 22 - $ref: /schemas/pci/snps,dw-pcie.yaml# [all …]
|
/freebsd/sys/dev/puc/ |
H A D | pucdata.c | 1 /*- 2 * SPDX-License-Identifier: BSD-2-Clause 78 "HP Diva Serial [GSP] Multiport UART - Tosca Console", 80 PUC_PORT_3S, 0x10, 0, -1, 85 "HP Diva Serial [GSP] Multiport UART - Tosca Secondary", 87 PUC_PORT_2S, 0x10, 0, -1, 92 "HP Diva Serial [GSP] Multiport UART - Maestro SP2", 94 PUC_PORT_4S, 0x10, 0, -1, 99 "HP Diva Serial [GSP] Multiport UART - Superdome Console", 101 PUC_PORT_3S, 0x10, 0, -1, [all …]
|
/freebsd/sys/contrib/dev/athk/ath11k/ |
H A D | hal.c | 1 // SPDX-License-Identifier: BSD-3-Clause-Clear 3 * Copyright (c) 2018-2019 The Linux Foundation. All rights reserved. 9 #include <linux/dma-mapping.h> 198 struct ath11k_hal *hal = &ab->hal; in ath11k_hal_alloc_cont_rdp() 202 hal->rdp.vaddr = dma_alloc_coherent(ab->dev, size, &hal->rdp.paddr, in ath11k_hal_alloc_cont_rdp() 204 if (!hal->rdp.vaddr) in ath11k_hal_alloc_cont_rdp() 205 return -ENOMEM; in ath11k_hal_alloc_cont_rdp() 212 struct ath11k_hal *hal = &ab->hal; in ath11k_hal_free_cont_rdp() 215 if (!hal->rdp.vaddr) in ath11k_hal_free_cont_rdp() 219 dma_free_coherent(ab->dev, size, in ath11k_hal_free_cont_rdp() [all …]
|
/freebsd/sys/contrib/device-tree/src/arm64/freescale/ |
H A D | imx8dxl-evk.dts | 1 // SPDX-License-Identifier: GPL-2.0+ 6 /dts-v1/; 12 compatible = "fsl,imx8dxl-evk", "fsl,imx8dxl"; 24 stdout-path = &lpuart0; 27 imx8dxl-cm4 { 28 compatible = "fsl,imx8qxp-cm4"; 30 mbox-names = "tx", "rx", "rxdb"; 32 memory-region = <&vdevbuffer>, <&vdev0vring0>, <&vdev0vring1>, 34 power-domains = <&pd IMX_SC_R_M4_0_PID0>, <&pd IMX_SC_R_M4_0_MU_1A>; 35 fsl,resource-id = <IMX_SC_R_M4_0_PID0>; [all …]
|
H A D | imx8qxp-mek.dts | 1 // SPDX-License-Identifier: GPL-2.0+ 6 /dts-v1/; 9 #include <dt-bindings/usb/pd.h> 13 compatible = "fsl,imx8qxp-mek", "fsl,imx8qxp"; 16 stdout-path = &lpuart0; 24 reg_usdhc2_vmmc: usdhc2-vmmc { 25 compatible = "regulator-fixed"; 26 regulator-name = "SD1_SPWR"; 27 regulator-min-microvolt = <3000000>; 28 regulator-max-microvolt = <3000000>; [all …]
|
H A D | imx8qm-mek.dts | 1 // SPDX-License-Identifier: GPL-2.0+ 3 * Copyright 2018-2019 NXP 7 /dts-v1/; 9 #include <dt-bindings/usb/pd.h> 14 compatible = "fsl,imx8qm-mek", "fsl,imx8qm"; 17 stdout-path = &lpuart0; 21 /delete-node/ cpu-map; 22 /delete-node/ cpu@100; 23 /delete-node/ cpu@101; 26 thermal-zones { [all …]
|
/freebsd/contrib/tcsh/ |
H A D | FAQ | 10 Why is the meta key broken in tcsh-5.20 and up? 29 stty -parity -evenp -oddp cs8 -istrip (rs6000) 30 stty -parenb -istrip cs8 41 tty setups, but tcsh sets up the tty in cbreak and -echo modes, so that 58 You don't need csh sources to compile tcsh-6.0x. 65 is hard-coded, then you are out of luck and your best bet is to get a 67 AIX this file is called /etc/security/login.cfg.) Remember that the 84 the short-cut key sequence to clear log (i.e. Meta-e or Diamond-e) doesn't 99 Maybe you need to use rlogin -8 to tell rlogin to pass 8 bit 112 * Add -traditional to the gcc flags. [all …]
|
/freebsd/sys/contrib/device-tree/src/arm/nxp/imx/ |
H A D | imx6ul-14x14-evk.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 5 #include <dt-bindings/media/video-interfaces.h> 9 stdout-path = &uart1; 17 backlight_display: backlight-display { 18 compatible = "pwm-backlight"; 20 brightness-levels = <0 4 8 16 32 64 128 255>; 21 default-brightness-level = <6>; 26 reg_sd1_vmmc: regulator-sd1-vmmc { 27 compatible = "regulator-fixed"; 28 regulator-name = "VSD_3V3"; [all …]
|
H A D | imx7d-sdb.dts | 1 // SPDX-License-Identifier: GPL-2.0+ OR MIT 5 /dts-v1/; 11 compatible = "fsl,imx7d-sdb", "fsl,imx7d"; 19 stdout-path = &uart1; 27 gpio-keys { 28 compatible = "gpio-keys"; 29 pinctrl-names = "default"; 30 pinctrl-0 = <&pinctrl_gpio_keys>; 32 key-volume-up { 36 wakeup-source; [all …]
|
/freebsd/sys/contrib/dev/athk/ath12k/ |
H A D | hal.c | 1 // SPDX-License-Identifier: BSD-3-Clause-Clear 3 * Copyright (c) 2018-2021 The Linux Foundation. All rights reserved. 4 * Copyright (c) 2021-2022 Qualcomm Innovation Center, Inc. All rights reserved. 6 #include <linux/dma-mapping.h> 247 return HAL_REO1_RING_ID(ab) - HAL_REO1_RING_BASE_LSB(ab); in ath12k_hal_reo1_ring_id_offset() 252 return HAL_REO1_RING_MSI1_BASE_LSB(ab) - HAL_REO1_RING_BASE_LSB(ab); in ath12k_hal_reo1_ring_msi1_base_lsb_offset() 257 return HAL_REO1_RING_MSI1_BASE_MSB(ab) - HAL_REO1_RING_BASE_LSB(ab); in ath12k_hal_reo1_ring_msi1_base_msb_offset() 262 return HAL_REO1_RING_MSI1_DATA(ab) - HAL_REO1_RING_BASE_LSB(ab); in ath12k_hal_reo1_ring_msi1_data_offset() 267 return HAL_REO1_RING_BASE_MSB(ab) - HAL_REO1_RING_BASE_LSB(ab); in ath12k_hal_reo1_ring_base_msb_offset() 272 return HAL_REO1_RING_PRODUCER_INT_SETUP(ab) - HAL_REO1_RING_BASE_LSB(ab); in ath12k_hal_reo1_ring_producer_int_setup_offset() [all …]
|
/freebsd/contrib/ntp/sntp/libevent/sample/ |
H A D | http-server.c | 10 #include "../util-internal.h" 112 /* Try to guess a good content-type for 'path' */ 122 for (ent = &content_type_table[0]; ent->extension; ++ent) { in guess_content_type() 123 if (!evutil_ascii_strcasecmp(ent->extension, extension)) in guess_content_type() 124 return ent->content_type; in guess_content_type() 131 /* Callback used for the /dump URI, and for every non-GET request: 158 for (header = headers->tqh_first; header; in dump_request_cb() 159 header = header->next.tqe_next) { in dump_request_cb() 160 printf(" %s: %s\n", header->key, header->value); in dump_request_cb() 192 int fd = -1; in send_document_cb() [all …]
|
/freebsd/contrib/libevent/sample/ |
H A D | http-server.c | 10 #include "../util-internal.h" 112 /* Try to guess a good content-type for 'path' */ 122 for (ent = &content_type_table[0]; ent->extension; ++ent) { in guess_content_type() 123 if (!evutil_ascii_strcasecmp(ent->extension, extension)) in guess_content_type() 124 return ent->content_type; in guess_content_type() 131 /* Callback used for the /dump URI, and for every non-GET request: 158 for (header = headers->tqh_first; header; in dump_request_cb() 159 header = header->next.tqe_next) { in dump_request_cb() 160 printf(" %s: %s\n", header->key, header->value); in dump_request_cb() 192 int fd = -1; in send_document_cb() [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Scalar/ |
H A D | GVNHoist.cpp | 1 //===- GVNHoist.cpp - Hoist scalar and load expressions -------------------===// 5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 7 //===----------------------------------------------------------------------===// 11 // values. The primary goals of code-hoisting are: 17 // ANTIC points in the CFG which do not change during hoisting. The ANTIC points 18 // are basically the dominance-frontiers in the inverse graph. So we introduce a 26 // they are already handled by GVN-PRE. It is advisable to run gvn-hoist before 27 // and after gvn-pre because gvn-pre creates opportunities for more instructions 34 //===----------------------------------------------------------------------===// 53 #include "llvm/IR/CFG.h" [all …]
|
/freebsd/sys/contrib/device-tree/src/arm/samsung/ |
H A D | s5pv210-fascinate4g.dts | 1 // SPDX-License-Identifier: GPL-2.0 3 /dts-v1/; 4 #include <dt-bindings/gpio/gpio.h> 5 #include <dt-bindings/input/input.h> 6 #include "s5pv210-aries.dtsi" 9 model = "Samsung Galaxy S Fascinate 4G (SGH-T959P) based on S5PV210"; 11 chassis-type = "handset"; 14 stdout-pat [all...] |