Lines Matching refs:z
121 static int icy_probe(struct zorro_dev *z, in icy_probe() argument
131 i2c = devm_kzalloc(&z->dev, sizeof(*i2c), GFP_KERNEL); in icy_probe()
135 algo_data = devm_kzalloc(&z->dev, sizeof(*algo_data), GFP_KERNEL); in icy_probe()
139 dev_set_drvdata(&z->dev, i2c); in icy_probe()
140 i2c->adapter.dev.parent = &z->dev; in icy_probe()
147 if (!devm_request_mem_region(&z->dev, in icy_probe()
148 z->resource.start, in icy_probe()
153 i2c->reg_s0 = ZTWO_VADDR(z->resource.start); in icy_probe()
154 i2c->reg_s1 = ZTWO_VADDR(z->resource.start + 2); in icy_probe()
164 dev_err(&z->dev, "i2c_pcf_add_bus() failed\n"); in icy_probe()
168 dev_info(&z->dev, "ICY I2C controller at %pa, IRQ not implemented\n", in icy_probe()
169 &z->resource.start); in icy_probe()
187 static void icy_remove(struct zorro_dev *z) in icy_remove() argument
189 struct icy_i2c *i2c = dev_get_drvdata(&z->dev); in icy_remove()