Lines Matching refs:csrh
529 uint8_t csr, csrh; in musbotg_host_ctrl_setup_tx() local
568 csrh = MUSB2_READ_1(sc, MUSB2_REG_TXCSRH); in musbotg_host_ctrl_setup_tx()
569 csrh |= MUSB2_MASK_CSR0H_FFLUSH; in musbotg_host_ctrl_setup_tx()
570 MUSB2_WRITE_1(sc, MUSB2_REG_TXCSRH, csrh); in musbotg_host_ctrl_setup_tx()
573 csrh = MUSB2_READ_1(sc, MUSB2_REG_TXCSRH); in musbotg_host_ctrl_setup_tx()
574 csrh |= MUSB2_MASK_CSR0H_FFLUSH; in musbotg_host_ctrl_setup_tx()
575 MUSB2_WRITE_1(sc, MUSB2_REG_TXCSRH, csrh); in musbotg_host_ctrl_setup_tx()
1073 uint8_t csr, csrh; in musbotg_host_ctrl_data_tx() local
1103 csrh = MUSB2_READ_1(sc, MUSB2_REG_TXCSRH); in musbotg_host_ctrl_data_tx()
1104 csrh |= MUSB2_MASK_CSR0H_FFLUSH; in musbotg_host_ctrl_data_tx()
1105 MUSB2_WRITE_1(sc, MUSB2_REG_TXCSRH, csrh); in musbotg_host_ctrl_data_tx()
1108 csrh = MUSB2_READ_1(sc, MUSB2_REG_TXCSRH); in musbotg_host_ctrl_data_tx()
1109 csrh |= MUSB2_MASK_CSR0H_FFLUSH; in musbotg_host_ctrl_data_tx()
1110 MUSB2_WRITE_1(sc, MUSB2_REG_TXCSRH, csrh); in musbotg_host_ctrl_data_tx()
1279 uint8_t csr, csrh; in musbotg_host_ctrl_status_rx() local
1310 csrh = MUSB2_READ_1(sc, MUSB2_REG_RXCSRH); in musbotg_host_ctrl_status_rx()
1311 csrh |= MUSB2_MASK_CSR0H_PING_DIS; in musbotg_host_ctrl_status_rx()
1312 MUSB2_WRITE_1(sc, MUSB2_REG_RXCSRH, csrh); in musbotg_host_ctrl_status_rx()
1708 uint8_t csr, csrh; in musbotg_host_data_rx() local
1759 csrh = MUSB2_READ_1(sc, MUSB2_REG_RXCSRH); in musbotg_host_data_rx()
1760 DPRINTFN(4, "csrh=0x%02x\n", csrh); in musbotg_host_data_rx()
1762 csrh |= MUSB2_MASK_CSRH_RXDT_WREN; in musbotg_host_data_rx()
1764 csrh |= MUSB2_MASK_CSRH_RXDT_VAL; in musbotg_host_data_rx()
1766 csrh &= ~MUSB2_MASK_CSRH_RXDT_VAL; in musbotg_host_data_rx()
1769 MUSB2_WRITE_1(sc, MUSB2_REG_RXCSRH, csrh); in musbotg_host_data_rx()
1930 uint8_t csr, csrh; in musbotg_host_data_tx() local
2101 csrh = MUSB2_READ_1(sc, MUSB2_REG_TXCSRH); in musbotg_host_data_tx()
2102 DPRINTFN(4, "csrh=0x%02x\n", csrh); in musbotg_host_data_tx()
2104 csrh |= MUSB2_MASK_CSRH_TXDT_WREN; in musbotg_host_data_tx()
2106 csrh |= MUSB2_MASK_CSRH_TXDT_VAL; in musbotg_host_data_tx()
2108 csrh &= ~MUSB2_MASK_CSRH_TXDT_VAL; in musbotg_host_data_tx()
2111 MUSB2_WRITE_1(sc, MUSB2_REG_TXCSRH, csrh); in musbotg_host_data_tx()