Home
last modified time | relevance | path

Searched refs:temp_val (Results 1 – 13 of 13) sorted by relevance

/drivers/iio/light/
Dacpi-als.c87 unsigned long long temp_val; in acpi_als_read_value() local
91 &temp_val); in acpi_als_read_value()
98 *val = temp_val; in acpi_als_read_value()
127 s32 temp_val; in acpi_als_read_raw() local
137 ret = acpi_als_read_value(als, ACPI_ALS_ILLUMINANCE, &temp_val); in acpi_als_read_raw()
141 *val = temp_val; in acpi_als_read_raw()
/drivers/usb/c67x00/
Dc67x00-hcd.c286 u16 temp_val; in c67x00_hcd_get_frame() local
289 temp_val = c67x00_ll_husb_get_frame(c67x00->sie); in c67x00_hcd_get_frame()
290 temp_val &= HOST_FRAME_MASK; in c67x00_hcd_get_frame()
291 return temp_val ? (temp_val - 1) : HOST_FRAME_MASK; in c67x00_hcd_get_frame()
/drivers/infiniband/hw/irdma/
Duk.c1001 u64 temp_val; in irdma_uk_cq_set_resized_cnt() local
1007 get_64bit_val(cq->shadow_area, 32, &temp_val); in irdma_uk_cq_set_resized_cnt()
1009 sw_cq_sel = (u16)FIELD_GET(IRDMA_CQ_DBSA_SW_CQ_SELECT, temp_val); in irdma_uk_cq_set_resized_cnt()
1012 arm_seq_num = (u8)FIELD_GET(IRDMA_CQ_DBSA_ARM_SEQ_NUM, temp_val); in irdma_uk_cq_set_resized_cnt()
1013 arm_next_se = (u8)FIELD_GET(IRDMA_CQ_DBSA_ARM_NEXT_SE, temp_val); in irdma_uk_cq_set_resized_cnt()
1014 arm_next = (u8)FIELD_GET(IRDMA_CQ_DBSA_ARM_NEXT, temp_val); in irdma_uk_cq_set_resized_cnt()
1016 temp_val = FIELD_PREP(IRDMA_CQ_DBSA_ARM_SEQ_NUM, arm_seq_num) | in irdma_uk_cq_set_resized_cnt()
1021 set_64bit_val(cq->shadow_area, 32, temp_val); in irdma_uk_cq_set_resized_cnt()
1032 u64 temp_val; in irdma_uk_cq_request_notification() local
1038 get_64bit_val(cq->shadow_area, 32, &temp_val); in irdma_uk_cq_request_notification()
[all …]
Dctrl.c3357 u64 temp_val; in irdma_sc_ccq_arm() local
3362 get_64bit_val(ccq->cq_uk.shadow_area, 32, &temp_val); in irdma_sc_ccq_arm()
3363 sw_cq_sel = (u16)FIELD_GET(IRDMA_CQ_DBSA_SW_CQ_SELECT, temp_val); in irdma_sc_ccq_arm()
3364 arm_next_se = (u8)FIELD_GET(IRDMA_CQ_DBSA_ARM_NEXT_SE, temp_val); in irdma_sc_ccq_arm()
3365 arm_seq_num = (u8)FIELD_GET(IRDMA_CQ_DBSA_ARM_SEQ_NUM, temp_val); in irdma_sc_ccq_arm()
3367 temp_val = FIELD_PREP(IRDMA_CQ_DBSA_ARM_SEQ_NUM, arm_seq_num) | in irdma_sc_ccq_arm()
3371 set_64bit_val(ccq->cq_uk.shadow_area, 32, temp_val); in irdma_sc_ccq_arm()
/drivers/hwmon/
Dsch5636.c62 u8 temp_val[SCH5636_NO_TEMPS]; member
100 data->temp_val[i] = val; in sch5636_update_device()
200 val = (data->temp_val[attr->index] - 64) * 1000; in temp_value_show()
/drivers/net/ethernet/aquantia/atlantic/hw_atl/
Dhw_atl_utils_fw2x.c327 u32 temp_val = mpi_opts & HW_ATL_FW2X_CTRL_TEMPERATURE; in aq_fw2x_get_phy_temp() local
341 temp_val != in aq_fw2x_get_phy_temp()
/drivers/scsi/csiostor/
Dcsio_mb.c199 uint32_t temp_params = 0, temp_val = 0; in csio_mb_params() local
216 temp_val = *val++; in csio_mb_params()
219 *p++ = htonl(temp_val); in csio_mb_params()
/drivers/net/ethernet/qlogic/netxen/
Dnetxen_nic_main.c2140 uint32_t temp, temp_state, temp_val; in netxen_nic_check_temp() local
2146 temp_val = nx_get_temp_val(temp); in netxen_nic_check_temp()
2152 netdev->name, temp_val); in netxen_nic_check_temp()
2160 netdev->name, temp_val); in netxen_nic_check_temp()
2167 temp_val); in netxen_nic_check_temp()
/drivers/net/ethernet/qlogic/qlcnic/
Dqlcnic_main.c2924 u32 temp_state, temp_val, temp = 0; in qlcnic_check_temp() local
2934 temp_val = qlcnic_get_temp_val(temp); in qlcnic_check_temp()
2940 temp_val); in qlcnic_check_temp()
2948 temp_val); in qlcnic_check_temp()
2954 " in normal range.\n", temp_val); in qlcnic_check_temp()
/drivers/scsi/qla2xxx/
Dqla_nx2.c2039 uint32_t temp, temp_state, temp_val; in qla8044_check_temp() local
2044 temp_val = qla82xx_get_temp_val(temp); in qla8044_check_temp()
2050 " down\n", temp_val); in qla8044_check_temp()
2057 " Immediate action needed.\n", temp_val); in qla8044_check_temp()
Dqla_nx.c3278 uint32_t temp, temp_state, temp_val; in qla82xx_check_temp() local
3283 temp_val = qla82xx_get_temp_val(temp); in qla82xx_check_temp()
3289 temp_val); in qla82xx_check_temp()
3295 temp_val); in qla82xx_check_temp()
/drivers/scsi/qla4xxx/
Dql4_os.c4322 uint32_t temp, temp_state, temp_val; in qla4_8xxx_check_temp() local
4328 temp_val = qla82xx_get_temp_val(temp); in qla4_8xxx_check_temp()
4333 " down.\n", temp_val); in qla4_8xxx_check_temp()
4339 " Immediate action needed.\n", temp_val); in qla4_8xxx_check_temp()
4344 temp_val); in qla4_8xxx_check_temp()
/drivers/net/ethernet/broadcom/bnx2x/
Dbnx2x_link.c2729 u16 temp_val; in bnx2x_cl45_read() local
2730 bnx2x_cl45_read(bp, phy, devad, 0xf, &temp_val); in bnx2x_cl45_read()
2803 u16 temp_val; in bnx2x_cl45_write() local
2804 bnx2x_cl45_read(bp, phy, devad, 0xf, &temp_val); in bnx2x_cl45_write()