Lines Matching refs:c4_poke

159 static int c4_poke(avmcard *card,  unsigned long off, unsigned long value)  in c4_poke()  function
211 if (c4_poke(card, loadoff, val)) { in c4_load_t4file()
228 if (c4_poke(card, loadoff, val)) { in c4_load_t4file()
310 c4_poke(card, DC21285_ARMCSR_BASE + CHAN_1_CONTROL, 0); in c4_reset()
311 c4_poke(card, DC21285_ARMCSR_BASE + CHAN_2_CONTROL, 0); in c4_reset()
334 c4_poke(card, DC21285_ARMCSR_BASE + CHAN_1_CONTROL, 0); in c4_detect()
335 c4_poke(card, DC21285_ARMCSR_BASE + CHAN_2_CONTROL, 0); in c4_detect()
343 if (c4_poke(card, DC21285_ARMCSR_BASE + DBELL_SA_MASK, 0)) return 5; in c4_detect()
344 if (c4_poke(card, DC21285_ARMCSR_BASE + DBELL_PCI_MASK, 0)) return 6; in c4_detect()
345 if (c4_poke(card, DC21285_ARMCSR_BASE + SA_CONTROL, SA_CTL_ALLRIGHT)) in c4_detect()
347 if (c4_poke(card, DC21285_ARMCSR_BASE + XBUS_CYCLE, INIT_XBUS_CYCLE)) in c4_detect()
349 if (c4_poke(card, DC21285_ARMCSR_BASE + XBUS_STROBE, INIT_XBUS_STROBE)) in c4_detect()
351 if (c4_poke(card, DC21285_ARMCSR_BASE + DRAM_TIMING, 0)) return 9; in c4_detect()
360 if (c4_poke(card, DC21285_DRAM_A0MR + CAS_OFFSET, 0)) return 14; in c4_detect()
361 if (c4_poke(card, DC21285_DRAM_A1MR + CAS_OFFSET, 0)) return 15; in c4_detect()
362 if (c4_poke(card, DC21285_DRAM_A2MR + CAS_OFFSET, 0)) return 16; in c4_detect()
363 if (c4_poke(card, DC21285_DRAM_A3MR + CAS_OFFSET, 0)) return 17; in c4_detect()
367 if (c4_poke(card, DC21285_ARMCSR_BASE + DRAM_TIMING, DRAM_TIMING_DEF)) in c4_detect()
370 if (c4_poke(card, DC21285_ARMCSR_BASE + DRAM_ADDR_SIZE_0, DRAM_AD_SZ_DEF0)) in c4_detect()
372 if (c4_poke(card, DC21285_ARMCSR_BASE + DRAM_ADDR_SIZE_1, DRAM_AD_SZ_NULL)) in c4_detect()
374 if (c4_poke(card, DC21285_ARMCSR_BASE + DRAM_ADDR_SIZE_2, DRAM_AD_SZ_NULL)) in c4_detect()
376 if (c4_poke(card, DC21285_ARMCSR_BASE + DRAM_ADDR_SIZE_3, DRAM_AD_SZ_NULL)) in c4_detect()
381 if (c4_poke(card, 0x000000, 0x11111111) in c4_detect()
382 || c4_poke(card, 0x400000, 0x22222222) in c4_detect()
383 || c4_poke(card, 0x800000, 0x33333333) in c4_detect()
384 || c4_poke(card, 0xC00000, 0x44444444)) in c4_detect()
393 if (c4_poke(card, 0x000000, 0x55555555) in c4_detect()
394 || c4_poke(card, 0x400000, 0x66666666) in c4_detect()
395 || c4_poke(card, 0x800000, 0x77777777) in c4_detect()
396 || c4_poke(card, 0xC00000, 0x88888888)) in c4_detect()