Home
last modified time | relevance | path

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

/Linux-v5.4/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()
141 s32 temp_val; in acpi_als_read_raw() local
151 ret = acpi_als_read_value(als, ACPI_ALS_ILLUMINANCE, &temp_val); in acpi_als_read_raw()
155 *val = temp_val; in acpi_als_read_raw()
/Linux-v5.4/include/linux/mfd/
Dtps65090.h124 unsigned int temp_val; in tps65090_read() local
127 ret = regmap_read(tps->rmap, reg, &temp_val); in tps65090_read()
129 *val = temp_val; in tps65090_read()
/Linux-v5.4/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()
/Linux-v5.4/drivers/infiniband/hw/i40iw/
Di40iw_uk.c702 u64 temp_val; in i40iw_cq_request_notification() local
708 get_64bit_val(cq->shadow_area, 32, &temp_val); in i40iw_cq_request_notification()
709 arm_seq_num = (u8)RS_64(temp_val, I40IW_CQ_DBSA_ARM_SEQ_NUM); in i40iw_cq_request_notification()
712 sw_cq_sel = (u16)RS_64(temp_val, I40IW_CQ_DBSA_SW_CQ_SELECT); in i40iw_cq_request_notification()
713 arm_next_se = (u8)RS_64(temp_val, I40IW_CQ_DBSA_ARM_NEXT_SE); in i40iw_cq_request_notification()
717 temp_val = LS_64(arm_seq_num, I40IW_CQ_DBSA_ARM_SEQ_NUM) | in i40iw_cq_request_notification()
722 set_64bit_val(cq->shadow_area, 32, temp_val); in i40iw_cq_request_notification()
Di40iw_ctrl.c684 u64 temp_val; in i40iw_sc_ccq_arm() local
691 get_64bit_val(ccq->cq_uk.shadow_area, 32, &temp_val); in i40iw_sc_ccq_arm()
693 sw_cq_sel = (u16)RS_64(temp_val, I40IW_CQ_DBSA_SW_CQ_SELECT); in i40iw_sc_ccq_arm()
694 arm_next_se = (u8)RS_64(temp_val, I40IW_CQ_DBSA_ARM_NEXT_SE); in i40iw_sc_ccq_arm()
696 arm_seq_num = (u8)RS_64(temp_val, I40IW_CQ_DBSA_ARM_SEQ_NUM); in i40iw_sc_ccq_arm()
699 temp_val = LS_64(arm_seq_num, I40IW_CQ_DBSA_ARM_SEQ_NUM) | in i40iw_sc_ccq_arm()
704 set_64bit_val(ccq->cq_uk.shadow_area, 32, temp_val); in i40iw_sc_ccq_arm()
/Linux-v5.4/drivers/hwmon/
Dsch5636.c63 u8 temp_val[SCH5636_NO_TEMPS]; member
101 data->temp_val[i] = val; in sch5636_update_device()
201 val = (data->temp_val[attr->index] - 64) * 1000; in temp_value_show()
/Linux-v5.4/drivers/net/ethernet/aquantia/atlantic/hw_atl/
Dhw_atl_utils_fw2x.c314 u32 temp_val = mpi_opts & HW_ATL_FW2X_CTRL_TEMPERATURE; in aq_fw2x_get_phy_temp() local
328 temp_val != in aq_fw2x_get_phy_temp()
/Linux-v5.4/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()
/Linux-v5.4/drivers/net/ethernet/qlogic/netxen/
Dnetxen_nic_main.c2147 uint32_t temp, temp_state, temp_val; in netxen_nic_check_temp() local
2153 temp_val = nx_get_temp_val(temp); in netxen_nic_check_temp()
2159 netdev->name, temp_val); in netxen_nic_check_temp()
2167 netdev->name, temp_val); in netxen_nic_check_temp()
2174 temp_val); in netxen_nic_check_temp()
/Linux-v5.4/drivers/net/ethernet/qlogic/qlcnic/
Dqlcnic_main.c2957 u32 temp_state, temp_val, temp = 0; in qlcnic_check_temp() local
2967 temp_val = qlcnic_get_temp_val(temp); in qlcnic_check_temp()
2973 temp_val); in qlcnic_check_temp()
2981 temp_val); in qlcnic_check_temp()
2987 " in normal range.\n", temp_val); in qlcnic_check_temp()
/Linux-v5.4/drivers/scsi/qla2xxx/
Dqla_nx2.c2040 uint32_t temp, temp_state, temp_val; in qla8044_check_temp() local
2045 temp_val = qla82xx_get_temp_val(temp); in qla8044_check_temp()
2051 " down\n", temp_val); in qla8044_check_temp()
2058 " Immediate action needed.\n", temp_val); in qla8044_check_temp()
Dqla_nx.c3328 uint32_t temp, temp_state, temp_val; in qla82xx_check_temp() local
3333 temp_val = qla82xx_get_temp_val(temp); in qla82xx_check_temp()
3339 temp_val); in qla82xx_check_temp()
3345 temp_val); in qla82xx_check_temp()
/Linux-v5.4/drivers/scsi/qla4xxx/
Dql4_os.c4290 uint32_t temp, temp_state, temp_val; in qla4_8xxx_check_temp() local
4296 temp_val = qla82xx_get_temp_val(temp); in qla4_8xxx_check_temp()
4301 " down.\n", temp_val); in qla4_8xxx_check_temp()
4307 " Immediate action needed.\n", temp_val); in qla4_8xxx_check_temp()
4312 temp_val); in qla4_8xxx_check_temp()
/Linux-v5.4/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()