Lines Matching refs:cch
79 int cch_allocate(struct gru_context_configuration_handle *cch) in cch_allocate() argument
83 cch->opc = CCHOP_ALLOCATE; in cch_allocate()
84 start_instruction(cch); in cch_allocate()
85 ret = wait_instruction_complete(cch, cchop_allocate); in cch_allocate()
95 int cch_start(struct gru_context_configuration_handle *cch) in cch_start() argument
97 cch->opc = CCHOP_START; in cch_start()
98 start_instruction(cch); in cch_start()
99 return wait_instruction_complete(cch, cchop_start); in cch_start()
102 int cch_interrupt(struct gru_context_configuration_handle *cch) in cch_interrupt() argument
104 cch->opc = CCHOP_INTERRUPT; in cch_interrupt()
105 start_instruction(cch); in cch_interrupt()
106 return wait_instruction_complete(cch, cchop_interrupt); in cch_interrupt()
109 int cch_deallocate(struct gru_context_configuration_handle *cch) in cch_deallocate() argument
113 cch->opc = CCHOP_DEALLOCATE; in cch_deallocate()
114 start_instruction(cch); in cch_deallocate()
115 ret = wait_instruction_complete(cch, cchop_deallocate); in cch_deallocate()
126 *cch) in cch_interrupt_sync()
128 cch->opc = CCHOP_INTERRUPT_SYNC; in cch_interrupt_sync()
129 start_instruction(cch); in cch_interrupt_sync()
130 return wait_instruction_complete(cch, cchop_interrupt_sync); in cch_interrupt_sync()