Lines Matching refs:GET_BIT
38 #define GET_BIT(val, field) (val & field##_Msk) >> field##_Pos macro
485 fifo_bytes = GET_BIT(rxs0, USB_USB_RXS0_REG_USB_RCOUNT); in handle_ep0_rx()
506 if (GET_BIT(rxs0, USB_USB_RXS0_REG_USB_TOGGLE_RX0) != ep0_out_config->stat.data1) { in handle_ep0_rx()
834 if (GET_BIT(alt_ev, USB_USB_ALTEV_REG_USB_RESET)) { in check_reset_end()
847 if (GET_BIT(alt_ev, USB_USB_ALTEV_REG_USB_RESET) == 0) { in check_reset_end()
874 if (GET_BIT(txs0, USB_USB_TXS0_REG_USB_TX_DONE)) { in handle_ep0_tx()
876 if (GET_BIT(txs0, USB_USB_TXS0_REG_USB_ACK_STAT)) { in handle_ep0_tx()
927 if (GET_BIT(rxs, USB_USB_RXS1_REG_USB_RX_ERR)) { in handle_epx_rx_ev()
966 fifo_bytes = GET_BIT(rxs, USB_USB_RXS1_REG_USB_RXCOUNT); in handle_epx_rx_ev()
978 if (GET_BIT(rxs, USB_USB_RXS1_REG_USB_RX_LAST)) { in handle_epx_rx_ev()
980 GET_BIT(rxs, USB_USB_RXS1_REG_USB_TOGGLE_RX) != ep_cfg->stat.data1) { in handle_epx_rx_ev()
1036 if (GET_BIT(txs, USB_USB_TXS1_REG_USB_TX_DONE)) { in handle_epx_tx_ev()
1052 if (GET_BIT(txs, USB_USB_TXS1_REG_USB_ACK_STAT)) { in handle_epx_tx_ev()
1143 if (GET_BIT(ep0_nak, USB_USB_EP0_NAK_REG_USB_EP0_INNAK)) { in handle_ep0_nak()
1152 if (GET_BIT(ep0_nak, USB_USB_EP0_NAK_REG_USB_EP0_OUTNAK)) { in handle_ep0_nak()
1158 GET_BIT(ep0_nak, USB_USB_EP0_NAK_REG_USB_EP0_OUTNAK)) { in handle_ep0_nak()
1237 if (GET_BIT(alt_ev, USB_USB_ALTEV_REG_USB_RESET) && data->nfsr != NFSR_NODE_RESET) { in handle_alt_ev()
1239 } else if (GET_BIT(alt_ev, USB_USB_ALTEV_REG_USB_RESUME)) { in handle_alt_ev()
1256 } else if (GET_BIT(alt_ev, USB_USB_ALTEV_REG_USB_SD3)) { in handle_alt_ev()
1270 if (GET_BIT(int_status, USB_USB_MAEV_REG_USB_WARN)) { in udc_smartbond_isr()
1274 if (GET_BIT(int_status, USB_USB_MAEV_REG_USB_CH_EV)) { in udc_smartbond_isr()
1279 if (GET_BIT(int_status, USB_USB_MAEV_REG_USB_EP0_TX)) { in udc_smartbond_isr()
1283 if (GET_BIT(int_status, USB_USB_MAEV_REG_USB_EP0_RX)) { in udc_smartbond_isr()
1287 if (GET_BIT(int_status, USB_USB_MAEV_REG_USB_EP0_NAK)) { in udc_smartbond_isr()
1291 if (GET_BIT(int_status, USB_USB_MAEV_REG_USB_RX_EV)) { in udc_smartbond_isr()
1295 if (GET_BIT(int_status, USB_USB_MAEV_REG_USB_NAK)) { in udc_smartbond_isr()
1299 if (GET_BIT(int_status, USB_USB_MAEV_REG_USB_FRAME)) { in udc_smartbond_isr()
1326 if (GET_BIT(int_status, USB_USB_MAEV_REG_USB_TX_EV)) { in udc_smartbond_isr()
1330 if (GET_BIT(int_status, USB_USB_MAEV_REG_USB_ALT)) { in udc_smartbond_isr()