| /linux/drivers/net/ethernet/intel/idpf/ |
| H A D | idpf_virtchnl_ptp.c | 39 u32 temp_offset; in idpf_ptp_get_caps() local 79 temp_offset = le32_to_cpu(clock_offsets.dev_clk_ns_l); in idpf_ptp_get_caps() 81 temp_offset); in idpf_ptp_get_caps() 82 temp_offset = le32_to_cpu(clock_offsets.dev_clk_ns_h); in idpf_ptp_get_caps() 84 temp_offset); in idpf_ptp_get_caps() 85 temp_offset = le32_to_cpu(clock_offsets.phy_clk_ns_l); in idpf_ptp_get_caps() 87 temp_offset); in idpf_ptp_get_caps() 88 temp_offset = le32_to_cpu(clock_offsets.phy_clk_ns_h); in idpf_ptp_get_caps() 90 temp_offset); in idpf_ptp_get_caps() 91 temp_offset = le32_to_cpu(clock_offsets.cmd_sync_trigger); in idpf_ptp_get_caps() [all …]
|
| /linux/drivers/hwmon/ |
| H A D | smsc47m192.c | 98 s8 temp_offset[3]; /* Register value */ member 135 data->temp_offset[i] = i2c_smbus_read_byte_data(client, in smsc47m192_update_device() 142 data->temp_offset[0] = data->temp_offset[1]; in smsc47m192_update_device() 143 data->temp_offset[1] = 0; in smsc47m192_update_device() 145 data->temp_offset[0] = 0; in smsc47m192_update_device() 345 return sprintf(buf, "%d\n", TEMP_FROM_REG(data->temp_offset[nr])); in temp_offset_show() 365 data->temp_offset[nr] = TEMP_TO_REG(val); in temp_offset_store() 368 SMSC47M192_REG_TEMP_OFFSET(nr), data->temp_offset[nr]); in temp_offset_store() 369 else if (data->temp_offset[nr] != 0) { in temp_offset_store() 376 data->temp_offset[1-nr] = 0; in temp_offset_store() [all …]
|
| H A D | k8temp.c | 30 u32 temp_offset; member 111 *val = TEMP_FROM_REG(temp) + data->temp_offset; in k8temp_read() 169 data->temp_offset = 21000; in k8temp_probe()
|
| H A D | adm1031.c | 90 s8 temp_offset[3]; member 148 data->temp_offset[chan] = in adm1031_update_device() 682 TEMP_OFFSET_FROM_REG(data->temp_offset[nr])); in temp_offset_show() 721 data->temp_offset[nr] = TEMP_OFFSET_TO_REG(val); in temp_offset_store() 723 data->temp_offset[nr]); in temp_offset_store() 795 static SENSOR_DEVICE_ATTR_RW(temp1_offset, temp_offset, 0); 800 static SENSOR_DEVICE_ATTR_RW(temp2_offset, temp_offset, 1); 805 static SENSOR_DEVICE_ATTR_RW(temp3_offset, temp_offset, 2);
|
| H A D | nct6775.h | 116 s8 temp_offset[NUM_TEMP_FIXED]; member
|
| H A D | nct6775-core.c | 1665 data->temp_offset[i] = reg; in nct6775_update_device() 2248 return sprintf(buf, "%d\n", data->temp_offset[sattr->index] * 1000); in show_temp_offset() 2268 data->temp_offset[nr] = val; in store_temp_offset() 2391 SENSOR_TEMPLATE(temp_offset, "temp%d_offset", 0644, show_temp_offset, store_temp_offset, 0);
|
| /linux/drivers/input/touchscreen/ |
| H A D | sun4i-ts.c | 113 int temp_offset; member 190 *temp = ts->temp_data * ts->temp_step - ts->temp_offset; in sun4i_get_temp() 256 ts->temp_offset = 271000; in sun4i_ts_probe() 265 ts->temp_offset = 257000; in sun4i_ts_probe() 279 ts->temp_offset = 144700; in sun4i_ts_probe()
|
| /linux/drivers/iio/imu/ |
| H A D | adis16400.c | 158 int temp_offset; member 570 *val = st->variant->temp_offset; in adis16400_read_raw() 982 .temp_offset = 25000000 / 140000, /* 25 C = 0x00 */ 996 .temp_offset = 25000000 / 67850, /* 25 C = 0x00 */ 1008 .temp_offset = 25000000 / 145300, /* 25 C = 0x00 */ 1023 .temp_offset = 25000000 / 136000, /* 25 C = 0x00 */ 1037 .temp_offset = 25000000 / 136000, /* 25 C = 0x00 */ 1051 .temp_offset = 25000000 / 136000, /* 25 C = 0x00 */ 1065 .temp_offset = 25000000 / 136000, /* 25 C = 0x00 */ 1078 .temp_offset = 25000000 / 140000, /* 25 C = 0x00 */ [all …]
|
| /linux/drivers/iio/accel/ |
| H A D | adxl355.h | 29 struct adxl355_fractional_type temp_offset; member
|
| H A D | adxl380.h | 16 const int temp_offset; member
|
| H A D | adxl355_core.c | 110 .temp_offset = { 135 .temp_offset = { 566 *val = data->chip_info->temp_offset.integer; in adxl355_read_raw() 567 *val2 = data->chip_info->temp_offset.decimal; in adxl355_read_raw()
|
| H A D | adxl380.c | 1180 *val = st->chip_info->temp_offset; in adxl380_read_raw() 1629 .temp_offset = 25 * 102 / 10 - 550, 1647 .temp_offset = 25 * 102 / 10 - 550, 1665 .temp_offset = 25 * 102 / 10 - 470, 1685 .temp_offset = 25 * 102 / 10 - 570,
|
| /linux/drivers/iio/adc/ |
| H A D | xilinx-xadc-core.c | 461 .temp_offset = 273150, 574 .temp_offset = 273150, 591 .temp_offset = 280231, 967 *val = -((xadc->ops->temp_offset << bits) / xadc->ops->temp_scale); in xadc_read_raw()
|
| /linux/drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/ |
| H A D | phy_lcn.c | 3193 u32 temp_offset[128]; in wlc_lcnphy_clear_papd_comptable() local 3194 tab.tbl_ptr = temp_offset; in wlc_lcnphy_clear_papd_comptable() 3200 memset(temp_offset, 0, sizeof(temp_offset)); in wlc_lcnphy_clear_papd_comptable() 3202 temp_offset[j] = 0x80000; in wlc_lcnphy_clear_papd_comptable()
|
| /linux/drivers/scsi/lpfc/ |
| H A D | lpfc_init.c | 14591 uint32_t offset = 0, temp_offset = 0; in lpfc_write_firmware() local 14632 temp_offset = offset; in lpfc_write_firmware() 14634 if (temp_offset + SLI4_PAGE_SIZE > fw->size) { in lpfc_write_firmware() 14636 fw->data + temp_offset, in lpfc_write_firmware() 14637 fw->size - temp_offset); in lpfc_write_firmware() 14638 temp_offset = fw->size; in lpfc_write_firmware() 14641 memcpy(dmabuf->virt, fw->data + temp_offset, in lpfc_write_firmware() 14643 temp_offset += SLI4_PAGE_SIZE; in lpfc_write_firmware()
|
| /linux/fs/smb/client/ |
| H A D | cifssmb.c | 3586 __u32 temp_offset; in smb_init_nttransact() local 3602 temp_offset = offsetof(struct smb_com_ntransact_req, Parms) + in smb_init_nttransact() 3604 pSMB->ParameterOffset = cpu_to_le32(temp_offset); in smb_init_nttransact() 3605 pSMB->DataOffset = cpu_to_le32(temp_offset + parm_len); in smb_init_nttransact()
|
| /linux/drivers/net/wireless/ath/ath12k/ |
| H A D | mac.c | 14223 ar->rssi_info.temp_offset = 0; in ath12k_mac_setup_register() 14224 ar->rssi_info.noise_floor = ar->rssi_info.min_nf_dbm + ar->rssi_info.temp_offset; in ath12k_mac_setup_register()
|