Lines Matching refs:cch
97 int cch_allocate(struct gru_context_configuration_handle *cch) in cch_allocate() argument
101 cch->opc = CCHOP_ALLOCATE; in cch_allocate()
102 start_instruction(cch); in cch_allocate()
103 ret = wait_instruction_complete(cch, cchop_allocate); in cch_allocate()
113 int cch_start(struct gru_context_configuration_handle *cch) in cch_start() argument
115 cch->opc = CCHOP_START; in cch_start()
116 start_instruction(cch); in cch_start()
117 return wait_instruction_complete(cch, cchop_start); in cch_start()
120 int cch_interrupt(struct gru_context_configuration_handle *cch) in cch_interrupt() argument
122 cch->opc = CCHOP_INTERRUPT; in cch_interrupt()
123 start_instruction(cch); in cch_interrupt()
124 return wait_instruction_complete(cch, cchop_interrupt); in cch_interrupt()
127 int cch_deallocate(struct gru_context_configuration_handle *cch) in cch_deallocate() argument
131 cch->opc = CCHOP_DEALLOCATE; in cch_deallocate()
132 start_instruction(cch); in cch_deallocate()
133 ret = wait_instruction_complete(cch, cchop_deallocate); in cch_deallocate()
144 *cch) in cch_interrupt_sync()
146 cch->opc = CCHOP_INTERRUPT_SYNC; in cch_interrupt_sync()
147 start_instruction(cch); in cch_interrupt_sync()
148 return wait_instruction_complete(cch, cchop_interrupt_sync); in cch_interrupt_sync()