/Linux-v4.19/drivers/hwmon/ |
D | smsc47m192.c | 111 s8 temp_offset[3]; /* Register value */ member 148 data->temp_offset[i] = i2c_smbus_read_byte_data(client, in smsc47m192_update_device() 155 data->temp_offset[0] = data->temp_offset[1]; in smsc47m192_update_device() 156 data->temp_offset[1] = 0; in smsc47m192_update_device() 158 data->temp_offset[0] = 0; in smsc47m192_update_device() 348 return sprintf(buf, "%d\n", TEMP_FROM_REG(data->temp_offset[nr])); in show_temp_offset() 367 data->temp_offset[nr] = TEMP_TO_REG(val); in set_temp_offset() 370 SMSC47M192_REG_TEMP_OFFSET(nr), data->temp_offset[nr]); in set_temp_offset() 371 else if (data->temp_offset[nr] != 0) { in set_temp_offset() 378 data->temp_offset[1-nr] = 0; in set_temp_offset() [all …]
|
D | k10temp.c | 86 int temp_offset; member 163 if (temp > data->temp_offset) in temp1_input_show() 164 temp -= data->temp_offset; in temp1_input_show() 346 data->temp_offset = entry->offset; in k10temp_probe()
|
D | k8temp.c | 51 u32 temp_offset; member 125 temp = TEMP_FROM_REG(data->temp[core][place]) + data->temp_offset; in show_temp() 213 data->temp_offset = 21000; in k8temp_probe()
|
D | max6697.c | 87 int temp_offset; /* in degrees C */ member 263 temp = (data->temp[index][MAX6697_TEMP_INPUT] - data->temp_offset) << 3; in show_temp_input() 281 temp -= data->temp_offset; in show_temp() 316 temp = DIV_ROUND_CLOSEST(temp, 1000) + data->temp_offset; in set_temp() 546 data->temp_offset = 64; in max6697_init_chip() 573 data->temp_offset = 64; in max6697_init_chip()
|
D | adm1031.c | 103 s8 temp_offset[3]; member 161 data->temp_offset[chan] = in adm1031_update_device() 706 TEMP_OFFSET_FROM_REG(data->temp_offset[nr])); in show_temp_offset() 745 data->temp_offset[nr] = TEMP_OFFSET_TO_REG(val); in set_temp_offset() 747 data->temp_offset[nr]); in set_temp_offset()
|
D | adm1026.c | 287 s8 temp_offset[3]; /* Register value */ member 425 data->temp_offset[i] = adm1026_read_value(client, in adm1026_update_device() 868 return sprintf(buf, "%d\n", TEMP_FROM_REG(data->temp_offset[nr])); in show_temp_offset() 886 data->temp_offset[nr] = TEMP_TO_REG(val); in set_temp_offset() 888 data->temp_offset[nr]); in set_temp_offset()
|
D | dme1737.c | 236 s8 temp_offset[3]; member 662 data->temp_offset[ix] = dme1737_read(data, in dme1737_update_device() 911 res = TEMP_FROM_REG(data->temp_offset[ix], 8); in show_temp() 955 data->temp_offset[ix] = TEMP_TO_REG(val); in set_temp() 957 data->temp_offset[ix]); in set_temp()
|
D | w83627ehf.c | 475 s8 temp_offset[3]; member 916 data->temp_offset[i] in w83627ehf_update_device() 1258 data->temp_offset[sensor_attr->index] * 1000); in show_temp_offset() 1278 data->temp_offset[nr] = val; in store_temp_offset() 2671 data->temp_offset[i]); in w83627ehf_resume()
|
D | nct6775.c | 1060 s8 temp_offset[NUM_TEMP_FIXED]; member 1725 data->temp_offset[i] in nct6775_update_device() 2250 return sprintf(buf, "%d\n", data->temp_offset[sattr->index] * 1000); in show_temp_offset() 2270 data->temp_offset[nr] = val; in store_temp_offset() 2379 SENSOR_TEMPLATE(temp_offset, "temp%d_offset", S_IRUGO | S_IWUSR,
|
/Linux-v4.19/drivers/input/touchscreen/ |
D | sun4i-ts.c | 122 int temp_offset; member 199 *temp = ts->temp_data * ts->temp_step - ts->temp_offset; in sun4i_get_temp() 264 ts->temp_offset = 271000; in sun4i_ts_probe() 273 ts->temp_offset = 257000; in sun4i_ts_probe() 287 ts->temp_offset = 144700; in sun4i_ts_probe()
|
/Linux-v4.19/drivers/iio/imu/ |
D | adis16400_core.c | 434 *val = st->variant->temp_offset; in adis16400_read_raw() 721 .temp_offset = 25000000 / 140000, /* 25 C = 0x00 */ 733 .temp_offset = 25000000 / 67850, /* 25 C = 0x00 */ 743 .temp_offset = 25000000 / 145300, /* 25 C = 0x00 */ 756 .temp_offset = 25000000 / 136000, /* 25 C = 0x00 */ 768 .temp_offset = 25000000 / 136000, /* 25 C = 0x00 */ 780 .temp_offset = 25000000 / 136000, /* 25 C = 0x00 */ 792 .temp_offset = 25000000 / 136000, /* 25 C = 0x00 */ 803 .temp_offset = 25000000 / 140000, /* 25 C = 0x00 */ 816 .temp_offset = 31000000 / 73860, /* 31 C = 0x00 */ [all …]
|
D | adis16400.h | 153 int temp_offset; member
|
/Linux-v4.19/drivers/iio/adc/ |
D | sun4i-gpadc-iio.c | 53 int temp_offset; member 62 .temp_offset = -1932, 71 .temp_offset = -1447, 80 .temp_offset = -1623, 89 .temp_offset = -1662, 295 *val = info->data->temp_offset; in sun4i_gpadc_temp_offset()
|
/Linux-v4.19/drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/ |
D | phy_lcn.c | 3266 u32 temp_offset[128]; in wlc_lcnphy_clear_papd_comptable() local 3267 tab.tbl_ptr = temp_offset; in wlc_lcnphy_clear_papd_comptable() 3273 memset(temp_offset, 0, sizeof(temp_offset)); in wlc_lcnphy_clear_papd_comptable() 3275 temp_offset[j] = 0x80000; in wlc_lcnphy_clear_papd_comptable()
|
/Linux-v4.19/drivers/scsi/lpfc/ |
D | lpfc_init.c | 11425 uint32_t offset = 0, temp_offset = 0; in lpfc_write_firmware() local 11466 temp_offset = offset; in lpfc_write_firmware() 11468 if (temp_offset + SLI4_PAGE_SIZE > fw->size) { in lpfc_write_firmware() 11470 fw->data + temp_offset, in lpfc_write_firmware() 11471 fw->size - temp_offset); in lpfc_write_firmware() 11472 temp_offset = fw->size; in lpfc_write_firmware() 11475 memcpy(dmabuf->virt, fw->data + temp_offset, in lpfc_write_firmware() 11477 temp_offset += SLI4_PAGE_SIZE; in lpfc_write_firmware()
|
/Linux-v4.19/fs/cifs/ |
D | cifssmb.c | 3817 __u32 temp_offset; in smb_init_nttransact() local 3831 temp_offset = offsetof(struct smb_com_ntransact_req, Parms) + in smb_init_nttransact() 3833 pSMB->ParameterOffset = cpu_to_le32(temp_offset); in smb_init_nttransact() 3834 pSMB->DataOffset = cpu_to_le32(temp_offset + parm_len); in smb_init_nttransact()
|