Lines Matching refs:operand0
389 #define i915_fs_arith_masked(op, dest_reg, dest_mask, operand0, operand1, operand2) \ argument
390 _i915_fs_arith_masked(A0_##op, dest_reg, dest_mask, operand0, operand1, operand2)
392 #define i915_fs_arith(op, dest_reg, operand0, operand1, operand2) \ argument
393 _i915_fs_arith(A0_##op, dest_reg, operand0, operand1, operand2)
395 #define _i915_fs_arith_masked(cmd, dest_reg, dest_mask, operand0, operand1, operand2) \ argument
404 (REG_TYPE(operand0) << A0_SRC0_TYPE_SHIFT) | \
405 (REG_NR(operand0) << A0_SRC0_NR_SHIFT)); \
406 OUT_BATCH(i915_get_hardware_channel_val(REG_X(operand0), \
409 i915_get_hardware_channel_val(REG_Y(operand0), \
412 i915_get_hardware_channel_val(REG_Z(operand0), \
415 i915_get_hardware_channel_val(REG_W(operand0), \
450 #define _i915_fs_arith(cmd, dest_reg, operand0, operand1, operand2) do {\ argument
457 (REG_TYPE(operand0) << A0_SRC0_TYPE_SHIFT) | \
458 (REG_NR(operand0) << A0_SRC0_NR_SHIFT)); \
459 OUT_BATCH(i915_get_hardware_channel_val(REG_X(operand0), \
462 i915_get_hardware_channel_val(REG_Y(operand0), \
465 i915_get_hardware_channel_val(REG_Z(operand0), \
468 i915_get_hardware_channel_val(REG_W(operand0), \
503 #define i915_fs_mov(dest_reg, operand0) \ argument
505 operand0, \
509 #define i915_fs_mov_masked(dest_reg, dest_mask, operand0) \ argument
511 operand0, \
516 #define i915_fs_frc(dest_reg, operand0) \ argument
518 operand0, \
523 #define i915_fs_add(dest_reg, operand0, operand1) \ argument
525 operand0, operand1, \
529 #define i915_fs_mul(dest_reg, operand0, operand1) \ argument
531 operand0, operand1, \
535 #define i915_fs_rsq(dest_reg, dest_mask, operand0) \ argument
539 operand0, \
544 operand0, \
551 #define i915_fs_min(dest_reg, operand0, operand1) \ argument
553 operand0, operand1, \
557 #define i915_fs_max(dest_reg, operand0, operand1) \ argument
559 operand0, operand1, \
562 #define i915_fs_cmp(dest_reg, operand0, operand1, operand2) \ argument
563 i915_fs_arith (CMP, dest_reg, operand0, operand1, operand2)