Lines Matching +full:0 +full:x402

40 #define MAC_ESP_IO_BASE          0x50F00000
41 #define MAC_ESP_REGS_QUADRA (MAC_ESP_IO_BASE + 0x10000)
42 #define MAC_ESP_REGS_QUADRA2 (MAC_ESP_IO_BASE + 0xF000)
43 #define MAC_ESP_REGS_QUADRA3 (MAC_ESP_IO_BASE + 0x18000)
44 #define MAC_ESP_REGS_SPACING 0x402
45 #define MAC_ESP_PDMA_REG 0xF9800024
46 #define MAC_ESP_PDMA_REG_SPACING 0x4
47 #define MAC_ESP_PDMA_IO_OFFSET 0x100
99 return 0; in mac_esp_wait_for_empty_fifo()
121 return 0; in mac_esp_wait_for_dreq()
123 if (nubus_readl(mep->pdma_regs) & 0x200) in mac_esp_wait_for_dreq()
124 return 0; in mac_esp_wait_for_dreq()
202 esp->send_cmd_error = 0; in mac_esp_send_pdma_cmd()
207 esp_write8((esp_count >> 0) & 0xFF, ESP_TCLOW); in mac_esp_send_pdma_cmd()
208 esp_write8((esp_count >> 8) & 0xFF, ESP_TCMED); in mac_esp_send_pdma_cmd()
214 unsigned int count2 = (esp_count & 0x1F) >> 1; in mac_esp_send_pdma_cmd()
222 MAC_ESP_PDMA_LOOP("%4@,%0@+"); in mac_esp_send_pdma_cmd()
228 MAC_ESP_PDMA_LOOP("%0@+,%4@"); in mac_esp_send_pdma_cmd()
244 return 0; in mac_esp_irq_pending()
249 return dma_len > 0xFFFF ? 0xFFFF : dma_len; in mac_esp_dma_length_limit()
262 got_intr = 0; in mac_scsi_esp_intr()
263 if (esp_chips[0] && in mac_scsi_esp_intr()
264 (mac_esp_read8(esp_chips[0], ESP_STATUS) & ESP_STAT_INTR)) { in mac_scsi_esp_intr()
265 (void)scsi_esp_intr(irq, esp_chips[0]); in mac_scsi_esp_intr()
346 nubus_writel(0x1d1, mep->pdma_regs); in esp_mac_probe()
364 esp_write8(0, ESP_TCLOW); in esp_mac_probe()
365 esp_write8(0, ESP_TCMED); in esp_mac_probe()
377 err = request_irq(host->irq, mac_scsi_esp_intr, 0, "ESP", NULL); in esp_mac_probe()
379 if (err < 0 && esp_chips[!dev->id] == NULL) { in esp_mac_probe()
390 return 0; in esp_mac_probe()
432 return 0; in esp_mac_remove()