Home
last modified time | relevance | path

Searched refs:temp (Results 2876 - 2900 of 4441) sorted by relevance

1...<<111112113114115116117118119120>>...178

/kernel/linux/linux-5.10/tools/testing/selftests/bpf/progs/
H A Dtest_cls_redirect.c527 unsigned char temp[ETH_ALEN]; in forward_to_next_hop() local
528 memcpy(temp, encap->eth.h_dest, sizeof(temp)); in forward_to_next_hop()
531 memcpy(encap->eth.h_source, temp, sizeof(encap->eth.h_source)); in forward_to_next_hop()
/kernel/linux/linux-5.10/drivers/hwmon/
H A Dadm9240.c28 * LM81 extended temp reading not implemented
139 s16 temp; /* ro temp1_input, 9-bit sign-extended */ member
194 data->temp = val << 8; in adm9240_update_measure()
198 data->temp |= val; in adm9240_update_measure()
314 return sprintf(buf, "%d\n", data->temp / 128 * 500); /* 9-bit value */ in temp1_input_show()
/kernel/linux/linux-5.10/drivers/iio/chemical/
H A Dbme680_core.c465 static u8 bme680_calc_heater_res(struct bme680_data *data, u16 temp) in bme680_calc_heater_res() argument
471 if (temp > 400) /* Cap temperature */ in bme680_calc_heater_res()
472 temp = 400; in bme680_calc_heater_res()
476 temp * 5) / 100) in bme680_calc_heater_res()
/kernel/linux/linux-5.10/drivers/gpu/drm/hisilicon/kirin/
H A Ddw_drm_dsi.c133 u64 temp; in dsi_calc_phy_rate() local
158 temp = f_kHz * (u64)q_pll * (u64)ref_clk_ps; in dsi_calc_phy_rate()
159 m_n_int = temp / (u64)1000000000; in dsi_calc_phy_rate()
160 m_n = (temp % (u64)1000000000) / (u64)100000000; in dsi_calc_phy_rate()
/kernel/linux/linux-5.10/drivers/i2c/busses/
H A Di2c-cadence.c966 unsigned long fscl = *f, best_fscl = *f, actual_fscl, temp; in cdns_i2c_calc_divs() local
971 temp = input_clk / (22 * fscl); in cdns_i2c_calc_divs()
977 if (!temp || (temp > (CDNS_I2C_DIVA_MAX * CDNS_I2C_DIVB_MAX))) in cdns_i2c_calc_divs()
/kernel/linux/linux-5.10/drivers/scsi/
H A Dppa.c1018 ppa_struct *dev, *temp; in __ppa_attach() local
1031 temp = find_parent(); in __ppa_attach()
1032 if (temp) in __ppa_attach()
1033 dev->dev_no = temp->dev_no + 1; in __ppa_attach()
/kernel/linux/linux-5.10/drivers/tty/serial/jsm/
H A Djsm_cls.c313 u8 temp = readb(&ch->ch_cls_uart->lcr); in cls_clear_break() local
315 writeb((temp & ~UART_LCR_SBC), &ch->ch_cls_uart->lcr); in cls_clear_break()
936 u8 temp = readb(&ch->ch_cls_uart->lcr); in cls_send_break() local
938 writeb((temp | UART_LCR_SBC), &ch->ch_cls_uart->lcr); in cls_send_break()
/kernel/linux/linux-5.10/sound/soc/codecs/
H A Dmax98390.c815 unsigned int rdc, rdc_cal_result, temp; in max98390_dsm_calibrate() local
831 regmap_read(max98390->regmap, MAX98390_MEAS_ADC_CH2_READ, &temp); in max98390_dsm_calibrate()
832 max98390->ambient_temp_value = temp * 52 - 1188; in max98390_dsm_calibrate()
838 dev_info(component->dev, "rdc resistance about %d.%02d ohm, reg=0x%X temp reg=0x%X\n", in max98390_dsm_calibrate()
839 rdc_integer, rdc_factor, rdc_cal_result, temp); in max98390_dsm_calibrate()
/kernel/linux/linux-5.10/drivers/pinctrl/sprd/
H A Dpinctrl-sprd.c937 const char **temp; in sprd_pinctrl_parse_dt() local
960 temp = info->grp_names; in sprd_pinctrl_parse_dt()
970 *temp++ = grp->name; in sprd_pinctrl_parse_dt()
983 *temp++ = grp->name; in sprd_pinctrl_parse_dt()
/kernel/linux/linux-6.6/drivers/net/ethernet/intel/e1000e/
H A Dmac.c1473 u16 data, i, temp; in e1000e_id_led_init_generic() local
1485 temp = (data >> (i << 2)) & led_mask; in e1000e_id_led_init_generic()
1486 switch (temp) { in e1000e_id_led_init_generic()
1503 switch (temp) { in e1000e_id_led_init_generic()
/kernel/linux/linux-6.6/drivers/net/ethernet/intel/igb/
H A De1000_mac.c1402 u16 data, i, temp; in igb_id_led_init() local
1420 temp = (data >> (i << 2)) & led_mask; in igb_id_led_init()
1421 switch (temp) { in igb_id_led_init()
1438 switch (temp) { in igb_id_led_init()
/kernel/linux/linux-6.6/drivers/tty/serial/jsm/
H A Djsm_cls.c313 u8 temp = readb(&ch->ch_cls_uart->lcr); in cls_clear_break() local
315 writeb((temp & ~UART_LCR_SBC), &ch->ch_cls_uart->lcr); in cls_clear_break()
912 u8 temp = readb(&ch->ch_cls_uart->lcr); in cls_send_break() local
914 writeb((temp | UART_LCR_SBC), &ch->ch_cls_uart->lcr); in cls_send_break()
/kernel/linux/linux-6.6/drivers/remoteproc/
H A Dti_k3_dsp_remoteproc.c652 u32 temp[2]; in k3_dsp_rproc_of_get_tsp() local
656 temp, 2); in k3_dsp_rproc_of_get_tsp()
667 tsp->proc_id = temp[0]; in k3_dsp_rproc_of_get_tsp()
668 tsp->host_id = temp[1]; in k3_dsp_rproc_of_get_tsp()
/kernel/linux/linux-6.6/drivers/pinctrl/sprd/
H A Dpinctrl-sprd.c939 const char **temp; in sprd_pinctrl_parse_dt() local
962 temp = info->grp_names; in sprd_pinctrl_parse_dt()
972 *temp++ = grp->name; in sprd_pinctrl_parse_dt()
985 *temp++ = grp->name; in sprd_pinctrl_parse_dt()
/kernel/linux/linux-6.6/drivers/net/ethernet/ti/
H A Dam65-cpsw-qos.c234 u64 temp; in am65_est_cmd_ns_to_cnt() local
236 temp = ns * link_speed; in am65_est_cmd_ns_to_cnt()
238 temp <<= 1; in am65_est_cmd_ns_to_cnt()
240 return DIV_ROUND_UP(temp, 8 * 1000); in am65_est_cmd_ns_to_cnt()
/kernel/linux/linux-6.6/drivers/gpu/drm/hisilicon/kirin/
H A Ddw_drm_dsi.c134 u64 temp; in dsi_calc_phy_rate() local
159 temp = f_kHz * (u64)q_pll * (u64)ref_clk_ps; in dsi_calc_phy_rate()
160 m_n_int = temp / (u64)1000000000; in dsi_calc_phy_rate()
161 m_n = (temp % (u64)1000000000) / (u64)100000000; in dsi_calc_phy_rate()
/kernel/linux/linux-6.6/drivers/i2c/busses/
H A Di2c-cadence.c1016 unsigned long fscl = *f, best_fscl = *f, actual_fscl, temp; in cdns_i2c_calc_divs() local
1021 temp = input_clk / (22 * fscl); in cdns_i2c_calc_divs()
1027 if (!temp || (temp > (CDNS_I2C_DIVA_MAX * CDNS_I2C_DIVB_MAX))) in cdns_i2c_calc_divs()
/kernel/linux/linux-6.6/drivers/iio/chemical/
H A Dbme680_core.c465 static u8 bme680_calc_heater_res(struct bme680_data *data, u16 temp) in bme680_calc_heater_res() argument
471 if (temp > 400) /* Cap temperature */ in bme680_calc_heater_res()
472 temp = 400; in bme680_calc_heater_res()
476 temp * 5) / 100) in bme680_calc_heater_res()
/kernel/linux/linux-6.6/drivers/input/touchscreen/
H A Dcyttsp5.c223 u8 temp[2]; in cyttsp5_read() local
226 error = regmap_bulk_read(ts->regmap, HID_INPUT_REG, temp, sizeof(temp)); in cyttsp5_read()
230 size = get_unaligned_le16(temp); in cyttsp5_read()
/kernel/linux/linux-6.6/tools/testing/selftests/bpf/progs/
H A Dtest_cls_redirect.c534 unsigned char temp[ETH_ALEN]; in forward_to_next_hop() local
535 memcpy(temp, encap->eth.h_dest, sizeof(temp)); in forward_to_next_hop()
538 memcpy(encap->eth.h_source, temp, sizeof(encap->eth.h_source)); in forward_to_next_hop()
H A Dtest_cls_redirect_dynptr.c427 unsigned char temp[ETH_ALEN]; in forward_to_next_hop() local
428 memcpy(temp, encap->eth.h_dest, sizeof(temp)); in forward_to_next_hop()
431 memcpy(encap->eth.h_source, temp, sizeof(encap->eth.h_source)); in forward_to_next_hop()
/kernel/linux/linux-6.6/tools/testing/selftests/hid/
H A Dhid_bpf.c325 char temp[512]; in match_sysfs_device() local
341 nread = read(fd, temp, ARRAY_SIZE(temp)); in match_sysfs_device()
342 if (nread > 0 && (strstr(temp, phys)) != NULL) in match_sysfs_device()
/kernel/linux/linux-6.6/sound/soc/codecs/
H A Dmax98390.c639 unsigned int rdc, rdc_cal_result, rdc_integer, rdc_factor, temp, val; in max98390_dsm_calib_put() local
654 regmap_read(max98390->regmap, MAX98390_MEAS_ADC_CH2_READ, &temp); in max98390_dsm_calib_put()
670 max98390->ambient_temp_value = temp * 52 - 1188; in max98390_dsm_calib_put()
676 "rdc resistance about %d.%02d ohm, reg=0x%X temp reg=0x%X\n", in max98390_dsm_calib_put()
677 rdc_integer, rdc_factor, rdc_cal_result, temp); in max98390_dsm_calib_put()
/kernel/linux/linux-6.6/drivers/scsi/
H A Dppa.c1047 ppa_struct *dev, *temp; in __ppa_attach() local
1059 temp = find_parent(); in __ppa_attach()
1060 if (temp) in __ppa_attach()
1061 dev->dev_no = temp->dev_no + 1; in __ppa_attach()
/test/ostest/wukong/common/src/
H A Dwukong_util.cpp361 std::vector<std::string> temp; in SetBlockPageList() local
362 SplitStr(optarg, ",", temp); in SetBlockPageList()
363 blockPageList_.insert(blockPageList_.end(), temp.begin(), temp.end()); in SetBlockPageList()

Completed in 35 milliseconds

1...<<111112113114115116117118119120>>...178