Lines Matching refs:hostdata

110 	struct NCR_700_Device_Parameters *hostdata = SDp->hostdata;  in NCR_700_get_sense_cmnd()  local
112 return hostdata->cmnd; in NCR_700_get_sense_cmnd()
118 struct NCR_700_Device_Parameters *hostdata = SDp->hostdata; in NCR_700_set_depth() local
120 hostdata->depth = depth; in NCR_700_set_depth()
125 struct NCR_700_Device_Parameters *hostdata = SDp->hostdata; in NCR_700_get_depth() local
127 return hostdata->depth; in NCR_700_get_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 in NCR_700_readb() local
485 = (struct NCR_700_Host_Parameters *)host->hostdata[0]; in NCR_700_readb()
487 return ioread8(hostdata->base + (reg^bE)); in NCR_700_readb()
493 const struct NCR_700_Host_Parameters *hostdata in NCR_700_readl() local
494 = (struct NCR_700_Host_Parameters *)host->hostdata[0]; in NCR_700_readl()
495 __u32 value = bEBus ? ioread32be(hostdata->base + reg) : in NCR_700_readl()
496 ioread32(hostdata->base + reg); in NCR_700_readl()
508 const struct NCR_700_Host_Parameters *hostdata in NCR_700_writeb() local
509 = (struct NCR_700_Host_Parameters *)host->hostdata[0]; in NCR_700_writeb()
511 iowrite8(value, hostdata->base + (reg^bE)); in NCR_700_writeb()
517 const struct NCR_700_Host_Parameters *hostdata in NCR_700_writel() local
518 = (struct NCR_700_Host_Parameters *)host->hostdata[0]; in NCR_700_writel()
525 bEBus ? iowrite32be(value, hostdata->base + reg): in NCR_700_writel()
526 iowrite32(value, hostdata->base + reg); in NCR_700_writel()