Home
last modified time | relevance | path

Searched refs:pcic (Results 1 – 14 of 14) sorted by relevance

/openbmc/linux/arch/sparc/kernel/
H A Dpcic.c179 struct linux_pcic *pcic; in pcic_read_config_dword() local
182 pcic = &pcic0; in pcic_read_config_dword()
189 writel(CONFIG_CMD(busno, devfn, where), pcic->pcic_config_space_addr); in pcic_read_config_dword()
200 *value = readl(pcic->pcic_config_space_data + (where&4)); in pcic_read_config_dword()
240 struct linux_pcic *pcic; in pcic_write_config_dword() local
243 pcic = &pcic0; in pcic_write_config_dword()
246 writel(CONFIG_CMD(busno, devfn, where), pcic->pcic_config_space_addr); in pcic_write_config_dword()
247 writel(value, pcic->pcic_config_space_data + (where&4)); in pcic_write_config_dword()
289 struct linux_pcic *pcic; in pcic_probe() local
300 pcic = &pcic0; in pcic_probe()
[all …]
H A DMakefile77 obj-$(CONFIG_PCIC_PCI) += pcic.o
/openbmc/linux/arch/mips/txx9/generic/
H A Dpci.c111 txx9_alloc_pci_controller(struct pci_controller *pcic, in txx9_alloc_pci_controller() argument
115 struct pcic { in txx9_alloc_pci_controller() struct
122 if (!pcic) { in txx9_alloc_pci_controller()
131 pcic = &new->c; in txx9_alloc_pci_controller()
133 BUG_ON(pcic != &txx9_primary_pcic); in txx9_alloc_pci_controller()
134 pcic->io_resource->flags = IORESOURCE_IO; in txx9_alloc_pci_controller()
141 pcic->mem_resource[0].start = mem_base; in txx9_alloc_pci_controller()
142 pcic->mem_resource[0].end = mem_base + mem_size - 1; in txx9_alloc_pci_controller()
143 if (request_resource(&iomem_resource, &pcic->mem_resource[0])) in txx9_alloc_pci_controller()
161 &pcic->mem_resource[0], in txx9_alloc_pci_controller()
[all …]
/openbmc/qemu/hw/pci-host/
H A Dsh_pci.c54 SHPCIState *pcic = p; in sh_pci_reg_write() local
55 PCIHostState *phb = PCI_HOST_BRIDGE(pcic); in sh_pci_reg_write()
59 stl_le_p(pcic->dev->config + addr, val); in sh_pci_reg_write()
62 pcic->par = val; in sh_pci_reg_write()
65 pcic->mbr = val & 0xff000001; in sh_pci_reg_write()
68 pcic->iobr = val & 0xfffc0001; in sh_pci_reg_write()
69 memory_region_set_alias_offset(&pcic->isa, val & 0xfffc0000); in sh_pci_reg_write()
72 pci_data_write(phb->bus, pcic->par, val, 4); in sh_pci_reg_write()
79 SHPCIState *pcic = p; in sh_pci_reg_read() local
80 PCIHostState *phb = PCI_HOST_BRIDGE(pcic); in sh_pci_reg_read()
[all …]
/openbmc/linux/arch/mips/pci/
H A Dpci-rc32434.c115 pcicvalue = rc32434_pci->pcic; in rc32434_pcibridge_init()
126 rc32434_pci->pcic = pcicdata; /* Enable the PCI bus Interface */ in rc32434_pcibridge_init()
197 pcicntlval = rc32434_pci->pcic; in rc32434_pcibridge_init()
199 rc32434_pci->pcic = pcicntlval; in rc32434_pcibridge_init()
200 pcicntlval = rc32434_pci->pcic; in rc32434_pcibridge_init()
/openbmc/qemu/hw/scsi/
H A Dmptconfig.c211 PCIDeviceClass *pcic = PCI_DEVICE_GET_CLASS(s); in mptsas_config_manufacturing_2() local
214 pcic->device_id, pcic->revision); in mptsas_config_manufacturing_2()
220 PCIDeviceClass *pcic = PCI_DEVICE_GET_CLASS(s); in mptsas_config_manufacturing_3() local
223 pcic->device_id, pcic->revision); in mptsas_config_manufacturing_3()
325 PCIDeviceClass *pcic = PCI_DEVICE_GET_CLASS(s); in mptsas_config_ioc_0() local
329 pcic->vendor_id, pcic->device_id, pcic->revision, in mptsas_config_ioc_0()
330 pcic->class_id, pcic->subsystem_vendor_id, in mptsas_config_ioc_0()
331 pcic->subsystem_id); in mptsas_config_ioc_0()
/openbmc/linux/arch/mips/rb532/
H A Dsetup.c59 val = __raw_readl(&pci_reg->pcic); in plat_mem_setup()
61 __raw_writel(val, (void *)&pci_reg->pcic); in plat_mem_setup()
/openbmc/linux/arch/mips/include/asm/txx9/
H A Dpci.h13 txx9_alloc_pci_controller(struct pci_controller *pcic,
/openbmc/linux/drivers/net/wireless/ath/ath11k/
H A DMakefile20 pcic.o
/openbmc/linux/drivers/pcmcia/
H A Di82365.c192 struct pcic { struct
197 static struct pcic pcic[] = { argument
211 #define PCIC_COUNT ARRAY_SIZE(pcic)
667 socket[sockets].flags = pcic[type].flags; in add_socket()
681 printk(KERN_INFO " %s", pcic[type].name); in add_pcic()
1120 pcic[s->type].name, s->psock);
/openbmc/linux/arch/mips/include/asm/mach-rc32434/
H A Dpci.h42 u32 pcic; member
/openbmc/linux/drivers/pci/
H A Dquirks.c1312 u32 pcic; in quirk_amd_ordering() local
1313 pci_read_config_dword(dev, 0x4C, &pcic); in quirk_amd_ordering()
1314 if ((pcic & 6) != 6) { in quirk_amd_ordering()
1315 pcic |= 6; in quirk_amd_ordering()
1317 pci_write_config_dword(dev, 0x4C, pcic); in quirk_amd_ordering()
1318 pci_read_config_dword(dev, 0x84, &pcic); in quirk_amd_ordering()
1319 pcic |= (1 << 23); /* Required in this mode */ in quirk_amd_ordering()
1320 pci_write_config_dword(dev, 0x84, pcic); in quirk_amd_ordering()
/openbmc/linux/
H A Dopengrok1.0.log[all...]
H A Dopengrok0.0.log[all...]