Lines Matching refs:csrh
533 uint8_t csr, csrh; in musbotg_host_ctrl_setup_tx() local
572 csrh = MUSB2_READ_1(sc, MUSB2_REG_TXCSRH); in musbotg_host_ctrl_setup_tx()
573 csrh |= MUSB2_MASK_CSR0H_FFLUSH; in musbotg_host_ctrl_setup_tx()
574 MUSB2_WRITE_1(sc, MUSB2_REG_TXCSRH, csrh); in musbotg_host_ctrl_setup_tx()
577 csrh = MUSB2_READ_1(sc, MUSB2_REG_TXCSRH); in musbotg_host_ctrl_setup_tx()
578 csrh |= MUSB2_MASK_CSR0H_FFLUSH; in musbotg_host_ctrl_setup_tx()
579 MUSB2_WRITE_1(sc, MUSB2_REG_TXCSRH, csrh); in musbotg_host_ctrl_setup_tx()
1084 uint8_t csr, csrh; in musbotg_host_ctrl_data_tx() local
1115 csrh = MUSB2_READ_1(sc, MUSB2_REG_TXCSRH); in musbotg_host_ctrl_data_tx()
1116 csrh |= MUSB2_MASK_CSR0H_FFLUSH; in musbotg_host_ctrl_data_tx()
1117 MUSB2_WRITE_1(sc, MUSB2_REG_TXCSRH, csrh); in musbotg_host_ctrl_data_tx()
1120 csrh = MUSB2_READ_1(sc, MUSB2_REG_TXCSRH); in musbotg_host_ctrl_data_tx()
1121 csrh |= MUSB2_MASK_CSR0H_FFLUSH; in musbotg_host_ctrl_data_tx()
1122 MUSB2_WRITE_1(sc, MUSB2_REG_TXCSRH, csrh); in musbotg_host_ctrl_data_tx()
1294 uint8_t csr, csrh; in musbotg_host_ctrl_status_rx() local
1325 csrh = MUSB2_READ_1(sc, MUSB2_REG_RXCSRH); in musbotg_host_ctrl_status_rx()
1326 csrh |= MUSB2_MASK_CSR0H_PING_DIS; in musbotg_host_ctrl_status_rx()
1327 MUSB2_WRITE_1(sc, MUSB2_REG_RXCSRH, csrh); in musbotg_host_ctrl_status_rx()
1728 uint8_t csr, csrh; in musbotg_host_data_rx() local
1779 csrh = MUSB2_READ_1(sc, MUSB2_REG_RXCSRH); in musbotg_host_data_rx()
1780 DPRINTFN(4, "csrh=0x%02x\n", csrh); in musbotg_host_data_rx()
1782 csrh |= MUSB2_MASK_CSRH_RXDT_WREN; in musbotg_host_data_rx()
1784 csrh |= MUSB2_MASK_CSRH_RXDT_VAL; in musbotg_host_data_rx()
1786 csrh &= ~MUSB2_MASK_CSRH_RXDT_VAL; in musbotg_host_data_rx()
1789 MUSB2_WRITE_1(sc, MUSB2_REG_RXCSRH, csrh); in musbotg_host_data_rx()
1952 uint8_t csr, csrh; in musbotg_host_data_tx() local
2125 csrh = MUSB2_READ_1(sc, MUSB2_REG_TXCSRH); in musbotg_host_data_tx()
2126 DPRINTFN(4, "csrh=0x%02x\n", csrh); in musbotg_host_data_tx()
2128 csrh |= MUSB2_MASK_CSRH_TXDT_WREN; in musbotg_host_data_tx()
2130 csrh |= MUSB2_MASK_CSRH_TXDT_VAL; in musbotg_host_data_tx()
2132 csrh &= ~MUSB2_MASK_CSRH_TXDT_VAL; in musbotg_host_data_tx()
2135 MUSB2_WRITE_1(sc, MUSB2_REG_TXCSRH, csrh); in musbotg_host_data_tx()