Home
last modified time | relevance | path

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

/drivers/gpio/
A Dgpio-max77759.c141 int ctrl, new_ctrl; in max77759_gpio_direction_helper() local
150 new_ctrl |= MAX77759_GPIOx_DIR(offset, dir); in max77759_gpio_direction_helper()
153 new_ctrl &= ~MAX77759_GPIOx_OUTVAL_MASK(offset); in max77759_gpio_direction_helper()
157 if (new_ctrl == ctrl) in max77759_gpio_direction_helper()
203 int ctrl, new_ctrl; in max77759_gpio_set_value() local
212 new_ctrl |= MAX77759_GPIOx_OUTVAL(offset, value); in max77759_gpio_set_value()
214 if (new_ctrl == ctrl) in max77759_gpio_set_value()
285 int ctrl, trigger, new_trigger, new_ctrl; in max77759_gpio_bus_sync_unlock_helper() local
304 new_ctrl = ctrl; in max77759_gpio_bus_sync_unlock_helper()
307 new_ctrl &= ~MAX77759_GPIOx_DIR_MASK(offset); in max77759_gpio_bus_sync_unlock_helper()
[all …]
/drivers/net/ethernet/netronome/nfp/
A Dnfp_net_common.c930 new_ctrl = nn->dp.ctrl; in nfp_net_clear_config_and_disable()
972 nn->dp.ctrl = new_ctrl; in nfp_net_clear_config_and_disable()
985 new_ctrl = nn->dp.ctrl; in nfp_net_set_config_and_enable()
1044 nn->dp.ctrl = new_ctrl; in nfp_net_set_config_and_enable()
1061 nn->dp.ctrl = new_ctrl; in nfp_net_set_config_and_enable()
1473 new_ctrl = nn->dp.ctrl; in nfp_net_set_rx_mode()
1508 nn->dp.ctrl = new_ctrl; in nfp_net_set_rx_mode()
1994 u32 new_ctrl; in nfp_net_set_features() local
1999 new_ctrl = nn->dp.ctrl; in nfp_net_set_features()
2076 nn->dp.ctrl = new_ctrl; in nfp_net_set_features()
[all …]
/drivers/rtc/
A 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()
A Drtc-omap.c730 u8 reg, mask, new_ctrl; in omap_rtc_probe() local
814 new_ctrl = reg & (OMAP_RTC_CTRL_SPLIT | OMAP_RTC_CTRL_AUTO_COMP); in omap_rtc_probe()
815 new_ctrl |= OMAP_RTC_CTRL_STOP; in omap_rtc_probe()
832 if (new_ctrl & OMAP_RTC_CTRL_SPLIT) in omap_rtc_probe()
835 if (reg != new_ctrl) in omap_rtc_probe()
836 rtc_write(rtc, OMAP_RTC_CTRL_REG, new_ctrl); in omap_rtc_probe()

Completed in 16 milliseconds