Home
last modified time | relevance | path

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

12345678910>>...44

/freebsd-src/sys/xen/xenbus/
H A Dxenbusb.h1 /*-
4 * SPDX-License-Identifier: BSD-2-Clause
42 * bus attachements (e.g. frontend and backend device buses) for XenBus.
55 * \brief Container for all state needed to manage a Xenbus Bus
61 * XenStore where devices for this bus attachment arrive
86 * The number of children for this bus that are still
92 /** The NewBus device_t for this bus attachment. */
97 * bus attachment manages.
103 * character) that make up the device ID on this bus.
115 * count of its parent bus.
[all …]
H A Dxenbusb_back.c7 * Copyright (C) 2005 Mike Wray, Hewlett-Packard
35 * XenBus management of the NewBus bus containing the backend instances of
40 #include <sys/bus.h>
54 #include <xen/xen-os.h>
59 /*------------------ Private Device Attachment Functions --------------------*/
61 * \brief Probe for the existence of the XenBus back bus.
63 * \param dev NewBus device_t for this XenBus back bus instance.
76 * \brief Attach the XenBus back bus.
78 * \param dev NewBus device_t for this XenBus back bus instance.
81 * type of failure.
[all …]
H A Dxenbusb_front.c7 * Copyright (C) 2005 Mike Wray, Hewlett-Packard
35 * XenBus management of the NewBus bus containing the frontend instances of
40 #include <sys/bus.h>
54 #include <xen/xen-os.h>
59 /*------------------ Private Device Attachment Functions --------------------*/
61 * \brief Probe for the existence of the XenBus front bus.
63 * \param dev NewBus device_t for this XenBus front bus instance.
76 * \brief Attach the XenBus front bus.
78 * \param dev NewBus device_t for this XenBus front bus instance.
81 * type of failure.
[all …]
/freebsd-src/sys/dev/fdt/
H A Dsimplebus.c1 /*-
2 * SPDX-License-Identifier: BSD-2-Clause
32 #include <sys/bus.h>
44 * Bus interface.
49 static void simplebus_probe_nomatch(device_t bus, device_t child);
50 static int simplebus_print_child(device_t bus, device_t child);
53 static struct resource_list *simplebus_get_resource_list(device_t bus,
359 simplebus_get_property(device_t bus,device_t child,const char * propname,void * propvalue,size_t size,device_property_type_t type) simplebus_get_property() argument
360 simplebus_get_property(device_t bus,device_t child,const char * propname,void * propvalue,size_t size,device_property_type_t type) simplebus_get_property() argument
428 simplebus_alloc_resource(device_t bus,device_t child,int type,int * rid,rman_res_t start,rman_res_t end,rman_res_t count,u_int flags) simplebus_alloc_resource() argument
500 simplebus_probe_nomatch(device_t bus,device_t child) simplebus_probe_nomatch() argument
502 const char *name, *type, *compat; simplebus_probe_nomatch() local
523 simplebus_print_child(device_t bus,device_t child) simplebus_print_child() argument
[all...]
/freebsd-src/sys/contrib/device-tree/src/arm/aspeed/
H A Daspeed-bmc-opp-tacoma.dts1 // 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-binding
[all...]
/freebsd-src/sys/dev/clk/allwinner/
H A Dccu_a64.c1 /*-
2 * SPDX-License-Identifier: BSD-2-Clause
30 #include <sys/bus.h>
34 #include <machine/bus.h>
47 #include <dt-bindings/clock/sun50i-a64-ccu.h>
48 #include <dt-bindings/reset/sun50i-a64-ccu.h>
50 /* Non-exported clocks */
141 CCU_GATE(CLK_BUS_MIPI_DSI, "bus-mipi-dsi", "ahb1", 0x60, 1)
142 CCU_GATE(CLK_BUS_CE, "bus-ce", "ahb1", 0x60, 5)
143 CCU_GATE(CLK_BUS_DMA, "bus-dma", "ahb1", 0x60, 6)
[all …]
H A Dccu_h3.c1 /*-
2 * SPDX-License-Identifier: BSD-2-Clause
30 #include <sys/bus.h>
34 #include <machine/bus.h>
43 #include <sys/bus.h>
55 #include <dt-bindings/clock/sun8i-h3-ccu.h>
56 #include <dt-bindings/reset/sun8i-h3-ccu.h>
58 /* Non-exported resets */
61 /* Non-exported clocks */
160 CCU_GATE(CLK_BUS_CE, "bus-ce", "ahb1", 0x60, 5)
[all …]
H A Dccu_a83t.c1 /*-
2 * SPDX-License-Identifier: BSD-2-Clause
30 #include <sys/bus.h>
34 #include <machine/bus.h>
47 #include <dt-bindings/clock/sun8i-a83t-ccu.h>
48 #include <dt-bindings/reset/sun8i-a83t-ccu.h>
50 /* Non-exported clocks */
76 /* Non-exported fixed clocks */
134 CCU_GATE(CLK_BUS_MIPI_DSI, "bus-mipi-dsi", "ahb1", 0x60, 1)
135 CCU_GATE(CLK_BUS_SS, "bus-ss", "ahb1", 0x60, 5)
[all …]
H A Dccu_de2.c1 /*-
2 * SPDX-License-Identifier: BSD-2-Clause
30 #include <sys/bus.h>
34 #include <machine/bus.h>
53 #include <dt-bindings/clock/sun8i-de2.h>
54 #include <dt-bindings/reset/sun8i-de2.h>
78 CCU_GATE(CLK_BUS_MIXER0, "mixer0", "mixer0-div", 0x00, 0)
79 CCU_GATE(CLK_BUS_WB, "wb", "wb-div", 0x00, 2)
81 CCU_GATE(CLK_MIXER0, "bus-mixer0", "bus-de", 0x04, 0)
82 CCU_GATE(CLK_WB, "bus-wb", "bus-de", 0x04, 2)
[all …]
H A Dccu_h6.c1 /*-
2 * SPDX-License-Identifier: BSD-2-Clause
30 #include <sys/bus.h>
34 #include <machine/bus.h>
47 #include <dt-bindings/clock/sun50i-h6-ccu.h>
48 #include <dt-bindings/reset/sun50i-h6-ccu.h>
50 /* Non-exported clocks */
117 CCU_GATE(CLK_BUS_PSI, "bus-psi", "psi_ahb1_ahb2", 0x79c, 0)
120 CCU_GATE(CLK_BUS_MMC0, "bus-mmc0", "ahb3", 0x84c, 0)
121 CCU_GATE(CLK_BUS_MMC1, "bus-mmc1", "ahb3", 0x84c, 1)
[all …]
/freebsd-src/sys/dev/pci/
H A Dpci_subr.c1 /*-
2 * SPDX-License-Identifier: BSD-2-Clause
37 #include <sys/bus.h>
47 * Try to read the bus number of a host-PCI bridge using appropriate config
51 host_pcib_get_busno(pci_read_config_fn read_config, int bus, int slot, int func, in host_pcib_get_busno() argument
56 id = read_config(0, bus, slo in host_pcib_get_busno()
181 pcib_host_res_decodes(struct pcib_host_resources * hr,int type,rman_res_t start,rman_res_t end,u_int flags) pcib_host_res_decodes() argument
203 pcib_host_res_alloc(struct pcib_host_resources * hr,device_t dev,int type,int * rid,rman_res_t start,rman_res_t end,rman_res_t count,u_int flags) pcib_host_res_alloc() argument
[all...]
H A Dpci_pci.c1 /*-
2 * SPDX-License-Identifier: BSD-3-Clause
41 #include <sys/bus.h>
76 enum pci_id_type type, uintptr_t *id);
86 int *bus, int *slot, int *func);
104 /* Bus interface */
147 "Clear firmware-assigne
215 pcib_activate_window(struct pcib_softc * sc,int type) pcib_activate_window() argument
432 pcib_alloc_window(struct pcib_softc * sc,struct pcib_window * w,int type,int flags,pci_addr_t max_address) pcib_alloc_window() argument
586 pcib_release_window(struct pcib_softc * sc,struct pcib_window * w,int type) pcib_release_window() argument
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
1915 pcib_suballoc_resource(struct pcib_softc * sc,struct pcib_window * w,device_t child,int type,int * rid,rman_res_t start,rman_res_t end,rman_res_t count,u_int flags) pcib_suballoc_resource() argument
1948 pcib_alloc_new_window(struct pcib_softc * sc,struct pcib_window * w,int type,rman_res_t start,rman_res_t end,rman_res_t count,u_int flags) pcib_alloc_new_window() argument
2021 pcib_expand_window(struct pcib_softc * sc,struct pcib_window * w,int type,rman_res_t base,rman_res_t limit) pcib_expand_window() argument
2119 pcib_grow_window(struct pcib_softc * sc,struct pcib_window * w,int type,rman_res_t start,rman_res_t end,rman_res_t count,u_int flags) pcib_grow_window() argument
2286 pcib_alloc_resource(device_t dev,device_t child,int type,int * rid,rman_res_t start,rman_res_t end,rman_res_t count,u_int flags) pcib_alloc_resource() 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
2381 int error, type; pcib_adjust_resource() local
2465 int error, type; pcib_activate_resource() local
2493 int error, type; pcib_deactivate_resource() local
2578 pcib_alloc_resource(device_t dev,device_t child,int type,int * rid,rman_res_t start,rman_res_t end,rman_res_t count,u_int flags) pcib_alloc_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
2995 pcib_ari_get_id(device_t pcib,device_t dev,enum pci_id_type type,uintptr_t * id) pcib_ari_get_id() argument
3000 uint8_t bus, slot, func; pcib_ari_get_id() local
3123 device_t bus; pcib_request_feature_default() local
[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,
93 device_t child, int type, in
193 int error, type; acpi_pcib_producer_handler() local
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
704 acpi_pcib_acpi_alloc_resource(device_t dev,device_t child,int type,int * rid,rman_res_t start,rman_res_t end,rman_res_t count,u_int flags) acpi_pcib_acpi_alloc_resource() argument
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/dma/
H A Dadi,axi-dmac.txt1 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 …]
H A Darm-pl08x.yaml1 # 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 …]
/freebsd-src/sys/dev/bhnd/
H A Dbhnd_bus_if.m1 #-
2 # Copyright (c) 2015-2016 Landon Fuller <landonf@FreeBSD.org>
31 #include <sys/bus.h>
40 # bhnd(4) bus interface
258 return (-1);
262 bhnd_bus_null_decode_port_rid(device_t dev, device_t child, int type,
270 bhnd_port_type type, u_int port, u_int region, bhnd_addr_t *addr,
278 const char *name, void *buf, size_t *size, bhnd_nvram_type type)
286 * Return the bhnd(4) bus driver's device enumeration parser class.
288 * @param driver The bhnd bus driver instance.
[all …]
H A Dbhnd.h1 /*-
2 * SPDX-License-Identifier: BSD-2-Clause
4 * Copyright (c) 2015-2016 Landon Fuller <landon@landonf.org>
41 #include <sys/bus.h>
45 #include <machine/bus.h>
63 BHND_IVAR_VENDOR, /**< Designer's JEP-106 manufacturer ID. */
69 BHND_IVAR_CORE_INDEX, /**< Bus-assigned core number */
70 BHND_IVAR_CORE_UNIT, /**< Bus-assigned core unit number,
73 BHND_IVAR_PMU_INFO, /**< Internal bus-managed PMU state */
107 * Per-core IOCTL flags common to all bhnd(4) cores.
[all …]
/freebsd-src/sys/contrib/device-tree/Bindings/i2c/
H A Di2c-qcom-cci.txt5 - compatible:
7 Value type: <string>
9 "qcom,msm8916-cci"
10 "qcom,msm8996-cci"
11 "qcom,sdm845-cci"
12 "qcom,sm8250-cci"
13 "qcom,sm8450-cci"
15 - reg
17 Value type: <prop-encoded-array>
21 - interrupts:
[all …]
/freebsd-src/sys/contrib/device-tree/Bindings/bus/
H A Dintel,ixp4xx-expansion-bus-controller.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/bus/intel,ixp4xx-expansion-bus-controller.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Intel IXP4xx Expansion Bus Controller
10 The IXP4xx expansion bus controller handles access to devices on the
11 memory-mapped expansion bus on the Intel IXP4xx family of system on chips,
15 - Linus Walleij <linus.walleij@linaro.org>
19 pattern: '^bus@[0-9a-f]+$'
23 - enum:
[all …]
/freebsd-src/usr.sbin/bhyve/amd64/
H A Dmptbl.c1 /*-
2 * SPDX-License-Identifier: BSD-2-Clause
77 /* Bus entry defines */
92 for(bytes = base, sum = 0; len > 0; len--) { in mpt_compute_checksum()
96 return (256 - sum); in mpt_compute_checksum()
104 memcpy(mpfp->signature, MPFP_SIG, 4); in mpt_build_mpfp()
105 mpfp->pap = gpa + sizeof(*mpfp); in mpt_build_mpfp()
106 mpfp->length = 1; in mpt_build_mpfp()
107 mpfp->spec_rev = MP_SPECREV; in mpt_build_mpfp()
108 mpfp->checksum = mpt_compute_checksum(mpfp, sizeof(*mpfp)); in mpt_build_mpfp()
[all …]
/freebsd-src/sys/powerpc/ps3/
H A Dps3bus.c1 /*-
2 * SPDX-License-Identifier: BSD-2-Clause
34 #include <sys/bus.h>
45 #include <machine/bus.h>
50 #include "ps3-hvcall.h"
58 static int ps3bus_read_ivar(device_t bus, device_t child, int which,
60 static struct rman *ps3bus_get_rman(device_t bus, in
79 int bus; global() member
333 uint64_t bustype, bus, devs; ps3bus_attach() local
503 ps3bus_read_ivar(device_t bus,device_t child,int which,uintptr_t * result) ps3bus_read_ivar() argument
534 ps3bus_get_rman(device_t bus,int type,u_int flags) ps3bus_get_rman() argument
550 ps3bus_alloc_resource(device_t bus,device_t child,int type,int * rid,rman_res_t start,rman_res_t end,rman_res_t count,u_int flags) ps3bus_alloc_resource() argument
603 ps3bus_map_resource(device_t bus,device_t child,struct resource * r,struct resource_map_request * argsp,struct resource_map * map) ps3bus_map_resource() argument
640 ps3bus_unmap_resource(device_t bus,device_t child,struct resource * r,struct resource_map * map) ps3bus_unmap_resource() argument
[all...]
/freebsd-src/sys/powerpc/psim/
H A Diobus.c1 /*-
2 * SPDX-License-Identifier: BSD-3-Clause
31 * PSIM 'iobus' local bus. Should be set up in the device tree like:
33 * /iobus@0x80000000/name psim-iobus
35 * Code borrowed from various nexus.c and uninorth.c :-)
43 #include <sys/bus.h>
44 #include <machine/bus
130 const char *type = ofw_bus_get_name(dev); iobus_probe() local
306 iobus_get_rman(device_t bus,int type,u_int flags) iobus_get_rman() argument
321 iobus_alloc_resource(device_t bus,device_t child,int type,int * rid,rman_res_t start,rman_res_t end,rman_res_t count,u_int flags) iobus_alloc_resource() argument
342 iobus_adjust_resource(device_t bus,device_t child,struct resource * r,rman_res_t start,rman_res_t end) iobus_adjust_resource() argument
359 iobus_release_resource(device_t bus,device_t child,struct resource * res) iobus_release_resource() argument
374 iobus_activate_resource(device_t bus,device_t child,struct resource * res) iobus_activate_resource() argument
389 iobus_deactivate_resource(device_t bus,device_t child,struct resource * res) iobus_deactivate_resource() argument
404 iobus_map_resource(device_t bus,device_t child,struct resource * r,struct resource_map_request * argsp,struct resource_map * map) iobus_map_resource() argument
442 iobus_unmap_resource(device_t bus,device_t child,struct resource * r,struct resource_map * map) iobus_unmap_resource() argument
[all...]
/freebsd-src/share/man/man9/
H A Dbhnd.91 .\" Copyright (c) 2015-2016 Landon Fuller <landonf@FreeBSD.org>
38 .Ss Bus Resource Functions
41 .Fa "device_t dev" "int type" "int rid" "struct bhnd_resource *r"
45 .Fa "device_t dev" "int type" "int *rid" "rman_res_t start" "rman_res_t end"
50 .Fa "device_t dev" "int type" "int *rid" "u_int flags"
58 .Fa "device_t dev" "int type" "int rid" "struct bhnd_resource *r"
62 .Fa "device_t dev" "int type" "int rid" "struct bhnd_resource *r"
70 .Ss "Bus Space Functions"
330 .Fa "device_t bus" "const struct bhnd_core_match *desc"
392 .Bd -literal
[all …]
/freebsd-src/sys/x86/x86/
H A Dmptable.c1 /*-
2 * SPDX-License-Identifier: BSD-2-Clause
34 #include <sys/bus.h>
76 uint8_t type;
84 {1, 8, "Bus"},
106 u_char type;
110 /* From MP spec v1.4, table 4-
82 uint8_t type; global() member
112 u_char type; global() member
153 u_char bus; global() member
158 u_char bus; /* Source bus. */ global() member
573 bus_entry_ptr bus; mptable_count_items_handler() local
628 bus_entry_ptr bus; mptable_parse_apics_and_busses_handler() local
1096 mptable_pci_probe_table(int bus) mptable_pci_probe_table() argument
1185 u_char bus; global() member
1201 int error, *flagp, flags, type; mptable_host_res_handler() local
[all...]
/freebsd-src/sys/dev/ofw/
H A Dofwbus.c1 /*-
37 #include <sys/bus.h>
47 #include <machine/bus.h>
51 * The ofwbus (which is a pseudo-bus actually) iterates over the nodes that
52 * hang from the Open Firmware root node and adds them as devices to this bus
68 /* Bus interface */
91 panic("ofwbus added with non-zero unit number: %d\n", in ofwbus_probe()
108 if (node == -1) in ofwbus_attach()
112 * ofwbus bus start in ofwbus_attach()
132 ofwbus_alloc_resource(device_t bus,device_t child,int type,int * rid,rman_res_t start,rman_res_t end,rman_res_t count,u_int flags) ofwbus_alloc_resource() argument
173 ofwbus_release_resource(device_t bus,device_t child,struct resource * r) ofwbus_release_resource() argument
[all...]

12345678910>>...44