Lines Matching refs:pcf_isa_ops
54 static struct i2c_adapter pcf_isa_ops; variable
67 pr_debug("%s: Write %p 0x%02X\n", pcf_isa_ops.name, address, val); in pcf_isa_setbyte()
80 pr_debug("%s: Read %p 0x%02X\n", pcf_isa_ops.name, address, val); in pcf_isa_getbyte()
136 if (!request_region(base, 2, pcf_isa_ops.name)) { in pcf_isa_init()
138 "in use\n", pcf_isa_ops.name, base); in pcf_isa_init()
144 pcf_isa_ops.name, base); in pcf_isa_init()
149 if (!request_mem_region(base, 2, pcf_isa_ops.name)) { in pcf_isa_init()
151 "is in use\n", pcf_isa_ops.name, base); in pcf_isa_init()
157 "failed\n", pcf_isa_ops.name, base); in pcf_isa_init()
162 pr_debug("%s: registers %#x remapped to %p\n", pcf_isa_ops.name, base, in pcf_isa_init()
166 if (request_irq(irq, pcf_isa_handler, 0, pcf_isa_ops.name, in pcf_isa_init()
169 pcf_isa_ops.name, irq); in pcf_isa_init()
189 static struct i2c_adapter pcf_isa_ops = { variable
260 pcf_isa_ops.dev.parent = dev; in elektor_probe()
261 if (i2c_pcf_add_bus(&pcf_isa_ops) < 0) in elektor_probe()
286 i2c_del_adapter(&pcf_isa_ops); in elektor_remove()