Searched refs:read_val (Results 1 – 5 of 5) sorted by relevance
/drivers/hwmon/ |
D | adm1031.c | 877 unsigned int read_val; in adm1031_init_client() local 887 read_val = adm1031_read_value(client, ADM1031_REG_CONF2); in adm1031_init_client() 888 if ((read_val | mask) != read_val) { in adm1031_init_client() 889 adm1031_write_value(client, ADM1031_REG_CONF2, read_val | mask); in adm1031_init_client() 892 read_val = adm1031_read_value(client, ADM1031_REG_CONF1); in adm1031_init_client() 893 if ((read_val | ADM1031_CONF1_MONITOR_ENABLE) != read_val) { in adm1031_init_client() 894 adm1031_write_value(client, ADM1031_REG_CONF1, read_val | in adm1031_init_client()
|
/drivers/ide/ |
D | ide-ioctls.c | 26 goto read_val; in ide_setting_ioctl() 33 read_val: in ide_setting_ioctl()
|
/drivers/net/arm/ |
D | ether3.c | 385 int read_val; in ether3_probe_bus_16() local 388 read_val = ether3_inw(REG_RECVPTR); in ether3_probe_bus_16() 390 printk(KERN_DEBUG "ether3_probe: write16 [%04X], read16 [%04X]\n", val, read_val); in ether3_probe_bus_16() 392 return read_val == val; in ether3_probe_bus_16()
|
/drivers/infiniband/hw/ipath/ |
D | ipath_eeprom.c | 166 u64 read_val, mask; in i2c_gpio_get() local 189 read_val = ipath_read_kreg64(dd, dd->ipath_kregs->kr_extstatus); in i2c_gpio_get() 192 if (read_val & mask) in i2c_gpio_get()
|
/drivers/net/ |
D | tg3.c | 9189 u32 offset, read_mask, write_mask, val, save_val, read_val; in tg3_test_registers() local 9364 read_val = save_val & read_mask; in tg3_test_registers() 9374 if (((val & read_mask) != read_val) || (val & write_mask)) in tg3_test_registers() 9386 if ((val & read_mask) != read_val) in tg3_test_registers()
|