/openbmc/linux/drivers/thermal/intel/int340x_thermal/ |
H A D | processor_thermal_device_pci.c | 64 static void proc_thermal_mmio_read(struct proc_thermal_pci *pci_info, in proc_thermal_mmio_read() argument 68 *value = ioread32(((u8 __iomem *)pci_info->proc_priv->mmio_base + in proc_thermal_mmio_read() 74 static void proc_thermal_mmio_write(struct proc_thermal_pci *pci_info, in proc_thermal_mmio_write() argument 81 current_val = ioread32(((u8 __iomem *)pci_info->proc_priv->mmio_base + in proc_thermal_mmio_write() 90 iowrite32(current_val, ((u8 __iomem *)pci_info->proc_priv->mmio_base + in proc_thermal_mmio_write() 102 struct proc_thermal_pci *pci_info = container_of(delayed_work, in proc_thermal_threshold_work_fn() local 104 struct thermal_zone_device *tzone = pci_info->tzone; in proc_thermal_threshold_work_fn() 110 proc_thermal_mmio_write(pci_info, PROC_THERMAL_MMIO_INT_ENABLE_0, 1); in proc_thermal_threshold_work_fn() 122 struct proc_thermal_pci *pci_info = devid; in proc_thermal_irq_handler() local 125 proc_thermal_mmio_read(pci_info, PROC_THERMAL_MMIO_INT_STATUS_0, &status); in proc_thermal_irq_handler() [all …]
|
/openbmc/linux/drivers/edac/ |
H A D | amd8111_edac.c | 85 static void amd8111_pci_bridge_init(struct amd8111_pci_info *pci_info) in amd8111_pci_bridge_init() argument 88 struct pci_dev *dev = pci_info->dev; in amd8111_pci_bridge_init() 133 static void amd8111_pci_bridge_exit(struct amd8111_pci_info *pci_info) in amd8111_pci_bridge_exit() argument 136 struct pci_dev *dev = pci_info->dev; in amd8111_pci_bridge_exit() 158 struct amd8111_pci_info *pci_info = edac_dev->pvt_info; in amd8111_pci_bridge_check() local 159 struct pci_dev *dev = pci_info->dev; in amd8111_pci_bridge_check() 166 "register on device %s\n", pci_info->ctl_name); in amd8111_pci_bridge_check() 182 "register on device %s\n", pci_info->ctl_name); in amd8111_pci_bridge_check() 196 "register on device %s\n", pci_info->ctl_name); in amd8111_pci_bridge_check() 211 pci_info->ctl_name); in amd8111_pci_bridge_check() [all …]
|
/openbmc/u-boot/board/freescale/mpc8544ds/ |
H A D | mpc8544ds.c | 66 struct fsl_pci_info pci_info; in pci_init_board() local 89 SET_STD_PCIE_INFO(pci_info, 3); in pci_init_board() 90 pcie_ep = fsl_setup_hose(&pcie3_hose, pci_info.regs); in pci_init_board() 103 pci_info.regs); in pci_init_board() 104 first_free_busno = fsl_pci_init_port(&pci_info, in pci_init_board() 121 SET_STD_PCIE_INFO(pci_info, 1); in pci_init_board() 122 first_free_busno = fsl_pcie_init_ctrl(first_free_busno, devdisr, PCIE1, &pci_info); in pci_init_board() 128 SET_STD_PCIE_INFO(pci_info, 2); in pci_init_board() 129 first_free_busno = fsl_pcie_init_ctrl(first_free_busno, devdisr, PCIE2, &pci_info); in pci_init_board() 141 SET_STD_PCI_INFO(pci_info, 1); in pci_init_board() [all …]
|
/openbmc/u-boot/board/xes/common/ |
H A D | fsl_8xxx_pci.c | 27 struct fsl_pci_info pci_info; in pci_init_board() local 37 SET_STD_PCI_INFO(pci_info, 1); in pci_init_board() 38 set_next_law(pci_info.mem_phys, in pci_init_board() 39 law_size_bits(pci_info.mem_size), pci_info.law); in pci_init_board() 40 set_next_law(pci_info.io_phys, in pci_init_board() 41 law_size_bits(pci_info.io_size), pci_info.law); in pci_init_board() 43 pcie_ep = fsl_setup_hose(&pci1_hose, pci_info.regs); in pci_init_board() 52 first_free_busno = fsl_pci_init_port(&pci_info, in pci_init_board()
|
/openbmc/u-boot/board/freescale/qemu-ppce500/ |
H A D | qemu-ppce500.c | 154 struct fsl_pci_info pci_info = { }; in pci_init_board() local 159 pci_info.regs = fdt_translate_address(fdt, pci_node, reg); in pci_init_board() 162 r = pci_map_region(fdt, pci_node, 0, &pci_info.mem_phys, NULL, in pci_init_board() 163 &pci_info.mem_size, &map_addr); in pci_init_board() 168 r = pci_map_region(fdt, pci_node, 1, &pci_info.io_phys, NULL, in pci_init_board() 169 &pci_info.io_size, &map_addr); in pci_init_board() 177 pci_info.mem_bus = pci_info.mem_phys; in pci_init_board() 178 pci_info.io_bus = pci_info.io_phys; in pci_init_board() 181 pci_info.pci_num = pci_num + 1; in pci_init_board() 183 fsl_setup_hose(&pci_hoses[pci_num], pci_info.regs); in pci_init_board() [all …]
|
/openbmc/u-boot/board/freescale/mpc8568mds/ |
H A D | mpc8568mds.c | 295 struct fsl_pci_info pci_info; in pci_init_board() local 312 SET_STD_PCI_INFO(pci_info, 1); in pci_init_board() 313 set_next_law(pci_info.mem_phys, in pci_init_board() 314 law_size_bits(pci_info.mem_size), pci_info.law); in pci_init_board() 315 set_next_law(pci_info.io_phys, in pci_init_board() 316 law_size_bits(pci_info.io_size), pci_info.law); in pci_init_board() 318 pci_agent = fsl_setup_hose(&pci1_hose, pci_info.regs); in pci_init_board() 326 pci_info.regs); in pci_init_board() 331 first_free_busno = fsl_pci_init_port(&pci_info, in pci_init_board()
|
/openbmc/u-boot/drivers/pci/ |
H A D | fsl_pci_init.c | 292 void fsl_pci_init(struct pci_controller *hose, struct fsl_pci_info *pci_info) in fsl_pci_init() argument 294 u32 cfg_addr = (u32)&((ccsr_fsl_pci_t *)pci_info->regs)->cfg_addr; in fsl_pci_init() 295 u32 cfg_data = (u32)&((ccsr_fsl_pci_t *)pci_info->regs)->cfg_data; in fsl_pci_init() 400 sprintf(pcie, "PCIE%d", pci_info->pci_num); in fsl_pci_init() 404 pci_info->pci_num); in fsl_pci_init() 532 printf("undetermined, regs @ 0x%lx\n", pci_info->regs); in fsl_pci_init() 534 printf("no link, regs @ 0x%lx\n", pci_info->regs); in fsl_pci_init() 545 (temp16 & 0xf), pci_info->regs); in fsl_pci_init() 634 int fsl_pci_init_port(struct fsl_pci_info *pci_info, in fsl_pci_init_port() argument 643 pci = (ccsr_fsl_pci_t *) pci_info->regs; in fsl_pci_init_port() [all …]
|
/openbmc/u-boot/board/freescale/mpc8610hpcd/ |
H A D | mpc8610hpcd.c | 223 struct fsl_pci_info pci_info; in pci_init_board() local 234 SET_STD_PCI_INFO(pci_info, 1); in pci_init_board() 235 set_next_law(pci_info.mem_phys, in pci_init_board() 236 law_size_bits(pci_info.mem_size), pci_info.law); in pci_init_board() 237 set_next_law(pci_info.io_phys, in pci_init_board() 238 law_size_bits(pci_info.io_size), pci_info.law); in pci_init_board() 240 pci_agent = fsl_setup_hose(&pci1_hose, pci_info.regs); in pci_init_board() 244 pci_info.regs); in pci_init_board() 248 first_free_busno = fsl_pci_init_port(&pci_info, in pci_init_board()
|
/openbmc/u-boot/board/freescale/mpc8536ds/ |
H A D | mpc8536ds.c | 148 struct fsl_pci_info pci_info; in pci_init_board() local 166 SET_STD_PCI_INFO(pci_info, 1); in pci_init_board() 167 set_next_law(pci_info.mem_phys, in pci_init_board() 168 law_size_bits(pci_info.mem_size), pci_info.law); in pci_init_board() 169 set_next_law(pci_info.io_phys, in pci_init_board() 170 law_size_bits(pci_info.io_size), pci_info.law); in pci_init_board() 172 pci_agent = fsl_setup_hose(&pci1_hose, pci_info.regs); in pci_init_board() 180 pci_info.regs); in pci_init_board() 182 first_free_busno = fsl_pci_init_port(&pci_info, in pci_init_board()
|
/openbmc/u-boot/board/freescale/mpc8548cds/ |
H A D | mpc8548cds.c | 195 struct fsl_pci_info pci_info; in pci_init_board() local 215 SET_STD_PCI_INFO(pci_info, 1); in pci_init_board() 216 set_next_law(pci_info.mem_phys, in pci_init_board() 217 law_size_bits(pci_info.mem_size), pci_info.law); in pci_init_board() 218 set_next_law(pci_info.io_phys, in pci_init_board() 219 law_size_bits(pci_info.io_size), pci_info.law); in pci_init_board() 221 pci_agent = fsl_setup_hose(&pci1_hose, pci_info.regs); in pci_init_board() 228 pci_info.regs); in pci_init_board() 231 first_free_busno = fsl_pci_init_port(&pci_info, in pci_init_board()
|
/openbmc/u-boot/board/sbc8548/ |
H A D | sbc8548.c | 247 struct fsl_pci_info pci_info; in pci_init_board() local 265 SET_STD_PCI_INFO(pci_info, 1); in pci_init_board() 266 set_next_law(pci_info.mem_phys, in pci_init_board() 267 law_size_bits(pci_info.mem_size), pci_info.law); in pci_init_board() 268 set_next_law(pci_info.io_phys, in pci_init_board() 269 law_size_bits(pci_info.io_size), pci_info.law); in pci_init_board() 271 first_free_busno = fsl_pci_init_port(&pci_info, in pci_init_board()
|
/openbmc/linux/drivers/pci/ |
H A D | setup-res.c | 141 pci_info(dev, "can't claim BAR %d %pR: no address assigned\n", in pci_claim_resource() 156 pci_info(dev, "can't claim BAR %d %pR: no compatible bridge window\n", in pci_claim_resource() 164 pci_info(dev, "can't claim BAR %d %pR: address conflict with %s %pR\n", in pci_claim_resource() 234 pci_info(dev, "BAR %d: trying firmware assignment %pR\n", in pci_revert_fw_address() 238 pci_info(dev, "BAR %d: %pR conflicts with %s %pR\n", in pci_revert_fw_address() 337 pci_info(dev, "BAR %d: can't assign %pR (bogus alignment)\n", in pci_assign_resource() 351 pci_info(dev, "BAR %d: no space for %pR\n", resno, res); in pci_assign_resource() 356 pci_info(dev, "BAR %d: failed to assign %pR\n", resno, res); in pci_assign_resource() 362 pci_info(dev, "BAR %d: assigned %pR\n", resno, res); in pci_assign_resource() 384 pci_info(dev, "BAR %d: can't reassign an unassigned resource %pR\n", in pci_reassign_resource() [all …]
|
H A D | quirks.c | 103 pci_info(dev, "broken device, retraining non-functional downstream link at 2.5GT/s\n"); in pcie_failed_link_retrain() 111 pci_info(dev, "retraining failed\n"); in pcie_failed_link_retrain() 126 pci_info(dev, "removing 2.5GT/s downstream link speed restriction\n"); in pcie_failed_link_retrain() 134 pci_info(dev, "retraining failed\n"); in pcie_failed_link_retrain() 146 pci_info(dev, "calling %pS @ %i\n", fn, task_pid_nr(current)); in fixup_debug_start() 161 pci_info(dev, "%pS took %lld usecs\n", fn, duration); in fixup_debug_report() 286 pci_info(dev, "CLS mismatch (%u != %u), using %u bytes\n", in pci_apply_final_quirks() 339 pci_info(d, "PIIX3: Enabling Passive Release\n"); in quirk_passive_release() 361 pci_info(dev, "Activating ISA DMA hang workarounds\n"); in quirk_isa_dma_hangs() 392 pci_info(dev, FW_BUG "Tiger Point LPC.BM_STS cleared\n"); in quirk_tigerpoint_bm_sts() [all …]
|
H A D | rom.c | 95 pci_info(pdev, "Invalid PCI ROM header signature: expecting 0xaa55, got %#06x\n", in pci_get_rom_size() 102 pci_info(pdev, "Invalid PCI ROM data signature: expecting 0x52494350, got %#010x\n", in pci_get_rom_size() 114 pci_info(pdev, "No more image in the PCI ROM\n"); in pci_get_rom_size()
|
H A D | probe.c | 257 pci_info(dev, FW_BUG "reg 0x%x: invalid BAR (can't size)\n", in __pci_read_base() 278 pci_info(dev, "reg 0x%x: can't handle BAR above 4GB (bus address %#010llx)\n", in __pci_read_base() 305 pci_info(dev, "reg 0x%x: initial BAR value %#010llx invalid\n", in __pci_read_base() 316 pci_info(dev, "reg 0x%x: %pR\n", pos, res); in __pci_read_base() 434 pci_info(dev, " bridge window %pR\n", res); in pci_read_bridge_io() 456 pci_info(dev, " bridge window %pR\n", res); in pci_read_bridge_mmio() 509 pci_info(dev, " bridge window %pR\n", res); in pci_read_bridge_mmio_pref() 522 pci_info(dev, "PCI bridge to %pR%s\n", in pci_read_bridge_bases() 539 pci_info(dev, " bridge window %pR (subtractive decode)\n", in pci_read_bridge_bases() 1136 pci_info(child, "extended config space not accessible\n"); in pci_alloc_child_bus() [all …]
|
H A D | setup-bus.c | 252 pci_info(add_res->dev, "failed to add %llx res[%d]=%pR\n", in reassign_resources_sorted() 509 pci_info(bridge, "CardBus bridge to %pR\n", in pci_setup_cardbus() 519 pci_info(bridge, " bridge window %pR\n", res); in pci_setup_cardbus() 529 pci_info(bridge, " bridge window %pR\n", res); in pci_setup_cardbus() 539 pci_info(bridge, " bridge window %pR\n", res); in pci_setup_cardbus() 549 pci_info(bridge, " bridge window %pR\n", res); in pci_setup_cardbus() 594 pci_info(bridge, " bridge window %pR\n", res); in pci_setup_bridge_io() 620 pci_info(bridge, " bridge window %pR\n", res); in pci_setup_bridge_mmio() 651 pci_info(bridge, " bridge window %pR\n", res); in pci_setup_bridge_mmio_pref() 666 pci_info(bridge, "PCI bridge to %pR\n", in __pci_setup_bridge() [all …]
|
/openbmc/linux/arch/sparc/kernel/ |
H A D | pci.c | 218 pci_info(dev, " parse addresses (%d bytes) @ %p\n", in pci_parse_of_addrs() 231 pci_info(dev, " start: %llx, end: %llx, i: %x\n", in pci_parse_of_addrs() 248 pci_info(dev, "reg 0x%x: %pR\n", i, res); in pci_parse_of_addrs() 290 pci_info(bus," create device, devfn: %x, type: %s\n", in of_create_pci_dev() 350 pci_info(dev, "[%04x:%04x] type %02x class %#08x\n", in of_create_pci_dev() 356 pci_info(dev, " adding to system ...\n"); in of_create_pci_dev() 430 pci_info(dev, "of_scan_pci_bridge(%pOF)\n", node); in of_scan_pci_bridge() 435 pci_info(dev, "Can't get bus-range for PCI-PCI bridge %pOF\n", in of_scan_pci_bridge() 441 pci_info(dev, " Bridge bus range [%u --> %u]\n", in of_scan_pci_bridge() 464 pci_info(dev, " Bridge ranges[%p] simba[%d]\n", in of_scan_pci_bridge() [all …]
|
H A D | pcic.c | 521 pci_info(dev, "PCIC: Skipping I/O space at " in pcic_map_pci_device() 554 pci_info(dev, "PCIC: device %s not found in %d\n", namebuf, in pcic_fill_irq() 568 pci_info(dev, "PCIC: BAD PIN %d\n", i); for (;;) {} in pcic_fill_irq() 577 pci_info(dev, "PCIC: BAD IRQ %d\n", p->irq); for (;;) {} in pcic_fill_irq() 579 pci_info(dev, "PCIC: setting irq %d at pin %d\n", p->irq, in pcic_fill_irq() 611 pci_info(bus, "pcibios_fixup_bus: no PCIC\n"); in pcibios_fixup_bus() 620 pci_info(bus, "pcibios_fixup_bus: nonzero bus 0x%x\n", in pcibios_fixup_bus() 665 pci_info(dev, "enabling device (%04x -> %04x)\n", oldcmd, cmd); in pcibios_enable_device()
|
/openbmc/linux/drivers/scsi/isci/ |
H A D | init.c | 335 struct isci_pci_info *pci_info = to_pci_info(pdev); in isci_setup_interrupts() local 351 ihost = pci_info->hosts[id]; in isci_setup_interrupts() 366 ihost = pci_info->hosts[id]; in isci_setup_interrupts() 609 struct isci_pci_info *pci_info; in isci_pci_probe() local 619 pci_info = devm_kzalloc(&pdev->dev, sizeof(*pci_info), GFP_KERNEL); in isci_pci_probe() 620 if (!pci_info) in isci_pci_probe() 622 pci_set_drvdata(pdev, pci_info); in isci_pci_probe() 662 pci_info->orom = orom; in isci_pci_probe() 675 pci_info->hosts[i] = h; in isci_pci_probe()
|
/openbmc/linux/drivers/pci/pcie/ |
H A D | err.c | 62 pci_info(dev, "can't recover (state transition %u -> %u invalid)\n", in report_error_detected() 75 pci_info(dev, "can't recover (no error_detected callback)\n"); in report_error_detected() 272 pci_info(bridge, "device recovery successful\n"); in pcie_do_recovery() 281 pci_info(bridge, "device recovery failed\n"); in pcie_do_recovery()
|
H A D | dpc.c | 163 pci_info(pdev, "Data Link Layer Link Active not cleared in 1000 msec\n"); in dpc_reset_link() 271 pci_info(pdev, "containment event, status:%#06x source:%#06x\n", in dpc_process_error() 376 pci_info(pdev, "enabled with IRQ %d\n", dev->irq); in dpc_probe() 378 …pci_info(pdev, "error containment capabilities: Int Msg #%d, RPExt%c PoisonedTLP%c SwTrigger%c RP … in dpc_probe()
|
H A D | pme.c | 199 pci_info(port, "interrupt generated for non-existent device %02x:%02x.%d\n", in pcie_pme_handle_request() 206 pci_info(port, "Spurious native interrupt!\n"); in pcie_pme_handle_request() 354 pci_info(port, "Signaling with IRQ %d\n", srv->irq); in pcie_pme_probe()
|
/openbmc/linux/drivers/pci/hotplug/ |
H A D | acpi_pcihp.c | 121 pci_info(pdev, "Requesting control of SHPC hotplug via OSHP (%s)\n", in acpi_get_hp_hw_control_from_firmware() 134 pci_info(pdev, "Cannot get control of SHPC hotplug\n"); in acpi_get_hp_hw_control_from_firmware() 138 pci_info(pdev, "Gained control of SHPC hotplug (%s)\n", in acpi_get_hp_hw_control_from_firmware()
|
/openbmc/linux/drivers/net/ethernet/qlogic/qlcnic/ |
H A D | qlcnic_sysfs.c | 908 struct qlcnic_pci_info *pci_info; in qlcnic_sysfs_read_pci_config() local 912 pci_info = kcalloc(size, sizeof(*pci_info), GFP_KERNEL); in qlcnic_sysfs_read_pci_config() 913 if (!pci_info) in qlcnic_sysfs_read_pci_config() 916 ret = qlcnic_get_pci_info(adapter, pci_info); in qlcnic_sysfs_read_pci_config() 918 kfree(pci_info); in qlcnic_sysfs_read_pci_config() 924 qlcnic_swap32_buffer((u32 *)pci_info, size / sizeof(u32)); in qlcnic_sysfs_read_pci_config() 926 pci_cfg[i].pci_func = pci_info[i].id; in qlcnic_sysfs_read_pci_config() 927 pci_cfg[i].func_type = pci_info[i].type; in qlcnic_sysfs_read_pci_config() 929 pci_cfg[i].port_num = pci_info[i].default_port; in qlcnic_sysfs_read_pci_config() 930 pci_cfg[i].min_bw = pci_info[i].tx_min_bw; in qlcnic_sysfs_read_pci_config() [all …]
|
/openbmc/u-boot/arch/powerpc/include/asm/ |
H A D | fsl_pci.h | 187 void fsl_pci_init(struct pci_controller *hose, struct fsl_pci_info *pci_info); 188 int fsl_pci_init_port(struct fsl_pci_info *pci_info, 191 struct fsl_pci_info *pci_info);
|