Lines Matching refs:hostdata
88 struct NCR_700_Host_Parameters *hostdata; in lasi700_probe() local
91 hostdata = kzalloc(sizeof(*hostdata), GFP_KERNEL); in lasi700_probe()
92 if (!hostdata) { in lasi700_probe()
97 hostdata->dev = &dev->dev; in lasi700_probe()
99 hostdata->base = ioremap(base, 0x100); in lasi700_probe()
100 hostdata->differential = 0; in lasi700_probe()
103 hostdata->clock = LASI700_CLOCK; in lasi700_probe()
104 hostdata->force_le_on_be = 1; in lasi700_probe()
106 hostdata->clock = LASI710_CLOCK; in lasi700_probe()
107 hostdata->force_le_on_be = 0; in lasi700_probe()
108 hostdata->chip710 = 1; in lasi700_probe()
109 hostdata->dmode_extra = DMODE_FC2; in lasi700_probe()
110 hostdata->burst_length = 8; in lasi700_probe()
113 host = NCR_700_detect(&lasi700_template, hostdata, &dev->dev); in lasi700_probe()
132 iounmap(hostdata->base); in lasi700_probe()
133 kfree(hostdata); in lasi700_probe()
141 struct NCR_700_Host_Parameters *hostdata = in lasi700_driver_remove() local
142 (struct NCR_700_Host_Parameters *)host->hostdata[0]; in lasi700_driver_remove()
147 iounmap(hostdata->base); in lasi700_driver_remove()
148 kfree(hostdata); in lasi700_driver_remove()