Lines Matching defs:addr
214 unsigned int addr; /* for ISA devices only */
575 outb(reg, data->addr);
576 val = inb(data->addr + 1);
596 outb(reg, data->addr);
597 outb(val, data->addr + 1);
2280 * these functions are used for addr enable/select.
2282 if (client->addr == 0x2e)
2392 u16 addr;
2411 addr = (dme1737_sio_inb(sio_cip, 0x60) << 8) |
2413 if (!addr) {
2423 if ((inb(addr + 0x43) & 0x0c) == 0x08) /* fan6 */
2425 if ((inb(addr + 0x44) & 0x0c) == 0x08) /* pwm6 */
2427 if ((inb(addr + 0x45) & 0x0c) == 0x08) /* fan5 */
2429 if ((inb(addr + 0x46) & 0x0c) == 0x08) /* pwm5 */
2465 client->addr, verstep);
2556 static int __init dme1737_isa_detect(int sio_cip, unsigned short *addr)
2590 *addr = base_addr + 0x70;
2597 static int __init dme1737_isa_device_add(unsigned short addr)
2600 .start = addr,
2601 .end = addr + DME1737_EXTENT - 1,
2611 pdev = platform_device_alloc("dme1737", addr);
2662 data->addr = res->start;
2700 data->type == sch5127 ? "SCH5127" : "SCH311x", data->addr);
2743 release_region(data->addr, DME1737_EXTENT);
2766 unsigned short addr;
2772 if (dme1737_isa_detect(0x2e, &addr) &&
2773 dme1737_isa_detect(0x4e, &addr) &&
2775 (dme1737_isa_detect(0x162e, &addr) &&
2776 dme1737_isa_detect(0x164e, &addr)))) {
2786 err = dme1737_isa_device_add(addr);