Home
last modified time | relevance | path

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

12345678910>>...44

/linux/drivers/pci/hotplug/
H A Dibmphp_res.c1 // SPDX-License-Identifier: GPL-2.0+
7 * Copyright (C) 2001 Greg Kroah-Hartman (greg@kroah.com)
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_nu in alloc_resources()
368 add_bus_range(int type,struct range_node * range,struct bus_node * bus_cur) add_bus_range() argument
487 fix_me(struct resource_node * res,struct bus_node * bus_cur,struct range_node * range) fix_me() argument
544 struct range_node *range; fix_resources() local
919 struct range_node *range = NULL; find_range() local
955 struct range_node *range = NULL; ibmphp_check_resource() local
1340 ibmphp_remove_bus(struct bus_node * bus,u8 parent_busno) ibmphp_remove_bus() argument
1479 ibmphp_find_resource(struct bus_node * bus,u32 start_address,struct resource_node ** res,int flag) ibmphp_find_resource() argument
1757 struct range_node *range; ibmphp_print_test() local
1865 range_exists_already(struct range_node * range,struct bus_node * bus_cur,u8 type) range_exists_already() argument
1906 update_bridge_ranges(struct bus_node ** bus) update_bridge_ranges() argument
1916 struct range_node *range; update_bridge_ranges() local
[all...]
/linux/arch/x86/pci/
H A Damd_bus.c1 // SPDX-License-Identifier: GPL-2.0
6 #include <linux/range.h>
11 #include <asm/pci-direct.h>
23 u32 bus; member
31 * It only supports K8, Fam10h, Fam11h, and Fam15h_00h-0fh .
48 if (info->node == node && info->link == link) in find_pci_root_info()
66 * to the LDT Bus Numbe
71 unsigned bus; early_root_info_init() local
81 struct range range[RANGE_NUM]; early_root_info_init() local
358 u8 bus = amd_nb_bus_dev_ranges[i].bus; pci_enable_pci_io_ecs() local
[all...]
/linux/drivers/of/
H A Daddress.c1 // SPDX-License-Identifier: GPL-2.0
17 #include <linux/dma-direct.h> /* for bus_dma_region */
26 /* Callbacks for bus specific translators */
33 u64 (*map)(__be32 *addr, const __be32 *range,
41 * Default translator (generic bus)
53 static u64 of_bus_default_map(__be32 *addr, const __be32 *range, in of_bus_default_map() argument
58 cp = of_read_number(range + fna, na - fn in of_bus_default_map()
91 of_bus_default_flags_map(__be32 * addr,const __be32 * range,int na,int ns,int pna,int fna) of_bus_default_flags_map() argument
171 of_bus_pci_map(__be32 * addr,const __be32 * range,int na,int ns,int pna,int fna) of_bus_pci_map() argument
219 of_pci_range_to_resource(const struct of_pci_range * range,const struct device_node * np,struct resource * res) of_pci_range_to_resource() argument
266 struct of_range range; of_range_to_resource() local
298 of_bus_isa_map(__be32 * addr,const __be32 * range,int na,int ns,int pna,int fna) of_bus_isa_map() argument
420 of_translate_one(const struct device_node * parent,const struct of_bus * bus,const struct of_bus * pbus,__be32 * addr,int na,int ns,int pna,const char * rprop) of_translate_one() argument
507 const struct of_bus *bus, *pbus; __of_translate_address() local
696 const struct of_bus *bus; __of_get_address() local
794 of_pci_range_parser_one(struct of_pci_range_parser * parser,struct of_pci_range * range) of_pci_range_parser_one() argument
899 struct of_range range; of_dma_get_range() local
974 struct of_range range; of_dma_get_max_cpu_address() local
[all...]
H A Dfdt_address.c1 // SPDX-License-Identifier: GPL-2.0+
3 * FDT Address translation based on u-boot fdt_support.c which in turn was
9 * Copyright 2010-2011 Freescale Semiconductor, Inc.
25 /* Callbacks for bus specific translators */
29 u64 (*map)(__be32 *addr, const __be32 *range,
34 /* Default translator (generic bus) */
41 prop = fdt_getprop(blob, parentoffset, "#address-cells", NULL); in fdt_bus_default_count_cells()
45 *addrc = - in fdt_bus_default_count_cells()
57 fdt_bus_default_map(__be32 * addr,const __be32 * range,int na,int ns,int pna) fdt_bus_default_map() argument
97 fdt_translate_one(const void * blob,int parent,const struct of_bus * bus,const struct of_bus * pbus,__be32 * addr,int na,int ns,int pna,const char * rprop) fdt_translate_one() argument
153 const struct of_bus *bus, *pbus; fdt_translate_address() local
[all...]
/linux/drivers/pci/
H A Dof.c1 // SPDX-License-Identifier: GPL-2.0+
3 * PCI <-> OF mapping helpers
22 * pci_set_of_node - Find and set device's DT device_node
26 * DT. Returns -ENODEV if the device is present, but disabled in the DT.
30 if (!dev->bus->dev.of_node) in pci_set_of_node()
34 of_pci_find_child_device(dev->bu in pci_set_of_node()
53 pci_set_bus_of_node(struct pci_bus * bus) pci_set_bus_of_node() argument
68 pci_release_bus_of_node(struct pci_bus * bus) pci_release_bus_of_node() argument
74 pcibios_get_phb_of_node(struct pci_bus * bus) pcibios_get_phb_of_node() argument
92 pci_host_bridge_of_msi_domain(struct pci_bus * bus) pci_host_bridge_of_msi_domain() argument
327 struct of_pci_range range; devm_of_pci_get_host_bridge_resources() local
[all...]
/linux/arch/powerpc/kernel/
H A Dpci-common.c1 // SPDX-License-Identifier: GPL-2.0-or-later
12 * Common pmac/prep/chrp pci routines. -- Cort
37 #include <asm/pci-bridge.h>
40 #include <asm/ppc-pci.h>
73 int ret, phb_id = - in get_phb_number()
212 pcibios_window_alignment(struct pci_bus * bus,unsigned long type) pcibios_window_alignment() argument
228 pcibios_setup_bridge(struct pci_bus * bus,unsigned long type) pcibios_setup_bridge() argument
337 pci_domain_nr(struct pci_bus * bus) pci_domain_nr() argument
568 pci_legacy_read(struct pci_bus * bus,loff_t port,u32 * val,size_t size) pci_legacy_read() argument
608 pci_legacy_write(struct pci_bus * bus,loff_t port,u32 val,size_t size) pci_legacy_write() argument
653 pci_mmap_legacy_page_range(struct pci_bus * bus,struct vm_area_struct * vma,enum pci_mmap_state mmap_state) pci_mmap_legacy_page_range() argument
759 struct of_pci_range range; pci_process_bridge_OF_ranges() local
857 pci_proc_domain(struct pci_bus * bus) pci_proc_domain() argument
932 pcibios_uninitialized_bridge_resource(struct pci_bus * bus,struct resource * res) pcibios_uninitialized_bridge_resource() argument
998 pcibios_fixup_bridge(struct pci_bus * bus) pcibios_fixup_bridge() argument
1034 pcibios_setup_bus_self(struct pci_bus * bus) pcibios_setup_bus_self() argument
1100 pcibios_fixup_bus(struct pci_bus * bus) pcibios_fixup_bus() argument
1219 pcibios_allocate_bus_resources(struct pci_bus * bus) pcibios_allocate_bus_resources() argument
1358 pcibios_reserve_legacy_regions(struct pci_bus * bus) pcibios_reserve_legacy_regions() argument
1449 pcibios_claim_one_bus(struct pci_bus * bus) pcibios_claim_one_bus() argument
1484 pcibios_finish_adding_to_bus(struct pci_bus * bus) pcibios_finish_adding_to_bus() argument
1576 null_read_config(struct pci_bus * bus,unsigned int devfn,int offset,int len,u32 * val) null_read_config() argument
1583 null_write_config(struct pci_bus * bus,unsigned int devfn,int offset,int len,u32 val) null_write_config() argument
1602 static struct pci_bus bus; fake_pci_bus() local
1634 pcibios_get_phb_of_node(struct pci_bus * bus) pcibios_get_phb_of_node() argument
1648 struct pci_bus *bus; pcibios_scan_phb() local
[all...]
/linux/arch/x86/kernel/
H A Dmmconf-fam10h_64.c1 // SPDX-License-Identifier: GPL-2.0
11 #include <linux/range.h>
14 #include <asm/pci-direct.h>
23 u32 bus; member
38 const struct range *r1 = x1; in cmp_range()
39 const struct range *r2 = x2; in cmp_range()
42 start1 = r1->start >> 32; in cmp_range()
43 start2 = r2->star in cmp_range()
57 unsigned bus; get_fam10h_pci_mmconf_base() local
67 struct range range[8]; get_fam10h_pci_mmconf_base() local
[all...]
/linux/Documentation/hwmon/
H A Dtmp513.rst1 .. SPDX-License-Identifier: GPL-2.0
22 Eric Tremblay <etremblay@distech-controls.com>
25 ------
[all...]
/linux/arch/mips/pci/
H A Dpci-legacy.c1 // SPDX-License-Identifier: GPL-2.0-or-later
4 * Copyright (C) 2003, 04, 11 Ralf Baechle (ralf@linux-mips.org)
6 * written by Ralf Baechle (ralf@linux-mips.org)
18 #include <asm/cpu-info.h>
35 return (unsigned long)-1; in pci_address_to_pio()
43 * addresses to be allocated in the 0x000-
85 struct pci_bus *bus; pcibios_scanbus() local
147 struct of_pci_range range; pci_load_of_ranges() local
179 pcibios_get_phb_of_node(struct pci_bus * bus) pcibios_get_phb_of_node() argument
297 pcibios_fixup_bus(struct pci_bus * bus) pcibios_fixup_bus() argument
[all...]
/linux/arch/riscv/boot/dts/sophgo/
H A Dsg2044-sophgo-srd3-10.dts1 // SPDX-License-Identifier: (GPL-2.0 OR MIT)
6 /dts-v1/;
11 model = "Sophgo SG2044 SRD3-10";
12 compatible = "sophgo,srd3-10", "sophgo,sg2044";
22 stdout-path = "serial1:115200n8";
27 clock-frequency = <25000000>;
31 bus-widt
[all...]
/linux/drivers/pci/controller/
H A Dpci-xgene.c1 // SPDX-License-Identifier: GPL-2.0+
3 * APM X-Gene PCIe Driver
20 #include <linux/pci-acpi.h>
21 #include <linux/pci-ecam.h>
73 return readl(port->csr_base + reg); in xgene_pcie_readl()
78 writel(val, port->csr_base + reg); in xgene_pcie_writel()
86 static inline struct xgene_pcie *pcie_bus_to_port(struct pci_bus *bus) in pcie_bus_to_port() argument
91 return (struct xgene_pcie *)(bus in pcie_bus_to_port()
101 xgene_pcie_get_cfg_base(struct pci_bus * bus) xgene_pcie_get_cfg_base() argument
115 xgene_pcie_set_rtdid_reg(struct pci_bus * bus,uint devfn) xgene_pcie_set_rtdid_reg() argument
141 xgene_pcie_hide_rc_bars(struct pci_bus * bus,int offset) xgene_pcie_hide_rc_bars() argument
150 xgene_pcie_map_bus(struct pci_bus * bus,unsigned int devfn,int offset) xgene_pcie_map_bus() argument
161 xgene_pcie_config_read32(struct pci_bus * bus,unsigned int devfn,int where,int size,u32 * val) xgene_pcie_config_read32() argument
478 xgene_pcie_setup_ib_reg(struct xgene_pcie * port,struct of_pci_range * range,u8 * ib_reg_mask) xgene_pcie_setup_ib_reg() argument
530 struct of_pci_range range; xgene_pcie_parse_map_dma_ranges() local
[all...]
/linux/Documentation/devicetree/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 Dqcom,pcie-sa8255p.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/pci/qcom,pcie-sa8255
[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...]
/linux/Documentation/ABI/testing/
H A Dsysfs-bus-cxl1 What: /sys/bus/cxl/flush
4 Contact: linux-cxl@vger.kernel.org
11 What: /sys/bus/cxl/devices/memX/firmware_version
14 Contact: linux-cxl@vger.kernel.org
17 Memory Device Output Payload in the CXL-2.0
21 What: /sys/bus/cxl/devices/memX/payload_max
24 Contact: linux-cxl@vger.kernel.org
31 What: /sys/bus/cxl/devices/memX/label_storage_size
34 Contact: linux-cxl@vger.kernel.org
39 What: /sys/bus/cx
[all...]
H A Dsysfs-bus-dax1 What: /sys/bus/dax/devices/daxX.Y/align
10 What: /sys/bus/dax/devices/daxX.Y/mapping
15 (WO) Provides a way to allocate a mapping range under a dax
16 device. Specified in the format <start>-<end>.
18 What: /sys/bus/dax/devices/daxX.Y/mapping[0..N]/start
19 What: /sys/bus/dax/devices/daxX.Y/mapping[0..N]/end
20 What: /sys/bus/dax/devices/daxX.Y/mapping[0..N]/page_offset
28 start physical address for the given range. The 'end' attribute
29 indicates the end physical address for the given range. The
31 range i
[all...]
H A Dsysfs-bus-event_source-devices-hisi_ptt1 What: /sys/bus/event_source/devices/hisi_ptt<sicl_id>_<core_id>/tune
9 See Documentation/trace/hisi-ptt.rst for more information.
11 What: /sys/bus/event_source/devices/hisi_ptt<sicl_id>_<core_id>/tune/qos_tx_cpl
18 will return an error, and out of range values will be converted
21 What: /sys/bus/event_source/devices/hisi_ptt<sicl_id>_<core_id>/tune/qos_tx_np
25 Description: (RW) Controls the weight of Tx non-posted TLPs, which influence
26 the proportion of outbound non-posted TLPs on the PCIe link.
28 will return an error, and out of range values will be converted
31 What: /sys/bus/event_source/devices/hisi_ptt<sicl_id>_<core_id>/tune/qos_tx_p
38 will return an error, and out of range value
[all...]
/linux/arch/sparc/kernel/
H A Dof_device_32.c1 // SPDX-License-Identifier: GPL-2.0
12 #include <linux/dma-mapping.h>
20 * PCI bus specific translator
29 * parent as-is, not with the PCI translate in of_bus_pci_match()
50 static int of_bus_pci_map(u32 *addr, const u32 *range, in of_bus_pci_map() argument
57 if ((addr[0] ^ range[0]) & 0x03000000) in of_bus_pci_map()
58 return -EINVAL; in of_bus_pci_map()
60 if (of_out_of_range(addr + 1, range in of_bus_pci_map()
122 of_bus_ambapp_map(u32 * addr,const u32 * range,int na,int ns,int pna) of_bus_ambapp_map() argument
189 build_one_resource(struct device_node * parent,struct of_bus * bus,struct of_bus * pbus,u32 * addr,int na,int ns,int pna) build_one_resource() argument
250 struct of_bus *bus; build_device_resources() local
[all...]
/linux/drivers/base/regmap/
H A Dregmap.c1 // SPDX-License-Identifier: GPL-2.0
38 return (map->dev && strcmp(dev_name(map->dev), LOG_DEVICE) == 0); in regmap_should_log()
78 if (regmap_reg_in_ranges(reg, table->no_ranges, table->n_no_ranges)) in regmap_check_range_table()
82 if (!table->n_yes_ranges) in regmap_check_range_table()
85 return regmap_reg_in_ranges(reg, table->yes_ranges, in regmap_check_range_table()
86 table->n_yes_range in regmap_check_range_table()
612 regmap_get_reg_endian(const struct regmap_bus * bus,const struct regmap_config * config) regmap_get_reg_endian() argument
637 regmap_get_val_endian(struct device * dev,const struct regmap_bus * bus,const struct regmap_config * config) regmap_get_val_endian() argument
676 __regmap_init(struct device * dev,const struct regmap_bus * bus,void * bus_context,const struct regmap_config * config,struct lock_class_key * lock_key,const char * lock_name) __regmap_init() argument
1188 __devm_regmap_init(struct device * dev,const struct regmap_bus * bus,void * bus_context,const struct regmap_config * config,struct lock_class_key * lock_key,const char * lock_name) __devm_regmap_init() argument
1540 _regmap_select_page(struct regmap * map,unsigned int * reg,struct regmap_range_node * range,unsigned int val_num) _regmap_select_page() argument
1617 struct regmap_range_node *range; _regmap_raw_write_impl() local
1851 struct regmap_range_node *range; _regmap_bus_formatted_write() local
1879 struct regmap_range_node *range; _regmap_bus_reg_write() local
2442 _regmap_register_page(struct regmap * map,unsigned int reg,struct regmap_range_node * range) _regmap_register_page() argument
2467 struct regmap_range_node *range; _regmap_range_multi_paged_reg_write() local
2587 struct regmap_range_node *range; _regmap_multi_reg_write() local
2732 struct regmap_range_node *range; _regmap_raw_read() local
2765 struct regmap_range_node *range; _regmap_bus_reg_read() local
[all...]
/linux/drivers/bus/
H A Duniphier-system-bus.c1 // SPDX-License-Identifier: GPL-2.0-or-later
14 /* System Bus Controller registers */
43 dev_dbg(priv->dev, in uniphier_system_bus_add_bank()
44 "range found: bank = %d, addr = %08x, paddr = %08llx, size = %08x\n", in uniphier_system_bus_add_bank()
47 if (bank >= ARRAY_SIZE(priv->bank)) { in uniphier_system_bus_add_bank()
48 dev_err(priv->de in uniphier_system_bus_add_bank()
180 struct of_range range; uniphier_system_bus_probe() local
[all...]
/linux/Documentation/input/devices/
H A Dcma3000_d0x.rst1 CMA3000-D0x Accelerometer
5 * VTI CMA3000-D0x
8 CMA3000-D0X Product Family Specification 8281000A.02.pdf
15 -------
[all...]
/linux/arch/arm64/boot/dts/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
[all...]
/linux/Documentation/devicetree/bindings/hwmon/
H A Dti,tmp513.yaml1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Eri
[all...]
/linux/arch/arm64/boot/dts/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
251 range: gpio-range { global() label
[all...]
/linux/Documentation/devicetree/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...]

12345678910>>...44