| /freebsd/sys/contrib/device-tree/Bindings/phy/ |
| H A D | nvidia,tegra20-usb-phy.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/phy/nvidia,tegra20-usb-phy.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Dmitry Osipenko <digetx@gmail.com> 11 - Jon Hunter <jonathanh@nvidia.com> 12 - Thierry Reding <thierry.reding@gmail.com> 17 - items: 18 - enum: 19 - nvidia,tegra124-usb-phy [all …]
|
| H A D | nvidia,tegra20-usb-phy.txt | 6 - compatible : For Tegra20, must contain "nvidia,tegra20-usb-phy". 7 For Tegra30, must contain "nvidia,tegra30-usb-phy". Otherwise, must contain 8 "nvidia,<chip>-usb-phy" plus at least one of the above, where <chip> is 10 - reg : Defines the following set of registers, in the order listed: 11 - The PHY's own register set. 13 - The register set of the PHY containing the UTMI pad control registers. 14 Present if-and-only-if phy_type == utmi. 15 - phy_type : Should be one of "utmi", "ulpi" or "hsic". 16 - clocks : Defines the clocks listed in the clock-names property. 17 - clock-names : The following clock names must be present: [all …]
|
| /freebsd/sys/contrib/device-tree/Bindings/cpu/ |
| H A D | idle-states.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/cpu/idle-states.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Idle states 10 - Lorenzo Pieralisi <lorenzo.pieralisi@arm.com> 11 - Anup Patel <anup@brainfault.org> 15 1 - Introduction 18 ARM and RISC-V systems contain HW capable of managing power consumption 19 dynamically, where cores can be put in different low-power states (ranging [all …]
|
| /freebsd/sys/dev/ipmi/ |
| H A D | ipmi_kcs.c | 1 /*- 2 * SPDX-License-Identifier: BSD-2-Clause 49 #define POLLING_DELAY_MIN 4 /* Waits are 2-3 usecs on typical systems */ 64 while (ticks - start < MAX_TIMEOUT && (status & mask) != value) { in kcs_wait() 66 * The wait delay is increased exponentially to avoid putting in kcs_wait() 69 DELAY(delay_usec); in kcs_wait() 109 /* Wait for IBF = 0 */ in kcs_error() 115 /* Wait for IBF = 0 */ in kcs_error() 124 device_printf(sc->ipmi_dev, in kcs_error() 131 /* Wait for IBF = 0 */ in kcs_error() [all …]
|
| /freebsd/sys/arm64/rockchip/ |
| H A D | rk_pcie_phy.c | 1 /*- 2 * SPDX-License-Identifier: BSD-2-Clause 61 /* PHY config registers - write */ 67 /* PHY config registers - read */ 76 {"rockchip,rk3399-pcie-phy", 1}, 89 #define PHY_LOCK(_sc) mtx_lock(&(_sc)->mtx) 90 #define PHY_UNLOCK(_sc) mtx_unlock(&(_sc)->mtx) 91 #define PHY_LOCK_INIT(_sc) mtx_init(&(_sc)->mtx, \ 92 device_get_nameunit(_sc->dev), "rk_pcie_phyc", MTX_DEF) 93 #define PHY_LOCK_DESTROY(_sc) mtx_destroy(&(_sc)->mtx); [all …]
|
| /freebsd/sys/contrib/dev/iwlwifi/mvm/ |
| H A D | tdls.c | 1 // SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause 5 * Copyright (C) 2018-2020, 2022-2024 Intel Corporation 8 #include <linux/delay.h> 12 #include "time-event.h" 13 #include "iwl-io.h" 14 #include "iwl-prph.h" 25 lockdep_assert_held(&mvm->mutex); in iwl_mvm_teardown_tdls_peers() 27 for (i = 0; i < mvm->fw->ucode_capa.num_stations; i++) { in iwl_mvm_teardown_tdls_peers() 28 sta = rcu_dereference_protected(mvm->fw_id_to_mac_id[i], in iwl_mvm_teardown_tdls_peers() 29 lockdep_is_held(&mvm->mutex)); in iwl_mvm_teardown_tdls_peers() [all …]
|
| /freebsd/sys/contrib/device-tree/Bindings/i2c/ |
| H A D | i2c-mux-gpio.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only 3 --- 4 $id: http://devicetree.org/schemas/i2c/i2c-mux-gpio.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: GPIO-based I2C Bus Mux 10 - Wolfram Sang <wsa@kernel.org> 15 +-----+ +-----+ 17 +------------+ +-----+ +-----+ 19 | | /--------+--------+ 20 | +------+ | +------+ child bus A, on GPIO value set to 0 [all …]
|
| /freebsd/sys/gnu/dev/bwn/phy_n/ |
| H A D | if_bwn_phy_n_regs.h | 22 Boston, MA 02110-1301, USA. 32 /* N-PHY registers. */ 41 #define BWN_NPHY_4WI_ADDR BWN_PHY_N(0x00B) /* Four-wire bus address */ 42 #define BWN_NPHY_4WI_DATAHI BWN_PHY_N(0x00C) /* Four-wire bus data high */ 43 #define BWN_NPHY_4WI_DATALO BWN_PHY_N(0x00D) /* Four-wire bus data low */ 44 #define BWN_NPHY_BIST_STAT0 BWN_PHY_N(0x00E) /* Built-in self test status 0 */ 45 #define BWN_NPHY_BIST_STAT1 BWN_PHY_N(0x00F) /* Built-in self test status 1 */ 333 #define BWN_NPHY_TXMACDELAY BWN_PHY_N(0x0B4) /* TX MAC delay */ 334 #define BWN_NPHY_TXFRAMEDELAY BWN_PHY_N(0x0B5) /* TX frame delay */ 347 #define BWN_NPHY_BPHY_CTL2_MACDEL 0x7FE0 /* MAC delay */ [all …]
|
| /freebsd/sys/dev/ppbus/ |
| H A D | ppb_1284.c | 1 /*- 2 * SPDX-License-Identifier: BSD-2-Clause 33 * General purpose routines for the IEEE1284-1994 Standard 56 * Wait for the peripherial up to 40ms 82 ppb->error = PPB_NO_ERROR; in ppb_1284_reset_error() 83 ppb->state = state; in ppb_1284_reset_error() 98 mtx_assert(ppb->ppc_lock, MA_OWNED); in ppb_1284_get_state() 99 return (ppb->state); in ppb_1284_get_state() 114 mtx_assert(ppb->ppc_lock, MA_OWNED); in ppb_1284_set_state() 115 if ((ppb->state != PPB_ERROR) && in ppb_1284_set_state() [all …]
|
| /freebsd/sys/contrib/device-tree/Bindings/input/touchscreen/ |
| H A D | azoteq,iqs7211.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Jeff LaBundy <jeff@labundy.com> 13 The Azoteq IQS7210A, IQS7211A and IQS7211E trackpad and touchscreen control- 14 lers employ projected-capacitance sensing and can track two contacts. 21 - azoteq,iqs7210a 22 - azoteq,iqs7211a 23 - azoteq,iqs7211e 28 irq-gpios: [all …]
|
| /freebsd/sys/x86/x86/ |
| H A D | cpu_machdep.c | 1 /*- 131 switch (a->op) { in x86_msr_op_one() 133 v = rdmsr(a->msr); in x86_msr_op_one() 134 v &= ~a->arg1; in x86_msr_op_one() 135 wrmsr(a->msr, v); in x86_msr_op_one() 138 v = rdmsr(a->msr); in x86_msr_op_one() 139 v |= a->arg1; in x86_msr_op_one() 140 wrmsr(a->msr, v); in x86_msr_op_one() 143 wrmsr(a->msr, a->arg1); in x86_msr_op_one() 146 v = rdmsr(a->msr); in x86_msr_op_one() [all …]
|
| /freebsd/usr.bin/top/ |
| H A D | top.1 | 51 .Bl -tag -width indent 59 Non-printable characters in the command line are 60 encoded in C-style backslash sequences or 102 Do not display idle processes. 103 By default, top displays both active and idle processes. 147 .Dq non-interactive 173 Display per-cpu CPU usage statistics. 180 to -20 so that it will run faster. 189 Set the delay between screen updates to 192 The default delay between updates is 2 seconds. [all …]
|
| H A D | top.c | 1 /*- 8 * Copyright (c) 1989 - 1994, William LeFebvre, Northwestern University 88 { "cpu-display-mode", no_argument, NULL, 'C' }, /* differs from orignal */ 91 { "idle-procs", no_argument, NULL, 'I' }, 93 { "per-cpu", no_argument, NULL, 'P' }, 94 { "system-procs", no_argument, NULL, 'S' }, 95 { "thread-id", no_argument, NULL, 'T' }, /* differs from orignal */ 102 { "jail-id", no_argument, NULL, 'j' }, 103 { "display-mode", required_argument, NULL, 'm' }, 105 { "sort-order", required_argument, NULL, 'o' }, [all …]
|
| /freebsd/sys/arm/freescale/imx/ |
| H A D | imx_i2c.c | 1 /*- 2 * Copyright (C) 2008-2009 Semihalf, Michal Hajduk 36 * This driver currently implements only master-mode operations. 38 * This driver supports multi-master i2c buses, by detecting bus arbitration 41 * transfer cycles resulting in arbitration loss in mid-transfer. The caller 133 {"fsl,imx21-i2c", 1}, 134 {"fsl,imx6q-i2c", 1}, 135 {"fsl,imx-i2c", 1}, 156 if ((lvl) <= (sc)->debug) \ 157 device_printf((sc)->dev, fmt, ##args) [all …]
|
| /freebsd/sys/dev/iicbus/controller/opencores/ |
| H A D | iicoc.c | 1 /*- 2 * SPDX-License-Identifier: BSD-2-Clause 4 * Copyright (c) 2003-2012 Broadcom Corporation 56 bus_write_1(sc->mem_res, reg<<sc->reg_shift, value); in iicoc_dev_write() 66 val = bus_read_1(sc->mem_res, reg<<sc->reg_shift); in iicoc_dev_read() 78 } while ((status & bit) != 0 && --tries > 0); in iicoc_wait_on_status() 80 return (tries == 0 ? -1: 0); in iicoc_wait_on_status() 91 return (-1); in iicoc_rd_cmd() 105 return (-1); in iicoc_wr_cmd() 115 return (-1); in iicoc_wr_ack_cmd() [all …]
|
| /freebsd/sys/dev/iicbus/ |
| H A D | iicbb.c | 1 /*- 2 * SPDX-License-Identifier: BSD-2-Clause 31 * Generic I2C bit-banging code 42 * (c) 1998 Gerd Knorr <kraxel@cs.tu-berlin.de> 76 u_int udelay; /* signal toggle delay in usec */ 136 device_set_desc(dev, "I2C bit-banging driver"); in iicbb_probe() 146 sc->iicbus = device_add_child(dev, "iicbus", DEVICE_UNIT_ANY); in iicbb_attach() 147 if (!sc->iicbus) in iicbb_attach() 150 sc->scl_low_timeout = DEFAULT_SCL_LOW_TIMEOUT; in iicbb_attach() 154 "delay", CTLFLAG_RD, &sc->udelay, in iicbb_attach() [all …]
|
| /freebsd/sys/contrib/device-tree/src/arm64/rockchip/ |
| H A D | rk3399-gru-chromebook.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 3 * Google Gru-Chromebook shared properties 8 #include "rk3399-gru.dtsi" 11 pp900_ap: pp900-ap { 12 compatible = "regulator-fixed"; 13 regulator-name = "pp900_ap"; 16 regulator-always-o [all...] |
| /freebsd/sys/dev/bhnd/cores/pci/ |
| H A D | bhnd_pci.c | 1 /*- 2 * SPDX-License-Identifier: BSD-2-Clause 79 BHND_PCI_DEV(PCI, "Host-PCI bridge", BHND_DF_HOSTB), 80 BHND_PCI_DEV(PCI, "PCI-BHND bridge", BHND_DF_SOC), 81 BHND_PCI_DEV(PCIE, "PCIe-G1 Host-PCI bridge", BHND_DF_HOSTB), 82 BHND_PCI_DEV(PCIE, "PCIe-G1 PCI-BHND bridge", BHND_DF_SOC), 94 #define BHND_PCIE_MDIO_CTL_DELAY 10 /**< usec delay required between 96 #define BHND_PCIE_MDIO_RETRY_DELAY 2000 /**< usec delay before retrying 102 bhnd_bus_read_4((_sc)->mem_res, (_reg)) 104 bhnd_bus_write_4((_sc)->mem_res, (_reg), (_val)) [all …]
|
| /freebsd/sys/dev/ocs_fc/ |
| H A D | ocs_fabric.c | 1 /*- 36 * - Fabric logins. 37 * - Fabric controller events. 38 * - Name/directory services interaction. 39 * - Point-to-point logins. 45 @defgroup p2p_sm Node State Machine: Point-to-Point Node States 67 * Send an FLOGI to a well-known fabric. 84 ocs_log_debug(node->ocs, ">>> reenter !!\n"); in __ocs_fabric_init() 115 node->sport->topology = topology; in ocs_fabric_set_topology() 131 ocs_sport_topology_e topology = node->sport->topology; in ocs_fabric_notify_topology() [all …]
|
| /freebsd/sys/dev/ow/ |
| H A D | owc_gpiobus.c | 1 /*- 47 {"w1-gpio", true}, 56 #define OWC_GPIOBUS_LOCK(_sc) mtx_lock(&(_sc)->sc_mtx) 57 #define OWC_GPIOBUS_UNLOCK(_sc) mtx_unlock(&(_sc)->sc_mtx) 59 mtx_init(&_sc->sc_mtx, device_get_nameunit(_sc->sc_dev), \ 61 #define OWC_GPIOBUS_LOCK_DESTROY(_sc) mtx_destroy(&_sc->sc_mtx); 88 ofw_bus_search_compatible(dev, compat_data)->ocd_data) in owc_gpiobus_probe() 92 device_set_desc(dev, "GPIO one-wire bus"); in owc_gpiobus_probe() 104 sc->sc_dev = dev; in owc_gpiobus_attach() 107 /* Try to configure our pin from fdt data on fdt-based systems. */ in owc_gpiobus_attach() [all …]
|
| /freebsd/sys/contrib/device-tree/src/arm/ti/omap/ |
| H A D | omap3-devkit8000-common.dtsi | 1 // SPDX-License-Identifier: GPL-2.0-only 6 #include <dt-bindings/input/input.h> 16 compatible = "gpio-leds"; 18 led-heartbeat { 20 gpios = <&gpio6 26 GPIO_ACTIVE_HIGH>; /* 186 -> LED1 */ 21 default-state = "on"; 22 linux,default-trigge [all...] |
| /freebsd/sys/arm/arm/ |
| H A D | mp_machdep.c | 1 /*- 2 * SPDX-License-Identifier: BSD-2-Clause 75 void *dpcpu[MAXCPU - 1]; 99 DELAY(1000); in check_ap() 102 return (-2); in check_ap() 105 /* Initialize and fire up non-boot processors */ 114 for(i = 0; i < (mp_ncpus - 1); i++) in cpu_mp_start() 158 while(mp_naps < (cpu - 1)) in init_secondary() 162 pc->pc_mpidr = cp15_mpidr_get() & 0xFFFFFF; in init_secondary() 163 dpcpu_init(dpcpu[cpu - 1], cpu); in init_secondary() [all …]
|
| /freebsd/usr.sbin/ppp/ |
| H A D | ppp.8 | 31 .Nd Point to Point Protocol (a.k.a. user-ppp) 99 .Bl -tag -width XXX -offset XXX 141 exits with a non-zero result. 161 .Dq force-scripts 176 As pipes are not bi-directional, ppp will redirect all writes to descriptor 186 .Dq force-scripts 195 This is a no-op, and gives the same behaviour as if none of the above 213 .Bl -diag 231 .It Supports on-demand dialup capability. 236 will act as a daemon and wait for a packet to be sent over the [all …]
|
| /freebsd/sys/dev/ae/ |
| H A D | if_ae.c | 1 /*- 2 * SPDX-License-Identifier: BSD-2-Clause 91 { -1, 0, 0 } 95 { -1, 0, 0 } 99 { -1, 0, 0 } 189 bus_read_4((sc)->mem[0], (reg)) 191 bus_read_2((sc)->mem[0], (reg)) 193 bus_read_1((sc)->mem[0], (reg)) 195 bus_write_4((sc)->mem[0], (reg), (val)) 197 bus_write_2((sc)->mem[0], (reg), (val)) [all …]
|
| /freebsd/sys/contrib/device-tree/src/arm64/nvidia/ |
| H A D | tegra210.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 2 #include <dt-bindings/clock/tegra210-car.h> 3 #include <dt-bindings/gpio/tegra-gpio.h> 4 #include <dt-bindings/memory/tegra210-mc.h> 5 #include <dt-bindings/pinctrl/pinctrl-tegra.h> 6 #include <dt-bindings/pinctrl/pinctrl-tegra-io-pad.h> 7 #include <dt-bindings/reset/tegra210-car.h> 8 #include <dt-bindings/interrupt-controller/arm-gic.h> 9 #include <dt-bindings/thermal/tegra124-soctherm.h> 10 #include <dt-bindings/soc/tegra-pmc.h> [all …]
|