Lines Matching refs:cmd
711 u8 cmd; in _idtcm_set_dpll_hw_tod() local
718 &cmd, sizeof(cmd)); in _idtcm_set_dpll_hw_tod()
722 cmd &= ~(0x0f); in _idtcm_set_dpll_hw_tod()
723 cmd |= wr_trig | 0x08; in _idtcm_set_dpll_hw_tod()
726 &cmd, sizeof(cmd)); in _idtcm_set_dpll_hw_tod()
742 cmd &= ~(0x08); in _idtcm_set_dpll_hw_tod()
745 &cmd, sizeof(cmd)); in _idtcm_set_dpll_hw_tod()
778 unsigned char buf[TOD_BYTE_COUNT], cmd; in _idtcm_set_dpll_scsr_tod() local
795 &cmd, sizeof(cmd)); in _idtcm_set_dpll_scsr_tod()
799 cmd &= ~(TOD_WRITE_SELECTION_MASK << TOD_WRITE_SELECTION_SHIFT); in _idtcm_set_dpll_scsr_tod()
800 cmd &= ~(TOD_WRITE_TYPE_MASK << TOD_WRITE_TYPE_SHIFT); in _idtcm_set_dpll_scsr_tod()
801 cmd |= (wr_trig << TOD_WRITE_SELECTION_SHIFT); in _idtcm_set_dpll_scsr_tod()
802 cmd |= (wr_type << TOD_WRITE_TYPE_SHIFT); in _idtcm_set_dpll_scsr_tod()
805 &cmd, sizeof(cmd)); in _idtcm_set_dpll_scsr_tod()
816 &cmd, sizeof(cmd)); in _idtcm_set_dpll_scsr_tod()
820 if ((cmd & TOD_WRITE_SELECTION_MASK) == 0) in _idtcm_set_dpll_scsr_tod()