/openbmc/u-boot/arch/x86/cpu/baytrail/ |
H A D | fsp_configs.c | 35 const void *blob = gd->fdt_blob; in update_fsp_configs() local 43 node = fdtdec_next_compatible(blob, 0, COMPAT_INTEL_BAYTRAIL_FSP); in update_fsp_configs() 49 fsp_upd->mrc_init_tseg_size = fdtdec_get_int(blob, node, in update_fsp_configs() 52 fsp_upd->mrc_init_mmio_size = fdtdec_get_int(blob, node, in update_fsp_configs() 55 fsp_upd->mrc_init_spd_addr1 = fdtdec_get_int(blob, node, in update_fsp_configs() 58 fsp_upd->mrc_init_spd_addr2 = fdtdec_get_int(blob, node, in update_fsp_configs() 61 fsp_upd->emmc_boot_mode = fdtdec_get_int(blob, node, in update_fsp_configs() 64 fsp_upd->enable_sdio = fdtdec_get_bool(blob, node, "fsp,enable-sdio"); in update_fsp_configs() 65 fsp_upd->enable_sdcard = fdtdec_get_bool(blob, node, in update_fsp_configs() 67 fsp_upd->enable_hsuart0 = fdtdec_get_bool(blob, node, in update_fsp_configs() [all …]
|
/openbmc/phosphor-ipmi-blobs/ |
H A D | README.md | 1 # Phosphor Blob Transfer Interface 3 This document describes the commands implementing a generic blob transfer 5 to blob-specific implementations. Introduction This mechanism supports reading 6 and writing from a generic blob store. This mechanism can be leveraged to 12 - Opening a blob for reading or writing 13 - Writing blob content 14 - Committing a blob 15 - Polling until the blob has been committed 16 - Closing a blob 17 - Reading blob content [all …]
|
/openbmc/u-boot/arch/powerpc/cpu/mpc85xx/ |
H A D | fdt.c | 29 extern void ft_qe_setup(void *blob); 30 extern void ft_fixup_num_cores(void *blob); 31 extern void ft_srio_setup(void *blob); 36 void ft_fixup_cpu(void *blob, u64 memory_limit) in ft_fixup_cpu() argument 49 off = fdt_node_offset_by_prop_value(blob, -1, "device_type", "cpu", 4); in ft_fixup_cpu() 51 u32 *reg = (u32 *)fdt_getprop(blob, off, "reg", 0); in ft_fixup_cpu() 58 fdt_setprop_string(blob, off, "status", in ft_fixup_cpu() 61 fdt_setprop_string(blob, off, "status", in ft_fixup_cpu() 77 fdt_setprop(blob, off, "cpu-release-addr", in ft_fixup_cpu() 81 fdt_setprop_string(blob, off, "enable-method", in ft_fixup_cpu() [all …]
|
/openbmc/u-boot/arch/x86/cpu/braswell/ |
H A D | fsp_configs.c | 49 const void *blob = gd->fdt_blob; in update_fsp_configs() local 57 node = fdt_node_offset_by_compatible(blob, 0, "intel,braswell-fsp"); in update_fsp_configs() 63 node = fdt_node_offset_by_compatible(blob, node, in update_fsp_configs() 71 memory_upd->mrc_init_tseg_size = fdtdec_get_int(blob, node, in update_fsp_configs() 73 memory_upd->mrc_init_mmio_size = fdtdec_get_int(blob, node, in update_fsp_configs() 75 memory_upd->mrc_init_spd_addr1 = fdtdec_get_int(blob, node, in update_fsp_configs() 77 memory_upd->mrc_init_spd_addr2 = fdtdec_get_int(blob, node, in update_fsp_configs() 79 memory_upd->igd_dvmt50_pre_alloc = fdtdec_get_int(blob, node, in update_fsp_configs() 81 memory_upd->aperture_size = fdtdec_get_int(blob, node, in update_fsp_configs() 83 memory_upd->gtt_size = fdtdec_get_int(blob, node, in update_fsp_configs() [all …]
|
/openbmc/u-boot/arch/arm/cpu/armv8/fsl-layerscape/ |
H A D | fdt.c | 31 int fdt_fixup_phy_connection(void *blob, int offset, phy_interface_t phyc) in fdt_fixup_phy_connection() argument 33 return fdt_setprop_string(blob, offset, "phy-connection-type", in fdt_fixup_phy_connection() 38 void ft_fixup_cpu(void *blob) in ft_fixup_cpu() argument 49 off = fdt_path_offset(blob, "/cpus"); in ft_fixup_cpu() 55 fdt_support_default_count_cells(blob, off, &addr_cells, NULL); in ft_fixup_cpu() 57 off = fdt_node_offset_by_prop_value(blob, off_prev, "device_type", in ft_fixup_cpu() 60 reg = (fdt32_t *)fdt_getprop(blob, off, "reg", 0); in ft_fixup_cpu() 64 fdt_del_node(blob, off); in ft_fixup_cpu() 69 off = fdt_node_offset_by_prop_value(blob, off_prev, in ft_fixup_cpu() 82 node = fdt_path_offset(blob, "/psci"); in ft_fixup_cpu() [all …]
|
H A D | icid.c | 46 int fdt_set_iommu_prop(void *blob, int off, int smmu_ph, u32 *ids, int num_ids) in fdt_set_iommu_prop() argument 60 ret = fdt_setprop(blob, off, "iommus", in fdt_set_iommu_prop() 70 int fdt_fixup_icid_tbl(void *blob, int smmu_ph, in fdt_fixup_icid_tbl() argument 79 off = fdt_node_offset_by_compat_reg(blob, in fdt_fixup_icid_tbl() 83 err = fdt_set_iommu_prop(blob, off, smmu_ph, in fdt_fixup_icid_tbl() 110 void fdt_fixup_fman_port_icid_by_compat(void *blob, int smmu_ph, in fdt_fixup_fman_port_icid_by_compat() argument 116 noff = fdt_node_offset_by_compatible(blob, -1, compat); in fdt_fixup_fman_port_icid_by_compat() 118 prop = fdt_getprop(blob, noff, "cell-index", &len); in fdt_fixup_fman_port_icid_by_compat() 136 fdt_set_iommu_prop(blob, noff, smmu_ph, (u32 *)&icid, 1); in fdt_fixup_fman_port_icid_by_compat() 138 noff = fdt_node_offset_by_compatible(blob, noff, compat); in fdt_fixup_fman_port_icid_by_compat() [all …]
|
/openbmc/linux/drivers/media/test-drivers/visl/ |
H A D | visl-debugfs.c | 43 struct visl_blob *blob; in visl_trace_bitstream() local 48 blob = kzalloc(sizeof(*blob), GFP_KERNEL); in visl_trace_bitstream() 49 if (!blob) in visl_trace_bitstream() 52 blob->blob.data = vzalloc(data_sz); in visl_trace_bitstream() 53 if (!blob->blob.data) in visl_trace_bitstream() 56 blob->blob.size = data_sz; in visl_trace_bitstream() 59 memcpy(blob->blob.data, vaddr, data_sz); in visl_trace_bitstream() 62 &blob->blob); in visl_trace_bitstream() 66 blob->dentry = dentry; in visl_trace_bitstream() 69 list_add_tail(&blob->list, &ctx->dev->bitstream_blobs); in visl_trace_bitstream() [all …]
|
/openbmc/u-boot/lib/ |
H A D | fdtdec.c | 79 fdt_addr_t fdtdec_get_addr_size_fixed(const void *blob, int node, in fdtdec_get_addr_size_fixed() argument 91 prop = fdt_getprop(blob, node, prop_name, &len); in fdtdec_get_addr_size_fixed() 109 addr = fdt_translate_address(blob, node, prop_addr); in fdtdec_get_addr_size_fixed() 125 fdt_addr_t fdtdec_get_addr_size_auto_parent(const void *blob, int parent, in fdtdec_get_addr_size_auto_parent() argument 134 na = fdt_address_cells(blob, parent); in fdtdec_get_addr_size_auto_parent() 140 ns = fdt_size_cells(blob, parent); in fdtdec_get_addr_size_auto_parent() 148 return fdtdec_get_addr_size_fixed(blob, node, prop_name, index, na, in fdtdec_get_addr_size_auto_parent() 152 fdt_addr_t fdtdec_get_addr_size_auto_noparent(const void *blob, int node, in fdtdec_get_addr_size_auto_noparent() argument 161 parent = fdt_parent_offset(blob, node); in fdtdec_get_addr_size_auto_noparent() 167 return fdtdec_get_addr_size_auto_parent(blob, parent, node, prop_name, in fdtdec_get_addr_size_auto_noparent() [all …]
|
/openbmc/linux/drivers/gpu/drm/ |
H A D | drm_property.c | 513 * NOTE: The idea seems to have been to use this to read all the blob in drm_mode_getproperty_ioctl() 516 * read the value for a blob property. It also doesn't make a lot of in drm_mode_getproperty_ioctl() 528 struct drm_property_blob *blob = in drm_property_free_blob() local 531 mutex_lock(&blob->dev->mode_config.blob_lock); in drm_property_free_blob() 532 list_del(&blob->head_global); in drm_property_free_blob() 533 mutex_unlock(&blob->dev->mode_config.blob_lock); in drm_property_free_blob() 535 drm_mode_object_unregister(blob->dev, &blob->base); in drm_property_free_blob() 537 kvfree(blob); in drm_property_free_blob() 541 * drm_property_create_blob - Create new blob property 543 * @length: Length to allocate for blob data [all …]
|
/openbmc/u-boot/arch/powerpc/cpu/mpc83xx/ |
H A D | fdt.c | 14 extern void ft_qe_setup(void *blob); 22 void fdt_fixup_muram (void *blob) in fdt_fixup_muram() argument 28 do_fixup_by_compat(blob, "fsl,qe-muram-data", "reg", in fdt_fixup_muram() 33 void ft_cpu_setup(void *blob, bd_t *bd) in ft_cpu_setup() argument 45 fdt_fixup_crypto_node(blob, 0); in ft_cpu_setup() 50 fdt_fixup_crypto_node(blob, 0x0204); in ft_cpu_setup() 65 nodeoffset = fdt_path_offset(blob, "/aliases"); in ft_cpu_setup() 68 prop = fdt_getprop(blob, nodeoffset, "ethernet0", NULL); in ft_cpu_setup() 72 path = fdt_path_offset(blob, prop); in ft_cpu_setup() 73 prop = fdt_getprop(blob, path, "interrupts", in ft_cpu_setup() [all …]
|
/openbmc/u-boot/arch/powerpc/cpu/mpc8xxx/ |
H A D | fdt.c | 23 static int ft_del_cpuhandle(void *blob, int cpuhandle) in ft_del_cpuhandle() argument 30 off = fdt_node_offset_by_prop_value(blob, -1, "cpu-handle", in ft_del_cpuhandle() 33 fdt_delprop(blob, off, "cpu-handle"); in ft_del_cpuhandle() 35 off = fdt_node_offset_by_prop_value(blob, -1, "cpu-handle", in ft_del_cpuhandle() 42 void ft_fixup_num_cores(void *blob) { in ft_fixup_num_cores() argument 48 off = fdt_node_offset_by_prop_value(blob, -1, "device_type", "cpu", 4); in ft_fixup_num_cores() 50 u32 *reg = (u32 *)fdt_getprop(blob, off, "reg", 0); in ft_fixup_num_cores() 54 int ph = fdt_get_phandle(blob, off); in ft_fixup_num_cores() 57 if (-FDT_ERR_NOTFOUND == ft_del_cpuhandle(blob, ph)) { in ft_fixup_num_cores() 58 fdt_del_node(blob, off); in ft_fixup_num_cores() [all …]
|
/openbmc/u-boot/include/ |
H A D | fdt_support.h | 74 * @param blob FDT blob to update 79 int fdt_fixup_memory(void *blob, u64 start, u64 size); 88 * @param blob FDT blob to update 96 int fdt_fixup_memory_banks(void *blob, u64 start[], u64 size[], int banks); 98 static inline int fdt_fixup_memory_banks(void *blob, u64 start[], u64 size[], in fdt_fixup_memory_banks() argument 116 * @param blob FDT blob to update 121 int fdt_fixup_display(void *blob, const char *path, const char *display); 124 void fsl_fdt_fixup_dr_usb(void *blob, bd_t *bd); 126 static inline void fsl_fdt_fixup_dr_usb(void *blob, bd_t *bd) {} in fsl_fdt_fixup_dr_usb() argument 130 void fdt_fixup_crypto_node(void *blob, int sec_rev); [all …]
|
H A D | fdtdec.h | 194 * fdtdec_parse_phandle_with_args(blob, node3, "list", "#list-cells", 0, 1, 200 * @blob: Pointer to device tree 214 int fdtdec_parse_phandle_with_args(const void *blob, int src_node, 232 * @param blob FDT blob to use 237 int fdtdec_next_alias(const void *blob, const char *name, 247 * @param blob FDT blob to use 251 enum fdt_compat_id fdtdec_lookup(const void *blob, int node); 260 * @param blob FDT blob to use 265 int fdtdec_next_compatible(const void *blob, int node, 276 * @param blob FDT blob to use [all …]
|
/openbmc/docs/ |
H A D | features.md | 41 https://github.com/openbmc/openbmc-test-automation/blob/master/README.md 42 [bmcweb]: https://github.com/openbmc/bmcweb/blob/master/README.md 44 https://github.com/openbmc/bmcweb/blob/master/DEVELOPING.md#redfish 48 …https://github.com/openbmc/phosphor-dbus-interfaces/blob/master/yaml/xyz/openbmc_project/Chassis/R… 50 https://github.com/openbmc/phosphor-dbus-interfaces/blob/master/README.md 52 https://github.com/openbmc/docs/blob/master/architecture/object-mapper.md 54 https://github.com/openbmc/entity-manager/blob/master/README.md 58 https://github.com/openbmc/docs/blob/master/architecture/code-update/code-update.md 60 https://github.com/openbmc/openpower-hw-diags/blob/master/README.md 62 https://github.com/openbmc/docs/blob/master/host-management.md [all …]
|
/openbmc/u-boot/arch/arm/cpu/armv7/ls102xa/ |
H A D | fdt.c | 73 void ft_cpu_setup(void *blob, bd_t *bd) in ft_cpu_setup() argument 86 fdt_fixup_crypto_node(blob, 0); in ft_cpu_setup() 92 fdt_fixup_crypto_node(blob, sec_in32(&sec->secvid_ms)); in ft_cpu_setup() 96 off = fdt_node_offset_by_prop_value(blob, -1, "device_type", "cpu", 4); in ft_cpu_setup() 99 fdt_setprop(blob, off, "clock-frequency", &val, 4); in ft_cpu_setup() 100 off = fdt_node_offset_by_prop_value(blob, off, in ft_cpu_setup() 104 do_fixup_by_prop_u32(blob, "device_type", "soc", in ft_cpu_setup() 107 ft_fixup_enet_phy_connect_type(blob); in ft_cpu_setup() 110 do_fixup_by_compat_u32(blob, "fsl,16550-FIFO64", in ft_cpu_setup() 114 sysclk_path = fdt_get_alias(blob, "sysclk"); in ft_cpu_setup() [all …]
|
/openbmc/u-boot/drivers/pci/ |
H A D | pcie_layerscape_fixup.c | 72 static void fdt_pcie_set_msi_map_entry(void *blob, struct ls_pcie *pcie, in fdt_pcie_set_msi_map_entry() argument 82 nodeoffset = fdt_node_offset_by_compat_reg(blob, "fsl,ls-pcie", in fdt_pcie_set_msi_map_entry() 94 nodeoffset = fdt_node_offset_by_compat_reg(blob, in fdt_pcie_set_msi_map_entry() 102 prop = (u32 *)fdt_getprop(blob, nodeoffset, "msi-parent", 0); in fdt_pcie_set_msi_map_entry() 111 fdt_appendprop_u32(blob, nodeoffset, "msi-map", devid); in fdt_pcie_set_msi_map_entry() 112 fdt_appendprop_u32(blob, nodeoffset, "msi-map", phandle); in fdt_pcie_set_msi_map_entry() 113 fdt_appendprop_u32(blob, nodeoffset, "msi-map", streamid); in fdt_pcie_set_msi_map_entry() 114 fdt_appendprop_u32(blob, nodeoffset, "msi-map", 1); in fdt_pcie_set_msi_map_entry() 125 static void fdt_pcie_set_iommu_map_entry(void *blob, struct ls_pcie *pcie, in fdt_pcie_set_iommu_map_entry() argument 136 nodeoffset = fdt_node_offset_by_compat_reg(blob, "fsl,ls-pcie", in fdt_pcie_set_iommu_map_entry() [all …]
|
/openbmc/docs/designs/ |
H A D | firmware-update-via-blobs.md | 1 # In-Band Update of BMC Firmware (and others) using OEM IPMI Blob Transport 32 Please read the IPMI BLOB protocol design as primer 33 [here](https://github.com/openbmc/phosphor-ipmi-blobs/blob/master/README.md). 40 layout) flash images. Leveraging the BLOB protocol allows a system to provide 61 OpenBMC supports a BLOB protocol that provides primitives. These primitives 63 for specific "blobs." A blob in this context is a file path that is strictly 66 Sending the firmware image over the BLOB protocol will be done via routing the 67 [phosphor-ipmi-flash design](https://github.com/openbmc/phosphor-ipmi-flash/blob/master/README.md) 68 through a BLOB handler. This is meant to supplant `phosphor-ipmi-flash`'s 73 To enforce sequencing control, the design requires that only one blob be open at [all …]
|
H A D | binarystore-via-blobs.md | 1 # BMC Generic Binary Blob Store via OEM IPMI Blob Transport 25 Despite its name, the binary blob store cannot be used for everything. 28 blob store and not try to write it due to concurrency concerns. It is expected 29 the only accessors are the IPMI blob store commands. 40 Please read the IPMI Blob protocol design as primer 41 [here](https://github.com/openbmc/phosphor-ipmi-blobs/blob/master/README.md). 50 1. The host should know the specific blob base id that it intends to operate on. 59 each handler of the IPMI Blob protocol. 61 ### Blob ID Definition 63 A "blob id" is a unique string that identifies a blob. Binary Store handler may [all …]
|
/openbmc/u-boot/arch/arm/mach-socfpga/ |
H A D | pinmux_arria10.c | 11 static int do_pinctr_pin(const void *blob, int child, const char *node_name) in do_pinctr_pin() argument 19 base_addr = fdtdec_get_addr_size(blob, child, "reg", &size); in do_pinctr_pin() 21 cell = fdt_getprop(blob, child, "pinctrl-single,pins", &len); in do_pinctr_pin() 37 static int do_pinctrl_pins(const void *blob, int node, const char *child_name) in do_pinctrl_pins() argument 42 child = fdt_first_subnode(blob, node); in do_pinctrl_pins() 47 node_name = fdt_get_name(blob, child, &len); in do_pinctrl_pins() 51 return do_pinctr_pin(blob, child, node_name); in do_pinctrl_pins() 53 child = fdt_next_subnode(blob, child); in do_pinctrl_pins() 58 node_name = fdt_get_name(blob, child, &len); in do_pinctrl_pins() 64 int config_dedicated_pins(const void *blob) in config_dedicated_pins() argument [all …]
|
/openbmc/u-boot/drivers/qe/ |
H A D | fdt.c | 21 void fdt_fixup_qe_firmware(void *blob) in fdt_fixup_qe_firmware() argument 30 node = fdt_path_offset(blob, "/qe"); in fdt_fixup_qe_firmware() 35 node = fdt_add_subnode(blob, node, "firmware"); in fdt_fixup_qe_firmware() 39 ret = fdt_setprop(blob, node, "extended-modes", in fdt_fixup_qe_firmware() 44 ret = fdt_setprop_string(blob, node, "id", qe_fw_info->id); in fdt_fixup_qe_firmware() 48 ret = fdt_setprop(blob, node, "virtual-traps", qe_fw_info->vtraps, in fdt_fixup_qe_firmware() 56 fdt_del_node(blob, node); in fdt_fixup_qe_firmware() 59 void ft_qe_setup(void *blob) in ft_qe_setup() argument 61 do_fixup_by_prop_u32(blob, "device_type", "qe", 4, in ft_qe_setup() 63 do_fixup_by_prop_u32(blob, "device_type", "qe", 4, in ft_qe_setup() [all …]
|
/openbmc/u-boot/common/ |
H A D | fdt_support.c | 103 * @fdt: pointer to the device tree blob 417 int fdt_fixup_memory_banks(void *blob, u64 start[], u64 size[], int banks) in fdt_fixup_memory_banks() argument 430 err = fdt_check_header(blob); in fdt_fixup_memory_banks() 437 nodeoffset = fdt_find_or_add_subnode(blob, 0, "memory"); in fdt_fixup_memory_banks() 441 err = fdt_setprop(blob, nodeoffset, "device_type", "memory", in fdt_fixup_memory_banks() 465 len = fdt_pack_reg(blob, tmp, start, size, banks); in fdt_fixup_memory_banks() 467 err = fdt_setprop(blob, nodeoffset, "reg", tmp, len); in fdt_fixup_memory_banks() 477 int fdt_fixup_memory(void *blob, u64 start, u64 size) in fdt_fixup_memory() argument 479 return fdt_fixup_memory_banks(blob, &start, &size, 1); in fdt_fixup_memory() 560 int fdt_record_loadable(void *blob, u32 index, const char *name, in fdt_record_loadable() argument [all …]
|
/openbmc/u-boot/drivers/misc/ |
H A D | fsl_portals.c | 104 static int fdt_qportal(void *blob, int off, int id, char *name, in fdt_qportal() argument 114 childoff = fdt_subnode_offset(blob, off, name); in fdt_qportal() 126 dev_off = fdt_path_offset(blob, handle); in fdt_qportal() 134 childoff = fdt_add_subnode(blob, off, name); in fdt_qportal() 137 dev_off = fdt_path_offset(blob, handle); in fdt_qportal() 142 dev_handle = fdt_get_phandle(blob, dev_off); in fdt_qportal() 144 dev_handle = fdt_alloc_phandle(blob); in fdt_qportal() 145 ret = fdt_set_phandle(blob, dev_off, in fdt_qportal() 151 ret = fdt_setprop(blob, childoff, "dev-handle", in fdt_qportal() 158 ret = fdt_setprop(blob, childoff, "fsl,liodn", in fdt_qportal() [all …]
|
/openbmc/linux/drivers/staging/media/atomisp/pci/ |
H A D | sh_css_firmware.c | 66 struct ia_css_blob_descr *sh_css_blob_info; /* Only ISP blob info (no SP) */ 90 blob_data = fw_data + fw->blob.offset; in setup_binary() 94 sh_css_fw->blob.code = vmalloc(fw->blob.size); in setup_binary() 95 if (!sh_css_fw->blob.code) in setup_binary() 98 memcpy((void *)sh_css_fw->blob.code, blob_data, fw->blob.size); in setup_binary() 99 sh_css_fw->blob.data = (char *)sh_css_fw->blob.code + fw->blob.data_source; in setup_binary() 100 fw_minibuffer[binary_id].buffer = sh_css_fw->blob.code; in setup_binary() 111 const unsigned char *blob; in sh_css_load_blob_info() local 120 name = fw + bi->blob.prog_name_offset; in sh_css_load_blob_info() 121 blob = (const unsigned char *)fw + bi->blob.offset; in sh_css_load_blob_info() [all …]
|
/openbmc/u-boot/arch/powerpc/cpu/mpc86xx/ |
H A D | fdt.c | 11 extern void ft_fixup_num_cores(void *blob); 12 extern void ft_srio_setup(void *blob); 14 void ft_cpu_setup(void *blob, bd_t *bd) in ft_cpu_setup() argument 21 do_fixup_by_prop_u32(blob, "device_type", "cpu", 4, in ft_cpu_setup() 23 do_fixup_by_prop_u32(blob, "device_type", "cpu", 4, in ft_cpu_setup() 25 do_fixup_by_prop_u32(blob, "device_type", "cpu", 4, in ft_cpu_setup() 27 do_fixup_by_prop_u32(blob, "device_type", "soc", 4, in ft_cpu_setup() 30 fdt_fixup_memory(blob, (u64)bd->bi_memstart, (u64)bd->bi_memsize); in ft_cpu_setup() 33 do_fixup_by_compat_u32(blob, "ns16550", in ft_cpu_setup() 39 off = fdt_add_mem_rsv(blob, bootpg, (u64)4096); in ft_cpu_setup() [all …]
|
/openbmc/u-boot/board/freescale/common/ |
H A D | cds_pci_ft.c | 12 static void cds_pci_fixup(void *blob) in cds_pci_fixup() argument 20 node = fdt_path_offset(blob, "/aliases"); in cds_pci_fixup() 22 path = fdt_getprop(blob, node, "pci0", NULL); in cds_pci_fixup() 24 node = fdt_path_offset(blob, path); in cds_pci_fixup() 26 map = fdt_getprop_w(blob, node, "interrupt-map", &len); in cds_pci_fixup() 33 cells = fdt_getprop_u32_default(blob, path, "#address-cells", 1); in cds_pci_fixup() 34 cells += fdt_getprop_u32_default(blob, path, "#interrupt-cells", 1); in cds_pci_fixup() 35 off = fdt_node_offset_by_phandle(blob, fdt32_to_cpu(*(map+cells))); in cds_pci_fixup() 39 piccells = (u32 *)fdt_getprop(blob, off, "#address-cells", NULL); in cds_pci_fixup() 43 piccells = (u32 *)fdt_getprop(blob, off, "#interrupt-cells", NULL); in cds_pci_fixup() [all …]
|