Lines Matching refs:ins

330 static inline void gru_start_instruction(struct gru_instruction *ins, unsigned long op64)
332 gru_ordered_store_ulong(ins, op64);
334 gru_flush_cache(ins);
352 struct gru_instruction *ins = (struct gru_instruction *)cb;
354 ins->baddr0 = (long)gpa | ((unsigned long)iaa << 62);
355 ins->nelem = 1;
356 ins->op1_stride = 1;
357 gru_start_instruction(ins, __opdword(OP_VLOAD, 0, XTYPE_DW, iaa, 0,
364 struct gru_instruction *ins = (struct gru_instruction *)cb;
366 ins->baddr0 = (long)gpa | ((unsigned long)iaa << 62);
367 ins->nelem = 1;
368 ins->op1_stride = 1;
369 gru_start_instruction(ins, __opdword(OP_VSTORE, 0, XTYPE_DW, iaa, 0,
377 struct gru_instruction *ins = (struct gru_instruction *)cb;
379 ins->baddr0 = (long)mem_addr;
380 ins->nelem = nelem;
381 ins->op1_stride = stride;
382 gru_start_instruction(ins, __opdword(OP_VLOAD, 0, xtype, IAA_RAM, 0,
390 struct gru_instruction *ins = (void *)cb;
392 ins->baddr0 = (long)mem_addr;
393 ins->nelem = nelem;
394 ins->op1_stride = stride;
395 gru_start_instruction(ins, __opdword(OP_VSTORE, 0, xtype, IAA_RAM, 0,
403 struct gru_instruction *ins = (void *)cb;
405 ins->baddr0 = (long)mem_addr;
406 ins->nelem = nelem;
407 ins->tri1_bufsize = tri1;
408 gru_start_instruction(ins, __opdword(OP_IVLOAD, 0, xtype, IAA_RAM, 0,
416 struct gru_instruction *ins = (void *)cb;
418 ins->baddr0 = (long)mem_addr;
419 ins->nelem = nelem;
420 ins->tri1_bufsize = tri1;
421 gru_start_instruction(ins, __opdword(OP_IVSTORE, 0, xtype, IAA_RAM, 0,
429 struct gru_instruction *ins = (void *)cb;
431 ins->baddr0 = (long)mem_addr;
432 ins->op2_value_baddr1 = value;
433 ins->nelem = nelem;
434 ins->op1_stride = stride;
435 gru_start_instruction(ins, __opdword(OP_VSET, 0, xtype, IAA_RAM, 0,
443 struct gru_instruction *ins = (void *)cb;
445 ins->baddr0 = (long)mem_addr;
446 ins->op2_value_baddr1 = value;
447 ins->nelem = nelem;
448 ins->tri1_bufsize = tri1;
449 gru_start_instruction(ins, __opdword(OP_IVSET, 0, xtype, IAA_RAM, 0,
457 struct gru_instruction *ins = (void *)cb;
459 ins->baddr0 = (long)mem_addr;
460 ins->op1_stride = stride;
461 ins->nelem = nelem;
462 gru_start_instruction(ins, __opdword(OP_VFLUSH, 0, xtype, IAA_RAM, 0,
468 struct gru_instruction *ins = (void *)cb;
470 gru_start_instruction(ins, __opdword(OP_NOP, 0, 0, 0, 0, 0, CB_IMA(hints)));
479 struct gru_instruction *ins = (void *)cb;
481 ins->baddr0 = (long)src;
482 ins->op2_value_baddr1 = (long)dest;
483 ins->nelem = nelem;
484 ins->tri1_bufsize = bufsize;
485 gru_start_instruction(ins, __opdword(OP_BCOPY, 0, xtype, IAA_RAM,
493 struct gru_instruction *ins = (void *)cb;
495 ins->baddr0 = (long)src;
496 ins->op2_value_baddr1 = (long)dest;
497 ins->nelem = nelem;
498 gru_start_instruction(ins, __opdword(OP_BSTORE, 0, xtype, 0, IAA_RAM,
505 struct gru_instruction *ins = (void *)cb;
507 ins->baddr0 = (long)src;
508 gru_start_instruction(ins, __opdword(OP_GAMIR, exopc, xtype, IAA_RAM, 0,
515 struct gru_instruction *ins = (void *)cb;
517 ins->baddr0 = (long)src;
518 gru_start_instruction(ins, __opdword(OP_GAMIRR, exopc, xtype, IAA_RAM, 0,
527 struct gru_instruction *ins = (void *)cb;
529 ins->baddr0 = (long)src;
530 ins->op1_stride = operand1;
531 ins->op2_value_baddr1 = operand2;
532 gru_start_instruction(ins, __opdword(OP_GAMER, exopc, xtype, IAA_RAM, 0,
540 struct gru_instruction *ins = (void *)cb;
542 ins->baddr0 = (long)src;
543 ins->op1_stride = operand1;
544 ins->op2_value_baddr1 = operand2;
545 gru_start_instruction(ins, __opdword(OP_GAMERR, exopc, xtype, IAA_RAM, 0,
552 struct gru_instruction *ins = (void *)cb;
554 ins->baddr0 = (long)src;
555 ins->nelem = 4;
556 gru_start_instruction(ins, __opdword(OP_GAMXR, EOP_XR_CSWAP, XTYPE_DW,
564 struct gru_instruction *ins = (void *)cb;
566 ins->baddr0 = (long)queue;
567 ins->nelem = nelem;
568 gru_start_instruction(ins, __opdword(OP_MESQ, 0, XTYPE_CL, IAA_RAM, 0,
574 struct gru_instruction *ins = (void *)cb;
576 return ins->avalue;
581 struct gru_instruction *ins = (void *)cb;
583 return ins->avalue & 0xffffffff;
588 struct gru_instruction *ins = (void *)cb;
590 return ins->avalue >> 32;