Home
last modified time | relevance | path

Searched refs:old_ctrl (Results 1 – 7 of 7) sorted by relevance

/linux-6.6.21/drivers/net/ethernet/stmicro/stmmac/
Ddwmac-imx.c223 int ctrl, old_ctrl; in imx93_dwmac_fix_speed() local
237 old_ctrl = readl(dwmac->base_addr + MAC_CTRL_REG); in imx93_dwmac_fix_speed()
238 ctrl = old_ctrl & ~CTRL_SPEED_MASK; in imx93_dwmac_fix_speed()
251 writel(old_ctrl, dwmac->base_addr + MAC_CTRL_REG); in imx93_dwmac_fix_speed()
Dstmmac_main.c997 u32 old_ctrl, ctrl; in stmmac_mac_link_up() local
1003 old_ctrl = readl(priv->ioaddr + MAC_CTRL_REG); in stmmac_mac_link_up()
1004 ctrl = old_ctrl & ~priv->hw->link.speed_mask; in stmmac_mac_link_up()
1087 if (ctrl != old_ctrl) in stmmac_mac_link_up()
/linux-6.6.21/drivers/gpu/drm/i915/display/
Dintel_dp_aux_backlight.c242 u8 old_ctrl, ctrl; in intel_dp_aux_hdr_enable_backlight() local
246 ret = drm_dp_dpcd_readb(&intel_dp->aux, INTEL_EDP_HDR_GETSET_CTRL_PARAMS, &old_ctrl); in intel_dp_aux_hdr_enable_backlight()
253 ctrl = old_ctrl; in intel_dp_aux_hdr_enable_backlight()
265 if (ctrl != old_ctrl && in intel_dp_aux_hdr_enable_backlight()
/linux-6.6.21/drivers/tty/
Dnozomi.c874 struct ctrl_dl old_ctrl; in receive_flow_control() local
918 old_ctrl = dc->port[port].ctrl_dl; in receive_flow_control()
921 if (old_ctrl.CTS == 1 && ctrl_dl.CTS == 0) { in receive_flow_control()
926 } else if (old_ctrl.CTS == 0 && ctrl_dl.CTS == 1) { in receive_flow_control()
939 if (*(u16 *)&old_ctrl == *(u16 *)&ctrl_dl) { in receive_flow_control()
944 if (old_ctrl.CTS != ctrl_dl.CTS) in receive_flow_control()
946 if (old_ctrl.DSR != ctrl_dl.DSR) in receive_flow_control()
948 if (old_ctrl.RI != ctrl_dl.RI) in receive_flow_control()
950 if (old_ctrl.DCD != ctrl_dl.DCD) in receive_flow_control()
/linux-6.6.21/arch/x86/kvm/vmx/
Dpmu_intel.c80 u8 old_ctrl = fixed_ctrl_field(old_fixed_ctr_ctrl, i); in reprogram_fixed_counters() local
82 if (old_ctrl == new_ctrl) in reprogram_fixed_counters()
/linux-6.6.21/drivers/tty/serial/
Dfsl_lpuart.c2221 unsigned long ctrl, old_ctrl, bd, modem; in lpuart32_set_termios() local
2225 ctrl = old_ctrl = lpuart32_read(&sport->port, UARTCTRL); in lpuart32_set_termios()
2246 ctrl = old_ctrl & ~UARTCTRL_M; in lpuart32_set_termios()
2337 if (!(old_ctrl & UARTCTRL_SBK)) { in lpuart32_set_termios()
2343 lpuart32_write(&sport->port, old_ctrl & ~(UARTCTRL_TE | UARTCTRL_RE), in lpuart32_set_termios()
/linux-6.6.21/drivers/net/ethernet/cadence/
Dmacb_main.c649 u32 old_ctrl, ctrl; in macb_mac_config() local
654 old_ctrl = ctrl = macb_or_gem_readl(bp, NCFGR); in macb_mac_config()
676 if (old_ctrl ^ ctrl) in macb_mac_config()