Lines Matching refs:z
33 const struct zorro_dev *z) in zorro_match_device() argument
36 if (ids->id == ZORRO_WILDCARD || ids->id == z->id) in zorro_match_device()
48 struct zorro_dev *z = to_zorro_dev(dev); in zorro_device_probe() local
53 id = zorro_match_device(drv->id_table, z); in zorro_device_probe()
55 error = drv->probe(z, id); in zorro_device_probe()
65 struct zorro_dev *z = to_zorro_dev(dev); in zorro_device_remove() local
69 drv->remove(z); in zorro_device_remove()
123 struct zorro_dev *z = to_zorro_dev(dev); in zorro_bus_match() local
130 return !!zorro_match_device(ids, z); in zorro_bus_match()
135 struct zorro_dev *z; in zorro_uevent() local
140 z = to_zorro_dev(dev); in zorro_uevent()
141 if (!z) in zorro_uevent()
144 if (add_uevent_var(env, "ZORRO_ID=%08X", z->id) || in zorro_uevent()
146 add_uevent_var(env, "ZORRO_SLOT_ADDR=%04X", z->slotaddr) || in zorro_uevent()
147 add_uevent_var(env, "MODALIAS=" ZORRO_DEVICE_MODALIAS_FMT, z->id)) in zorro_uevent()