Home
last modified time | relevance | path

Searched refs:new_ctrl (Results 1 – 3 of 3) sorted by relevance

/drivers/net/ethernet/netronome/nfp/
Dnfp_net_common.c2756 u32 new_ctrl, update; in nfp_net_clear_config_and_disable() local
2760 new_ctrl = nn->dp.ctrl; in nfp_net_clear_config_and_disable()
2761 new_ctrl &= ~NFP_NET_CFG_CTRL_ENABLE; in nfp_net_clear_config_and_disable()
2767 new_ctrl &= ~NFP_NET_CFG_CTRL_RINGCFG; in nfp_net_clear_config_and_disable()
2772 nn_writel(nn, NFP_NET_CFG_CTRL, new_ctrl); in nfp_net_clear_config_and_disable()
2784 nn->dp.ctrl = new_ctrl; in nfp_net_clear_config_and_disable()
2812 u32 bufsz, new_ctrl, update = 0; in nfp_net_set_config_and_enable() local
2816 new_ctrl = nn->dp.ctrl; in nfp_net_set_config_and_enable()
2850 new_ctrl |= NFP_NET_CFG_CTRL_ENABLE; in nfp_net_set_config_and_enable()
2855 new_ctrl |= NFP_NET_CFG_CTRL_RINGCFG; in nfp_net_set_config_and_enable()
[all …]
/drivers/rtc/
Drtc-pcf8583.c188 unsigned char new_ctrl = ctrl & ~(CTRL_STOP | CTRL_HOLD); in pcf8583_rtc_read_time() local
191 ctrl, new_ctrl); in pcf8583_rtc_read_time()
193 err = pcf8583_set_ctrl(client, &new_ctrl); in pcf8583_rtc_read_time()
Drtc-omap.c730 u8 reg, mask, new_ctrl; in omap_rtc_probe() local
817 new_ctrl = reg & (OMAP_RTC_CTRL_SPLIT | OMAP_RTC_CTRL_AUTO_COMP); in omap_rtc_probe()
818 new_ctrl |= OMAP_RTC_CTRL_STOP; in omap_rtc_probe()
835 if (new_ctrl & OMAP_RTC_CTRL_SPLIT) in omap_rtc_probe()
838 if (reg != new_ctrl) in omap_rtc_probe()
839 rtc_write(rtc, OMAP_RTC_CTRL_REG, new_ctrl); in omap_rtc_probe()