Home
last modified time | relevance | path

Searched +full:bus +full:- +full:range (Results 1 – 25 of 1002) sorted by relevance

12345678910>>...41

/freebsd-src/sys/kern/
H A Dbus_if.m1 #-
2 # Copyright (c) 1998-2004 Doug Rabson
30 #include <sys/bus.h>
33 * @defgroup BUS bus - KObj methods for drivers of devices with children
38 INTERFACE bus;
53 null_remap_intr(device_t bus, device_t dev, u_int irq)
62 null_add_child(device_t bus, int order, const char *name,
67 "unit %d", device_get_nameunit(bus), nam
[all...]
/freebsd-src/tools/bus_space/examples/
H A Dam79c900_diag.py55 import bus
56 from bus import dma as busdma
121 pcicfg = bus.map(dev, 'pcicfg')
124 vendor = bus.read_2(pcicfg, 0)
125 device = bus.read_2(pcicfg, 2)
127 logging.error('Not an AMD PCnet-PCI (vendor=%x, device=%x)' %
131 command = bus.read_2(pcicfg, 4)
135 bus.write_2(pcicfg, 4, command)
138 logging.info('enabling bus mastering')
140 bus.write_2(pcicfg, 4, command)
[all …]
/freebsd-src/sys/contrib/device-tree/Bindings/pci/
H A Drenesas,pci-rcar-gen2.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/pci/renesas,pci-rca
[all...]
H A Dhost-generic-pci.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/pci/host-generi
[all...]
H A Dpci-rcar-gen2.txt2 -------------------------
9 - compatible: "renesas,pci-r8a7742" for the R8A7742 SoC;
10 "renesas,pci-r8a7743" for the R8A7743 SoC;
11 "renesas,pci-r8a7744" for the R8A7744 SoC;
12 "renesas,pci-r8a7745" for the R8A7745 SoC;
13 "renesas,pci-r8a7790" for the R8A7790 SoC;
14 "renesas,pci-r8a7791" for the R8A7791 SoC;
15 "renesas,pci-r8a7793" for the R8A7793 SoC;
16 "renesas,pci-r8a7794" for the R8A7794 SoC;
17 "renesas,pci-rcar-gen2" for a generic R-Car Gen2 or
[all …]
H A Dmediatek-pcie.txt4 - compatible: Should contain one of the following strings:
5 "mediatek,mt2701-pcie"
6 "mediatek,mt2712-pcie"
7 "mediatek,mt7622-pcie"
8 "mediatek,mt7623-pcie"
9 "mediatek,mt7629-pcie"
10 "airoha,en7523-pcie"
11 - device_type: Must be "pci"
12 - reg: Base addresses and lengths of the root ports.
13 - reg-names: Names of the above areas to use during resource lookup.
[all …]
H A Dhisilicon-histb-pcie.txt6 Documentation/devicetree/bindings/pci/snps,dw-pcie.yaml.
11 - compatible: Should be one of the following strings:
12 "hisilicon,hi3798cv200-pcie"
13 - reg: Should contain sysctl, rc_dbi, config registers location and length.
14 - reg-names: Must include the following entries:
16 "rc-dbi": configuration space of PCIe controller;
18 - bus-range: PCI bus numbers covered.
19 - interrupts: MSI interrupt.
20 - interrupt-names: Must include "msi" entries.
21 - clocks: List of phandle and clock specifier pairs as listed in clock-names
[all …]
/freebsd-src/sys/dev/pci/
H A Dpci_pci.c1 /*-
2 * SPDX-License-Identifier: BSD-3-Clause
41 #include <sys/bus.h>
86 int *bus, int *slot, int *func);
104 /* Bus interface */
147 "Clear firmware-assigned resources for PCI-PC
629 pcib_setup_secbus(device_t dev,struct pcib_secbus * bus,int min_count) pcib_setup_secbus() argument
696 pcib_free_secbus(device_t dev,struct pcib_secbus * bus) pcib_free_secbus() argument
714 pcib_suballoc_bus(struct pcib_secbus * bus,device_t child,int * rid,rman_res_t start,rman_res_t end,rman_res_t count,u_int flags) pcib_suballoc_bus() argument
740 pcib_grow_subbus(struct pcib_secbus * bus,rman_res_t new_end) pcib_grow_subbus() argument
764 pcib_alloc_subbus(struct pcib_secbus * bus,device_t child,int * rid,rman_res_t start,rman_res_t end,rman_res_t count,u_int flags) pcib_alloc_subbus() argument
2375 pcib_adjust_resource(device_t bus,device_t child,struct resource * r,rman_res_t start,rman_res_t end) pcib_adjust_resource() argument
2736 pcib_xlate_ari(device_t pcib,int bus,int * slot,int * func) pcib_xlate_ari() argument
2816 pcib_ari_decode_rid(device_t pcib,uint16_t rid,int * bus,int * slot,int * func) pcib_ari_decode_rid() argument
2880 device_t bus; pcib_route_interrupt() local
2915 device_t bus; pcib_alloc_msi() local
2928 device_t bus; pcib_release_msi() local
2939 device_t bus; pcib_alloc_msix() local
2951 device_t bus; pcib_release_msix() local
2962 device_t bus; pcib_map_msi() local
2978 device_t bus; pcib_power_for_sleep() local
3000 uint8_t bus, slot, func; pcib_ari_get_id() local
3123 device_t bus; pcib_request_feature_default() local
[all...]
H A Dpci_host_generic.c1 /*-
42 #include <sys/bus.h>
50 #include <machine/bus.h>
71 static uint32_t generic_pcie_read_config(device_t dev, u_int bus, u_int slot,
73 static void generic_pcie_write_config(device_t dev, u_int bus, u_int slot,
97 sc->dev = dev; in pci_host_generic_core_attach()
108 sc->coherent ? BUS_DMA_COHERENT : 0, /* flags */ in pci_host_generic_core_attach()
110 &sc->dmat); in pci_host_generic_core_attach()
119 (void)bus_dma_tag_set_domain(sc->dmat, domain); in pci_host_generic_core_attach()
121 if ((sc->quirk in pci_host_generic_core_attach()
292 generic_pcie_read_config(device_t dev,u_int bus,u_int slot,u_int func,u_int reg,int bytes) generic_pcie_read_config() argument
328 generic_pcie_write_config(device_t dev,u_int bus,u_int slot,u_int func,u_int reg,uint32_t val,int bytes) generic_pcie_write_config() argument
485 struct pcie_range *range; generic_pcie_translate_resource() local
616 struct pcie_range *range; generic_pcie_map_resource() local
656 struct pcie_range *range; generic_pcie_unmap_resource() local
[all...]
/freebsd-src/sys/arm64/cavium/
H A Dthunder_pcie_common.c1 /*-
38 #include <sys/bus.h>
41 #include <machine/bus.h>
76 if (addr >= r->pci_base && in range_addr_is_pci()
77 addr < (r->pci_base + r->size) && in range_addr_is_pci()
78 size < r->size) { in range_addr_is_pci()
79 /* Address is within PCI range */ in range_addr_is_pci()
84 /* Address is outside PCI range */ in range_addr_is_pci()
96 if (addr >= r->phys_base && in range_addr_is_phys()
97 addr < (r->phys_base + r->size) && in range_addr_is_phys()
[all …]
/freebsd-src/sys/contrib/device-tree/src/arm64/apple/
H A Dt8112-j473.dts1 // SPDX-License-Identifier: GPL-2.0+ OR MIT
5 * target-type: J473
10 /dts-v1/;
13 #include "t8112-jxxx.dtsi"
16 compatible = "apple,j473", "apple,t8112", "apple,arm-platform";
25 * Force the bus number assignments so that we can declare some of the
26 * on-board devices and properties that are populated by the bootloader
30 bus-range = <1 1>;
34 bus-range = <2 2>;
39 bus-range = <3 3>;
[all …]
H A Dt600x-j375.dtsi1 // SPDX-License-Identifier: GPL-2.0+ OR MIT
7 * target-type: J375c / J375d
19 #address-cells = <2>;
20 #size-cells = <2>;
23 stdout-path = "serial0";
26 compatible = "apple,simple-framebuffer", "simple-framebuffer";
45 hpm0: usb-pd@38 {
48 interrupt-parent = <&pinctrl_ap>;
50 interrupt-names = "irq";
53 hpm1: usb-pd@3f {
[all …]
/freebsd-src/stand/efi/include/
H A Defipciio.h5 Copyright (c) 2006 - 2010, Intel Corporation. All rights reserved.<BR>
9 http://opensource.org/licenses/bsd-license.php
56 #define EFI_PCI_IO_ATTRIBUTE_ISA_MOTHERBOARD_IO 0x0001 ///< I/O cycles 0x0000-0x00FF (10 bit dec…
57 #define EFI_PCI_IO_ATTRIBUTE_ISA_IO 0x0002 ///< I/O cycles 0x0100-0x03FF or greater …
59 #define EFI_PCI_IO_ATTRIBUTE_VGA_MEMORY 0x0008 ///< MEM cycles 0xA0000-0xBFFFF (24 bit d…
60 #define EFI_PCI_IO_ATTRIBUTE_VGA_IO 0x0010 ///< I/O cycles 0x3B0-0x3BB and 0x3C0-0x3…
61 #define EFI_PCI_IO_ATTRIBUTE_IDE_PRIMARY_IO 0x0020 ///< I/O cycles 0x1F0-0x1F7, 0x3F6, 0x3F7…
62 #define EFI_PCI_IO_ATTRIBUTE_IDE_SECONDARY_IO 0x0040 ///< I/O cycles 0x170-0x177, 0x376, 0x377…
63 #define EFI_PCI_IO_ATTRIBUTE_MEMORY_WRITE_COMBINE 0x0080 ///< Map a memory range so writes are com…
67 #define EFI_PCI_IO_ATTRIBUTE_MEMORY_CACHED 0x0800 ///< Map a memory range so all r/w access…
[all …]
/freebsd-src/sys/contrib/device-tree/Bindings/hwmon/
H A Dti,tmp513.yaml1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
3 ---
6 $schema: http://devicetree.org/meta-schemas/core.yaml#
11 - Eri
[all...]
/freebsd-src/sys/contrib/device-tree/Bindings/i2c/
H A Daspeed,i2c.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
5 $schema: http://devicetree.org/meta-schema
[all...]
/freebsd-src/sys/contrib/device-tree/src/arm64/hisilicon/
H A Dhi3798cv200.dtsi1 // SPDX-License-Identifier: GPL-2.0
5 * Copyright (c) 2016-2017 HiSilicon Technologies Co., Ltd.
8 #include <dt-bindings/clock/histb-clock.h>
9 #include <dt-bindings/gpio/gpio.h>
10 #include <dt-bindings/interrupt-controller/arm-gi
210 range: gpio-range { global() label
[all...]
/freebsd-src/sys/dev/acpica/
H A Dacpi_pcib_acpi.c1 /*-
33 #include <sys/bus.h>
66 int ap_bus; /* bios-assigned bus number */
67 int ap_addr; /* device/func of PCI-Host bridge */
73 static int acpi_pcib_acpi_probe(device_t bus);
74 static int acpi_pcib_acpi_attach(device_t bus);
79 static uint32_t acpi_pcib_read_config(device_t dev, u_int bus,
81 static void acpi_pcib_write_config(device_t dev, u_int bus,
107 static bus_dma_tag_t acpi_pcib_get_dma_tag(device_t bus, device_
634 acpi_pcib_read_config(device_t dev,u_int bus,u_int slot,u_int func,u_int reg,int bytes) acpi_pcib_read_config() argument
643 acpi_pcib_write_config(device_t dev,u_int bus,u_int slot,u_int func,u_int reg,uint32_t data,int bytes) acpi_pcib_write_config() argument
663 device_t bus; acpi_pcib_alloc_msi() local
673 device_t bus; acpi_pcib_alloc_msix() local
684 device_t bus, hostb; acpi_pcib_map_msi() local
821 acpi_pcib_get_dma_tag(device_t bus,device_t child) acpi_pcib_get_dma_tag() argument
[all...]
/freebsd-src/sys/contrib/device-tree/Bindings/misc/
H A Difm-csi.txt1 IFM camera sensor interface on mpc5200 LocalPlus bus
4 - compatible: "ifm,o2d-csi"
5 - reg: specifies sensor chip select number and associated address range
6 - interrupts: external interrupt line number and interrupt sense mode
8 - gpios: three gpio-specifiers for "capture", "reset" and "master enable"
10 - ifm,csi-clk-handle: the phandle to a node in the DT describing the sensor
12 - ifm,csi-addr-bus-width: address bus width (valid values are 16, 24, 25)
13 - ifm,csi-data-bus-width: data bus width (valid values are 8 and 16)
14 - ifm,csi-wait-cycles: sensor bus wait cycles
17 - ifm,csi-byte-swap: if this property is present, the byte swapping on
[all …]
/freebsd-src/sys/contrib/device-tree/Bindings/usb/
H A Dusb251xb.txt1 Microchip USB 2.0 Hi-Speed Hub Controller
4 Hi-Speed Controller.
7 - compatible : Should be "microchip,usb251xb" or one of the specific types:
11 - reg : I2C address on the selected bus (default is <0x2C>)
14 - reset-gpios : Should specify the gpio for hub reset
15 - vdd-supply : Should specify the phandle to the regulator supplying vdd
16 - skip-config : Skip Hub configuration, but only send the USB-Attach command
17 - vendor-id : Set USB Vendor ID of the hub (16 bit, default is 0x0424)
18 - product-id : Set USB Product ID of the hub (16 bit, default depends on type)
19 - device-id : Set USB Device ID of the hub (16 bit, default is 0x0bb3)
[all …]
/freebsd-src/sys/contrib/device-tree/src/arm/marvell/
H A Darmada-xp-mv78460.dtsi1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
7 * Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
13 #include "armada-xp.dtsi"
17 compatible = "marvell,armadaxp-mv78460", "marvell,armadaxp", "marvell,armada-370-xp";
27 #address-cells = <1>;
28 #size-cells = <0>;
29 enable-method = "marvell,armada-xp-smp";
33 compatible = "marvell,sheeva-v7";
36 clock-latency = <1000000>;
41 compatible = "marvell,sheeva-v7";
[all …]
H A Darmada-xp-mv78260.dtsi1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
7 * Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
13 #include "armada-xp.dtsi"
17 compatible = "marvell,armadaxp-mv78260", "marvell,armadaxp", "marvell,armada-370-xp";
26 #address-cells = <1>;
27 #size-cells = <0>;
28 enable-method = "marvell,armada-xp-smp";
32 compatible = "marvell,sheeva-v7";
35 clock-latency = <1000000>;
40 compatible = "marvell,sheeva-v7";
[all …]
/freebsd-src/usr.sbin/usbconfig/
H A Dusbconfig.82 .\" Copyright (c) 2008-2019 Hans Petter Selasky. All rights reserved.
52 .Bl -tag -width "-u unit"
54 Limit device range to the given USB device index.
62 Limit device range to USB devices connected to the given unit and address.
74 Limit device range to USB devices connected to the given USBUS unit.
87 .Bl -tag -width indent
90 Valid values range from zero to the number reported as the
97 but without going into power saving mode or detaching from the bus.
169 This is the default for non-hub devices.
172 This forces the USB stack to reenumerate the bus.
[all …]
/freebsd-src/share/man/man9/
H A Dbus_adjust_resource.91 .\" -*- nroff -*-
33 .Nd adjust resource allocated from a parent bus
47 This function is used to ask the parent bus to adjust the resource range
53 The new resource range must overlap the existing range of
66 .Bd -literal
76 .Bl -tag -width Er
86 The new address range does not overlap with the existing address range of
89 The new address range conflicts with another allocated resource.
/freebsd-src/sys/contrib/device-tree/src/powerpc/fsl/
H A Dmpc8544si-post.dtsi36 #address-cells = <2>;
37 #size-cells = <1>;
38 compatible = "fsl,mpc8544-lbc", "fsl,pq3-localbus", "simple-bus";
44 compatible = "fsl,mpc8540-pci";
47 bus-range
[all...]
/freebsd-src/usr.sbin/pciconf/
H A Dpciconf.831 .Nd diagnostic utility for the PCI bus
53 normally only the super-user.
60 .Bd -literal
80 hex digits, followed by the sub-class and the interface bytes.
99 .Em multi-function
115 .Bd -literal
122 All fields retain the same definition as with the non-compact form.
139 Each bridge lists a range of bus numbers handled by the bridge and its
143 .Bd -literal
144 window[1c] = type I/O Port, range 16, addr 0x5000-0x8fff, enabled
[all …]

12345678910>>...41