Searched refs:cch (Results 1 – 6 of 6) sorted by relevance
/linux-2.6.39/drivers/misc/sgi-gru/ |
D | gruhandles.c | 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() [all …]
|
D | grumain.c | 557 struct gru_context_configuration_handle *cch; in gru_unload_context() local 562 cch = get_cch(gru->gs_gru_base_vaddr, ctxnum); in gru_unload_context() 566 lock_cch_handle(cch); in gru_unload_context() 567 if (cch_interrupt_sync(cch)) in gru_unload_context() 579 if (cch_deallocate(cch)) in gru_unload_context() 581 unlock_cch_handle(cch); in gru_unload_context() 593 struct gru_context_configuration_handle *cch; in gru_load_context() local 596 cch = get_cch(gru->gs_gru_base_vaddr, ctxnum); in gru_load_context() 597 lock_cch_handle(cch); in gru_load_context() 598 cch->tfm_fault_bit_enable = in gru_load_context() [all …]
|
D | grukdump.c | 46 struct gru_context_configuration_handle *cch, in gru_dump_context_data() argument 58 for_each_cbr_in_allocation_map(i, &cch->cbr_allocation_map, scr) { in gru_dump_context_data() 125 struct gru_context_configuration_handle *cch, *ubufcch; in gru_dump_context() local 132 cch = get_cch(grubase, ctxnum); in gru_dump_context() 134 cch_locked = trylock_cch_handle(cch); in gru_dump_context() 142 if (gru_user_copy_handle(&ubuf, cch)) in gru_dump_context() 154 if (cch->state != CCHSTATE_INACTIVE) { in gru_dump_context() 155 cbrcnt = hweight64(cch->cbr_allocation_map) * in gru_dump_context() 157 dsrcnt = data_opt ? hweight32(cch->dsr_allocation_map) * in gru_dump_context() 164 ret = gru_dump_context_data(grubase, cch, ubuf, ctxnum, in gru_dump_context() [all …]
|
D | gruhandles.h | 515 int cch_allocate(struct gru_context_configuration_handle *cch); 516 int cch_start(struct gru_context_configuration_handle *cch); 517 int cch_interrupt(struct gru_context_configuration_handle *cch); 518 int cch_deallocate(struct gru_context_configuration_handle *cch); 519 int cch_interrupt_sync(struct gru_context_configuration_handle *cch);
|
D | grutables.h | 581 static inline int trylock_cch_handle(struct gru_context_configuration_handle *cch) in trylock_cch_handle() argument 583 return __trylock_handle(cch); in trylock_cch_handle() 586 static inline void lock_cch_handle(struct gru_context_configuration_handle *cch) in lock_cch_handle() argument 588 __lock_handle(cch); in lock_cch_handle() 592 *cch) in unlock_cch_handle() 594 __unlock_handle(cch); in unlock_cch_handle()
|
/linux-2.6.39/arch/ia64/kvm/ |
D | vtlb.c | 515 struct thash_data *cch; in vtlb_lookup() local 521 cch = __vtr_lookup(v, va, is_data); in vtlb_lookup() 522 if (cch) in vtlb_lookup() 523 return cch; in vtlb_lookup() 534 cch = vsa_thash(hcb->pta, va, vrr.val, &tag); in vtlb_lookup() 535 if (cch->etag == tag && cch->ps == ps) in vtlb_lookup() 536 return cch; in vtlb_lookup()
|