Lines Matching defs:hostdata
110 struct NCR_700_Device_Parameters *hostdata = SDp->hostdata;
112 return hostdata->cmnd;
118 struct NCR_700_Device_Parameters *hostdata = SDp->hostdata;
120 hostdata->depth = depth;
125 struct NCR_700_Device_Parameters *hostdata = SDp->hostdata;
127 return hostdata->depth;
259 #define bE (hostdata->force_le_on_be ? 0 : 3)
260 #define bSWAP (hostdata->force_le_on_be)
261 #define bEBus (!hostdata->force_le_on_be)
484 const struct NCR_700_Host_Parameters *hostdata
485 = (struct NCR_700_Host_Parameters *)host->hostdata[0];
487 return ioread8(hostdata->base + (reg^bE));
493 const struct NCR_700_Host_Parameters *hostdata
494 = (struct NCR_700_Host_Parameters *)host->hostdata[0];
495 __u32 value = bEBus ? ioread32be(hostdata->base + reg) :
496 ioread32(hostdata->base + reg);
508 const struct NCR_700_Host_Parameters *hostdata
509 = (struct NCR_700_Host_Parameters *)host->hostdata[0];
511 iowrite8(value, hostdata->base + (reg^bE));
517 const struct NCR_700_Host_Parameters *hostdata
518 = (struct NCR_700_Host_Parameters *)host->hostdata[0];
525 bEBus ? iowrite32be(value, hostdata->base + reg):
526 iowrite32(value, hostdata->base + reg);