Lines Matching refs:GET_BIT
178 #define GET_BIT(val, field) (val & field ## _Msk) >> field ## _Pos macro
552 fifo_bytes = GET_BIT(rxs0, USB_USB_RXS0_REG_USB_RCOUNT); in handle_ep0_rx()
575 if (GET_BIT(rxs0, USB_USB_RXS0_REG_USB_TOGGLE_RX0) != in handle_ep0_rx()
601 if (GET_BIT(txs0, USB_USB_TXS0_REG_USB_TX_DONE)) { in handle_ep0_tx()
603 if (GET_BIT(txs0, USB_USB_TXS0_REG_USB_ACK_STAT)) { in handle_ep0_tx()
642 if (GET_BIT(rxs, USB_USB_RXS1_REG_USB_RX_ERR)) { in handle_epx_rx_ev()
680 fifo_bytes = GET_BIT(rxs, USB_USB_RXS1_REG_USB_RXCOUNT); in handle_epx_rx_ev()
690 if (GET_BIT(rxs, USB_USB_RXS1_REG_USB_RX_LAST)) { in handle_epx_rx_ev()
692 GET_BIT(rxs, USB_USB_RXS1_REG_USB_TOGGLE_RX) != in handle_epx_rx_ev()
730 if (GET_BIT(txs, USB_USB_TXS1_REG_USB_TX_DONE)) { in handle_epx_tx_ev()
745 if (GET_BIT(txs, USB_USB_TXS1_REG_USB_ACK_STAT)) { in handle_epx_tx_ev()
789 if (GET_BIT(alt_ev, USB_USB_ALTEV_REG_USB_RESET)) { in check_reset_end()
803 if (GET_BIT(alt_ev, USB_USB_ALTEV_REG_USB_RESET) == 0) { in check_reset_end()
877 if (GET_BIT(alt_ev, USB_USB_ALTEV_REG_USB_RESET) && in handle_alt_ev()
880 } else if (GET_BIT(alt_ev, USB_USB_ALTEV_REG_USB_RESUME)) { in handle_alt_ev()
898 } else if (GET_BIT(alt_ev, USB_USB_ALTEV_REG_USB_SD3)) { in handle_alt_ev()
947 if (GET_BIT(ep0_nak, USB_USB_EP0_NAK_REG_USB_EP0_INNAK)) { in handle_ep0_nak()
956 if (GET_BIT(ep0_nak, USB_USB_EP0_NAK_REG_USB_EP0_OUTNAK)) { in handle_ep0_nak()
961 GET_BIT(ep0_nak, USB_USB_EP0_NAK_REG_USB_EP0_OUTNAK)) { in handle_ep0_nak()
974 if (GET_BIT(int_status, USB_USB_MAEV_REG_USB_WARN)) { in usb_dc_smartbond_isr()
978 if (GET_BIT(int_status, USB_USB_MAEV_REG_USB_CH_EV)) { in usb_dc_smartbond_isr()
983 if (GET_BIT(int_status, USB_USB_MAEV_REG_USB_EP0_TX)) { in usb_dc_smartbond_isr()
987 if (GET_BIT(int_status, USB_USB_MAEV_REG_USB_EP0_RX)) { in usb_dc_smartbond_isr()
991 if (GET_BIT(int_status, USB_USB_MAEV_REG_USB_EP0_NAK)) { in usb_dc_smartbond_isr()
995 if (GET_BIT(int_status, USB_USB_MAEV_REG_USB_RX_EV)) { in usb_dc_smartbond_isr()
999 if (GET_BIT(int_status, USB_USB_MAEV_REG_USB_NAK)) { in usb_dc_smartbond_isr()
1003 if (GET_BIT(int_status, USB_USB_MAEV_REG_USB_FRAME)) { in usb_dc_smartbond_isr()
1031 if (GET_BIT(int_status, USB_USB_MAEV_REG_USB_TX_EV)) { in usb_dc_smartbond_isr()
1035 if (GET_BIT(int_status, USB_USB_MAEV_REG_USB_ALT)) { in usb_dc_smartbond_isr()