Home
last modified time | relevance | path

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

/bsp/n32/libraries/N32WB452_Firmware_Library/n32wb452_ble_driver/inc/
A Dgapm_util.h184 #define GAPM_SET_OP_STATE(operation, new_state) \ argument
185 (operation).state = (((operation).state & ~(GAPM_OP_MASK)) | (new_state))
/bsp/allwinner/libraries/sunxi-hal/hal/source/usb/core/
A Dusb_gen_hub.h8 void usb_set_device_state(struct usb_host_virt_dev *udev, enum usb_device_state new_state);
A Dusb_gen_hub.c2032 enum usb_device_state new_state) in usb_set_device_state() argument
2040 else if (new_state != USB_STATE_NOTATTACHED) in usb_set_device_state()
2042 udev->state = new_state; in usb_set_device_state()
/bsp/hc32/libraries/hc32_drivers/
A Ddrv_mcan.c383 en_functional_state_t new_state = DISABLE; in mcan_control_set_int() local
390 new_state = ENABLE; in mcan_control_set_int()
397 MCAN_IntCmd(hard->instance, MCAN_RX_INT & hard->int0_sel, MCAN_INT_LINE0, new_state); in mcan_control_set_int()
401 MCAN_IntCmd(hard->instance, MCAN_RX_INT & hard->int1_sel, MCAN_INT_LINE1, new_state); in mcan_control_set_int()
418 MCAN_IntCmd(hard->instance, MCAN_TX_INT & hard->int0_sel, MCAN_INT_LINE0, new_state); in mcan_control_set_int()
422 MCAN_IntCmd(hard->instance, MCAN_TX_INT & hard->int1_sel, MCAN_INT_LINE1, new_state); in mcan_control_set_int()
428 MCAN_IntCmd(hard->instance, MCAN_ERR_INT & hard->int0_sel, MCAN_INT_LINE0, new_state); in mcan_control_set_int()
432 MCAN_IntCmd(hard->instance, MCAN_ERR_INT & hard->int1_sel, MCAN_INT_LINE1, new_state); in mcan_control_set_int()
/bsp/samd21/sam_d2x_asflib/sam0/drivers/usb/stack_interface/
A Dusb_device_udd.c175 static void udd_sleep_mode(enum udd_usb_state_enum new_state) in udd_sleep_mode() argument
192 if (udd_state == new_state) { in udd_sleep_mode()
195 if (new_state != UDD_STATE_OFF) { in udd_sleep_mode()
197 sleepmgr_lock_mode(sleep_mode[new_state]); in udd_sleep_mode()
203 udd_state = new_state; in udd_sleep_mode()
A Dusb_host_uhd.c168 static void uhd_sleep_mode(enum uhd_usb_state_enum new_state) in uhd_sleep_mode() argument
170 if (uhd_state == new_state) { in uhd_sleep_mode()
173 if (new_state != UHD_STATE_OFF) { in uhd_sleep_mode()
175 sleepmgr_lock_mode(sleep_mode[new_state]); in uhd_sleep_mode()
181 uhd_state = new_state; in uhd_sleep_mode()
/bsp/allwinner/libraries/sunxi-hal/hal/source/sound/core/
A Dsnd_pcm.c2202 int new_state = snd_pcm_capture_avail(runtime) > 0 ? in ksnd_pcm_drain() local
2204 ret = snd_pcm_stop(substream, new_state); in ksnd_pcm_drain()

Completed in 29 milliseconds