Lines Matching refs:hostdata
102 struct NCR_700_Host_Parameters *hostdata; in lasi700_probe() local
105 hostdata = kzalloc(sizeof(*hostdata), GFP_KERNEL); in lasi700_probe()
106 if (!hostdata) { in lasi700_probe()
111 hostdata->dev = &dev->dev; in lasi700_probe()
113 hostdata->base = ioremap_nocache(base, 0x100); in lasi700_probe()
114 hostdata->differential = 0; in lasi700_probe()
117 hostdata->clock = LASI700_CLOCK; in lasi700_probe()
118 hostdata->force_le_on_be = 1; in lasi700_probe()
120 hostdata->clock = LASI710_CLOCK; in lasi700_probe()
121 hostdata->force_le_on_be = 0; in lasi700_probe()
122 hostdata->chip710 = 1; in lasi700_probe()
123 hostdata->dmode_extra = DMODE_FC2; in lasi700_probe()
124 hostdata->burst_length = 8; in lasi700_probe()
127 host = NCR_700_detect(&lasi700_template, hostdata, &dev->dev); in lasi700_probe()
146 iounmap(hostdata->base); in lasi700_probe()
147 kfree(hostdata); in lasi700_probe()
155 struct NCR_700_Host_Parameters *hostdata = in lasi700_driver_remove() local
156 (struct NCR_700_Host_Parameters *)host->hostdata[0]; in lasi700_driver_remove()
161 iounmap(hostdata->base); in lasi700_driver_remove()
162 kfree(hostdata); in lasi700_driver_remove()