| /freebsd/sys/dev/drm2/ |
| H A D | drm_ioctl.c | 43 * \param inode device inode. 49 * Copies the bus id from drm_device::unique into user space. 55 struct drm_master *master = file_priv->master; in drm_getunique() 57 if (u->unique_len >= master->unique_len) { in drm_getunique() 58 if (copy_to_user(u->unique, master->unique, master->unique_len)) in drm_getunique() 59 return -EFAULT; in drm_getunique() 61 u->unique_len = master->unique_len; in drm_getunique() 71 free(master->unique, DRM_MEM_DRIVER); in drm_unset_busid() 72 master->unique = NULL; in drm_unset_busid() 73 master->unique_len = 0; in drm_unset_busid() [all …]
|
| H A D | drm_pci.c | 1 /* drm_pci.h -- PCI DMA memory management wrappers for DRM -*- linux-c -*- */ 44 "DRM device"); 61 dmah->busaddr = segs[0].ds_addr; in drm_pci_busdma_callback() 73 /* Need power-of-two alignment, so fail the allocation if it isn't. */ in drm_pci_alloc() 74 if ((align & (align - 1)) != 0) { in drm_pci_alloc() 75 DRM_ERROR("drm_pci_alloc with non-power-of-two alignment %d\n", in drm_pci_alloc() 85 mtx_assert(&dev->dma_lock, MA_NOTOWNED); in drm_pci_alloc() 86 if (mtx_owned(&dev->dma_lock)) in drm_pci_alloc() 90 bus_get_dma_tag(dev->dev), /* parent */ in drm_pci_alloc() 96 &dmah->tag); in drm_pci_alloc() [all …]
|
| H A D | drm_platform.c | 32 if (dev->irqr == NULL) in drm_platform_free_irq() 35 bus_release_resource(dev->dev, SYS_RES_IRQ, in drm_platform_free_irq() 36 dev->irqrid, dev->irqr); in drm_platform_free_irq() 38 dev->irqr = NULL; in drm_platform_free_irq() 39 dev->irq = 0; in drm_platform_free_irq() 44 return dev->driver->name; in drm_platform_get_name() 51 master->unique_len = 13 + strlen(dev->driver->name); in drm_platform_set_busid() 52 master->unique_size = master->unique_len; in drm_platform_set_busid() 53 master->unique = malloc(master->unique_len + 1, DRM_MEM_DRIVER, M_NOWAIT); in drm_platform_set_busid() 55 if (master->unique == NULL) in drm_platform_set_busid() [all …]
|
| H A D | drm_auth.c | 44 * \param dev DRM device. 56 struct drm_device *dev = master->minor->dev; in drm_find_file() 59 if (!drm_ht_find_item(&master->magiclist, (unsigned long)magic, &hash)) { in drm_find_file() 61 retval = pt->priv; in drm_find_file() 70 * \param dev DRM device. 82 struct drm_device *dev = master->minor->dev; in drm_add_magic() 87 return -ENOMEM; in drm_add_magic() 88 entry->priv = priv; in drm_add_magic() 89 entry->hash_item.key = (unsigned long)magic; in drm_add_magic() 91 drm_ht_insert_item(&master->magiclist, &entry->hash_item); in drm_add_magic() [all …]
|
| /freebsd/sys/fs/fuse/ |
| H A D | fuse_device.c | 1 /*- 2 * SPDX-License-Identifier: BSD-3-Clause 4 * Copyright (c) 2007-2009 Google Inc. 101 SDT_PROBE_DEFINE2(fusefs, , device, trace, "int", "char*"); 140 * >>> Fuse device op defs 157 fuse_lck_mtx_lock(fdata->aw_mtx); in fdata_dtor() 159 selwakeuppri(&fdata->ks_rsel, PZERO); in fdata_dtor() 162 fuse_lck_mtx_lock(tick->tk_aw_mtx); in fdata_dtor() 164 tick->tk_aw_errno = ENOTCONN; in fdata_dtor() 166 fuse_lck_mtx_unlock(tick->tk_aw_mtx); in fdata_dtor() [all …]
|
| /freebsd/sys/dev/bhnd/bcma/ |
| H A D | bcmavar.h | 1 /*- 2 * SPDX-License-Identifier: BSD-2-Clause 4 * Copyright (c) 2015-2016 Landon Fuller <landon@landonf.org> 53 /** Base resource ID for per-core agent register allocations */ 57 * Return the device's core index. 62 ((_dinfo)->corecfg->core_info.core_idx) 68 /** BCMA per-port region map identifier. */ 99 uint16_t vendor, uint16_t device, uint8_t hwrev); 116 bcma_pid_t mp_num; /**< AXI port identifier (bus-unique) */ 117 bcma_pid_t mp_vid; /**< AXI master virtual ID (core-unique) */ [all …]
|
| /freebsd/sys/contrib/device-tree/Bindings/bus/ |
| H A D | xlnx,versal-net-cdx.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/bus/xlnx,versal-net-cdx.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 15 on run-time. 17 All devices on the CDX bus will have a unique streamid (for IOMMU) 18 and a unique device ID (for MSI) corresponding to a requestor ID 19 (one to one associated with the device). The streamid and deviceid 20 are used to configure SMMU and GIC-ITS respectively. 22 iommu-map property is used to define the set of stream ids [all …]
|
| /freebsd/share/man/man4/ |
| H A D | ng_ether.4 | 19 .\" MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, OR NON-INFRINGEMENT. 70 hook is a connection to the raw Ethernet device. 74 by the device. 83 instead of being transmitted by the device. 113 .Bl -tag -width ".Va orphans" 115 Connection to the lower device link layer. 125 .Bl -tag -width foo 128 .Dv NUL Ns -terminated 135 Returns the device's unique six byte Ethernet address. 137 Sets the device's unique six byte Ethernet address. [all …]
|
| /freebsd/sys/contrib/device-tree/Bindings/input/ |
| H A D | omap-keypad.txt | 1 * TI's Keypad Controller device tree bindings 3 TI's Keypad controller is used to interface a SoC with a matrix-type 4 keypad device. The keypad controller supports multiple row and column lines. 5 A key can be placed at each intersection of a unique row and a unique column. 6 The keypad controller can sense a key-press and key-release and report the 9 This binding is based on the matrix-keymap binding with the following 12 keypad,num-rows and keypad,num-columns are required. 15 - compatible: should be one of the following 16 - "ti,omap4-keypad": For controllers compatible with omap4 keypad 20 - linux,keypad-no-autorepeat: do no enable autorepeat feature. [all …]
|
| H A D | twl4030-keypad.txt | 1 * TWL4030's Keypad Controller device tree bindings 3 TWL4030's Keypad controller is used to interface a SoC with a matrix-type 4 keypad device. The keypad controller supports multiple row and column lines. 5 A key can be placed at each intersection of a unique row and a unique column. 6 The keypad controller can sense a key-press and key-release and report the 9 This binding is based on the matrix-keymap binding with the following 12 * keypad,num-rows and keypad,num-columns are required. 15 - compatible: should be one of the following 16 - "ti,twl4030-keypad": For controllers compatible with twl4030 keypad 18 - interrupt: should be one of the following [all …]
|
| H A D | samsung-keypad.txt | 1 * Samsung's Keypad Controller device tree bindings 3 Samsung's Keypad controller is used to interface a SoC with a matrix-type 4 keypad device. The keypad controller supports multiple row and column lines. 5 A key can be placed at each intersection of a unique row and a unique column. 6 The keypad controller can sense a key-press and key-release and report the 10 - compatible: should be one of the following 11 - "samsung,s3c6410-keypad": For controllers compatible with s3c6410 keypad 13 - "samsung,s5pv210-keypad": For controllers compatible with s5pv210 keypad 16 - reg: physical base address of the controller and length of memory mapped 19 - interrupts: The interrupt number to the cpu. [all …]
|
| /freebsd/bin/pax/ |
| H A D | tables.h | 1 /*- 2 * SPDX-License-Identifier: BSD-3-Clause 48 #define D_TAB_SZ 317 /* unique device mapping table */ 58 dev_t dev; /* files device number */ 65 * Archive write update file time table (the -u, -C flag), hashed by filename. 69 * with -u, the mtime for every node in the archive must always be available 83 * Interactive rename table (-i flag), hashed by orig filename. 96 * Unique device mapping tables. Some protocols (e.g. cpio) require that the 99 * protocols that have this requirement we map c_dev to a unique value not seen 104 * The list is hashed by device number using chain collision resolution. Off of [all …]
|
| /freebsd/sys/contrib/device-tree/Bindings/pci/ |
| H A D | pci-ep.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/pci/pci-ep.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 13 - Kishon Vijay Abraham I <kishon@kernel.org> 14 - Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org> 18 pattern: "^pcie-ep@" 20 iommu-map: 21 $ref: /schemas/types.yaml#/definitions/uint32-matrix 24 - description: Device ID (see msi-map) base [all …]
|
| H A D | pci.txt | 1 PCI bus bridges have standardized Device Tree bindings: 3 PCI Bus Binding to: IEEE Std 1275-1994 4 https://www.devicetree.org/open-firmware/bindings/pci/pci2_1.pdf 9 https://www.devicetree.org/open-firmware/practice/imap/imap0_9d.pdf 14 - linux,pci-domain: 16 otherwise an unstable (across boots) unique number will be assigned. 20 number for each host bridge in the system must be unique. 21 - max-link-speed: 27 - reset-gpios: 30 - supports-clkreq: [all …]
|
| /freebsd/sys/contrib/edk2/Include/Protocol/ |
| H A D | DevicePath.h | 2 The device path protocol as defined in UEFI 2.0. 4 The device path represents a programmatic path to a device, 8 Copyright (c) 2006 - 2018, Intel Corporation. All rights reserved.<BR> 9 SPDX-License-Identifier: BSD-2-Clause-Patent 21 /// Device Path protocol. 29 /// Device Path guid definition for backward-compatible with EFI1.1. 36 This protocol can be used on any device handle to obtain generic path/location 37 information concerning the physical device or logical device. If the handle does 38 not logically map to a physical device, the handle may not necessarily support 39 the device path protocol. The device path describes the location of the device [all …]
|
| H A D | HiiImage.h | 4 Copyright (c) 2006 - 2018, Intel Corporation. All rights reserved.<BR> 5 SPDX-License-Identifier: BSD-2-Clause-Patent 39 @param Bitmap A pointer to the actual bitmap, organized left-to-right, 40 top-to-bottom. The size of the bitmap is 63 unique within PackageList. 103 @param ImageId The image's id, which is unique within 138 @param ImageId The image id, which is unique within PackageList. 207 will be written directly to the output device specified by 220 @param Blt If this points to a non-NULL on entry, this points 265 the image will be written directly to the output device [all …]
|
| /freebsd/sys/contrib/device-tree/Bindings/interrupt-controller/ |
| H A D | msi.txt | 1 This document describes the generic device tree binding for MSI controllers and 14 - The doorbell (the MMIO address written to). 19 - The payload (the value written to the doorbell). 24 - Sideband information accompanying the write. 28 MSI controller and device rather than a property of either in isolation). 38 -------------------- 40 - msi-controller: Identifies the node as an MSI controller. 43 -------------------- 45 - #msi-cells: The number of cells in an msi-specifier, required if not zero. 50 The meaning of the msi-specifier is defined by the device tree binding of [all …]
|
| /freebsd/sys/contrib/dev/iwlwifi/fw/api/ |
| H A D | time-event.h | 1 /* SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause */ 3 * Copyright (C) 2012-2014, 2018-2020, 2022-2025 Intel Corporation 4 * Copyright (C) 2013-2015 Intel Mobile Communications GmbH 5 * Copyright (C) 2016-2017 Intel Deutschland GmbH 10 #include "fw/api/phy-ctxt.h" 20 /* P2P Device Events */ 45 /* Time event - defines for command API v1 */ 111 /* Time event - defines for command API */ 143 * enum iwl_time_event_policy - Time event policy values 161 * @TE_V2_EVENT_SOCIOPATHIC: can't co-exist with other events of tha same MAC [all …]
|
| /freebsd/sys/contrib/device-tree/Bindings/opp/ |
| H A D | operating-points-v2-ti-cpu.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/opp/operating-points-v2-ti-cpu.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 14 and voltage values based on device type and speed bin information 18 This document extends the operating-points-v2 binding by providing 22 - Dhruva Gole <d-gole@ti.com> 25 - $ref: opp-v2-base.yaml# 29 const: operating-points-v2-ti-cpu 37 opp-shared: true [all …]
|
| /freebsd/contrib/ntp/html/ |
| H A D | howto.html | 1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> 4 <meta http-equiv="content-type" content="text/html;charset=iso-8859-1"> 14 <!-- #BeginDate format:En2m -->10-Mar-2014 05:08<!-- #EndDate --> 24 <li class="inline"><a href="#pps">Pulse-per-Second Interface</a></li> 34 …t been mobilized. The driver may allocate a private structure and open the device(s) required.</dd> 36 …<dd>The association is about to be demobilized. The driver should close all device(s) and free pri… 42 …econd. This can be used for housekeeping functions. In the case with pulse-per-second (PPS) signal… 44 …hese data along with the on-time timestamp to the <tt>refclock_process</tt> routine, which saves t… 45 …roc</tt> structure, which contains for most drivers the decoded timecode, on-time timestamp, refer… 46 …-3 is used to distinguish multiple instances of clocks of the same type. Most clocks require a ser… [all …]
|
| /freebsd/sys/contrib/device-tree/Bindings/iio/light/ |
| H A D | sharp,gp2ap002.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Linus Walleij <linus.walleij@linaro.org> 20 - sharp,gp2ap002a00f 21 - sharp,gp2ap002s00f 30 vdd-supply: 33 vio-supply: 36 io-channels: 40 io-channel-names: [all …]
|
| /freebsd/contrib/ofed/libibverbs/man/ |
| H A D | ibv_get_device_guid.3 | 1 .\" -*- nroff -*- 2 .\" Licensed under the OpenIB.org BSD license (FreeBSD Variant) - See COPYING.md 4 .TH IBV_GET_DEVICE_GUID 3 2006-10-31 libibverbs "Libibverbs Programmer's Manual" 6 ibv_get_device_guid \- get an RDMA device's GUID 11 .BI "uint64_t ibv_get_device_guid(struct ibv_device " "*device" "); 15 returns the Global Unique IDentifier (GUID) of the RDMA device 16 .I device\fR. 19 returns the GUID of the device in network byte order.
|
| /freebsd/sys/sys/ |
| H A D | module.h | 1 /*- 2 * SPDX-License-Identifier: BSD-2-Clause 138 #define MODULE_KERNEL_MAXVER (roundup(__FreeBSD_version, 100000) - 1) 176 * to allow external tools to parse their internal device tables 179 #define MODULE_PNP_INFO(d, b, unique, t, n) \ argument 180 static const struct mod_pnp_match_info _module_pnp_##b##_##unique = { \ 187 MODULE_METADATA(_md_##b##_pnpinfo_##unique, MDT_PNP_INFO, \ 188 &_module_pnp_##b##_##unique, #b); 202 * W32 Two 16-bit values with first pnp_name in LSW and second in MSW. 204 * D pointer to a string to human readable description for device [all …]
|
| /freebsd/sys/dev/phy/ |
| H A D | phy_internal.h | 1 /*- 46 /* Details of this device. */ 47 const char *name; /* Globally unique name */ 51 intptr_t id; /* Per producer unique id */ 61 device_t cdev; /* consumer device*/ 75 #define PHYNODE_SLOCK(_sc) sx_slock(&((_sc)->lock)) 76 #define PHYNODE_XLOCK(_sc) sx_xlock(&((_sc)->lock)) 77 #define PHYNODE_UNLOCK(_sc) sx_unlock(&((_sc)->lock))
|
| /freebsd/sys/contrib/openzfs/lib/libzfs/os/linux/ |
| H A D | libzfs_pool_os.c | 1 // SPDX-License-Identifier: CDDL-1.0 10 * or https://opensource.org/licenses/CDDL-1.0. 29 * Copyright (c) 2017 Open-E, Inc. All Rights Reserved. 57 * If the device has being dynamically expanded then we need to relabel 67 "relabel '%s': unable to open device: %d"), path, errno); in zpool_relabel_disk() 72 * It's possible that we might encounter an error if the device in zpool_relabel_disk() 93 * pass back the error to the caller. If the caller has passed a non-NULL 103 int err = -1; in read_efi_label() 115 *sb = vtoc->efi_parts[0].p_start; in read_efi_label() 170 if (vtoc->efi_flags & EFI_GPT_PRIMARY_CORRUPT) { in zpool_label_disk_check() [all …]
|