Home
last modified time | relevance | path

Searched refs:temp_offset (Results 1 – 16 of 16) 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()
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
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 Dadxl355.h29 struct adxl355_fractional_type temp_offset; member
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()
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 */
/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/adc/
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/hwmon/
H A Dnct6775.h116 s8 temp_offset[NUM_TEMP_FIXED]; member
H A Dnct6775-core.c1664 data->temp_offset[i] = reg; in nct6775_update_device()
2248 return sysfs_emit(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/net/wireless/ath/ath12k/
H A Dcore.h605 s32 temp_offset; member
H A Dwmi.c10191 rssi_info->temp_offset = a_sle32_to_cpu(temp_info->offset); in ath12k_wmi_rssi_dbm_conv_info_evt_subtlv_parser()
10271 info->temp_offset = rssi_info->temp_offset; in ath12k_wmi_update_rssi_offsets()
10276 info->noise_floor = info->min_nf_dbm + info->temp_offset; in ath12k_wmi_update_rssi_offsets()
H A Dwmi.h6510 s32 temp_offset; member
H A Dmac.c14785 ar->rssi_info.temp_offset = 0; in ath12k_mac_setup_register()
14786 ar->rssi_info.noise_floor = ar->rssi_info.min_nf_dbm + ar->rssi_info.temp_offset; in ath12k_mac_setup_register()
/linux/drivers/scsi/lpfc/
H A Dlpfc_init.c14568 uint32_t offset = 0, temp_offset = 0; in lpfc_write_firmware() local
14608 temp_offset = offset; in lpfc_write_firmware()
14610 if (temp_offset + SLI4_PAGE_SIZE > fw->size) { in lpfc_write_firmware()
14612 fw->data + temp_offset, in lpfc_write_firmware()
14613 fw->size - temp_offset); in lpfc_write_firmware()
14614 temp_offset = fw->size; in lpfc_write_firmware()
14617 memcpy(dmabuf->virt, fw->data + temp_offset, in lpfc_write_firmware()
14619 temp_offset += SLI4_PAGE_SIZE; in lpfc_write_firmware()
/linux/fs/smb/client/
H A Dcifssmb.c3734 __u32 temp_offset; in smb_init_nttransact() local
3750 temp_offset = offsetof(struct smb_com_ntransact_req, Parms) + in smb_init_nttransact()
3752 pSMB->ParameterOffset = cpu_to_le32(temp_offset); in smb_init_nttransact()
3753 pSMB->DataOffset = cpu_to_le32(temp_offset + parm_len); in smb_init_nttransact()