Home
last modified time | relevance | path

Searched refs:temp (Results 1251 - 1275 of 2546) sorted by relevance

1...<<51525354555657585960>>...102

/kernel/linux/linux-6.6/drivers/gpu/drm/amd/amdgpu/
H A Dsdma_v3_0.c1434 uint32_t temp, data; in sdma_v3_0_update_sdma_medium_grain_clock_gating() local
1439 temp = data = RREG32(mmSDMA0_CLK_CTRL + sdma_offsets[i]); in sdma_v3_0_update_sdma_medium_grain_clock_gating()
1448 if (data != temp) in sdma_v3_0_update_sdma_medium_grain_clock_gating()
1453 temp = data = RREG32(mmSDMA0_CLK_CTRL + sdma_offsets[i]); in sdma_v3_0_update_sdma_medium_grain_clock_gating()
1463 if (data != temp) in sdma_v3_0_update_sdma_medium_grain_clock_gating()
1473 uint32_t temp, data; in sdma_v3_0_update_sdma_medium_grain_light_sleep() local
1478 temp = data = RREG32(mmSDMA0_POWER_CNTL + sdma_offsets[i]); in sdma_v3_0_update_sdma_medium_grain_light_sleep()
1481 if (temp != data) in sdma_v3_0_update_sdma_medium_grain_light_sleep()
1486 temp = data = RREG32(mmSDMA0_POWER_CNTL + sdma_offsets[i]); in sdma_v3_0_update_sdma_medium_grain_light_sleep()
1489 if (temp ! in sdma_v3_0_update_sdma_medium_grain_light_sleep()
[all...]
H A Dvi.c1767 uint32_t temp, data; in vi_update_bif_medium_grain_light_sleep() local
1769 temp = data = RREG32_PCIE(ixPCIE_CNTL2); in vi_update_bif_medium_grain_light_sleep()
1780 if (temp != data) in vi_update_bif_medium_grain_light_sleep()
1787 uint32_t temp, data; in vi_update_hdp_medium_grain_clock_gating() local
1789 temp = data = RREG32(mmHDP_HOST_PATH_CNTL); in vi_update_hdp_medium_grain_clock_gating()
1796 if (temp != data) in vi_update_hdp_medium_grain_clock_gating()
1803 uint32_t temp, data; in vi_update_hdp_light_sleep() local
1805 temp = data = RREG32(mmHDP_MEM_POWER_LS); in vi_update_hdp_light_sleep()
1812 if (temp != data) in vi_update_hdp_light_sleep()
1819 uint32_t temp, dat in vi_update_drm_light_sleep() local
1836 uint32_t temp, data; vi_update_rom_medium_grain_clock_gating() local
[all...]
/kernel/linux/linux-6.6/drivers/gpu/drm/i915/display/
H A Dintel_dpll_mgr.c1920 u32 temp; in bxt_ddi_pll_enable() local
1965 temp = intel_de_read(dev_priv, BXT_PORT_PLL(phy, ch, 6)); in bxt_ddi_pll_enable()
1966 temp &= ~PORT_PLL_PROP_COEFF_MASK; in bxt_ddi_pll_enable()
1967 temp &= ~PORT_PLL_INT_COEFF_MASK; in bxt_ddi_pll_enable()
1968 temp &= ~PORT_PLL_GAIN_CTL_MASK; in bxt_ddi_pll_enable()
1969 temp |= pll->state.hw_state.pll6; in bxt_ddi_pll_enable()
1970 intel_de_write(dev_priv, BXT_PORT_PLL(phy, ch, 6), temp); in bxt_ddi_pll_enable()
1979 temp = intel_de_read(dev_priv, BXT_PORT_PLL(phy, ch, 10)); in bxt_ddi_pll_enable()
1980 temp &= ~PORT_PLL_DCO_AMP_OVR_EN_H; in bxt_ddi_pll_enable()
1981 temp in bxt_ddi_pll_enable()
[all...]
/kernel/linux/linux-5.10/drivers/block/null_blk/
H A Dmain.c1003 size_t temp, count = 0; in copy_to_nullb() local
1009 temp = min_t(size_t, nullb->dev->blocksize, n - count); in copy_to_nullb()
1022 memcpy(dst + offset, src + off + count, temp); in copy_to_nullb()
1031 count += temp; in copy_to_nullb()
1032 sector += temp >> SECTOR_SHIFT; in copy_to_nullb()
1040 size_t temp, count = 0; in copy_from_nullb() local
1046 temp = min_t(size_t, nullb->dev->blocksize, n - count); in copy_from_nullb()
1054 memset(dst + off + count, 0, temp); in copy_from_nullb()
1058 memcpy(dst + off + count, src + offset, temp); in copy_from_nullb()
1063 count += temp; in copy_from_nullb()
1081 size_t temp; null_handle_discard() local
[all...]
/kernel/linux/linux-5.10/drivers/net/ethernet/qlogic/qede/
H A Dqede_filter.c236 struct hlist_node *temp; in qede_process_arfs_filters() local
242 hlist_for_each_entry_safe(fltr, temp, head, node) { in qede_process_arfs_filters()
1134 unsigned char *mc_macs, *temp; in qede_configure_mcast_filtering() local
1149 temp = mc_macs; in qede_configure_mcast_filtering()
1162 ether_addr_copy(temp, ha->addr); in qede_configure_mcast_filtering()
1163 temp += ETH_ALEN; in qede_configure_mcast_filtering()
1198 unsigned char *uc_macs, *temp; in qede_config_rx_mode() local
1215 temp = uc_macs; in qede_config_rx_mode()
1217 ether_addr_copy(temp, ha->addr); in qede_config_rx_mode()
1218 temp in qede_config_rx_mode()
1600 struct hlist_node *temp; qede_flow_find_fltr() local
[all...]
/kernel/linux/linux-5.10/drivers/staging/qlge/
H A Dqlge_dbg.c44 u32 temp; in ql_wait_other_func_reg_rdy() local
48 temp = ql_read_other_func_reg(qdev, reg); in ql_wait_other_func_reg_rdy()
51 if (temp & err_bit) in ql_wait_other_func_reg_rdy()
53 else if (temp & bit) in ql_wait_other_func_reg_rdy()
139 u32 *direct_ptr, temp; in ql_get_serdes_regs() local
145 &temp); in ql_get_serdes_regs()
147 temp = XG_SERDES_ADDR_XAUI_PWR_DOWN; in ql_get_serdes_regs()
149 if ((temp & XG_SERDES_ADDR_XAUI_PWR_DOWN) == in ql_get_serdes_regs()
153 status = ql_read_serdes_reg(qdev, XG_SERDES_XAUI_HSS_PCS_START, &temp); in ql_get_serdes_regs()
156 temp in ql_get_serdes_regs()
[all...]
/kernel/linux/linux-6.6/drivers/net/ethernet/qlogic/qede/
H A Dqede_filter.c236 struct hlist_node *temp; in qede_process_arfs_filters() local
242 hlist_for_each_entry_safe(fltr, temp, head, node) { in qede_process_arfs_filters()
1131 unsigned char *mc_macs, *temp; in qede_configure_mcast_filtering() local
1146 temp = mc_macs; in qede_configure_mcast_filtering()
1159 ether_addr_copy(temp, ha->addr); in qede_configure_mcast_filtering()
1160 temp += ETH_ALEN; in qede_configure_mcast_filtering()
1194 unsigned char *uc_macs, *temp; in qede_config_rx_mode() local
1211 temp = uc_macs; in qede_config_rx_mode()
1213 ether_addr_copy(temp, ha->addr); in qede_config_rx_mode()
1214 temp in qede_config_rx_mode()
1591 struct hlist_node *temp; qede_flow_find_fltr() local
[all...]
/kernel/linux/linux-6.6/drivers/block/null_blk/
H A Dmain.c1141 size_t temp, count = 0; in copy_to_nullb() local
1146 temp = min_t(size_t, nullb->dev->blocksize, n - count); in copy_to_nullb()
1157 memcpy_page(t_page->page, offset, source, off + count, temp); in copy_to_nullb()
1164 count += temp; in copy_to_nullb()
1165 sector += temp >> SECTOR_SHIFT; in copy_to_nullb()
1173 size_t temp, count = 0; in copy_from_nullb() local
1178 temp = min_t(size_t, nullb->dev->blocksize, n - count); in copy_from_nullb()
1186 temp); in copy_from_nullb()
1188 zero_user(dest, off + count, temp); in copy_from_nullb()
1190 count += temp; in copy_from_nullb()
1207 size_t temp; null_handle_discard() local
[all...]
/kernel/linux/linux-5.10/drivers/mfd/
H A Dtwl-core.c1202 u8 temp; in twl_probe() local
1204 twl_i2c_read_u8(TWL4030_MODULE_INTBR, &temp, REG_GPPUPDCTR1); in twl_probe()
1205 temp &= ~(SR_I2C_SDA_CTRL_PU | SR_I2C_SCL_CTRL_PU | \ in twl_probe()
1207 twl_i2c_write_u8(TWL4030_MODULE_INTBR, temp, REG_GPPUPDCTR1); in twl_probe()
1209 twl_i2c_read_u8(TWL_MODULE_PM_RECEIVER, &temp, in twl_probe()
1211 temp |= SMARTREFLEX_ENABLE; in twl_probe()
1212 twl_i2c_write_u8(TWL_MODULE_PM_RECEIVER, temp, in twl_probe()
/kernel/linux/linux-5.10/drivers/media/dvb-frontends/
H A Dm88rs2000.c151 u64 temp; in m88rs2000_set_symbolrate() local
162 temp = srate / 1000; in m88rs2000_set_symbolrate()
163 temp *= 1 << 24; in m88rs2000_set_symbolrate()
165 do_div(temp, mclk); in m88rs2000_set_symbolrate()
167 b[0] = (u8) (temp >> 16) & 0xff; in m88rs2000_set_symbolrate()
168 b[1] = (u8) (temp >> 8) & 0xff; in m88rs2000_set_symbolrate()
169 b[2] = (u8) temp & 0xff; in m88rs2000_set_symbolrate()
/kernel/linux/linux-5.10/drivers/gpu/drm/meson/
H A Dmeson_overlay.c243 int temp, start, end; in meson_overlay_setup_scaler_params() local
304 temp = vd_start_lines + (temp_height * ratio_y >> 18); in meson_overlay_setup_scaler_params()
305 vd_end_lines = (temp <= (h_in - 1)) ? temp : (h_in - 1); in meson_overlay_setup_scaler_params()
358 temp = hd_start_lines + (temp_width * ratio_x >> 18); in meson_overlay_setup_scaler_params()
359 hd_end_lines = (temp <= (w_in - 1)) ? temp : (w_in - 1); in meson_overlay_setup_scaler_params()
/kernel/linux/linux-5.10/drivers/thermal/
H A Dmtk_thermal.c651 int i, temp = INT_MIN, max = INT_MIN; in mtk_thermal_bank_temperature() local
658 temp = raw_to_mcelsius_v1( in mtk_thermal_bank_temperature()
661 temp = raw_to_mcelsius_v2( in mtk_thermal_bank_temperature()
670 if (temp > 200000) in mtk_thermal_bank_temperature()
671 temp = 0; in mtk_thermal_bank_temperature()
673 if (temp > max) in mtk_thermal_bank_temperature()
674 max = temp; in mtk_thermal_bank_temperature()
H A Darmada_thermal.c87 /* Formula coeficients: temp = (b - m * reg) / div */
374 static int armada_read_sensor(struct armada_thermal_priv *priv, int *temp) in armada_read_sensor() argument
393 *temp = div_s64((m * sample) - b, div); in armada_read_sensor()
395 *temp = div_s64(b - (m * sample), div); in armada_read_sensor()
401 int *temp) in armada_get_temp_legacy()
414 ret = armada_read_sensor(priv, temp); in armada_get_temp_legacy()
423 static int armada_get_temp(void *_sensor, int *temp) in armada_get_temp() argument
437 ret = armada_read_sensor(priv, temp); in armada_get_temp()
400 armada_get_temp_legacy(struct thermal_zone_device *thermal, int *temp) armada_get_temp_legacy() argument
H A Ddb8500_thermal.c62 static int db8500_thermal_get_temp(void *data, int *temp) in db8500_thermal_get_temp() argument
71 *temp = th->interpolated_temp; in db8500_thermal_get_temp()
186 dev_err(dev, "failed to allocate temp low irq\n"); in db8500_thermal_probe()
200 dev_err(dev, "failed to allocate temp high irq\n"); in db8500_thermal_probe()
/kernel/linux/linux-5.10/drivers/staging/media/hantro/
H A Dhantro_jpeg.c256 unsigned int temp; in jpeg_scale_qp() local
258 temp = DIV_ROUND_CLOSEST((unsigned int)qp * scale, 100); in jpeg_scale_qp()
259 if (temp <= 0) in jpeg_scale_qp()
260 temp = 1; in jpeg_scale_qp()
261 if (temp > 255) in jpeg_scale_qp()
262 temp = 255; in jpeg_scale_qp()
264 return (unsigned char)temp; in jpeg_scale_qp()
/kernel/linux/linux-6.6/drivers/media/dvb-frontends/
H A Dm88rs2000.c151 u64 temp; in m88rs2000_set_symbolrate() local
162 temp = srate / 1000; in m88rs2000_set_symbolrate()
163 temp *= 1 << 24; in m88rs2000_set_symbolrate()
165 do_div(temp, mclk); in m88rs2000_set_symbolrate()
167 b[0] = (u8) (temp >> 16) & 0xff; in m88rs2000_set_symbolrate()
168 b[1] = (u8) (temp >> 8) & 0xff; in m88rs2000_set_symbolrate()
169 b[2] = (u8) temp & 0xff; in m88rs2000_set_symbolrate()
/kernel/linux/linux-6.6/drivers/media/platform/verisilicon/
H A Dhantro_jpeg.c277 unsigned int temp; in jpeg_scale_qp() local
279 temp = DIV_ROUND_CLOSEST((unsigned int)qp * scale, 100); in jpeg_scale_qp()
280 if (temp <= 0) in jpeg_scale_qp()
281 temp = 1; in jpeg_scale_qp()
282 if (temp > 255) in jpeg_scale_qp()
283 temp = 255; in jpeg_scale_qp()
285 return (unsigned char)temp; in jpeg_scale_qp()
/kernel/linux/linux-6.6/drivers/thermal/
H A Darmada_thermal.c85 /* Formula coeficients: temp = (b - m * reg) / div */
369 static int armada_read_sensor(struct armada_thermal_priv *priv, int *temp) in armada_read_sensor() argument
388 *temp = div_s64((m * sample) - b, div); in armada_read_sensor()
390 *temp = div_s64(b - (m * sample), div); in armada_read_sensor()
396 int *temp) in armada_get_temp_legacy()
406 ret = armada_read_sensor(priv, temp); in armada_get_temp_legacy()
415 static int armada_get_temp(struct thermal_zone_device *tz, int *temp) in armada_get_temp() argument
429 ret = armada_read_sensor(priv, temp); in armada_get_temp()
395 armada_get_temp_legacy(struct thermal_zone_device *thermal, int *temp) armada_get_temp_legacy() argument
/kernel/linux/linux-6.6/drivers/gpu/drm/meson/
H A Dmeson_overlay.c248 int temp, start, end; in meson_overlay_setup_scaler_params() local
309 temp = vd_start_lines + (temp_height * ratio_y >> 18); in meson_overlay_setup_scaler_params()
310 vd_end_lines = (temp <= (h_in - 1)) ? temp : (h_in - 1); in meson_overlay_setup_scaler_params()
363 temp = hd_start_lines + (temp_width * ratio_x >> 18); in meson_overlay_setup_scaler_params()
364 hd_end_lines = (temp <= (w_in - 1)) ? temp : (w_in - 1); in meson_overlay_setup_scaler_params()
/kernel/linux/linux-6.6/drivers/hid/
H A Dhid-nvidia-shield.c78 int temp; member
503 val->intval = prop_values.temp; in thunderstrike_battery_get_property()
618 int temp; in thunderstrike_parse_battery_payload() local
625 temp = (1378 - (int)hostcmd_thermistor) * 10 / 19; in thunderstrike_parse_battery_payload()
634 ts->psy_stats.temp = temp; in thunderstrike_parse_battery_payload()
826 ts->psy_stats.temp = 182; in thunderstrike_psy_create()
/kernel/linux/linux-5.10/drivers/usb/host/
H A Dxhci.c134 u32 temp; in xhci_start() local
137 temp = readl(&xhci->op_regs->command); in xhci_start()
138 temp |= (CMD_RUN); in xhci_start()
140 temp); in xhci_start()
141 writel(temp, &xhci->op_regs->command); in xhci_start()
488 u32 temp; in compliance_mode_recovery() local
495 temp = readl(rhub->ports[i]->addr); in compliance_mode_recovery()
496 if ((temp & PORT_PLS_MASK) == USB_SS_PORT_LS_COMP_MOD) { in compliance_mode_recovery()
644 u32 temp; in xhci_run() local
670 temp in xhci_run()
724 u32 temp; xhci_stop() local
1111 u32 command, temp = 0; xhci_resume() local
1653 u32 temp; xhci_urb_dequeue() local
[all...]
/kernel/linux/linux-5.10/fs/f2fs/
H A Ddata.c455 fio->type, fio->temp); in __bio_alloc()
563 * data/node io flag bits per temp: in __attach_io_flag()
568 if ((1 << fio->temp) & meta_flag) in __attach_io_flag()
570 if ((1 << fio->temp) & fua_flag) in __attach_io_flag()
631 enum page_type type, enum temp_type temp) in __f2fs_submit_merged_write()
634 struct f2fs_bio_info *io = sbi->write_io[btype] + temp; in __f2fs_submit_merged_write()
654 enum temp_type temp; in __submit_merged_write_cond() local
657 for (temp = HOT; temp < NR_TEMP_TYPE; temp in __submit_merged_write_cond()
630 __f2fs_submit_merged_write(struct f2fs_sb_info *sbi, enum page_type type, enum temp_type temp) __f2fs_submit_merged_write() argument
773 add_bio_entry(struct f2fs_sb_info *sbi, struct bio *bio, struct page *page, enum temp_type temp) add_bio_entry() argument
801 enum temp_type temp; add_ipu_page() local
848 enum temp_type temp; f2fs_submit_merged_ipu_write() local
[all...]
/kernel/linux/linux-6.6/drivers/net/phy/
H A Dmicrel.c430 int temp, err; in kszphy_config_intr() local
439 temp = phy_read(phydev, MII_KSZPHY_CTRL); in kszphy_config_intr()
440 if (temp < 0) in kszphy_config_intr()
441 return temp; in kszphy_config_intr()
442 temp &= ~mask; in kszphy_config_intr()
443 phy_write(phydev, MII_KSZPHY_CTRL, temp); in kszphy_config_intr()
499 int rc, temp, shift; in kszphy_setup_led() local
512 temp = phy_read(phydev, reg); in kszphy_setup_led()
513 if (temp < 0) { in kszphy_setup_led()
514 rc = temp; in kszphy_setup_led()
3108 u32 temp; lan8814_ptp_init() local
3203 int temp; lan8814_setup_led() local
[all...]
/kernel/linux/linux-6.6/arch/arc/include/asm/
H A Datomic64-arcv2.h211 s64 old, temp; in arch_atomic64_fetch_add_unless() local
225 : "=&r"(old), "=&r" (temp) in arch_atomic64_fetch_add_unless()
/kernel/linux/linux-5.10/drivers/gpu/drm/nouveau/nvkm/subdev/top/
H A Dbase.c171 struct nvkm_top_device *info, *temp; in nvkm_top_dtor() local
173 list_for_each_entry_safe(info, temp, &top->device, head) { in nvkm_top_dtor()

Completed in 41 milliseconds

1...<<51525354555657585960>>...102