Lines Matching refs:channel
25 struct pci_controller *channel; member
29 static void __init set_tx4927_pcicptr(struct pci_controller *channel, in set_tx4927_pcicptr() argument
35 if (pcicptrs[i].channel == channel) { in set_tx4927_pcicptr()
41 if (!pcicptrs[i].channel) { in set_tx4927_pcicptr()
42 pcicptrs[i].channel = channel; in set_tx4927_pcicptr()
51 struct pci_controller *channel) in get_tx4927_pcicptr() argument
56 if (pcicptrs[i].channel == channel) in get_tx4927_pcicptr()
139 struct pci_controller *channel = bus->sysdata; in pci_bus_to_pcicptr() local
140 return get_tx4927_pcicptr(channel); in pci_bus_to_pcicptr()
224 struct pci_controller *channel, int extarb) in tx4927_pcic_setup() argument
229 set_tx4927_pcicptr(channel, pcicptr); in tx4927_pcic_setup()
231 if (!channel->pci_ops) in tx4927_pcic_setup()
238 channel->pci_ops = &tx4927_pci_ops; in tx4927_pcic_setup()
251 __raw_writel((channel->io_resource->end - channel->io_resource->start) in tx4927_pcic_setup()
254 ____raw_writeq((channel->io_resource->start + in tx4927_pcic_setup()
255 channel->io_map_base - IO_BASE) | in tx4927_pcic_setup()
262 ____raw_writeq(channel->io_resource->start - channel->io_offset, in tx4927_pcic_setup()
269 if (channel->mem_resource->end) { in tx4927_pcic_setup()
270 __raw_writel((channel->mem_resource->end in tx4927_pcic_setup()
271 - channel->mem_resource->start) >> 4, in tx4927_pcic_setup()
273 ____raw_writeq(channel->mem_resource->start | in tx4927_pcic_setup()
280 ____raw_writeq(channel->mem_resource->start - in tx4927_pcic_setup()
281 channel->mem_offset, in tx4927_pcic_setup()
310 if (channel->mem_resource->end) in tx4927_pcic_setup()
315 if (channel->io_resource->end) in tx4927_pcic_setup()