Home
last modified time | relevance | path

Searched +full:device +full:- +full:unique (Results 1 – 25 of 610) sorted by relevance

12345678910>>...25

/freebsd/sys/dev/drm2/
H A Ddrm_ioctl.c43 * \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 Ddrm_pci.c1 /* 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 Ddrm_platform.c32 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 Ddrm_auth.c44 * \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 Dfuse_device.c1 /*-
2 * SPDX-License-Identifier: BSD-3-Clause
4 * Copyright (c) 2007-2009 Google Inc.
99 SDT_PROBE_DEFINE2(fusefs, , device, trace, "int", "char*");
136 * >>> Fuse device op defs
153 fuse_lck_mtx_lock(fdata->aw_mtx); in fdata_dtor()
155 selwakeuppri(&fdata->ks_rsel, PZERO + 1); in fdata_dtor()
158 fuse_lck_mtx_lock(tick->tk_aw_mtx); in fdata_dtor()
160 tick->tk_aw_errno = ENOTCONN; in fdata_dtor()
162 fuse_lck_mtx_unlock(tick->tk_aw_mtx); in fdata_dtor()
[all …]
/freebsd/sys/dev/bhnd/bcma/
H A Dbcmavar.h1 /*-
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 …]
H A Dbcma_eromreg.h1 /*-
2 * SPDX-License-Identifier: ISC
28 /* Enumeration ROM device registers */
29 #define BCMA_EROM_TABLE_START 0x000 /**< device enumeration table offset */
35 #define BCMA_EROM_TABLE_SIZE BCMA_EROM_REMAPCONTROL - BCMA_EROM_TABLE_START
77 #define BCMA_EROM_COREA_DESIGNER_MASK 0xFFF00000 /* core designer (JEP-106 mfg id) */
79 #define BCMA_EROM_COREA_ID_MASK 0x000FFF00 /* broadcom-assigned core id */
87 #define BCMA_EROM_COREB_NUM_DP_MASK 0x00003E00 /* device/bridge port count */
93 #define BCMA_EROM_COREB_REV_MASK 0xFF000000 /* broadcom-assigned core revision */
102 #define BCMA_EROM_MPORT_NUM_MASK 0x0000FF00 /* AXI master number (unique per interconnect) */
[all …]
/freebsd/sys/contrib/device-tree/Bindings/bus/
H A Dxlnx,versal-net-cdx.yaml1 # 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 Dng_ether.419 .\" 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/dev/iwlwifi/fw/api/
H A Dtime-event.h1 /* SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause */
3 * Copyright (C) 2012-2014, 2018-2020, 2022-2024 Intel Corporation
4 * Copyright (C) 2013-2015 Intel Mobile Communications GmbH
5 * Copyright (C) 2016-201
[all...]
/freebsd/sys/contrib/device-tree/Bindings/input/
H A Domap-keypad.txt1 * 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 Dtwl4030-keypad.txt1 * 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 Dsamsung-keypad.txt1 * 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 Dtables.h1 /*-
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/interrupt-controller/
H A Dmsi.txt1 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/sbin/gvinum/
H A Dgvinum.856 .Bl -tag -width indent
65 Check the parity blocks of a RAID-5 plex.
75 If no name is specified, a unique name will be set by
77 .It Ic create Oo Fl f Oc Op Ar description-file
79 .Ar description-file .
81 .Ar description-file
90 .Ar description-file
97 .It Ic grow Ar plex device
98 Grow a plex by creating a gvinum drive and subdisk on device and attach it to
123 If no name is specified, a unique name will be set by gvinum.
[all …]
/freebsd/sys/contrib/device-tree/Bindings/pci/
H A Dpci.txt1 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/contrib/ntp/html/
H A Dhowto.html1 <!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 Dsharp,gp2ap002.yaml1 # 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 Dibv_get_device_guid.31 .\" -*- 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/contrib/edk2/Include/Protocol/
H A DDevicePath.h2 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 …]
/freebsd/sys/dev/phy/
H A Dphy_internal.h1 /*-
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/sys/
H A Dmodule.h1 /*-
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/share/man/man9/
H A Diflibtxrx.96 .Nd Device Dependent Transmit and Receive Functions
58 The device dependent mechanisms for handling packet transmit and receive are
67 .Bl -tag -width ".Va if_capabilities" -offset indent
73 A pointer to the bus_dma_segment of the device independent transfer queue
76 Unique index value assigned sequentially to each transmit queue.
80 Number of descriptors to be read into the device dependent transfer
96 This value will become the first pidx sent to the isc-encap the next time that
135 .Bl -tag -width ".Va if_capabilities" -offset indent
138 Unique index value assigned sequentially to each receive queue.
194 .Bl -ohang -offset indent
[all …]
/freebsd/sys/contrib/openzfs/lib/libzfs/os/linux/
H A Dlibzfs_pool_os.c9 * or https://opensource.org/licenses/CDDL-1.0.
28 * Copyright (c) 2017 Open-E, Inc. All Rights Reserved.
56 * If the device has being dynamically expanded then we need to relabel
66 "relabel '%s': unable to open device: %d"), path, errno); in zpool_relabel_disk()
71 * It's possible that we might encounter an error if the device in zpool_relabel_disk()
92 * pass back the error to the caller. If the caller has passed a non-NULL
102 int err = -1; in read_efi_label()
114 *sb = vtoc->efi_parts[0].p_start; in read_efi_label()
169 if (vtoc->efi_flags & EFI_GPT_PRIMARY_CORRUPT) { in zpool_label_disk_check()
181 * Generate a unique partition name for the ZFS member. Partitions must
[all …]

12345678910>>...25