Lines Matching refs:z
150 static int pata_buddha_probe(struct zorro_dev *z, in pata_buddha_probe() argument
164 dev_info(&z->dev, "%s IDE controller\n", board_name[type]); in pata_buddha_probe()
166 board = z->resource.start; in pata_buddha_probe()
169 if (!devm_request_mem_region(&z->dev, in pata_buddha_probe()
174 if (!devm_request_mem_region(&z->dev, in pata_buddha_probe()
178 if (!devm_request_mem_region(&z->dev, in pata_buddha_probe()
186 old_drvdata = dev_get_drvdata(&z->dev); in pata_buddha_probe()
189 host = ata_host_alloc(&z->dev, nr_ports); in pata_buddha_probe()
191 dev_set_drvdata(&z->dev, old_drvdata); in pata_buddha_probe()
249 static void pata_buddha_remove(struct zorro_dev *z) in pata_buddha_remove() argument
251 struct ata_host *host = dev_get_drvdata(&z->dev); in pata_buddha_remove()
278 struct zorro_dev *z = NULL; in pata_buddha_late_init() local
284 while ((z = zorro_find_device(ZORRO_PROD_INDIVIDUAL_COMPUTERS_X_SURF, z))) { in pata_buddha_late_init()
289 pata_buddha_probe(z, &xsurf_ent); in pata_buddha_late_init()