Home
last modified time | relevance | path

Searched refs:esp_count (Results 1 – 8 of 8) sorted by relevance

/Linux-v5.4/drivers/scsi/
Dzorro_esp.c253 u32 esp_count, u32 dma_count, int write, u8 cmd) in zorro_esp_send_blz1230_dma_cmd() argument
264 esp_send_pio_cmd(esp, (u32)esp->command_block, esp_count, in zorro_esp_send_blz1230_dma_cmd()
275 dma_sync_single_for_device(esp->dev, addr, esp_count, in zorro_esp_send_blz1230_dma_cmd()
279 dma_sync_single_for_device(esp->dev, addr, esp_count, in zorro_esp_send_blz1230_dma_cmd()
295 zorro_esp_write8(esp, (esp_count >> 0) & 0xff, ESP_TCLOW); in zorro_esp_send_blz1230_dma_cmd()
296 zorro_esp_write8(esp, (esp_count >> 8) & 0xff, ESP_TCMED); in zorro_esp_send_blz1230_dma_cmd()
304 u32 esp_count, u32 dma_count, int write, u8 cmd) in zorro_esp_send_blz1230II_dma_cmd() argument
311 esp_send_pio_cmd(esp, (u32)esp->command_block, esp_count, in zorro_esp_send_blz1230II_dma_cmd()
321 dma_sync_single_for_device(esp->dev, addr, esp_count, in zorro_esp_send_blz1230II_dma_cmd()
325 dma_sync_single_for_device(esp->dev, addr, esp_count, in zorro_esp_send_blz1230II_dma_cmd()
[all …]
Dmac_esp.c197 static void mac_esp_send_pdma_cmd(struct esp *esp, u32 addr, u32 esp_count, in mac_esp_send_pdma_cmd() argument
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()
213 unsigned int count32 = esp_count >> 5; in mac_esp_send_pdma_cmd()
214 unsigned int count2 = (esp_count & 0x1F) >> 1; in mac_esp_send_pdma_cmd()
215 unsigned int count1 = esp_count & 1; in mac_esp_send_pdma_cmd()
224 esp_count -= addr - start_addr; in mac_esp_send_pdma_cmd()
234 addr = start_addr + esp_count - n; in mac_esp_send_pdma_cmd()
235 esp_count = n; in mac_esp_send_pdma_cmd()
237 } while (esp_count); in mac_esp_send_pdma_cmd()
Dam53c974.c211 static void pci_esp_send_dma_cmd(struct esp *esp, u32 addr, u32 esp_count, in pci_esp_send_dma_cmd() argument
227 pci_esp_write8(esp, (esp_count >> 0) & 0xff, ESP_TCLOW); in pci_esp_send_dma_cmd()
228 pci_esp_write8(esp, (esp_count >> 8) & 0xff, ESP_TCMED); in pci_esp_send_dma_cmd()
230 pci_esp_write8(esp, (esp_count >> 16) & 0xff, ESP_TCHI); in pci_esp_send_dma_cmd()
232 pci_esp_write32(esp, esp_count, ESP_DMA_STC); in pci_esp_send_dma_cmd()
236 addr, esp_count, dma_count); in pci_esp_send_dma_cmd()
Djazz_esp.c64 static void jazz_esp_send_dma_cmd(struct esp *esp, u32 addr, u32 esp_count, in jazz_esp_send_dma_cmd() argument
69 jazz_esp_write8(esp, (esp_count >> 0) & 0xff, ESP_TCLOW); in jazz_esp_send_dma_cmd()
70 jazz_esp_write8(esp, (esp_count >> 8) & 0xff, ESP_TCMED); in jazz_esp_send_dma_cmd()
Dsun3x_esp.c128 static void sun3x_esp_send_dma_cmd(struct esp *esp, u32 addr, u32 esp_count, in sun3x_esp_send_dma_cmd() argument
135 sun3x_esp_write8(esp, (esp_count >> 0) & 0xff, ESP_TCLOW); in sun3x_esp_send_dma_cmd()
136 sun3x_esp_write8(esp, (esp_count >> 8) & 0xff, ESP_TCMED); in sun3x_esp_send_dma_cmd()
Dsun_esp.c385 static void sbus_esp_send_dma_cmd(struct esp *esp, u32 addr, u32 esp_count, in sbus_esp_send_dma_cmd() argument
392 sbus_esp_write8(esp, (esp_count >> 0) & 0xff, ESP_TCLOW); in sbus_esp_send_dma_cmd()
393 sbus_esp_write8(esp, (esp_count >> 8) & 0xff, ESP_TCMED); in sbus_esp_send_dma_cmd()
395 sbus_esp_write8(esp, (esp_count >> 16) & 0xff, FAS_RLO); in sbus_esp_send_dma_cmd()
Desp_scsi.h401 void (*send_dma_cmd)(struct esp *esp, u32 dma_addr, u32 esp_count,
572 extern void esp_send_pio_cmd(struct esp *esp, u32 dma_addr, u32 esp_count,
Desp_scsi.c2830 void esp_send_pio_cmd(struct esp *esp, u32 addr, u32 esp_count, in esp_send_pio_cmd() argument
2849 --esp_count; in esp_send_pio_cmd()
2851 if (!esp_count) in esp_send_pio_cmd()
2879 if (n > esp_count) in esp_send_pio_cmd()
2880 n = esp_count; in esp_send_pio_cmd()
2883 esp_count -= n; in esp_send_pio_cmd()
2887 while (esp_count) { in esp_send_pio_cmd()
2905 if (n > esp_count) in esp_send_pio_cmd()
2906 n = esp_count; in esp_send_pio_cmd()
2909 esp_count -= n; in esp_send_pio_cmd()
[all …]