Searched refs:old_ctrl (Results 1 – 7 of 7) sorted by relevance
/linux-6.6.21/drivers/net/ethernet/stmicro/stmmac/ |
D | dwmac-imx.c | 223 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()
|
D | stmmac_main.c | 997 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/ |
D | intel_dp_aux_backlight.c | 242 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/ |
D | nozomi.c | 874 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/ |
D | pmu_intel.c | 80 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/ |
D | fsl_lpuart.c | 2221 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/ |
D | macb_main.c | 649 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()
|