/kernel/linux/linux-5.10/drivers/net/ethernet/intel/ixgbe/ |
H A D | ixgbe_sysfs.c | 35 /* reset the temp field */ in ixgbe_hwmon_show_temp() 38 value = ixgbe_attr->sensor->temp; in ixgbe_hwmon_show_temp() 97 "temp%u_label", offset + 1); in ixgbe_add_hwmon_attr() 102 "temp%u_input", offset + 1); in ixgbe_add_hwmon_attr() 107 "temp%u_max", offset + 1); in ixgbe_add_hwmon_attr() 112 "temp%u_crit", offset + 1); in ixgbe_add_hwmon_attr()
|
/kernel/linux/linux-5.10/tools/bootconfig/ |
H A D | test-bootconfig.sh | 15 TEMPCONF=`mktemp ${TESTDIR}/temp-XXXX.bconf`
|
/kernel/linux/linux-6.6/drivers/ufs/core/ |
H A D | ufs-hwmon.c | 151 HWMON_CHANNEL_INFO(temp, HWMON_T_ENABLE | HWMON_T_INPUT | HWMON_T_CRIT | HWMON_T_LCRIT),
|
/kernel/linux/linux-6.6/drivers/net/ethernet/intel/ixgbe/ |
H A D | ixgbe_sysfs.c | 35 /* reset the temp field */ in ixgbe_hwmon_show_temp() 38 value = ixgbe_attr->sensor->temp; in ixgbe_hwmon_show_temp() 97 "temp%u_label", offset + 1); in ixgbe_add_hwmon_attr() 102 "temp%u_input", offset + 1); in ixgbe_add_hwmon_attr() 107 "temp%u_max", offset + 1); in ixgbe_add_hwmon_attr() 112 "temp%u_crit", offset + 1); in ixgbe_add_hwmon_attr()
|
/kernel/linux/linux-6.6/drivers/net/wireless/mediatek/mt76/ |
H A D | mt76x02_debugfs.c | 142 debugfs_create_u8("temperature", 0400, dir, &dev->cal.temp); in mt76x02_init_debugfs()
|
/kernel/linux/linux-6.6/drivers/hwmon/ |
H A D | nzxt-kraken2.c | 90 HWMON_CHANNEL_INFO(temp,
|
/kernel/linux/linux-6.6/tools/bootconfig/ |
H A D | test-bootconfig.sh | 15 TEMPCONF=`mktemp ${TESTDIR}/temp-XXXX.bconf`
|
/kernel/linux/linux-5.10/drivers/clk/bcm/ |
H A D | clk-bcm2835.c | 942 u64 temp = (u64)parent_rate << CM_DIV_FRAC_BITS; in bcm2835_clock_choose_div() local 946 rem = do_div(temp, rate); in bcm2835_clock_choose_div() 947 div = temp; in bcm2835_clock_choose_div() 976 u64 temp; in bcm2835_clock_rate_from_divisor() local 991 temp = (u64)parent_rate << data->frac_bits; in bcm2835_clock_rate_from_divisor() 993 do_div(temp, div); in bcm2835_clock_rate_from_divisor() 995 return temp; in bcm2835_clock_rate_from_divisor() 1206 * over-temp or under-voltage conditions, without in bcm2835_clock_determine_rate()
|
/kernel/linux/linux-5.10/drivers/media/platform/coda/ |
H A D | coda-jpeg.c | 997 unsigned int temp; in coda_scale_quant_table() local 1001 temp = DIV_ROUND_CLOSEST((unsigned int)q_tab[i] * scale, 100); in coda_scale_quant_table() 1002 if (temp <= 0) in coda_scale_quant_table() 1003 temp = 1; in coda_scale_quant_table() 1004 if (temp > 255) in coda_scale_quant_table() 1005 temp = 255; in coda_scale_quant_table() 1006 q_tab[i] = (unsigned char)temp; in coda_scale_quant_table()
|
/kernel/linux/linux-5.10/drivers/hwmon/ |
H A D | lm85.c | 157 * Limit (low) temp, 1. degC 160 * Critical (high) temp, 1. degC 165 * PWM value at limit/low temp, 1 count 170 * Some chips filter the temp, others the fan. 217 * 23 -- PWM responds to the higher temp of Zone 2 or 3 265 s8 limit; /* Low temp limit */ 268 s8 critical; /* "All fans ON" temp limit */ 304 s8 temp[3]; /* Register value */ member 420 data->temp[i] = in lm85_update_device() 426 data->temp[ in lm85_update_device() [all...] |
/kernel/linux/linux-5.10/drivers/net/ethernet/ti/ |
H A D | netcp_core.c | 1971 u32 temp[2]; in netcp_create_interface() local 2069 ret = of_property_read_u32_array(node_interface, "rx-pool", temp, 2); in netcp_create_interface() 2075 netcp->rx_pool_size = temp[0]; in netcp_create_interface() 2076 netcp->rx_pool_region_id = temp[1]; in netcp_create_interface() 2078 ret = of_property_read_u32_array(node_interface, "tx-pool", temp, 2); in netcp_create_interface() 2084 netcp->tx_pool_size = temp[0]; in netcp_create_interface() 2085 netcp->tx_pool_region_id = temp[1]; in netcp_create_interface()
|
/kernel/linux/linux-5.10/drivers/net/usb/ |
H A D | usbnet.c | 779 int temp; in usbnet_terminate_urbs() 784 temp = unlink_urbs(dev, &dev->txq) + in usbnet_terminate_urbs() 792 "waited for %d urb completions\n", temp); in usbnet_terminate_urbs() 1533 int temp = dev->rxq.qlen; in usbnet_bh() 1535 if (temp < RX_QLEN(dev)) { in usbnet_bh() 1538 if (temp != dev->rxq.qlen) in usbnet_bh() 1541 temp, dev->rxq.qlen); in usbnet_bh() 778 int temp; usbnet_terminate_urbs() local 1532 int temp = dev->rxq.qlen; usbnet_bh() local
|
/kernel/linux/linux-5.10/sound/pci/ali5451/ |
H A D | ali5451.c | 1939 unsigned char temp; in snd_ali_chip_init() local 1951 pci_read_config_byte(pci_dev, 0x59, &temp); in snd_ali_chip_init() 1952 temp |= 0x80; in snd_ali_chip_init() 1953 pci_write_config_byte(pci_dev, 0x59, temp); in snd_ali_chip_init() 1956 pci_read_config_byte(pci_dev, 0xb8, &temp); in snd_ali_chip_init() 1957 temp |= 0x20; in snd_ali_chip_init() 1958 pci_write_config_byte(pci_dev, 0xB8, temp); in snd_ali_chip_init()
|
/kernel/linux/linux-5.10/drivers/power/supply/ |
H A D | bq27xxx_battery.c | 1574 int temp; local 1576 temp = bq27xxx_read(di, BQ27XXX_REG_TEMP, false); 1577 if (temp < 0) { 1579 return temp; 1583 temp = 5 * temp / 2; 1585 return temp;
|
/kernel/linux/linux-5.10/drivers/platform/x86/ |
H A D | asus-laptop.c | 846 unsigned long long temp; in infos_show() local 863 rv = acpi_evaluate_integer(asus->handle, "SFUN", NULL, &temp); in infos_show() 866 (uint) temp); in infos_show() 875 rv = acpi_evaluate_integer(asus->handle, "HWRS", NULL, &temp); in infos_show() 878 (uint) temp); in infos_show() 886 rv = acpi_evaluate_integer(asus->handle, "ASYM", NULL, &temp); in infos_show() 889 (uint) temp); in infos_show()
|
H A D | samsung-laptop.c | 928 char temp = readb(memcheck + loca); in find_signature() local 930 if (temp == testStr[i]) { in find_signature() 1373 char temp = readb(samsung->f0000_segment + loca); in samsung_sabi_diag() local 1375 if (isalnum(temp) || temp == '/' || temp == '-') in samsung_sabi_diag() 1376 samsung->sdiag[i++] = temp; in samsung_sabi_diag()
|
/kernel/linux/linux-5.10/drivers/rtc/ |
H A D | rtc-ds1307.c | 1392 s16 temp; in ds3231_hwmon_read_temp() local 1403 temp = (temp_buf[0] << 8) | temp_buf[1]; in ds3231_hwmon_read_temp() 1404 temp >>= 6; in ds3231_hwmon_read_temp() 1405 *mC = temp * 250; in ds3231_hwmon_read_temp() 1414 s32 temp; in ds3231_hwmon_show_temp() local 1416 ret = ds3231_hwmon_read_temp(dev, &temp); in ds3231_hwmon_show_temp() 1420 return sprintf(buf, "%d\n", temp); in ds3231_hwmon_show_temp()
|
/kernel/linux/linux-6.6/drivers/rtc/ |
H A D | rtc-ds1307.c | 1335 s16 temp; in ds3231_hwmon_read_temp() local 1346 temp = (temp_buf[0] << 8) | temp_buf[1]; in ds3231_hwmon_read_temp() 1347 temp >>= 6; in ds3231_hwmon_read_temp() 1348 *mC = temp * 250; in ds3231_hwmon_read_temp() 1357 s32 temp; in ds3231_hwmon_show_temp() local 1359 ret = ds3231_hwmon_read_temp(dev, &temp); in ds3231_hwmon_show_temp() 1363 return sprintf(buf, "%d\n", temp); in ds3231_hwmon_show_temp()
|
/kernel/linux/linux-6.6/drivers/s390/block/ |
H A D | dasd_devmap.c | 603 struct dasd_pprc_data_sc4 *temp; in dasd_devmap_get_pprc_status() local 609 temp = kzalloc(sizeof(*temp), GFP_KERNEL); in dasd_devmap_get_pprc_status() 610 if (!temp) in dasd_devmap_get_pprc_status() 614 if (device->discipline->pprc_status(device, temp)) { in dasd_devmap_get_pprc_status() 616 kfree(temp); in dasd_devmap_get_pprc_status() 619 *data = temp; in dasd_devmap_get_pprc_status()
|
/kernel/linux/linux-6.6/drivers/platform/x86/ |
H A D | asus-laptop.c | 846 unsigned long long temp; in infos_show() local 863 rv = acpi_evaluate_integer(asus->handle, "SFUN", NULL, &temp); in infos_show() 866 (uint) temp); in infos_show() 875 rv = acpi_evaluate_integer(asus->handle, "HWRS", NULL, &temp); in infos_show() 878 (uint) temp); in infos_show() 886 rv = acpi_evaluate_integer(asus->handle, "ASYM", NULL, &temp); in infos_show() 889 (uint) temp); in infos_show()
|
/kernel/linux/linux-6.6/drivers/power/supply/ |
H A D | bq27xxx_battery.c | 1648 int temp; local 1650 temp = bq27xxx_read(di, BQ27XXX_REG_TEMP, false); 1651 if (temp < 0) { 1653 return temp; 1657 temp = 5 * temp / 2; 1659 return temp;
|
/kernel/linux/linux-6.6/drivers/clk/bcm/ |
H A D | clk-bcm2835.c | 944 u64 temp = (u64)parent_rate << CM_DIV_FRAC_BITS; in bcm2835_clock_choose_div() local 947 do_div(temp, rate); in bcm2835_clock_choose_div() 948 div = temp; in bcm2835_clock_choose_div() 977 u64 temp; in bcm2835_clock_rate_from_divisor() local 992 temp = (u64)parent_rate << data->frac_bits; in bcm2835_clock_rate_from_divisor() 994 do_div(temp, div); in bcm2835_clock_rate_from_divisor() 996 return temp; in bcm2835_clock_rate_from_divisor() 1234 * over-temp or under-voltage conditions, without in bcm2835_clock_determine_rate()
|
/kernel/linux/linux-6.6/drivers/infiniband/hw/irdma/ |
H A D | uk.c | 117 u64 temp; in irdma_uk_qp_post_wr() local 125 get_64bit_val(qp->shadow_area, 0, &temp); in irdma_uk_qp_post_wr() 127 hw_sq_tail = (u32)FIELD_GET(IRDMA_QP_DBSA_HW_SQ_TAIL, temp); in irdma_uk_qp_post_wr() 1496 u8 polarity, temp; in irdma_uk_clean_cq() local 1499 temp = cq->polarity; in irdma_uk_clean_cq() 1508 if (polarity != temp) in irdma_uk_clean_cq() 1520 temp ^= 1; in irdma_uk_clean_cq()
|
/kernel/linux/linux-6.6/drivers/net/usb/ |
H A D | usbnet.c | 792 int temp; in usbnet_terminate_urbs() local 797 temp = unlink_urbs(dev, &dev->txq) + in usbnet_terminate_urbs() 805 "waited for %d urb completions\n", temp); in usbnet_terminate_urbs() 1568 int temp = dev->rxq.qlen; in usbnet_bh() local 1570 if (temp < RX_QLEN(dev)) { in usbnet_bh() 1573 if (temp != dev->rxq.qlen) in usbnet_bh() 1576 temp, dev->rxq.qlen); in usbnet_bh()
|
/kernel/linux/linux-6.6/drivers/media/platform/chips-media/ |
H A D | coda-jpeg.c | 997 unsigned int temp; in coda_scale_quant_table() local 1001 temp = DIV_ROUND_CLOSEST((unsigned int)q_tab[i] * scale, 100); in coda_scale_quant_table() 1002 if (temp <= 0) in coda_scale_quant_table() 1003 temp = 1; in coda_scale_quant_table() 1004 if (temp > 255) in coda_scale_quant_table() 1005 temp = 255; in coda_scale_quant_table() 1006 q_tab[i] = (unsigned char)temp; in coda_scale_quant_table()
|