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