Home
last modified time | relevance | path

Searched refs:HDATA (Results 1 – 5 of 5) sorted by relevance

/linux-2.4.37.9/drivers/scsi/
Dgvp11.c25 #define HDATA(ptr) ((struct WD33C93_hostdata *)((ptr)->hostdata)) macro
64 if (addr & HDATA(cmd->host)->dma_xfer_mask || in dma_setup()
67 HDATA(cmd->host)->dma_bounce_len = (cmd->SCp.this_residual + 511) in dma_setup()
71 HDATA(cmd->host)->dma_bounce_buffer = in dma_setup()
72 scsi_malloc (HDATA(cmd->host)->dma_bounce_len); in dma_setup()
73 HDATA(cmd->host)->dma_buffer_pool = BUF_SCSI_ALLOCED; in dma_setup()
76 if ( scsi_alloc_out_of_range || !HDATA(cmd->host)->dma_bounce_buffer) { in dma_setup()
77 HDATA(cmd->host)->dma_bounce_buffer = in dma_setup()
78 amiga_chip_alloc(HDATA(cmd->host)->dma_bounce_len, in dma_setup()
81 if(!HDATA(cmd->host)->dma_bounce_buffer) in dma_setup()
[all …]
Da2091.c25 #define HDATA(ptr) ((struct WD33C93_hostdata *)((ptr)->hostdata)) macro
60 HDATA(instance)->dma_bounce_len = (cmd->SCp.this_residual + 511) in dma_setup()
62 HDATA(instance)->dma_bounce_buffer = in dma_setup()
63 scsi_malloc (HDATA(instance)->dma_bounce_len); in dma_setup()
66 if (!HDATA(instance)->dma_bounce_buffer) { in dma_setup()
67 HDATA(instance)->dma_bounce_len = 0; in dma_setup()
72 addr = virt_to_bus(HDATA(instance)->dma_bounce_buffer); in dma_setup()
77 scsi_free (HDATA(instance)->dma_bounce_buffer, in dma_setup()
78 HDATA(instance)->dma_bounce_len); in dma_setup()
79 HDATA(instance)->dma_bounce_buffer = NULL; in dma_setup()
[all …]
Da3000.c25 #define HDATA(ptr) ((struct WD33C93_hostdata *)((ptr)->hostdata)) macro
60 HDATA(a3000_host)->dma_bounce_len = (cmd->SCp.this_residual + 511) in dma_setup()
62 HDATA(a3000_host)->dma_bounce_buffer = in dma_setup()
63 scsi_malloc (HDATA(a3000_host)->dma_bounce_len); in dma_setup()
66 if (!HDATA(a3000_host)->dma_bounce_buffer) { in dma_setup()
67 HDATA(a3000_host)->dma_bounce_len = 0; in dma_setup()
74 memcpy (HDATA(a3000_host)->dma_bounce_buffer, in dma_setup()
77 memcpy (HDATA(a3000_host)->dma_bounce_buffer, in dma_setup()
81 addr = virt_to_bus(HDATA(a3000_host)->dma_bounce_buffer); in dma_setup()
89 HDATA(a3000_host)->dma_dir = dir_in; in dma_setup()
[all …]
Dsgiwd93.c46 #define HDATA(ptr) ((struct ip22_hostdata *)((ptr)->hostdata)) macro
134 struct ip22_hostdata *hdata = HDATA(cmd->host); in dma_setup()
169 struct ip22_hostdata *hdata = HDATA(instance); in dma_stop()
234 hdata = HDATA(host); in sgiwd93_setup_scsi()
Dmvme147.c19 #define HDATA(ptr) ((struct WD33C93_hostdata *)((ptr)->hostdata)) macro
41 HDATA(mvme147_host)->dma_dir = dir_in; in dma_setup()