Home
last modified time | relevance | path

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

/linux/drivers/net/ethernet/intel/idpf/
H A Didpf_virtchnl_ptp.c38 u32 temp_offset; in idpf_ptp_get_caps() local
77 temp_offset = le32_to_cpu(clock_offsets.dev_clk_ns_l); in idpf_ptp_get_caps()
79 libie_pci_get_mmio_addr(mmio, temp_offset); in idpf_ptp_get_caps()
80 temp_offset = le32_to_cpu(clock_offsets.dev_clk_ns_h); in idpf_ptp_get_caps()
82 libie_pci_get_mmio_addr(mmio, temp_offset); in idpf_ptp_get_caps()
83 temp_offset = le32_to_cpu(clock_offsets.phy_clk_ns_l); in idpf_ptp_get_caps()
85 libie_pci_get_mmio_addr(mmio, temp_offset); in idpf_ptp_get_caps()
86 temp_offset = le32_to_cpu(clock_offsets.phy_clk_ns_h); in idpf_ptp_get_caps()
88 libie_pci_get_mmio_addr(mmio, temp_offset); in idpf_ptp_get_caps()
89 temp_offset = le32_to_cpu(clock_offsets.cmd_sync_trigger); in idpf_ptp_get_caps()
[all …]
/linux/drivers/input/touchscreen/
H A Dsun4i-ts.c113 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()
263 * temp_step from 0.096 - 0.170 and temp_offset from 176 - 331. 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 Dadis16400.c158 int temp_offset; member
573 *val = st->variant->temp_offset; in adis16400_read_raw()
985 .temp_offset = 25000000 / 140000, /* 25 C = 0x00 */
999 .temp_offset = 25000000 / 67850, /* 25 C = 0x00 */
1011 .temp_offset = 25000000 / 145300, /* 25 C = 0x00 */
1026 .temp_offset = 25000000 / 136000, /* 25 C = 0x00 */
1040 .temp_offset = 25000000 / 136000, /* 25 C = 0x00 */
1054 .temp_offset = 25000000 / 136000, /* 25 C = 0x00 */
1068 .temp_offset = 25000000 / 136000, /* 25 C = 0x00 */
1081 .temp_offset
[all...]
/linux/drivers/hwmon/
H A Dasus_rog_ryujin.c26 u8 temp_offset;
34 .temp_offset = 3,
42 .temp_offset = 5,
492 if (size <= priv->info->temp_offset + 1 || in rog_ryujin_raw_event()
498 priv->temp_input[0] = data[priv->info->temp_offset] * 1000 + in rog_ryujin_raw_event()
499 data[priv->info->temp_offset + 1] * 100; in rog_ryujin_raw_event()
25 u8 temp_offset; global() member
H A Dk10temp.c104 int temp_offset;
247 *val = get_raw_temp(data) - data->temp_offset; in k10temp_read_temp()
544 data->temp_offset = entry->offset; in k10temp_probe()
103 int temp_offset; global() member
H A Dnct6775.h116 s8 temp_offset[NUM_TEMP_FIXED]; member
H A Dnct6775-core.c1699 data->temp_offset[i] = reg; in nct6775_update_device()
2283 return sysfs_emit(buf, "%d\n", data->temp_offset[sattr->index] * 1000); in show_temp_type()
2303 data->temp_offset[nr] = val; in store_temp_type()
2426 SENSOR_TEMPLATE(temp_offset, "temp%d_offset", 0644, show_temp_offset, store_temp_offset, 0); in show_tsi_temp()
/linux/drivers/thermal/mediatek/
H A Dlvts_thermal.c159 int temp_offset; member
935 golden_temp_offset = golden_temp * 500 + lvts_data->temp_offset; in lvts_golden_temp_init()
1494 golden_temp_offset = lvts_data->temp_offset; in lvts_probe()
2039 .temp_offset = LVTS_COEFF_B_MT7987,
2052 .temp_offset = LVTS_COEFF_B_MT7988,
2066 .temp_offset = LVTS_COEFF_B_MT7988,
2081 .temp_offset = LVTS_COEFF_B_MT8195,
2096 .temp_offset = LVTS_COEFF_B_MT8195,
2111 .temp_offset = LVTS_COEFF_B_MT8195,
2126 .temp_offset
[all...]
/linux/drivers/iio/adc/
H A Dsun4i-gpadc-iio.c49 int temp_offset; member
58 .temp_offset = -1932,
67 .temp_offset = -1447,
76 .temp_offset = -1623,
85 .temp_offset = -1662,
285 *val = info->data->temp_offset; in sun4i_gpadc_temp_offset()
H A Dxilinx-xadc-core.c460 .temp_offset = 273150,
573 .temp_offset = 273150,
590 .temp_offset = 280231,
973 *val = -((xadc->ops->temp_offset << bits) / xadc->ops->temp_scale); in xadc_read_raw()
/linux/drivers/iio/magnetometer/
H A Dsi7210.c132 s8 temp_offset; member
221 temp += (int)(MICRO / 16) * data->temp_offset; in si7210_read_raw()
343 ret = si7210_read_otpreg_val(data, SI7210_OTPREG_TMP_OFF, &data->temp_offset); in si7210_device_init()
/linux/drivers/iio/accel/
H A Dadxl355.h29 struct adxl355_fractional_type temp_offset; member
H A Dbma180.c48 int temp_offset; member
566 *val = data->part_info->temp_offset; in bma180_read_raw()
755 .temp_offset = 0,
783 .temp_offset = -60, /* 0 LSB @ -30 degree C */
811 .temp_offset = 48, /* 0 LSB @ 24 degree C */
838 .temp_offset = 48, /* 0 LSB @ 24 degree C */
H A Dadxl355_core.c109 .temp_offset = {
134 .temp_offset = {
563 *val = data->chip_info->temp_offset.integer; in adxl355_read_raw()
564 *val2 = data->chip_info->temp_offset.decimal; in adxl355_read_raw()
/linux/drivers/net/wireless/ath/ath12k/
H A Dcore.h604 s32 temp_offset; member
607 * noise_floor = min_nf_dbm + temp_offset
H A Dwmi.c10204 rssi_info->temp_offset = a_sle32_to_cpu(temp_info->offset); in ath12k_wmi_rssi_dbm_conv_info_event_parser()
10284 info->temp_offset = rssi_info->temp_offset; in ath12k_wmi_rssi_dbm_conversion_params_info_event()
10289 info->noise_floor = info->min_nf_dbm + info->temp_offset; in ath12k_wmi_rssi_dbm_conversion_params_info_event()
H A Dwmi.h6510 s32 temp_offset; member
H A Dmac.c14863 ar->rssi_info.temp_offset = 0; in ath12k_mac_hw_register()
14864 ar->rssi_info.noise_floor = ar->rssi_info.min_nf_dbm + ar->rssi_info.temp_offset; in ath12k_mac_hw_register()
/linux/drivers/scsi/lpfc/
H A Dlpfc_init.c14570 uint32_t offset = 0, temp_offset = 0; in lpfc_write_firmware()
14610 temp_offset = offset; in lpfc_write_firmware()
14612 if (temp_offset + SLI4_PAGE_SIZE > fw->size) { in lpfc_write_firmware()
14614 fw->data + temp_offset, in lpfc_write_firmware()
14615 fw->size - temp_offset); in lpfc_write_firmware()
14616 temp_offset = fw->size; in lpfc_write_firmware()
14619 memcpy(dmabuf->virt, fw->data + temp_offset, in lpfc_write_firmware()
14621 temp_offset += SLI4_PAGE_SIZE; in lpfc_write_firmware()
14568 uint32_t offset = 0, temp_offset = 0; lpfc_write_firmware() local
/linux/fs/smb/client/
H A Dcifssmb.c3766 __u32 temp_offset; in smb_init_nttransact()
3782 temp_offset = offsetof(struct smb_com_ntransact_req, Parms) + in smb_init_nttransact()
3784 pSMB->ParameterOffset = cpu_to_le32(temp_offset); in smb_init_nttransact()
3785 pSMB->DataOffset = cpu_to_le32(temp_offset + parm_len); in smb_init_nttransact()
3765 __u32 temp_offset; smb_init_nttransact() local