| /OK3568_Linux_fs/u-boot/include/dm/ |
| H A D | uclass.h | 7 * SPDX-License-Identifier: GPL-2.0+ 14 #include <dm/uclass-id.h> 19 * struct uclass - a U-Boot drive class, collecting together similar drivers 25 * There may be drivers for on-chip SoC GPIO banks, I2C GPIO expanders and 52 * struct uclass_driver - Driver for the uclass 58 * @id: ID number of this uclass 59 * @post_bind: Called after a new device is bound to this uclass 60 * @pre_unbind: Called before a device is unbound from this uclass 61 * @pre_probe: Called before a new device is probed 62 * @post_probe: Called after a new device is probed [all …]
|
| H A D | uclass-internal.h | 7 * SPDX-License-Identifier: GPL-2.0+ 16 * uclass_get_device_tail() - handle the end of a get_device call 18 * This handles returning an error or probing a device as needed. 20 * @dev: Device that needs to be probed 21 * @ret: Error to return. If non-zero then the device is not probed 23 * @return ret, if non-zero, else the result of the device_probe() call 28 * uclass_find_device() - Return n-th child of uclass 29 * @id: Id number of the uclass 31 * #devp: Returns pointer to device, or NULL on error 33 * The device is not prepared for use - this is an internal function. [all …]
|
| /OK3568_Linux_fs/kernel/include/linux/ |
| H A D | reset.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 9 struct device; 23 const char *id, int index, bool shared, 25 struct reset_control *__reset_control_get(struct device *dev, const char *id, 29 int __device_reset(struct device *dev, bool optional); 30 struct reset_control *__devm_reset_control_get(struct device *dev, 31 const char *id, int index, bool shared, 34 struct reset_control *devm_reset_control_array_get(struct device *dev, 40 int reset_control_get_count(struct device *dev); 77 static inline int __device_reset(struct device *dev, bool optional) in __device_reset() [all …]
|
| H A D | mod_devicetable.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 3 * Device tables which are exported to userspace via 20 * struct pci_device_id - PCI device ID structure 21 * @vendor: Vendor ID to match (or PCI_ANY_ID) 22 * @device: Device ID to match (or PCI_ANY_ID) 23 * @subvendor: Subsystem vendor ID to match (or PCI_ANY_ID) 24 * @subdevice: Subsystem device ID to match (or PCI_ANY_ID) 25 * @class: Device class, subclass, and "interface" to match. 29 * as vendor/device is normally sufficient. 30 * @class_mask: Limit which sub-fields of the class field are compared. [all …]
|
| /OK3568_Linux_fs/kernel/drivers/regulator/ |
| H A D | devres.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * devres.c -- Voltage/Current Regulator framework devres implementation. 17 static void devm_regulator_release(struct device *dev, void *res) in devm_regulator_release() 22 static struct regulator *_devm_regulator_get(struct device *dev, const char *id, in _devm_regulator_get() argument 29 return ERR_PTR(-ENOMEM); in _devm_regulator_get() 31 regulator = _regulator_get(dev, id, get_type); in _devm_regulator_get() 43 * devm_regulator_get - Resource managed regulator_get() 44 * @dev: device to supply 45 * @id: supply name or regulator ID. 51 struct regulator *devm_regulator_get(struct device *dev, const char *id) in devm_regulator_get() argument [all …]
|
| /OK3568_Linux_fs/kernel/drivers/rapidio/ |
| H A D | rio-driver.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 18 * rio_match_device - Tell if a RIO device has a matching RIO device id structure 19 * @id: the RIO device id structure to match against 20 * @rdev: the RIO device structure to match against 22 * Used from driver probe and bus matching to check whether a RIO device 23 * matches a device id structure provided by a RIO driver. Returns the 27 *id, in rio_match_device() 30 while (id->vid || id->asm_vid) { in rio_match_device() 31 if (((id->vid == RIO_ANY_ID) || (id->vid == rdev->vid)) && in rio_match_device() 32 ((id->did == RIO_ANY_ID) || (id->did == rdev->did)) && in rio_match_device() [all …]
|
| /OK3568_Linux_fs/kernel/Documentation/ABI/testing/ |
| H A D | sysfs-bus-i3c | 1 What: /sys/bus/i3c/devices/i3c-<bus-id> 3 Contact: linux-i3c@vger.kernel.org 5 An I3C bus. This directory will contain one sub-directory per 6 I3C device present on the bus. 8 What: /sys/bus/i3c/devices/i3c-<bus-id>/current_master 10 Contact: linux-i3c@vger.kernel.org 12 Expose the master that owns the bus (<bus-id>-<master-pid>) at 17 What: /sys/bus/i3c/devices/i3c-<bus-id>/mode 19 Contact: linux-i3c@vger.kernel.org 21 I3C bus mode. Can be "pure", "mixed-fast" or "mixed-slow". See [all …]
|
| H A D | sysfs-bus-vfio-mdev | 1 What: /sys/.../<device>/mdev_supported_types/ 6 supported mediated device types and their details for 7 <device>. Supported type attributes are defined by the 8 vendor driver who registers with Mediated device framework. 10 by adding the device driver string as a prefix to the 13 What: /sys/.../<device>/mdev_supported_types/<type-id>/ 24 What: /sys/.../mdev_supported_types/<type-id>/create 28 Writing UUID to this file will create mediated device of 29 type <type-id> for parent device <device>. This is a 30 write-only file. [all …]
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rkwifi/bcmdhd_indep_power/include/ |
| H A D | bcmdevs.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 3 * Broadcom device-specific manifest constants. 5 * Copyright (C) 1999-2017, Broadcom Corporation 26 * <<Broadcom-WL-IPTag/Open:>> 28 * $Id: bcmdevs.h 625027 2016-03-15 08:20:18Z $ 46 #define VENDOR_BUFFALO 0x1154 /* Buffalo vendor id */ 89 /* PCI Device IDs */ 94 #define BCM3352_DEVICE_ID 0x3352 /* bcm3352 device id */ 95 #define BCM3360_DEVICE_ID 0x3360 /* bcm3360 device id */ 99 #define BCM4311_D11G_ID 0x4311 /* 4311 802.11b/g id */ [all …]
|
| /OK3568_Linux_fs/kernel/sound/ |
| H A D | ac97_bus.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 12 #include <linux/device.h> 17 * snd_ac97_check_id() - Reads and checks the vendor ID of the device 18 * @ac97: The AC97 device to check 19 * @id: The ID to compare to 20 * @id_mask: Mask that is applied to the device ID before comparing to @id 22 * If @id is 0 this function returns true if the read device vendor ID is 23 * a valid ID. If @id is non 0 this functions returns true if @id 24 * matches the read vendor ID. Otherwise the function returns false. 26 static bool snd_ac97_check_id(struct snd_ac97 *ac97, unsigned int id, in snd_ac97_check_id() argument [all …]
|
| /OK3568_Linux_fs/kernel/drivers/ipack/ |
| H A D | ipack.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Industry-pack bus support functions. 5 * Copyright (C) 2011-2012 CERN (www.cern.ch) 15 #define to_ipack_dev(device) container_of(device, struct ipack_device, dev) argument 20 static void ipack_device_release(struct device *dev) in ipack_device_release() 22 struct ipack_device *device = to_ipack_dev(dev); in ipack_device_release() local 23 kfree(device->id); in ipack_device_release() 24 device->release(device); in ipack_device_release() 28 ipack_match_one_device(const struct ipack_device_id *id, in ipack_match_one_device() argument 29 const struct ipack_device *device) in ipack_match_one_device() argument [all …]
|
| /OK3568_Linux_fs/kernel/drivers/pnp/pnpacpi/ |
| H A D | core.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * pnpacpi -- PnP ACPI driver 21 * Compatible Device IDs 29 static int __init ispnpidacpi(const char *id) in ispnpidacpi() argument 31 TEST_ALPHA(id[0]); in ispnpidacpi() 32 TEST_ALPHA(id[1]); in ispnpidacpi() 33 TEST_ALPHA(id[2]); in ispnpidacpi() 34 TEST_HEX(id[3]); in ispnpidacpi() 35 TEST_HEX(id[4]); in ispnpidacpi() 36 TEST_HEX(id[5]); in ispnpidacpi() [all …]
|
| /OK3568_Linux_fs/kernel/Documentation/userspace-api/media/ |
| H A D | videodev2.h.rst.exceptions | 1 # SPDX-License-Identifier: GPL-2.0 14 # Those symbols should not be used by uAPI - don't document them 152 replace define V4L2_CAP_VIDEO_CAPTURE device-capabilities 153 replace define V4L2_CAP_VIDEO_CAPTURE_MPLANE device-capabilities 154 replace define V4L2_CAP_VIDEO_OUTPUT device-capabilities 155 replace define V4L2_CAP_VIDEO_OUTPUT_MPLANE device-capabilities 156 replace define V4L2_CAP_VIDEO_M2M device-capabilities 157 replace define V4L2_CAP_VIDEO_M2M_MPLANE device-capabilities 158 replace define V4L2_CAP_VIDEO_OVERLAY device-capabilities 159 replace define V4L2_CAP_VBI_CAPTURE device-capabilities [all …]
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/infineon/bcmdhd/include/ |
| H A D | bcmdevs.h | 2 * Broadcom device-specific manifest constants. 6 * Copyright (C) 1999-2017, Broadcom Corporation 27 * <<Broadcom-WL-IPTag/Open:>> 29 * $Id: bcmdevs.h 701163 2017-05-23 22:21:03Z $ 47 #define VENDOR_BUFFALO 0x1154 /* Buffalo vendor id */ 87 /* PCI Device IDs */ 92 #define BCM3352_DEVICE_ID 0x3352 /* bcm3352 device id */ 93 #define BCM3360_DEVICE_ID 0x3360 /* bcm3360 device id */ 97 #define BCM4311_D11G_ID 0x4311 /* 4311 802.11b/g id */ 98 #define BCM4311_D11DUAL_ID 0x4312 /* 4311 802.11a/b/g id */ [all …]
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/cywdhd/bcmdhd/include/ |
| H A D | bcmdevs.h | 2 * Broadcom device-specific manifest constants. 6 * Copyright (C) 1999-2017, Broadcom Corporation 27 * <<Broadcom-WL-IPTag/Open:>> 29 * $Id: bcmdevs.h 701163 2017-05-23 22:21:03Z $ 47 #define VENDOR_BUFFALO 0x1154 /* Buffalo vendor id */ 87 /* PCI Device IDs */ 92 #define BCM3352_DEVICE_ID 0x3352 /* bcm3352 device id */ 93 #define BCM3360_DEVICE_ID 0x3360 /* bcm3360 device id */ 97 #define BCM4311_D11G_ID 0x4311 /* 4311 802.11b/g id */ 98 #define BCM4311_D11DUAL_ID 0x4312 /* 4311 802.11a/b/g id */ [all …]
|
| /OK3568_Linux_fs/external/rkwifibt/drivers/infineon/include/ |
| H A D | bcmdevs.h | 2 * Broadcom device-specific manifest constants. 6 * Copyright (C) 1999-2017, Broadcom Corporation 27 * <<Broadcom-WL-IPTag/Open:>> 29 * $Id: bcmdevs.h 701163 2017-05-23 22:21:03Z $ 47 #define VENDOR_BUFFALO 0x1154 /* Buffalo vendor id */ 87 /* PCI Device IDs */ 92 #define BCM3352_DEVICE_ID 0x3352 /* bcm3352 device id */ 93 #define BCM3360_DEVICE_ID 0x3360 /* bcm3360 device id */ 97 #define BCM4311_D11G_ID 0x4311 /* 4311 802.11b/g id */ 98 #define BCM4311_D11DUAL_ID 0x4312 /* 4311 802.11a/b/g id */ [all …]
|
| /OK3568_Linux_fs/kernel/drivers/infiniband/core/ |
| H A D | cma.c | 1 // SPDX-License-Identifier: GPL-2.0 OR Linux-OpenIB 4 * Copyright (c) 2002-2005, Network Appliance, Inc. All rights reserved. 5 * Copyright (c) 1999-2019, Mellanox Technologies, Inc. All rights reserved. 6 * Copyright (c) 2005-2006 Intel Corporation. All rights reserved. 64 [RDMA_CM_EVENT_DEVICE_REMOVAL] = "device removal", 83 const char *__attribute_const__ rdma_reject_msg(struct rdma_cm_id *id, in rdma_reject_msg() argument 86 if (rdma_ib_or_roce(id->device, id->port_num)) in rdma_reject_msg() 89 if (rdma_protocol_iwarp(id->device, id->port_num)) in rdma_reject_msg() 98 * rdma_is_consumer_reject - return true if the consumer rejected the connect 100 * @id: Communication identifier that received the REJECT event. [all …]
|
| /OK3568_Linux_fs/u-boot/cmd/ |
| H A D | mtdparts.c | 9 * Kai-Uwe Bloem, Auerswald GmbH & Co KG, <linux-development@auerswald.de> 21 * $Id: cmdlinepart.c,v 1.17 2004/11/26 11:18:47 lavinen Exp $ 22 * Copyright 2002 SYSGO Real-Time Solutions GmbH 24 * SPDX-License-Identifier: GPL-2.0+ 30 * 'partition' - keeps current partition identifier 32 * partition := <part-id> 33 * <part-id> := <dev-id>,part_num 36 * 'mtdids' - linux kernel mtd device id <-> u-boot device id mapping 40 * <idmap> := <dev-id>=<mtd-id> 41 * <dev-id> := 'nand'|'nor'|'onenand'|'spi-nand'<dev-num> [all …]
|
| H A D | jffs2.c | 9 * Kai-Uwe Bloem, Auerswald GmbH & Co KG, <linux-development@auerswald.de> 18 * $Id: cmdlinepart.c,v 1.17 2004/11/26 11:18:47 lavinen Exp $ 19 * Copyright 2002 SYSGO Real-Time Solutions GmbH 21 * SPDX-License-Identifier: GPL-2.0+ 27 * 'partition' - keeps current partition identifier 29 * partition := <part-id> 30 * <part-id> := <dev-id>,part_num 33 * 'mtdids' - linux kernel mtd device id <-> u-boot device id mapping 37 * <idmap> := <dev-id>=<mtd-id> 38 * <dev-id> := 'nand'|'nor'|'onenand'<dev-num> [all …]
|
| /OK3568_Linux_fs/kernel/drivers/pci/ |
| H A D | search.c | 1 // SPDX-License-Identifier: GPL-2.0 5 * Copyright (C) 1993 -- 1997 Drew Eckhardt, Frederic Potter, 6 * David Mosberger-Tang 7 * Copyright (C) 1997 -- 2000 Martin Mares <mj@ucw.cz> 8 * Copyright (C) 2003 -- 2004 Greg Kroah-Hartman <greg@kroah.com> 20 * pci_for_each_dma_alias - Iterate over DMA aliases for a device 21 * @pdev: starting downstream device 36 * The device may have an explicit alias requester ID for DMA where the in pci_for_each_dma_alias() 46 * If the device is broken and uses an alias requester ID for in pci_for_each_dma_alias() 49 if (unlikely(pdev->dma_alias_mask)) { in pci_for_each_dma_alias() [all …]
|
| /OK3568_Linux_fs/u-boot/arch/sandbox/include/asm/ |
| H A D | clk.h | 4 * SPDX-License-Identifier: GPL-2.0 15 * enum sandbox_clk_id - Identity of clocks implemented by the sandbox clock 18 * These IDs are within/relative-to the clock provider. 28 * enum sandbox_clk_test_id - Identity of the clocks consumed by the sandbox 29 * clock test device. 42 * sandbox_clk_query_rate - Query the current rate of a sandbox clock. 44 * @dev: The sandbox clock provider device. 45 * @id: The clock to query. 48 ulong sandbox_clk_query_rate(struct udevice *dev, int id); 50 * sandbox_clk_query_enable - Query the enable state of a sandbox clock. [all …]
|
| /OK3568_Linux_fs/kernel/drivers/tc/ |
| H A D | tc-driver.c | 7 * Loosely based on drivers/dio/dio-driver.c and 8 * drivers/pci/pci-driver.c. 20 * tc_register_driver - register a new TC driver 26 * no device was claimed during registration. 30 return driver_register(&tdrv->driver); in tc_register_driver() 35 * tc_unregister_driver - unregister a TC driver 40 * each device it was responsible for, and marks those devices as 45 driver_unregister(&tdrv->driver); in tc_unregister_driver() 50 * tc_match_device - tell if a TC device structure has a matching 51 * TC device ID structure [all …]
|
| /OK3568_Linux_fs/kernel/drivers/fpga/ |
| H A D | dfl.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 3 * Driver Header File for FPGA Device Feature List (DFL) Support 5 * Copyright (C) 2017-2018 Intel Corporation, Inc. 24 #include <linux/io-64-nonatomic-lo-hi.h> 28 #include <linux/fpga/fpga-region.h> 32 /* plus one for fme device */ 56 * Device Feature Header Register Set 69 /* Device Feature Header Register Bitfield */ 70 #define DFH_ID GENMASK_ULL(11, 0) /* Feature ID */ 95 #define FME_CAP_FABRIC_VERID GENMASK_ULL(7, 0) /* Fabric version ID */ [all …]
|
| H A D | dfl.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * Driver for FPGA Device Feature List (DFL) Support 5 * Copyright (C) 2017-2018 Intel Corporation, Inc. 13 #include <linux/fpga-dfl.h> 25 * platform device creation (define name strings in dfl.h, as they could be 26 * reused by platform device drivers). 42 "dfl-fme-pdata", 43 "dfl-port-pdata", 47 * dfl_dev_info - dfl feature device information. 48 * @name: name string of the feature platform device. [all …]
|
| /OK3568_Linux_fs/kernel/drivers/usb/core/ |
| H A D | driver.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * drivers/usb/driver.c - most of the driver model stuff for usb 5 * (C) Copyright 2005 Greg Kroah-Hartman <gregkh@suse.de> 9 * (C) Copyright Johannes Erdfelt 1999-2001 14 * (C) Copyright David Brownell 2000-2004 17 * (C) Copyright Greg Kroah-Hartman 2002-2003 28 #include <linux/device.h> 40 * Adds a new dynamic USBdevice ID to this driver, 59 return -EINVAL; in usb_store_new_id() 63 return -ENOMEM; in usb_store_new_id() [all …]
|