Searched refs:DATA_REG_OFFSET (Results 1 – 4 of 4) sorted by relevance
/linux-5.19.10/drivers/hwmon/ |
D | nct6775-platform.c | 61 #define DATA_REG_OFFSET 1 macro 309 outb_p(bank, data->addr + DATA_REG_OFFSET); in nct6775_set_bank() 321 *val = inb_p(data->addr + DATA_REG_OFFSET); in nct6775_reg_read() 325 *val = (*val << 8) + inb_p(data->addr + DATA_REG_OFFSET); in nct6775_reg_read() 338 outb_p(value >> 8, data->addr + DATA_REG_OFFSET); in nct6775_reg_write() 342 outb_p(value & 0xff, data->addr + DATA_REG_OFFSET); in nct6775_reg_write()
|
D | f71805f.c | 111 #define DATA_REG_OFFSET 6 macro 296 return inb(data->addr + DATA_REG_OFFSET); in f71805f_read8() 303 outb(val, data->addr + DATA_REG_OFFSET); in f71805f_write8() 316 val = inb(data->addr + DATA_REG_OFFSET) << 8; in f71805f_read16() 318 val |= inb(data->addr + DATA_REG_OFFSET); in f71805f_read16() 327 outb(val >> 8, data->addr + DATA_REG_OFFSET); in f71805f_write16() 329 outb(val & 0xff, data->addr + DATA_REG_OFFSET); in f71805f_write16()
|
D | w83627ehf.c | 144 #define DATA_REG_OFFSET 1 macro 397 outb_p(bank, data->addr + DATA_REG_OFFSET); in w83627ehf_set_bank() 410 res = inb_p(data->addr + DATA_REG_OFFSET); in w83627ehf_read_value() 414 res = (res << 8) + inb_p(data->addr + DATA_REG_OFFSET); in w83627ehf_read_value() 431 outb_p(value >> 8, data->addr + DATA_REG_OFFSET); in w83627ehf_write_value() 435 outb_p(value & 0xff, data->addr + DATA_REG_OFFSET); in w83627ehf_write_value()
|
D | f71882fg.c | 56 #define DATA_REG_OFFSET 6 macro 1161 val = inb(data->addr + DATA_REG_OFFSET); in f71882fg_read8() 1179 outb(val, data->addr + DATA_REG_OFFSET); in f71882fg_write8()
|