/linux-6.12.1/include/media/ |
D | v4l2-fwnode.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 8 * Copyright (C) 2012 - 2013 Samsung Electronics Co., Ltd. 22 #include <media/v4l2-mediabus.h> 25 * struct v4l2_fwnode_endpoint - the endpoint data structure 27 * @bus_type: bus type 28 * @bus: bus configuration data structure 29 * @bus.parallel: embedded &struct v4l2_mbus_config_parallel. 30 * Used if the bus is parallel. 31 * @bus.mipi_csi1: embedded &struct v4l2_mbus_config_mipi_csi1. 32 * Used if the bus is MIPI Alliance's Camera Serial [all …]
|
/linux-6.12.1/drivers/bus/ |
D | mips_cdmm.c | 2 * Bus driver for MIPS Common Device Memory Map (CDMM). 4 * Copyright (C) 2014-2015 Imagination Technologies Ltd. 45 /* Bus operations */ 53 for (; table->type; ++table) { in mips_cdmm_lookup() 54 ret = (dev->type == table->type); in mips_cdmm_lookup() 67 return mips_cdmm_lookup(cdrv->id_table, cdev) != NULL; in mips_cdmm_match() 75 retval = add_uevent_var(env, "CDMM_CPU=%u", cdev->cpu); in mips_cdmm_uevent() 79 retval = add_uevent_var(env, "CDMM_TYPE=0x%02x", cdev->type); in mips_cdmm_uevent() 83 retval = add_uevent_var(env, "CDMM_REV=%u", cdev->rev); in mips_cdmm_uevent() 87 retval = add_uevent_var(env, "MODALIAS=mipscdmm:t%02X", cdev->type); in mips_cdmm_uevent() [all …]
|
/linux-6.12.1/Documentation/netlink/specs/ |
D | devlink.yaml | 1 # SPDX-License-Identifier: ((GPL-2.0 WITH Linux-syscall-note) OR BSD-3-Clause) 5 protocol: genetlink-legacy 10 - 11 type: enum 12 name: sb-pool-type 14 - 16 - 18 - 19 type: enum 20 name: port-type [all …]
|
/linux-6.12.1/sound/hda/ext/ |
D | hdac_ext_stream.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * hdac-ext-stream.c - HD-audio extended stream operations. 22 * snd_hdac_ext_host_stream_setup - Setup a HOST stream. 24 * @code_loading: Whether the stream is for PCM or code-loading. 30 return hext_stream->host_setup(hdac_stream(hext_stream), code_loading); in snd_hdac_ext_host_stream_setup() 35 * snd_hdac_apl_host_stream_setup - Setup a HOST stream following procedure 38 * @code_loading: Whether the stream is for PCM or code-loading. 47 snd_hdac_ext_stream_decouple(hstream->bus, hext_stream, false); in snd_hdac_apl_host_stream_setup() 49 snd_hdac_ext_stream_decouple(hstream->bus, hext_stream, true); in snd_hdac_apl_host_stream_setup() 55 * snd_hdac_ext_stream_init - initialize each stream (aka device) [all …]
|
/linux-6.12.1/include/linux/device/ |
D | bus.h | 1 // SPDX-License-Identifier: GPL-2.0 3 * bus.h - the bus-specific portions of the driver model 5 * Copyright (c) 2001-2003 Patrick Mochel <mochel@osdl.org> 6 * Copyright (c) 2004-2009 Greg Kroah-Hartman <gregkh@suse.de> 7 * Copyright (c) 2008-2009 Novell Inc. 8 * Copyright (c) 2012-2019 Greg Kroah-Hartman <gregkh@linuxfoundation.org> 9 * Copyright (c) 2012-2019 Linux Foundation 11 * See Documentation/driver-api/driver-model/ for more information. 25 * struct bus_type - The bus type of the device 27 * @name: The name of the bus. [all …]
|
/linux-6.12.1/drivers/gpu/drm/nouveau/nvkm/subdev/i2c/ |
D | base.c | 26 #include "bus.h" 39 list_for_each_entry(pad, &i2c->pad, head) { in nvkm_i2c_pad_find() 40 if (pad->id == id) in nvkm_i2c_pad_find() 50 struct nvkm_bios *bios = i2c->subdev.device->bios; in nvkm_i2c_bus_find() 51 struct nvkm_i2c_bus *bus; in nvkm_i2c_bus_find() local 67 list_for_each_entry(bus, &i2c->bus, head) { in nvkm_i2c_bus_find() 68 if (bus->id == id) in nvkm_i2c_bus_find() 69 return bus; in nvkm_i2c_bus_find() 80 list_for_each_entry(aux, &i2c->aux, head) { in nvkm_i2c_aux_find() 81 if (aux->id == id) in nvkm_i2c_aux_find() [all …]
|
/linux-6.12.1/drivers/pci/ |
D | access.c | 1 // SPDX-License-Identifier: GPL-2.0 11 * This interrupt-safe spinlock protects all accesses to PCI 19 * alignment, do locking and call the low-level functions pointed to 20 * by pci_dev->ops. 35 #define PCI_OP_READ(size, type, len) \ argument 37 (struct pci_bus *bus, unsigned int devfn, int pos, type *value) \ 47 res = bus->ops->read(bus, devfn, pos, len, &data); \ 51 *value = (type)data; \ 57 #define PCI_OP_WRITE(size, type, len) \ argument 59 (struct pci_bus *bus, unsigned int devfn, int pos, type value) \ [all …]
|
D | setup-bus.c | 1 // SPDX-License-Identifier: GPL-2.0 11 * PCI-PCI bridges cleanup, sorted resource allocation. 50 list_del(&dev_res->list); in free_list() 56 * add_to_list() - Add a new resource tracker to the list 71 return -ENOMEM; in add_to_list() 73 tmp->res = res; in add_to_list() 74 tmp->dev = dev; in add_to_list() 75 tmp->start = res->start; in add_to_list() 76 tmp->end = res->end; in add_to_list() 77 tmp->flags = res->flags; in add_to_list() [all …]
|
/linux-6.12.1/Documentation/driver-api/driver-model/ |
D | porting.rst | 12 Please refer to `Documentation/driver-api/driver-model/*.rst` for definitions of 16 at the bus driver layer. This was intentional, to minimize the 18 of bus drivers. 21 be embedded in larger, bus-specific objects. Fields in these generic 22 objects can replace fields in the bus-specific objects. 28 # mount -t sysfs sysfs /sys 36 Step 1: Registering the bus driver. 39 - Define a struct bus_type for the bus driver:: 46 - Register the bus type. 48 This should be done in the initialization function for the bus type, [all …]
|
D | bus.rst | 2 Bus Types 9 int bus_register(struct bus_type * bus); 15 Each bus type in the kernel (PCI, USB, etc) should declare one static 16 object of this type. They must initialize the name field, and may 32 When a bus driver is initialized, it calls bus_register. This 33 initializes the rest of the fields in the bus object and inserts it 34 into a global list of bus types. Once the bus object is registered, 35 the fields in it are usable by the bus driver. 45 them are inherently bus-specific. Drivers typically declare an array 46 of device IDs of devices they support that reside in a bus-specific [all …]
|
/linux-6.12.1/arch/mips/pci/ |
D | ops-bcm63xx.c | 15 #include "pci-bcm63xx.h" 64 static int bcm63xx_setup_cfg_access(int type, unsigned int busn, in bcm63xx_setup_cfg_access() argument 90 /* type 0 cycle for local bus, type 1 cycle for anything else */ in bcm63xx_setup_cfg_access() 91 if (type != 0) { in bcm63xx_setup_cfg_access() 92 /* FIXME: how to specify bus ??? */ in bcm63xx_setup_cfg_access() 100 static int bcm63xx_do_cfg_read(int type, unsigned int busn, in bcm63xx_do_cfg_read() argument 109 if (bcm63xx_setup_cfg_access(type, busn, devfn, where)) in bcm63xx_do_cfg_read() 121 static int bcm63xx_do_cfg_write(int type, unsigned int busn, in bcm63xx_do_cfg_write() argument 130 if (bcm63xx_setup_cfg_access(type, busn, devfn, where)) in bcm63xx_do_cfg_write() 147 static int bcm63xx_pci_read(struct pci_bus *bus, unsigned int devfn, in bcm63xx_pci_read() argument [all …]
|
D | ops-loongson2.c | 1 // SPDX-License-Identifier: GPL-2.0-only 29 #define MAX_DEV_NUM (31 - ID_SEL_BEGIN) 33 struct pci_bus *bus, in loongson_pcibios_config_access() argument 37 u32 busnum = bus->number; in loongson_pcibios_config_access() 38 u32 addr, type; in loongson_pcibios_config_access() local 46 /* board-specific part,currently,only fuloong2f,yeeloong2f in loongson_pcibios_config_access() 69 /* Type 0 configuration for onboard PCI bus */ in loongson_pcibios_config_access() 71 return -1; in loongson_pcibios_config_access() 74 type = 0; in loongson_pcibios_config_access() 76 /* Type 1 configuration for offboard PCI bus */ in loongson_pcibios_config_access() [all …]
|
/linux-6.12.1/arch/arm/boot/dts/aspeed/ |
D | aspeed-bmc-opp-tacoma.dts | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 /dts-v1/; 5 #include "aspeed-g6.dtsi" 6 #include <dt-bindings/gpio/aspeed-gpio.h> 7 #include <dt-bindings/i2c/i2c.h> 8 #include <dt-bindings/leds/leds-pca955x.h> 12 compatible = "ibm,tacoma-bmc", "aspeed,ast2600"; 15 stdout-path = &uart5; 24 reserved-memory { 25 #address-cells = <1>; [all …]
|
/linux-6.12.1/drivers/acpi/acpica/ |
D | utresdecode.c | 1 // SPDX-License-Identifier: BSD-3-Clause OR GPL-2.0 4 * Module Name: utresdecode - Resource descriptor keyword strings 28 "0 - Good Configuration", 29 "1 - Acceptable Configuration", 30 "2 - Suboptimal Configuration", 31 "3 - ***Invalid Configuration***", 86 "Type C", 87 "Type D", 88 "Unknown Type", 89 "Unknown Type" [all …]
|
/linux-6.12.1/drivers/i2c/busses/ |
D | i2c-powermac.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 26 * SMBUS-type transfer entrypoint 36 struct pmac_i2c_bus *bus = i2c_get_adapdata(adap); in i2c_powermac_smbus_xfer() local 62 buf = &data->byte; in i2c_powermac_smbus_xfer() 67 local[0] = data->word & 0xff; in i2c_powermac_smbus_xfer() 68 local[1] = (data->word >> 8) & 0xff; in i2c_powermac_smbus_xfer() 78 * anywhere near a pmac i2c bus anyway ... in i2c_powermac_smbus_xfer() 81 buf = data->block; in i2c_powermac_smbus_xfer() 82 len = data->block[0] + 1; in i2c_powermac_smbus_xfer() 85 buf = &data->block[1]; in i2c_powermac_smbus_xfer() [all …]
|
/linux-6.12.1/Documentation/ABI/testing/ |
D | sysfs-bus-coresight-devices-tpdm | 1 What: /sys/bus/coresight/devices/<tpdm-name>/integration_test 11 Accepts only one of the 2 values - 1 or 2. 15 What: /sys/bus/coresight/devices/<tpdm-name>/reset_dataset 22 Accepts only one value - 1. 25 What: /sys/bus/coresight/devices/<tpdm-name>/dsb_trig_type 30 (RW) Set/Get the trigger type of the DSB for tpdm. 32 Accepts only one of the 2 values - 0 or 1. 33 0 : Set the DSB trigger type to false 34 1 : Set the DSB trigger type to true 36 What: /sys/bus/coresight/devices/<tpdm-name>/dsb_trig_ts [all …]
|
D | sysfs-bus-siox | 1 What: /sys/bus/siox/devices/siox-X/active 3 Contact: Thorsten Scherer <t.scherer@eckelmann.de>, Uwe Kleine-König <u.kleine-koenig@pengutronix.d… 5 On reading represents the current state of the bus. If it 6 contains a "0" the bus is stopped and connected devices are 8 When the file contains a "1" the bus is operated and periodically 9 does a push-pull cycle to write and read data from the 12 When writing a "0" or "1" the bus moves to the described state. 14 What: /sys/bus/siox/devices/siox-X/device_add 16 Contact: Thorsten Scherer <t.scherer@eckelmann.de>, Uwe Kleine-König <u.kleine-koenig@pengutronix.d… 18 Write-only file. Write [all …]
|
D | sysfs-bus-usb | 1 What: /sys/bus/usb/devices/<INTERFACE>/authorized 9 by writing INTERFACE to /sys/bus/usb/drivers_probe 10 This allows to avoid side-effects with drivers 15 What: /sys/bus/usb/devices/usbX/interface_authorized_default 22 What: /sys/bus/usb/device/.../authorized 28 drivers, non-authorized one are not. By default, wired 31 What: /sys/bus/usb/drivers/.../new_id 33 Contact: linux-usb@vger.kernel.org 48 # echo "8086 10f5" > /sys/bus/usb/drivers/foo/new_id 53 # echo "0458 7045 0 0458 704c" > /sys/bus/usb/drivers/foo/new_id [all …]
|
/linux-6.12.1/Documentation/devicetree/bindings/dma/ |
D | adi,axi-dmac.txt | 1 Analog Devices AXI-DMAC DMA controller 4 - compatible: Must be "adi,axi-dmac-1.00.a". 5 - reg: Specification for the controllers memory mapped register map. 6 - interrupts: Specification for the controllers interrupt. 7 - clocks: Phandle and specifier to the controllers AXI interface clock 8 - #dma-cells: Must be 1. 10 Required sub-nodes: 11 - adi,channels: This sub-node must contain a sub-node for each DMA channel. For 12 the channel sub-nodes the following bindings apply. They must match the 15 Required properties for adi,channels sub-node: [all …]
|
D | arm-pl08x.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/dma/arm-pl08x.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Vinod Koul <vkoul@kernel.org> 13 - $ref: /schemas/arm/primecell.yaml# 14 - $ref: dma-controller.yaml# 22 - arm,pl080 23 - arm,pl081 25 - compatible [all …]
|
/linux-6.12.1/arch/mips/include/asm/ |
D | io.h | 7 * Copyright (C) 1994 - 2000, 06 Ralf Baechle 24 #include <asm/cpu-features.h> 26 #include <asm/pgtable-bits.h> 28 #include <mangle-port.h> 32 * operations are working on may or may not have been swapped by the bus 52 /* ioswab[bwlq], __mem_ioswab[bwlq] are defined in mangle-port.h */ 81 * Enforce in-order execution of data I/O. In the MIPS architecture 82 * these are equivalent to corresponding platform-specific memory 92 * virt_to_phys - map virtual addresses to physical 99 * This function does not give bus mappings for DMA transfers. In [all …]
|
/linux-6.12.1/drivers/xen/xenbus/ |
D | xenbus_probe_backend.c | 5 * Copyright (C) 2005 Mike Wray, Hewlett-Packard 58 /* backend/<type>/<fe-uuid>/<id> => <type>-<fe-domid>-<id> */ 62 const char *devid, *type, *frontend; in backend_bus_id() local 65 type = strchr(nodename, '/'); in backend_bus_id() 66 if (!type) in backend_bus_id() 67 return -EINVAL; in backend_bus_id() 68 type++; in backend_bus_id() 69 typelen = strcspn(type, "/"); in backend_bus_id() 70 if (!typelen || type[typelen] != '/') in backend_bus_id() 71 return -EINVAL; in backend_bus_id() [all …]
|
/linux-6.12.1/drivers/pci/hotplug/ |
D | ibmphp_res.c | 1 // SPDX-License-Identifier: GPL-2.0+ 7 * Copyright (C) 2001 Greg Kroah-Hartman (greg@kroah.com) 25 static void update_resources(struct bus_node *bus_cur, int type, int rangeno); 29 static int add_bus_range(int type, struct range_node *, struct bus_node *); 49 newbus->busno = busno; in alloc_error_bus() 51 newbus->busno = curr->bus_num; in alloc_error_bus() 52 list_add_tail(&newbus->bus_list, &gbuses); in alloc_error_bus() 69 rs->busno = curr->bus_num; in alloc_resources() 70 rs->devfunc = curr->dev_fun; in alloc_resources() 71 rs->start = curr->start_addr; in alloc_resources() [all …]
|
/linux-6.12.1/drivers/interconnect/qcom/ |
D | icc-rpm.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 9 #include <linux/soc/qcom/smd-rpm.h> 11 #include <dt-bindings/interconnect/qcom,rpm-icc.h> 13 #include <linux/interconnect-provider.h> 29 * struct rpm_clk_resource - RPM bus clock resource 30 * @resource_type: RPM resource type of the clock resource 31 * @clock_id: index of the clock resource of a specific resource type 41 * struct qcom_icc_provider - Qualcomm specific interconnect provider 44 * @type: the ICC provider type 47 * @ab_coeff: a percentage-based coefficient for compensating the AB calculations [all …]
|
/linux-6.12.1/arch/x86/pci/ |
D | direct.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * direct.c - Low-level direct PCI config space access 13 * (4096 bytes per PCI function) configuration space with type 1 17 #define PCI_CONF1_ADDRESS(bus, devfn, reg) \ argument 18 (0x80000000 | ((reg & 0xF00) << 16) | (bus << 16) \ 21 static int pci_conf1_read(unsigned int seg, unsigned int bus, in pci_conf1_read() argument 26 if (seg || (bus > 255) || (devfn > 255) || (reg > 4095)) { in pci_conf1_read() 27 *value = -1; in pci_conf1_read() 28 return -EINVAL; in pci_conf1_read() 33 outl(PCI_CONF1_ADDRESS(bus, devfn, reg), 0xCF8); in pci_conf1_read() [all …]
|