Lines Matching defs:hostdata
109 struct NCR_700_Device_Parameters *hostdata = SDp->hostdata;
111 return hostdata->cmnd;
117 struct NCR_700_Device_Parameters *hostdata = SDp->hostdata;
119 hostdata->depth = depth;
124 struct NCR_700_Device_Parameters *hostdata = SDp->hostdata;
126 return hostdata->depth;
258 #define bE (hostdata->force_le_on_be ? 0 : 3)
259 #define bSWAP (hostdata->force_le_on_be)
260 #define bEBus (!hostdata->force_le_on_be)
483 const struct NCR_700_Host_Parameters *hostdata
484 = (struct NCR_700_Host_Parameters *)host->hostdata[0];
486 return ioread8(hostdata->base + (reg^bE));
492 const struct NCR_700_Host_Parameters *hostdata
493 = (struct NCR_700_Host_Parameters *)host->hostdata[0];
494 __u32 value = bEBus ? ioread32be(hostdata->base + reg) :
495 ioread32(hostdata->base + reg);
507 const struct NCR_700_Host_Parameters *hostdata
508 = (struct NCR_700_Host_Parameters *)host->hostdata[0];
510 iowrite8(value, hostdata->base + (reg^bE));
516 const struct NCR_700_Host_Parameters *hostdata
517 = (struct NCR_700_Host_Parameters *)host->hostdata[0];
524 bEBus ? iowrite32be(value, hostdata->base + reg):
525 iowrite32(value, hostdata->base + reg);