/linux-6.1.9/drivers/gpu/drm/amd/display/modules/freesync/ |
D | freesync.c | 270 in_out_vrr->max_duration_in_us - in_out_vrr->btr.margin_in_us; in apply_below_the_range() 273 if ((last_render_time_in_us + in_out_vrr->btr.margin_in_us / 2) < max_render_time_in_us) { in apply_below_the_range() 275 if (in_out_vrr->btr.btr_active) { in apply_below_the_range() 276 in_out_vrr->btr.frame_counter = 0; in apply_below_the_range() 277 in_out_vrr->btr.btr_active = false; in apply_below_the_range() 279 } else if (last_render_time_in_us > (max_render_time_in_us + in_out_vrr->btr.margin_in_us / 2)) { in apply_below_the_range() 281 if (!in_out_vrr->btr.btr_active) { in apply_below_the_range() 282 in_out_vrr->btr.btr_active = true; in apply_below_the_range() 287 if (!in_out_vrr->btr.btr_active) { in apply_below_the_range() 288 in_out_vrr->btr.inserted_duration_in_us = 0; in apply_below_the_range() [all …]
|
/linux-6.1.9/drivers/ata/ |
D | pata_serverworks.c | 301 u8 btr; in serverworks_fixup_csb() local 339 pci_read_config_byte(pdev, 0x5A, &btr); in serverworks_fixup_csb() 340 btr &= ~0x40; in serverworks_fixup_csb() 342 btr |= 0x2; in serverworks_fixup_csb() 344 btr |= (pdev->revision >= SVWKS_CSB5_REVISION_NEW) ? 0x3 : 0x2; in serverworks_fixup_csb() 345 pci_write_config_byte(pdev, 0x5A, btr); in serverworks_fixup_csb() 347 return btr; in serverworks_fixup_csb() 352 u8 btr; in serverworks_fixup_ht1000() local 354 pci_read_config_byte(pdev, 0x5A, &btr); in serverworks_fixup_ht1000() 355 btr &= ~0x40; in serverworks_fixup_ht1000() [all …]
|
/linux-6.1.9/drivers/memory/ |
D | stm32-fmc2-ebi.c | 140 u32 btr[FMC2_MAX_EBI_CE]; member 307 u32 bcr, btr, clk_period; in stm32_fmc2_ebi_ns_to_clk_period() local 311 regmap_read(ebi->regmap, FMC2_BTR1, &btr); in stm32_fmc2_ebi_ns_to_clk_period() 313 regmap_read(ebi->regmap, FMC2_BTR(cs), &btr); in stm32_fmc2_ebi_ns_to_clk_period() 315 clk_period = FIELD_GET(FMC2_BTR_CLKDIV, btr) + 1; in stm32_fmc2_ebi_ns_to_clk_period() 364 u32 btr_mask, btr = 0; in stm32_fmc2_ebi_set_trans_type() local 395 btr |= FIELD_PREP(FMC2_BXTR_ACCMOD, FMC2_BXTR_EXTMOD_A); in stm32_fmc2_ebi_set_trans_type() 405 btr |= FIELD_PREP(FMC2_BXTR_ACCMOD, FMC2_BXTR_EXTMOD_A); in stm32_fmc2_ebi_set_trans_type() 423 btr |= FIELD_PREP(FMC2_BXTR_ACCMOD, FMC2_BXTR_EXTMOD_B); in stm32_fmc2_ebi_set_trans_type() 433 btr |= FIELD_PREP(FMC2_BXTR_ACCMOD, FMC2_BXTR_EXTMOD_C); in stm32_fmc2_ebi_set_trans_type() [all …]
|
/linux-6.1.9/arch/x86/include/asm/ |
D | sync_bitops.h | 52 asm volatile("lock; " __ASM_SIZE(btr) " %1,%0" in sync_clear_bit() 98 return GEN_BINARY_RMWcc("lock; " __ASM_SIZE(btr), *addr, c, "Ir", nr); in sync_test_and_clear_bit()
|
D | bitops.h | 79 asm volatile(LOCK_PREFIX __ASM_SIZE(btr) " %1,%0" in arch_clear_bit() 94 asm volatile(__ASM_SIZE(btr) " %1,%0" : : ADDR, "Ir" (nr) : "memory"); in arch___clear_bit() 162 return GEN_BINARY_RMWcc(LOCK_PREFIX __ASM_SIZE(btr), *addr, c, "Ir", nr); in arch_test_and_clear_bit() 178 asm volatile(__ASM_SIZE(btr) " %2,%1" in arch___test_and_clear_bit()
|
/linux-6.1.9/drivers/net/can/ctucanfd/ |
D | ctucanfd_base.c | 209 u32 btr = 0; in ctucan_set_btr() local 234 btr = FIELD_PREP(REG_BTR_PROP, prop_seg); in ctucan_set_btr() 235 btr |= FIELD_PREP(REG_BTR_PH1, phase_seg1); in ctucan_set_btr() 236 btr |= FIELD_PREP(REG_BTR_PH2, bt->phase_seg2); in ctucan_set_btr() 237 btr |= FIELD_PREP(REG_BTR_BRP, bt->brp); in ctucan_set_btr() 238 btr |= FIELD_PREP(REG_BTR_SJW, bt->sjw); in ctucan_set_btr() 240 ctucan_write32(priv, CTUCANFD_BTR, btr); in ctucan_set_btr() 242 btr = FIELD_PREP(REG_BTR_FD_PROP_FD, prop_seg); in ctucan_set_btr() 243 btr |= FIELD_PREP(REG_BTR_FD_PH1_FD, phase_seg1); in ctucan_set_btr() 244 btr |= FIELD_PREP(REG_BTR_FD_PH2_FD, bt->phase_seg2); in ctucan_set_btr() [all …]
|
/linux-6.1.9/drivers/gpu/drm/amd/display/modules/inc/ |
D | mod_freesync.h | 83 bool btr; member 133 struct mod_vrr_params_btr btr; member
|
/linux-6.1.9/arch/x86/entry/ |
D | calling.h | 193 btr \scratch_reg, THIS_CPU_user_pcid_flush_mask 257 btr \scratch_reg, THIS_CPU_user_pcid_flush_mask
|
/linux-6.1.9/drivers/net/ethernet/stmicro/stmmac/ |
D | stmmac_ptp.c | 111 priv->plat->est->btr[0] = (u32)time.tv_nsec; in stmmac_adjust_time() 112 priv->plat->est->btr[1] = (u32)time.tv_sec; in stmmac_adjust_time()
|
D | dwmac5.c | 599 ret |= dwmac5_est_write(ioaddr, BTR_LOW, cfg->btr[0], false); in dwmac5_est_configure() 600 ret |= dwmac5_est_write(ioaddr, BTR_HIGH, cfg->btr[1], false); in dwmac5_est_configure()
|
D | stmmac_tc.c | 1027 priv->plat->est->btr[0] = (u32)time.tv_nsec; in tc_setup_taprio() 1028 priv->plat->est->btr[1] = (u32)time.tv_sec; in tc_setup_taprio()
|
D | dwxgmac2_core.c | 1405 ret |= dwxgmac3_est_write(ioaddr, XGMAC_BTR_LOW, cfg->btr[0], false); in dwxgmac3_est_configure() 1406 ret |= dwxgmac3_est_write(ioaddr, XGMAC_BTR_HIGH, cfg->btr[1], false); in dwxgmac3_est_configure()
|
/linux-6.1.9/drivers/net/can/usb/peak_usb/ |
D | pcan_usb_pro.h | 172 struct pcan_usb_pro_btr btr; member
|
/linux-6.1.9/arch/x86/kernel/ |
D | verify_cpu.S | 127 btr $15,%eax # enable SSE
|
/linux-6.1.9/include/linux/ |
D | stmmac.h | 122 u32 btr[2]; member
|
/linux-6.1.9/arch/x86/kvm/ |
D | emulate.c | 1071 FASTOP2W(btr);
|
/linux-6.1.9/drivers/gpu/drm/amd/display/amdgpu_dm/ |
D | amdgpu_dm.c | 8592 config.btr = true; in get_freesync_config_for_crtc()
|