Lines Matching refs:IO_STATE

662 	RxDescList[i].command = IO_STATE(USB_IN_command, eol, yes);  in init_rx_buffers()
673 *R_DMA_CH9_CMD = IO_STATE(R_DMA_CH9_CMD, cmd, start); in init_rx_buffers()
699 IO_STATE(USB_EP_command, eol, yes) | in init_tx_bulk_ep()
700 IO_STATE(USB_EP_command, intr, yes)); in init_tx_bulk_ep()
708 IO_STATE(USB_EP_command, eol, yes)); in init_tx_bulk_ep()
717 TxBulkEPList[i].command = (IO_STATE(USB_EP_command, eol, yes) | in init_tx_bulk_ep()
750 TxCtrlEPList[i].command = (IO_STATE(USB_EP_command, eol, yes) | in init_tx_ctrl_ep()
757 *R_DMA_CH8_SUB1_CMD = IO_STATE(R_DMA_CH8_SUB1_CMD, cmd, start); in init_tx_ctrl_ep()
774 IO_STATE(USB_SB_command, tt, zout) | in init_tx_intr_ep()
775 IO_STATE(USB_SB_command, full, yes) | in init_tx_intr_ep()
776 IO_STATE(USB_SB_command, eot, yes) | in init_tx_intr_ep()
777 IO_STATE(USB_SB_command, eol, yes)); in init_tx_intr_ep()
783 (IO_STATE(USB_EP_command, eof, yes) | in init_tx_intr_ep()
784 IO_STATE(USB_EP_command, enable, yes) | in init_tx_intr_ep()
793 (IO_STATE(USB_EP_command, eof, yes) | in init_tx_intr_ep()
794 IO_STATE(USB_EP_command, eol, yes) | in init_tx_intr_ep()
795 IO_STATE(USB_EP_command, enable, yes) | in init_tx_intr_ep()
801 *R_DMA_CH8_SUB2_CMD = IO_STATE(R_DMA_CH8_SUB2_CMD, cmd, start); in init_tx_intr_ep()
816 IO_STATE(USB_SB_command, tt, zout) | in init_tx_isoc_ep()
817 IO_STATE(USB_SB_command, full, yes) | in init_tx_isoc_ep()
818 IO_STATE(USB_SB_command, eot, yes) | in init_tx_isoc_ep()
819 IO_STATE(USB_SB_command, eol, yes)); in init_tx_isoc_ep()
835 TxIsocEPList[i].command = (IO_STATE(USB_EP_command, enable, yes) | in init_tx_isoc_ep()
836 IO_STATE(USB_EP_command, eof, yes) | in init_tx_isoc_ep()
837 IO_STATE(USB_EP_command, eol, yes) | in init_tx_isoc_ep()
843 *R_DMA_CH8_SUB3_CMD = IO_STATE(R_DMA_CH8_SUB3_CMD, cmd, start); in init_tx_isoc_ep()
914 tmp_ep->command |= IO_STATE(USB_EP_command, enable, yes); in etrax_usb_do_intr_recover()
1057 *R_USB_EPT_DATA_ISO = IO_STATE(R_USB_EPT_DATA_ISO, valid, yes) | in etrax_usb_setup_epid()
1059 IO_STATE(R_USB_EPT_DATA_ISO, port, any) | in etrax_usb_setup_epid()
1064 *R_USB_EPT_DATA = IO_STATE(R_USB_EPT_DATA, valid, yes) | in etrax_usb_setup_epid()
1067 IO_STATE(R_USB_EPT_DATA, port, any) | in etrax_usb_setup_epid()
1470 *R_DMA_CH8_SUB0_CLR_INTR = IO_STATE(R_DMA_CH8_SUB0_CLR_INTR, clr_descr, do); in etrax_usb_tx_interrupt()
1484 *R_DMA_CH8_SUB0_CMD = IO_STATE(R_DMA_CH8_SUB0_CMD, cmd, start); in etrax_usb_tx_interrupt()
1488 *R_DMA_CH8_SUB1_CLR_INTR = IO_STATE(R_DMA_CH8_SUB1_CLR_INTR, clr_descr, do); in etrax_usb_tx_interrupt()
1492 *R_DMA_CH8_SUB2_CLR_INTR = IO_STATE(R_DMA_CH8_SUB2_CLR_INTR, clr_descr, do); in etrax_usb_tx_interrupt()
1496 *R_DMA_CH8_SUB3_CLR_INTR = IO_STATE(R_DMA_CH8_SUB3_CLR_INTR, clr_descr, do); in etrax_usb_tx_interrupt()
1516 *R_DMA_CH9_CLR_INTR = IO_STATE(R_DMA_CH9_CLR_INTR, clr_eop, do); in etrax_usb_rx_interrupt()
1782 IO_STATE(USB_SB_command, tt, out) | in etrax_usb_add_to_bulk_sb_list()
1783 IO_STATE(USB_SB_command, eot, yes) | in etrax_usb_add_to_bulk_sb_list()
1784 IO_STATE(USB_SB_command, eol, yes)); in etrax_usb_add_to_bulk_sb_list()
1791 sb_desc->command |= IO_STATE(USB_SB_command, full, yes); in etrax_usb_add_to_bulk_sb_list()
1809 IO_STATE(USB_SB_command, tt, in) | in etrax_usb_add_to_bulk_sb_list()
1810 IO_STATE(USB_SB_command, eot, yes) | in etrax_usb_add_to_bulk_sb_list()
1811 IO_STATE(USB_SB_command, eol, yes)); in etrax_usb_add_to_bulk_sb_list()
1885 TxBulkEPList[epid].command |= IO_STATE(USB_EP_command, enable, yes); in etrax_usb_add_to_bulk_sb_list()
1903 *R_DMA_CH8_SUB0_CMD = IO_STATE(R_DMA_CH8_SUB0_CMD, cmd, start); in etrax_usb_add_to_bulk_sb_list()
2106 IO_STATE(USB_SB_command, tt, setup) | in etrax_usb_add_to_ctrl_sb_list()
2107 IO_STATE(USB_SB_command, full, yes) | in etrax_usb_add_to_ctrl_sb_list()
2108 IO_STATE(USB_SB_command, eot, yes)); in etrax_usb_add_to_ctrl_sb_list()
2129 sb_desc_data->command = (IO_STATE(USB_SB_command, tt, out) | in etrax_usb_add_to_ctrl_sb_list()
2130 IO_STATE(USB_SB_command, full, yes) | in etrax_usb_add_to_ctrl_sb_list()
2131 IO_STATE(USB_SB_command, eot, yes)); in etrax_usb_add_to_ctrl_sb_list()
2138 IO_STATE(USB_SB_command, tt, in) | in etrax_usb_add_to_ctrl_sb_list()
2139 IO_STATE(USB_SB_command, eot, yes) | in etrax_usb_add_to_ctrl_sb_list()
2140 IO_STATE(USB_SB_command, eol, yes)); in etrax_usb_add_to_ctrl_sb_list()
2163 IO_STATE(USB_SB_command, tt, in) | in etrax_usb_add_to_ctrl_sb_list()
2164 IO_STATE(USB_SB_command, eot, yes)); in etrax_usb_add_to_ctrl_sb_list()
2172 IO_STATE(USB_SB_command, tt, zout) | in etrax_usb_add_to_ctrl_sb_list()
2173 IO_STATE(USB_SB_command, full, yes) | in etrax_usb_add_to_ctrl_sb_list()
2174 IO_STATE(USB_SB_command, eot, yes) | in etrax_usb_add_to_ctrl_sb_list()
2175 IO_STATE(USB_SB_command, eol, yes)); in etrax_usb_add_to_ctrl_sb_list()
2219 TxCtrlEPList[epid].command |= IO_STATE(USB_EP_command, enable, yes); in etrax_usb_add_to_ctrl_sb_list()
2224 *R_DMA_CH8_SUB1_CMD = IO_STATE(R_DMA_CH8_SUB1_CMD, cmd, start); in etrax_usb_add_to_ctrl_sb_list()
2398 IO_STATE(USB_EP_command, enable, yes)); in etrax_usb_add_to_intr_sb_list()
2409 IO_STATE(USB_SB_command, tt, in) | in etrax_usb_add_to_intr_sb_list()
2410 IO_STATE(USB_SB_command, eot, yes) | in etrax_usb_add_to_intr_sb_list()
2411 IO_STATE(USB_SB_command, eol, yes)); in etrax_usb_add_to_intr_sb_list()
2428 *R_DMA_CH8_SUB2_CMD = IO_STATE(R_DMA_CH8_SUB2_CMD, cmd, start); in etrax_usb_add_to_intr_sb_list()
2537 next_sb_desc->command = (IO_STATE(USB_SB_command, tt, out) | in etrax_usb_add_to_isoc_sb_list()
2538 IO_STATE(USB_SB_command, eot, yes)); in etrax_usb_add_to_isoc_sb_list()
2554 next_sb_desc->command |= IO_STATE(USB_SB_command, full, yes); in etrax_usb_add_to_isoc_sb_list()
2557 next_sb_desc->command |= IO_STATE(USB_SB_command, eol, yes); in etrax_usb_add_to_isoc_sb_list()
2576 next_sb_desc->command = (IO_STATE(USB_SB_command, tt, in) | in etrax_usb_add_to_isoc_sb_list()
2577 IO_STATE(USB_SB_command, eot, yes) | in etrax_usb_add_to_isoc_sb_list()
2578 IO_STATE(USB_SB_command, eol, yes)); in etrax_usb_add_to_isoc_sb_list()
2631 TxIsocEPList[epid].command |= IO_STATE(USB_EP_command, enable, yes); in etrax_usb_add_to_isoc_sb_list()
2642 *R_DMA_CH8_SUB3_CMD = IO_STATE(R_DMA_CH8_SUB3_CMD, cmd, start); in etrax_usb_add_to_isoc_sb_list()
2829 TxIsocEPList[epid].command |= IO_STATE(USB_EP_command, enable, yes); in etrax_usb_hc_isoc_eof_interrupt()
3113 *R_DMA_CH8_SUB0_CMD = IO_STATE(R_DMA_CH8_SUB0_CMD, cmd, start); in etrax_usb_bulk_start_timer_func()
3351 *R_USB_PORT1_DISABLE = IO_STATE(R_USB_PORT1_DISABLE, disable, yes); in etrax_rh_submit_urb()
3354 IO_STATE(R_USB_RH_PORT_STATUS_1, enabled, yes)); in etrax_rh_submit_urb()
3355 *R_USB_PORT1_DISABLE = IO_STATE(R_USB_PORT1_DISABLE, disable, no); in etrax_rh_submit_urb()
3362 *R_USB_PORT2_DISABLE = IO_STATE(R_USB_PORT2_DISABLE, disable, yes); in etrax_rh_submit_urb()
3365 IO_STATE(R_USB_RH_PORT_STATUS_2, enabled, yes)); in etrax_rh_submit_urb()
3366 *R_USB_PORT2_DISABLE = IO_STATE(R_USB_PORT2_DISABLE, disable, no); in etrax_rh_submit_urb()
3389 IO_STATE(R_USB_COMMAND, port_sel, port1) | in etrax_rh_submit_urb()
3390 IO_STATE(R_USB_COMMAND, port_cmd, resume) | in etrax_rh_submit_urb()
3391 IO_STATE(R_USB_COMMAND, ctrl_cmd, nop); in etrax_rh_submit_urb()
3394 IO_STATE(R_USB_COMMAND, port_sel, port2) | in etrax_rh_submit_urb()
3395 IO_STATE(R_USB_COMMAND, port_cmd, resume) | in etrax_rh_submit_urb()
3396 IO_STATE(R_USB_COMMAND, ctrl_cmd, nop); in etrax_rh_submit_urb()
3456 IO_STATE(R_USB_COMMAND, port_sel, port1) | in etrax_rh_submit_urb()
3457 IO_STATE(R_USB_COMMAND, port_cmd, suspend) | in etrax_rh_submit_urb()
3458 IO_STATE(R_USB_COMMAND, ctrl_cmd, nop); in etrax_rh_submit_urb()
3461 IO_STATE(R_USB_COMMAND, port_sel, port2) | in etrax_rh_submit_urb()
3462 IO_STATE(R_USB_COMMAND, port_cmd, suspend) | in etrax_rh_submit_urb()
3463 IO_STATE(R_USB_COMMAND, ctrl_cmd, nop); in etrax_rh_submit_urb()
3480 IO_STATE(R_USB_COMMAND, port_sel, port1) | in etrax_rh_submit_urb()
3481 IO_STATE(R_USB_COMMAND, port_cmd, reset) | in etrax_rh_submit_urb()
3482 IO_STATE(R_USB_COMMAND, ctrl_cmd, nop); in etrax_rh_submit_urb()
3490 IO_STATE(R_USB_RH_PORT_STATUS_1, reset, yes)); in etrax_rh_submit_urb()
3499 IO_STATE(R_USB_RH_PORT_STATUS_1, connected, yes)) && in etrax_rh_submit_urb()
3501 IO_STATE(R_USB_RH_PORT_STATUS_1, enabled, no))) { in etrax_rh_submit_urb()
3509 IO_STATE(R_USB_RH_PORT_STATUS_1, connected, no)) && in etrax_rh_submit_urb()
3511 IO_STATE(R_USB_RH_PORT_STATUS_1, enabled, no))) { in etrax_rh_submit_urb()
3514 IO_STATE(R_USB_RH_PORT_STATUS_1, connected, yes)) && in etrax_rh_submit_urb()
3516 IO_STATE(R_USB_RH_PORT_STATUS_1, enabled, yes))) { in etrax_rh_submit_urb()
3530 IO_STATE(R_USB_COMMAND, port_sel, port2) | in etrax_rh_submit_urb()
3531 IO_STATE(R_USB_COMMAND, port_cmd, reset) | in etrax_rh_submit_urb()
3532 IO_STATE(R_USB_COMMAND, ctrl_cmd, nop); in etrax_rh_submit_urb()
3540 IO_STATE(R_USB_RH_PORT_STATUS_2, reset, yes)); in etrax_rh_submit_urb()
3549 IO_STATE(R_USB_RH_PORT_STATUS_2, connected, yes)) && in etrax_rh_submit_urb()
3551 IO_STATE(R_USB_RH_PORT_STATUS_2, enabled, no))) { in etrax_rh_submit_urb()
3559 IO_STATE(R_USB_RH_PORT_STATUS_2, connected, no)) && in etrax_rh_submit_urb()
3561 IO_STATE(R_USB_RH_PORT_STATUS_2, enabled, no))) { in etrax_rh_submit_urb()
3564 IO_STATE(R_USB_RH_PORT_STATUS_2, connected, yes)) && in etrax_rh_submit_urb()
3566 IO_STATE(R_USB_RH_PORT_STATUS_2, enabled, yes))) { in etrax_rh_submit_urb()
3581 IO_STATE(R_USB_COMMAND, port_sel, nop) | in etrax_rh_submit_urb()
3582 IO_STATE(R_USB_COMMAND, port_cmd, reset) | in etrax_rh_submit_urb()
3583 IO_STATE(R_USB_COMMAND, ctrl_cmd, host_run); in etrax_rh_submit_urb()
3597 IO_STATE(R_USB_RH_PORT_STATUS_1, enabled, no)) { in etrax_rh_submit_urb()
3602 IO_STATE(R_USB_RH_PORT_STATUS_2, enabled, no)) { in etrax_rh_submit_urb()
3737 *R_USB_EPT_DATA = (IO_STATE(R_USB_EPT_DATA, valid, yes) | in etrax_usb_hc_init()
3744 *R_USB_EPT_DATA = (IO_STATE(R_USB_EPT_DATA, valid, no) | in etrax_usb_hc_init()
3798 IO_STATE(R_IRQ_MASK2_SET, dma8_sub0_descr, set) | in etrax_usb_hc_init()
3799 IO_STATE(R_IRQ_MASK2_SET, dma8_sub1_descr, set) | in etrax_usb_hc_init()
3800 IO_STATE(R_IRQ_MASK2_SET, dma8_sub2_descr, set) | in etrax_usb_hc_init()
3801 IO_STATE(R_IRQ_MASK2_SET, dma8_sub3_descr, set); in etrax_usb_hc_init()
3805 IO_STATE(R_IRQ_MASK2_SET, dma9_eop, set) | in etrax_usb_hc_init()
3806 IO_STATE(R_IRQ_MASK2_SET, dma9_descr, set); in etrax_usb_hc_init()
3810 IO_STATE(R_USB_IRQ_MASK_SET, iso_eof, set) | in etrax_usb_hc_init()
3811 IO_STATE(R_USB_IRQ_MASK_SET, bulk_eot, set) | in etrax_usb_hc_init()
3812 IO_STATE(R_USB_IRQ_MASK_SET, epid_attn, set) | in etrax_usb_hc_init()
3813 IO_STATE(R_USB_IRQ_MASK_SET, port_status, set) | in etrax_usb_hc_init()
3814 IO_STATE(R_USB_IRQ_MASK_SET, ctl_status, set); in etrax_usb_hc_init()
3855 IO_STATE(R_USB_COMMAND, port_sel, nop) | in etrax_usb_hc_init()
3856 IO_STATE(R_USB_COMMAND, port_cmd, reset) | in etrax_usb_hc_init()
3857 IO_STATE(R_USB_COMMAND, ctrl_cmd, reset); in etrax_usb_hc_init()
3887 *R_USB_PORT1_DISABLE = IO_STATE(R_USB_PORT1_DISABLE, disable, no); in etrax_usb_hc_init()
3891 *R_USB_PORT2_DISABLE = IO_STATE(R_USB_PORT2_DISABLE, disable, no); in etrax_usb_hc_init()
3898 IO_STATE(R_USB_COMMAND, port_sel, nop) | in etrax_usb_hc_init()
3899 IO_STATE(R_USB_COMMAND, port_cmd, reset) | in etrax_usb_hc_init()
3900 IO_STATE(R_USB_COMMAND, ctrl_cmd, host_config); in etrax_usb_hc_init()
3911 IO_STATE(R_USB_COMMAND, port_sel, nop) | in etrax_usb_hc_init()
3912 IO_STATE(R_USB_COMMAND, port_cmd, reset) | in etrax_usb_hc_init()
3913 IO_STATE(R_USB_COMMAND, ctrl_cmd, host_run); in etrax_usb_hc_init()