Home
last modified time | relevance | path

Searched refs:operand (Results 1 – 25 of 70) sorted by relevance

123

/linux/drivers/media/firewire/
H A Dfiredtv-avc.c78 u8 operand[509]; member
85 u8 operand[509]; member
92 memset(&c->operand[from], 0, to - from + 1); in clear_operands()
265 r->operand[0] == SFE_VENDOR_DE_COMPANYID_0 && in is_register_rc()
266 r->operand[1] == SFE_VENDOR_DE_COMPANYID_1 && in is_register_rc()
267 r->operand[2] == SFE_VENDOR_DE_COMPANYID_2 && in is_register_rc()
268 r->operand[3] == SFE_VENDOR_OPCODE_REGISTER_REMOTE_CONTROL; in is_register_rc()
281 fdtv_handle_rc(fdtv, r->operand[4] << 8 | r->operand[5]); in avc_recv()
309 static int add_pid_filter(struct firedtv *fdtv, u8 *operand) in add_pid_filter() argument
315 operand[pos++] = 0x13; /* flowfunction relay */ in add_pid_filter()
[all …]
/linux/drivers/acpi/acpica/
H A Dexoparg1.c115 union acpi_operand_object **operand = &walk_state->operands[0]; in acpi_ex_opcode_1A_0T_0R() local
126 status = acpi_ex_release_mutex(operand[0], walk_state); in acpi_ex_opcode_1A_0T_0R()
131 status = acpi_ex_system_reset_event(operand[0]); in acpi_ex_opcode_1A_0T_0R()
136 status = acpi_ex_system_signal_event(operand[0]); in acpi_ex_opcode_1A_0T_0R()
141 status = acpi_ex_system_do_sleep(operand[0]->integer.value); in acpi_ex_opcode_1A_0T_0R()
147 acpi_ex_system_do_stall((u32) operand[0]->integer.value); in acpi_ex_opcode_1A_0T_0R()
152 status = acpi_ex_unload_table(operand[0]); in acpi_ex_opcode_1A_0T_0R()
183 union acpi_operand_object **operand = &walk_state->operands[0]; in acpi_ex_opcode_1A_1T_0R() local
194 status = acpi_ex_load_op(operand[0], operand[1], walk_state); in acpi_ex_opcode_1A_1T_0R()
230 union acpi_operand_object **operand = &walk_state->operands[0]; in acpi_ex_opcode_1A_1T_1R() local
[all …]
H A Dexoparg2.c57 union acpi_operand_object **operand = &walk_state->operands[0]; in acpi_ex_opcode_2A_0T_0R() local
72 node = (struct acpi_namespace_node *)operand[0]; in acpi_ex_opcode_2A_0T_0R()
76 value = (u32) operand[1]->integer.value; in acpi_ex_opcode_2A_0T_0R()
124 union acpi_operand_object **operand = &walk_state->operands[0]; in acpi_ex_opcode_2A_2T_1R() local
155 status = acpi_ut_divide(operand[0]->integer.value, in acpi_ex_opcode_2A_2T_1R()
156 operand[1]->integer.value, in acpi_ex_opcode_2A_2T_1R()
175 status = acpi_ex_store(return_desc2, operand[2], walk_state); in acpi_ex_opcode_2A_2T_1R()
180 status = acpi_ex_store(return_desc1, operand[3], walk_state); in acpi_ex_opcode_2A_2T_1R()
223 union acpi_operand_object **operand = &walk_state->operands[0]; in acpi_ex_opcode_2A_1T_1R() local
246 operand[0]->integer.value, in acpi_ex_opcode_2A_1T_1R()
[all …]
H A Dexoparg3.c54 union acpi_operand_object **operand = &walk_state->operands[0]; in acpi_ex_opcode_3A_0T_0R() local
63 fatal.type = (u32)operand[0]->integer.value; in acpi_ex_opcode_3A_0T_0R()
64 fatal.code = (u32)operand[1]->integer.value; in acpi_ex_opcode_3A_0T_0R()
65 fatal.argument = (u32)operand[2]->integer.value; in acpi_ex_opcode_3A_0T_0R()
124 union acpi_operand_object **operand = &walk_state->operands[0]; in acpi_ex_opcode_3A_1T_1R() local
140 return_desc = acpi_ut_create_internal_object((operand[0])-> in acpi_ex_opcode_3A_1T_1R()
149 index = operand[1]->integer.value; in acpi_ex_opcode_3A_1T_1R()
150 length = (acpi_size)operand[2]->integer.value; in acpi_ex_opcode_3A_1T_1R()
156 if (index >= operand[0]->string.length) { in acpi_ex_opcode_3A_1T_1R()
162 else if ((index + length) > operand[0]->string.length) { in acpi_ex_opcode_3A_1T_1R()
[all …]
H A Dexoparg6.c178 union acpi_operand_object **operand = &walk_state->operands[0]; in acpi_ex_opcode_6A_0T_1R() local
196 if ((operand[1]->integer.value > MAX_MATCH_OPERATOR) || in acpi_ex_opcode_6A_0T_1R()
197 (operand[3]->integer.value > MAX_MATCH_OPERATOR)) { in acpi_ex_opcode_6A_0T_1R()
205 index = operand[5]->integer.value; in acpi_ex_opcode_6A_0T_1R()
206 if (index >= operand[0]->package.count) { in acpi_ex_opcode_6A_0T_1R()
210 operand[0]->package.count)); in acpi_ex_opcode_6A_0T_1R()
236 for (; index < operand[0]->package.count; index++) { in acpi_ex_opcode_6A_0T_1R()
240 this_element = operand[0]->package.elements[index]; in acpi_ex_opcode_6A_0T_1R()
253 if (!acpi_ex_do_match((u32) operand[1]->integer.value, in acpi_ex_opcode_6A_0T_1R()
254 this_element, operand[2])) { in acpi_ex_opcode_6A_0T_1R()
[all …]
H A Dexcreate.c317 union acpi_operand_object **operand = &walk_state->operands[0]; in acpi_ex_create_processor() local
332 obj_desc->processor.proc_id = (u8) operand[1]->integer.value; in acpi_ex_create_processor()
333 obj_desc->processor.length = (u8) operand[3]->integer.value; in acpi_ex_create_processor()
335 (acpi_io_address)operand[2]->integer.value; in acpi_ex_create_processor()
339 status = acpi_ns_attach_object((struct acpi_namespace_node *)operand[0], in acpi_ex_create_processor()
364 union acpi_operand_object **operand = &walk_state->operands[0]; in acpi_ex_create_power_resource() local
379 obj_desc->power_resource.system_level = (u8) operand[1]->integer.value; in acpi_ex_create_power_resource()
381 (u16) operand[2]->integer.value; in acpi_ex_create_power_resource()
385 status = acpi_ns_attach_object((struct acpi_namespace_node *)operand[0], in acpi_ex_create_power_resource()
412 union acpi_operand_object **operand = &walk_state->operands[0]; in acpi_ex_create_method() local
[all …]
H A Dexconfig.c86 union acpi_operand_object **operand = &walk_state->operands[0]; in acpi_ex_load_table_op() local
108 status = acpi_tb_find_table(operand[0]->string.pointer, in acpi_ex_load_table_op()
109 operand[1]->string.pointer, in acpi_ex_load_table_op()
110 operand[2]->string.pointer, &table_index); in acpi_ex_load_table_op()
129 if (operand[3]->string.length > 0) { in acpi_ex_load_table_op()
135 operand[3]->string.pointer, in acpi_ex_load_table_op()
145 if (operand[4]->string.length > 0) { in acpi_ex_load_table_op()
146 if ((operand[4]->string.pointer[0] != AML_ROOT_PREFIX) && in acpi_ex_load_table_op()
147 (operand[4]->string.pointer[0] != AML_PARENT_PREFIX)) { in acpi_ex_load_table_op()
158 operand[4]->string.pointer, in acpi_ex_load_table_op()
[all …]
H A Ddsopcode.c465 union acpi_operand_object **operand; in acpi_ds_eval_table_region_operands() local
492 operand = &walk_state->operands[0]; in acpi_ds_eval_table_region_operands()
507 status = acpi_tb_find_table(operand[0]->string.pointer, in acpi_ds_eval_table_region_operands()
508 operand[1]->string.pointer, in acpi_ds_eval_table_region_operands()
509 operand[2]->string.pointer, &table_index); in acpi_ds_eval_table_region_operands()
514 operand[0]->string.pointer, in acpi_ds_eval_table_region_operands()
515 operand[1]->string.pointer, in acpi_ds_eval_table_region_operands()
516 operand[2]->string.pointer)); in acpi_ds_eval_table_region_operands()
546 acpi_ut_remove_reference(operand[0]); in acpi_ds_eval_table_region_operands()
547 acpi_ut_remove_reference(operand[1]); in acpi_ds_eval_table_region_operands()
[all …]
H A Dutmath.c91 acpi_status acpi_ut_short_shift_left(u64 operand, u32 count, u64 *out_result) in acpi_ut_short_shift_left() argument
97 operand_ovl.full = operand; in acpi_ut_short_shift_left()
128 acpi_status acpi_ut_short_shift_right(u64 operand, u32 count, u64 *out_result) in acpi_ut_short_shift_right() argument
134 operand_ovl.full = operand; in acpi_ut_short_shift_right()
189 acpi_status acpi_ut_short_shift_left(u64 operand, u32 count, u64 *out_result) in acpi_ut_short_shift_left() argument
197 *out_result = operand << count; in acpi_ut_short_shift_left()
213 acpi_status acpi_ut_short_shift_right(u64 operand, u32 count, u64 *out_result) in acpi_ut_short_shift_right() argument
221 *out_result = operand >> count; in acpi_ut_short_shift_right()
H A Ddsutils.c756 union acpi_operand_object **operand = &walk_state->operands[0]; in acpi_ds_evaluate_name_path() local
784 new_obj_desc = *operand; in acpi_ds_evaluate_name_path()
788 type = (*operand)->common.type; in acpi_ds_evaluate_name_path()
790 status = acpi_ex_resolve_to_value(operand, walk_state); in acpi_ds_evaluate_name_path()
799 acpi_ut_remove_reference(*operand); in acpi_ds_evaluate_name_path()
802 acpi_ut_copy_iobject_to_iobject(*operand, &new_obj_desc, in acpi_ds_evaluate_name_path()
812 new_obj_desc = *operand; in acpi_ds_evaluate_name_path()
H A Dexresolv.c303 union acpi_operand_object *operand, in acpi_ex_resolve_multiple() argument
307 union acpi_operand_object *obj_desc = ACPI_CAST_PTR(void, operand); in acpi_ex_resolve_multiple()
309 ACPI_CAST_PTR(struct acpi_namespace_node, operand); in acpi_ex_resolve_multiple()
412 if (obj_desc == operand) { in acpi_ex_resolve_multiple()
/linux/arch/powerpc/xmon/
H A Dppc-dis.c26 operand_value_powerpc (const struct powerpc_operand *operand, in operand_value_powerpc() argument
32 if (operand->extract) in operand_value_powerpc()
33 value = (*operand->extract) (insn, dialect, &invalid); in operand_value_powerpc()
36 if (operand->shift >= 0) in operand_value_powerpc()
37 value = (insn >> operand->shift) & operand->bitm; in operand_value_powerpc()
39 value = (insn << -operand->shift) & operand->bitm; in operand_value_powerpc()
40 if ((operand->flags & PPC_OPERAND_SIGNED) != 0) in operand_value_powerpc()
44 unsigned long top = operand->bitm; in operand_value_powerpc()
62 const struct powerpc_operand *operand; in skip_optional_operands() local
66 operand = &powerpc_operands[*opindex]; in skip_optional_operands()
[all …]
H A Dppc.h439 ppc_optional_operand_value (const struct powerpc_operand *operand) in ppc_optional_operand_value() argument
441 if ((operand->flags & PPC_OPERAND_OPTIONAL_VALUE) != 0) in ppc_optional_operand_value()
442 return (operand+1)->shift; in ppc_optional_operand_value()
/linux/arch/s390/kernel/
H A Ddis.c349 const struct s390_operand *operand) in extract_operand() argument
356 cp = code + operand->shift / 8; in extract_operand()
357 bits = (operand->shift & 7) + operand->bits; in extract_operand()
365 val &= ((1U << (operand->bits - 1)) << 1) - 1; in extract_operand()
368 if (operand->bits == 20 && operand->shift == 20) in extract_operand()
372 if (operand->flags & OPERAND_VR) { in extract_operand()
373 if (operand->shift == 8) in extract_operand()
375 else if (operand->shift == 12) in extract_operand()
377 else if (operand->shift == 16) in extract_operand()
379 else if (operand->shift == 32) in extract_operand()
[all …]
/linux/arch/m68k/ifpsp060/src/
H A Dfplsp.S323 set FP_DST, LV+56 # fp destination operand
329 set FP_SRC, LV+44 # fp source operand
351 set STORE_FLG, LV+19 # flag: operand store (ie. not fcmp/ftst)
356 set DTAG, LV+15 # destination operand type
357 set STAG, LV+14 # source operand type
406 set NORM, 0x00 # operand type for STAG/DTAG
407 set ZERO, 0x01 # operand type for STAG/DTAG
408 set INF, 0x02 # operand type for STAG/DTAG
409 set QNAN, 0x03 # operand type for STAG/DTAG
410 set DENORM, 0x04 # operand type for STAG/DTAG
[all …]
H A Dpfpsp.S923 bsr.l set_tag_x # tag the operand type
924 cmpi.b %d0,&UNNORM # is operand an UNNORM?
1265 # we don't know whether the src operand or the dst operand (or both) is the
1266 # UNNORM or DENORM. call the function that tags the operand type. if the
1269 bsr.l set_tag_x # tag the operand type
1270 cmpi.b %d0,&UNNORM # is operand an UNNORM?
1395 # corresponding exception. the operand in the fsave frame should be the original
1396 # src operand.
1425 # If the input operand to this operation was opclass two and a single
1426 # or double precision denorm, inf, or nan, the operand needs to be
[all …]
/linux/tools/testing/selftests/x86/bugs/
H A Dits_indirect_alignment.py92 operand = kcore_insn.op_str variable
109 if operand.startswith('0xffffffff'):
110 thunk = int(operand, 16)
113operand += ' -> ' + insn_at_thunk.mnemonic + ' ' + insn_at_thunk.op_str + ' <dynamic-thunk?>'
119 operand += ' <' + prog.symbol(int(operand, 16)) + '>'
120 if '__x86_indirect_its_thunk_' in operand:
/linux/drivers/dma/idxd/
H A Ddevice.c15 static void idxd_cmd_exec(struct idxd_device *idxd, int cmd_code, u32 operand,
211 u32 status, operand; in idxd_wq_disable() local
232 operand = BIT(wq->id % 16) | ((wq->id / 16) << 16); in idxd_wq_disable()
233 idxd_cmd_exec(idxd, IDXD_CMD_RESET_WQ, operand, &status); in idxd_wq_disable()
254 u32 operand; in idxd_wq_drain() local
262 operand = BIT(wq->id % 16) | ((wq->id / 16) << 16); in idxd_wq_drain()
263 idxd_cmd_exec(idxd, IDXD_CMD_DRAIN_WQ, operand, NULL); in idxd_wq_drain()
270 u32 operand; in idxd_wq_reset() local
277 operand = BIT(wq->id % 16) | ((wq->id / 16) << 16); in idxd_wq_reset()
278 idxd_cmd_exec(idxd, IDXD_CMD_RESET_WQ, operand, NULL); in idxd_wq_reset()
[all …]
/linux/drivers/gpu/ipu-v3/
H A Dipu-dc.c119 static void dc_write_tmpl(struct ipu_dc *dc, int word, u32 opcode, u32 operand, in dc_write_tmpl() argument
126 reg1 = (operand << 20) & 0xfff00000; in dc_write_tmpl()
127 reg2 = operand >> 12 | opcode << 1 | stop << 9; in dc_write_tmpl()
129 reg1 = sync | glue << 4 | ++wave << 11 | ((operand << 15) & 0xffff8000); in dc_write_tmpl()
130 reg2 = operand >> 17 | opcode << 7 | stop << 9; in dc_write_tmpl()
132 reg1 = sync | glue << 4 | ++wave << 11 | ++map << 15 | ((operand << 20) & 0xfff00000); in dc_write_tmpl()
133 reg2 = operand >> 12 | opcode << 4 | stop << 9; in dc_write_tmpl()
/linux/Documentation/driver-api/early-userspace/
H A Dbuffer-format.rst26 GZIP() indicates gzip compression of the operand
27 BZIP2() indicates bzip2 compression of the operand
28 LZMA() indicates lzma compression of the operand
29 XZ() indicates xz compression of the operand
30 LZO() indicates lzo compression of the operand
31 LZ4() indicates lz4 compression of the operand
32 ZSTD() indicates zstd compression of the operand
/linux/arch/x86/kvm/
H A Dkvm_emulate.h251 struct operand { struct
390 struct operand src;
391 struct operand src2;
392 struct operand dst;
393 struct operand memop;
395 struct operand *memopp;
/linux/arch/x86/kvm/vmx/
H A Dvmx_ops.h312 } operand = { vpid, 0, gva }; in __invvpid() local
314 vmx_asm2(invvpid, "r"(ext), "m"(operand), ext, vpid, gva); in __invvpid()
322 } operand = { eptp, 0 }; in __invept() local
323 vmx_asm2(invept, "r"(ext), "m"(operand), ext, eptp); in __invept()
/linux/arch/m68k/fpsp040/
H A Dx_unfl.S17 | operand needs to made available to the user with a bias of $6000
151 | If the exception bit set is E3, the exceptional operand from the
157 lea WBTEMP(%a6),%a0 |a0 now points to operand
202 | Input: a0 points to input operand
206 | Output: a0 points to rounded operand
/linux/arch/m68k/ifpsp060/
H A Dfskeleton.S107 | This is the exit point for the 060FPSP when an enabled operand error exception
109 | for enabled operand error exceptions. The exception stack frame is an operand error
110 | stack frame. The FP state frame holds the source operand of the faulting
129 | stack frame. The FP state frame holds the source operand of the faulting
148 | stack frame. The FP state frame holds the source operand of the faulting
167 | stack frame. The FP state frame holds the source operand of the faulting
H A Diskeleton.S86 | and the operand was out of bounds, then _isp_unimp() creates
121 | integer divide where the source operand is a zero, then the _isp_unimp()
186 | region. Note: the routine must lock two pages if the operand
191 | a0 = operand address
254 | Note: the routine must unlock two pages if the operand spans
257 | a0 = operand address

123