• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/mips/tx4938/toshiba_rbtx4938/

Lines Matching defs:pcicptr

41 static inline void tx4938_report_pcic_status1(struct tx4938_pcic_reg *pcicptr);
179 tx4938_pcic_setup(struct tx4938_pcic_reg *pcicptr,
187 pcicptr->pciccfg &= ~(TX4938_PCIC_PCICCFG_G2PMEN(0)|
193 pcicptr->g2piomask = (channel->io_resource->end - channel->io_resource->start) >> 4;
194 pcicptr->g2piogbase = pci_io_base |
201 pcicptr->g2piopbase = 0;
203 pcicptr->g2pmmask[i] = 0;
204 pcicptr->g2pmgbase[i] = 0;
205 pcicptr->g2pmpbase[i] = 0;
208 pcicptr->g2pmmask[0] = (channel->mem_resource->end - channel->mem_resource->start) >> 4;
209 pcicptr->g2pmgbase[0] = channel->mem_resource->start |
216 pcicptr->g2pmpbase[0] = channel->mem_resource->start;
219 pcicptr->p2giopbase = 0; /* 256B */
220 pcicptr->p2giogbase = 0;
222 pcicptr->p2gm0plbase = 0;
223 pcicptr->p2gm0pubase = 0;
224 pcicptr->p2gmgbase[0] = 0 |
233 pcicptr->p2gm1plbase = 0xffffffff;
234 pcicptr->p2gm1pubase = 0xffffffff;
235 pcicptr->p2gmgbase[1] = 0;
237 pcicptr->p2gm2pbase = 0xffffffff; /* 1MB */
238 pcicptr->p2gmgbase[2] = 0;
240 pcicptr->pciccfg &= TX4938_PCIC_PCICCFG_GBWC_MASK;
243 pcicptr->pciccfg |= TX4938_PCIC_PCICCFG_G2PMEN(0);
246 pcicptr->pciccfg |= TX4938_PCIC_PCICCFG_G2PIOEN;
248 pcicptr->pciccfg |=
253 pcicptr->pcicfg1 = 0;
255 pcicptr->g2ptocnt &= ~0xffff;
258 pcicptr->g2ptocnt &= ~0xff;
259 pcicptr->g2ptocnt |= (tx4938_pcic_trdyto & 0xff);
263 pcicptr->g2ptocnt &= ~0xff00;
264 pcicptr->g2ptocnt |= ((tx4938_pcic_retryto<<8) & 0xff00);
268 pcicptr->pcicstatus = TX4938_PCIC_PCICSTATUS_ALL;
270 pcicptr->pcicmask = TX4938_PCIC_PCICSTATUS_ALL;
272 pcicptr->g2pstatus = TX4938_PCIC_G2PSTATUS_ALL;
274 pcicptr->g2pmask = TX4938_PCIC_G2PSTATUS_ALL;
276 pcicptr->pcistatus =
277 (pcicptr->pcistatus & 0x0000ffff) |
280 pcicptr->pcimask = TX4938_PCIC_PCISTATUS_ALL;
284 pcicptr->pbacfg = TX4938_PCIC_PBACFG_RPBA;
285 pcicptr->pbabm = 0;
287 pcicptr->pbacfg = TX4938_PCIC_PBACFG_PBAEN;
291 pcicptr->pcicfg2 =
292 (pcicptr->pcicfg2 & 0xffffff00) | TX4938_IR_PCIC;
294 pcicptr->pcistatus = PCI_COMMAND_MASTER |
336 void __init set_tx4938_pcicptr(int ch, struct tx4938_pcic_reg *pcicptr)
338 pcicptrs[ch] = pcicptr;
841 static inline void tx4938_report_pcic_status1(struct tx4938_pcic_reg *pcicptr)
843 unsigned short pcistatus = (unsigned short)(pcicptr->pcistatus >> 16);
844 unsigned long g2pstatus = pcicptr->g2pstatus;
845 unsigned long pcicstatus = pcicptr->pcicstatus;
889 struct tx4938_pcic_reg *pcicptr;
890 for (i = 0; (pcicptr = get_tx4938_pcicptr(i)) != NULL; i++)
891 tx4938_report_pcic_status1(pcicptr);