Lines Matching refs:cch
85 int cch_allocate(struct gru_context_configuration_handle *cch)
89 cch->opc = CCHOP_ALLOCATE;
90 start_instruction(cch);
91 ret = wait_instruction_complete(cch, cchop_allocate);
101 int cch_start(struct gru_context_configuration_handle *cch)
103 cch->opc = CCHOP_START;
104 start_instruction(cch);
105 return wait_instruction_complete(cch, cchop_start);
108 int cch_interrupt(struct gru_context_configuration_handle *cch)
110 cch->opc = CCHOP_INTERRUPT;
111 start_instruction(cch);
112 return wait_instruction_complete(cch, cchop_interrupt);
115 int cch_deallocate(struct gru_context_configuration_handle *cch)
119 cch->opc = CCHOP_DEALLOCATE;
120 start_instruction(cch);
121 ret = wait_instruction_complete(cch, cchop_deallocate);
132 *cch)
134 cch->opc = CCHOP_INTERRUPT_SYNC;
135 start_instruction(cch);
136 return wait_instruction_complete(cch, cchop_interrupt_sync);