Home
last modified time | relevance | path

Searched refs:LM78_ADDR_REG_OFFSET (Results 1 – 1 of 1) sorted by relevance

/kernel/linux/linux-5.10/drivers/hwmon/
Dlm78.c39 #define LM78_ADDR_REG_OFFSET 5 macro
686 outb_p(reg, data->isa_addr + LM78_ADDR_REG_OFFSET); in lm78_read_value()
702 outb_p(reg, data->isa_addr + LM78_ADDR_REG_OFFSET); in lm78_write_value()
795 if (!devm_request_region(dev, res->start + LM78_ADDR_REG_OFFSET, in lm78_isa_probe()
864 save = inb_p(address + LM78_ADDR_REG_OFFSET); in lm78_isa_found()
868 outb_p(val, address + LM78_ADDR_REG_OFFSET); in lm78_isa_found()
869 if (inb_p(address + LM78_ADDR_REG_OFFSET) != (val | 0x80)) { in lm78_isa_found()
870 outb_p(save, address + LM78_ADDR_REG_OFFSET); in lm78_isa_found()
875 outb_p(LM78_REG_CONFIG, address + LM78_ADDR_REG_OFFSET); in lm78_isa_found()
879 outb_p(LM78_REG_I2C_ADDR, address + LM78_ADDR_REG_OFFSET); in lm78_isa_found()
[all …]