Lines Matching refs:z
29 struct zorro_dev *z; \
31 z = to_zorro_dev(dev); \
32 return sprintf(buf, format_string, z->field); \
44 struct zorro_dev *z; in serial_show() local
46 z = to_zorro_dev(dev); in serial_show()
47 return sprintf(buf, "0x%08x\n", be32_to_cpu(z->rom.er_SerialNumber)); in serial_show()
54 struct zorro_dev *z = to_zorro_dev(dev); in resource_show() local
57 (unsigned long)zorro_resource_start(z), in resource_show()
58 (unsigned long)zorro_resource_end(z), in resource_show()
59 zorro_resource_flags(z)); in resource_show()
66 struct zorro_dev *z = to_zorro_dev(dev); in modalias_show() local
68 return sprintf(buf, ZORRO_DEVICE_MODALIAS_FMT "\n", z->id); in modalias_show()
87 struct zorro_dev *z = to_zorro_dev(kobj_to_dev(kobj)); in zorro_read_config() local
92 cd.cd_Rom = z->rom; in zorro_read_config()
93 cd.cd_SlotAddr = cpu_to_be16(z->slotaddr); in zorro_read_config()
94 cd.cd_SlotSize = cpu_to_be16(z->slotsize); in zorro_read_config()
95 cd.cd_BoardAddr = cpu_to_be32(zorro_resource_start(z)); in zorro_read_config()
96 cd.cd_BoardSize = cpu_to_be32(zorro_resource_len(z)); in zorro_read_config()