Lines Matching refs:csrh

530 	uint8_t csr, csrh;  in musbotg_host_ctrl_setup_tx()  local
569 csrh = MUSB2_READ_1(sc, MUSB2_REG_TXCSRH); in musbotg_host_ctrl_setup_tx()
570 csrh |= MUSB2_MASK_CSR0H_FFLUSH; in musbotg_host_ctrl_setup_tx()
571 MUSB2_WRITE_1(sc, MUSB2_REG_TXCSRH, csrh); in musbotg_host_ctrl_setup_tx()
574 csrh = MUSB2_READ_1(sc, MUSB2_REG_TXCSRH); in musbotg_host_ctrl_setup_tx()
575 csrh |= MUSB2_MASK_CSR0H_FFLUSH; in musbotg_host_ctrl_setup_tx()
576 MUSB2_WRITE_1(sc, MUSB2_REG_TXCSRH, csrh); in musbotg_host_ctrl_setup_tx()
1074 uint8_t csr, csrh; in musbotg_host_ctrl_data_tx() local
1104 csrh = MUSB2_READ_1(sc, MUSB2_REG_TXCSRH); in musbotg_host_ctrl_data_tx()
1105 csrh |= MUSB2_MASK_CSR0H_FFLUSH; in musbotg_host_ctrl_data_tx()
1106 MUSB2_WRITE_1(sc, MUSB2_REG_TXCSRH, csrh); in musbotg_host_ctrl_data_tx()
1109 csrh = MUSB2_READ_1(sc, MUSB2_REG_TXCSRH); in musbotg_host_ctrl_data_tx()
1110 csrh |= MUSB2_MASK_CSR0H_FFLUSH; in musbotg_host_ctrl_data_tx()
1111 MUSB2_WRITE_1(sc, MUSB2_REG_TXCSRH, csrh); in musbotg_host_ctrl_data_tx()
1280 uint8_t csr, csrh; in musbotg_host_ctrl_status_rx() local
1311 csrh = MUSB2_READ_1(sc, MUSB2_REG_RXCSRH); in musbotg_host_ctrl_status_rx()
1312 csrh |= MUSB2_MASK_CSR0H_PING_DIS; in musbotg_host_ctrl_status_rx()
1313 MUSB2_WRITE_1(sc, MUSB2_REG_RXCSRH, csrh); in musbotg_host_ctrl_status_rx()
1709 uint8_t csr, csrh; in musbotg_host_data_rx() local
1760 csrh = MUSB2_READ_1(sc, MUSB2_REG_RXCSRH); in musbotg_host_data_rx()
1761 DPRINTFN(4, "csrh=0x%02x\n", csrh); in musbotg_host_data_rx()
1763 csrh |= MUSB2_MASK_CSRH_RXDT_WREN; in musbotg_host_data_rx()
1765 csrh |= MUSB2_MASK_CSRH_RXDT_VAL; in musbotg_host_data_rx()
1767 csrh &= ~MUSB2_MASK_CSRH_RXDT_VAL; in musbotg_host_data_rx()
1770 MUSB2_WRITE_1(sc, MUSB2_REG_RXCSRH, csrh); in musbotg_host_data_rx()
1931 uint8_t csr, csrh; in musbotg_host_data_tx() local
2102 csrh = MUSB2_READ_1(sc, MUSB2_REG_TXCSRH); in musbotg_host_data_tx()
2103 DPRINTFN(4, "csrh=0x%02x\n", csrh); in musbotg_host_data_tx()
2105 csrh |= MUSB2_MASK_CSRH_TXDT_WREN; in musbotg_host_data_tx()
2107 csrh |= MUSB2_MASK_CSRH_TXDT_VAL; in musbotg_host_data_tx()
2109 csrh &= ~MUSB2_MASK_CSRH_TXDT_VAL; in musbotg_host_data_tx()
2112 MUSB2_WRITE_1(sc, MUSB2_REG_TXCSRH, csrh); in musbotg_host_data_tx()