Lines Matching refs:hostdata
90 struct NCR_700_Host_Parameters *hostdata; in lasi700_probe() local
93 hostdata = kzalloc(sizeof(*hostdata), GFP_KERNEL); in lasi700_probe()
94 if (!hostdata) { in lasi700_probe()
99 hostdata->dev = &dev->dev; in lasi700_probe()
101 hostdata->base = ioremap_nocache(base, 0x100); in lasi700_probe()
102 hostdata->differential = 0; in lasi700_probe()
105 hostdata->clock = LASI700_CLOCK; in lasi700_probe()
106 hostdata->force_le_on_be = 1; in lasi700_probe()
108 hostdata->clock = LASI710_CLOCK; in lasi700_probe()
109 hostdata->force_le_on_be = 0; in lasi700_probe()
110 hostdata->chip710 = 1; in lasi700_probe()
111 hostdata->dmode_extra = DMODE_FC2; in lasi700_probe()
112 hostdata->burst_length = 8; in lasi700_probe()
115 host = NCR_700_detect(&lasi700_template, hostdata, &dev->dev); in lasi700_probe()
134 iounmap(hostdata->base); in lasi700_probe()
135 kfree(hostdata); in lasi700_probe()
143 struct NCR_700_Host_Parameters *hostdata = in lasi700_driver_remove() local
144 (struct NCR_700_Host_Parameters *)host->hostdata[0]; in lasi700_driver_remove()
149 iounmap(hostdata->base); in lasi700_driver_remove()
150 kfree(hostdata); in lasi700_driver_remove()