Lines Matching refs:ins

340 static inline void gru_start_instruction(struct gru_instruction *ins, unsigned long op64)
342 gru_ordered_store_ulong(ins, op64);
344 gru_flush_cache(ins);
362 struct gru_instruction *ins = (struct gru_instruction *)cb;
364 ins->baddr0 = (long)gpa | ((unsigned long)iaa << 62);
365 ins->nelem = 1;
366 ins->op1_stride = 1;
367 gru_start_instruction(ins, __opdword(OP_VLOAD, 0, XTYPE_DW, iaa, 0,
374 struct gru_instruction *ins = (struct gru_instruction *)cb;
376 ins->baddr0 = (long)gpa | ((unsigned long)iaa << 62);
377 ins->nelem = 1;
378 ins->op1_stride = 1;
379 gru_start_instruction(ins, __opdword(OP_VSTORE, 0, XTYPE_DW, iaa, 0,
387 struct gru_instruction *ins = (struct gru_instruction *)cb;
389 ins->baddr0 = (long)mem_addr;
390 ins->nelem = nelem;
391 ins->op1_stride = stride;
392 gru_start_instruction(ins, __opdword(OP_VLOAD, 0, xtype, IAA_RAM, 0,
400 struct gru_instruction *ins = (void *)cb;
402 ins->baddr0 = (long)mem_addr;
403 ins->nelem = nelem;
404 ins->op1_stride = stride;
405 gru_start_instruction(ins, __opdword(OP_VSTORE, 0, xtype, IAA_RAM, 0,
413 struct gru_instruction *ins = (void *)cb;
415 ins->baddr0 = (long)mem_addr;
416 ins->nelem = nelem;
417 ins->tri1_bufsize = tri1;
418 gru_start_instruction(ins, __opdword(OP_IVLOAD, 0, xtype, IAA_RAM, 0,
426 struct gru_instruction *ins = (void *)cb;
428 ins->baddr0 = (long)mem_addr;
429 ins->nelem = nelem;
430 ins->tri1_bufsize = tri1;
431 gru_start_instruction(ins, __opdword(OP_IVSTORE, 0, xtype, IAA_RAM, 0,
439 struct gru_instruction *ins = (void *)cb;
441 ins->baddr0 = (long)mem_addr;
442 ins->op2_value_baddr1 = value;
443 ins->nelem = nelem;
444 ins->op1_stride = stride;
445 gru_start_instruction(ins, __opdword(OP_VSET, 0, xtype, IAA_RAM, 0,
453 struct gru_instruction *ins = (void *)cb;
455 ins->baddr0 = (long)mem_addr;
456 ins->op2_value_baddr1 = value;
457 ins->nelem = nelem;
458 ins->tri1_bufsize = tri1;
459 gru_start_instruction(ins, __opdword(OP_IVSET, 0, xtype, IAA_RAM, 0,
467 struct gru_instruction *ins = (void *)cb;
469 ins->baddr0 = (long)mem_addr;
470 ins->op1_stride = stride;
471 ins->nelem = nelem;
472 gru_start_instruction(ins, __opdword(OP_VFLUSH, 0, xtype, IAA_RAM, 0,
478 struct gru_instruction *ins = (void *)cb;
480 gru_start_instruction(ins, __opdword(OP_NOP, 0, 0, 0, 0, 0, CB_IMA(hints)));
489 struct gru_instruction *ins = (void *)cb;
491 ins->baddr0 = (long)src;
492 ins->op2_value_baddr1 = (long)dest;
493 ins->nelem = nelem;
494 ins->tri1_bufsize = bufsize;
495 gru_start_instruction(ins, __opdword(OP_BCOPY, 0, xtype, IAA_RAM,
503 struct gru_instruction *ins = (void *)cb;
505 ins->baddr0 = (long)src;
506 ins->op2_value_baddr1 = (long)dest;
507 ins->nelem = nelem;
508 gru_start_instruction(ins, __opdword(OP_BSTORE, 0, xtype, 0, IAA_RAM,
515 struct gru_instruction *ins = (void *)cb;
517 ins->baddr0 = (long)src;
518 gru_start_instruction(ins, __opdword(OP_GAMIR, exopc, xtype, IAA_RAM, 0,
525 struct gru_instruction *ins = (void *)cb;
527 ins->baddr0 = (long)src;
528 gru_start_instruction(ins, __opdword(OP_GAMIRR, exopc, xtype, IAA_RAM, 0,
537 struct gru_instruction *ins = (void *)cb;
539 ins->baddr0 = (long)src;
540 ins->op1_stride = operand1;
541 ins->op2_value_baddr1 = operand2;
542 gru_start_instruction(ins, __opdword(OP_GAMER, exopc, xtype, IAA_RAM, 0,
550 struct gru_instruction *ins = (void *)cb;
552 ins->baddr0 = (long)src;
553 ins->op1_stride = operand1;
554 ins->op2_value_baddr1 = operand2;
555 gru_start_instruction(ins, __opdword(OP_GAMERR, exopc, xtype, IAA_RAM, 0,
562 struct gru_instruction *ins = (void *)cb;
564 ins->baddr0 = (long)src;
565 ins->nelem = 4;
566 gru_start_instruction(ins, __opdword(OP_GAMXR, EOP_XR_CSWAP, XTYPE_DW,
574 struct gru_instruction *ins = (void *)cb;
576 ins->baddr0 = (long)queue;
577 ins->nelem = nelem;
578 gru_start_instruction(ins, __opdword(OP_MESQ, 0, XTYPE_CL, IAA_RAM, 0,
584 struct gru_instruction *ins = (void *)cb;
586 return ins->avalue;
591 struct gru_instruction *ins = (void *)cb;
593 return ins->avalue & 0xffffffff;
598 struct gru_instruction *ins = (void *)cb;
600 return ins->avalue >> 32;