Lines Matching refs:vam
132 int size, int vam, int vdw) in tsi148_pci_slave_window() argument
164 switch (vam & VME_AM_Axx) { in tsi148_pci_slave_window()
176 switch (vam & VME_AM_Mxx) { in tsi148_pci_slave_window()
185 if (vam & VME_AM_SUP) in tsi148_pci_slave_window()
218 unsigned int tsi148_eval_vam(int vam) in tsi148_eval_vam() argument
222 switch (vam & VME_AM_Axx) { in tsi148_eval_vam()
233 switch (vam & VME_AM_Mxx) { in tsi148_eval_vam()
245 if (vam & VME_AM_SUP) in tsi148_eval_vam()
247 if (vam & VME_AM_USR) in tsi148_eval_vam()
257 int size, int vam) in tsi148_vme_slave_window() argument
290 ctl = tsi148_eval_vam(vam); in tsi148_vme_slave_window()
314 int tsi148_vme_gcsr_window(unsigned int vmeAddr, int vam) in tsi148_vme_gcsr_window() argument
327 ctl = tsi148_eval_vam(vam); in tsi148_vme_gcsr_window()
361 int tsi148_vme_crg_window(unsigned int vmeAddr, int vam) in tsi148_vme_crg_window() argument
374 ctl = tsi148_eval_vam(vam); in tsi148_vme_crg_window()
387 ulong addr1 = 0, addr2 = 0, size = 0, vam = 0, vdw = 0; in do_tsi148() local
400 vam = simple_strtoul(argv[5], NULL, 16); in do_tsi148()
407 vam = addr2; in do_tsi148()
410 printf(" vme=%08lx vam=%02lx\n", addr1, vam); in do_tsi148()
411 tsi148_vme_crg_window(addr1, vam); in do_tsi148()
423 vam = addr2; in do_tsi148()
425 printf(" vme=%08lx vam=%02lx\n", addr1, vam); in do_tsi148()
426 tsi148_vme_gcsr_window(addr1, vam); in do_tsi148()
431 addr1, addr2, size, vam); in do_tsi148()
432 tsi148_vme_slave_window(addr1, addr2, size, vam); in do_tsi148()
437 addr1, addr2, size, vam, vdw); in do_tsi148()
438 tsi148_pci_slave_window(addr1, addr2, size, vam, vdw); in do_tsi148()