Home
last modified time | relevance | path

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

12345

/openbmc/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 …]
/openbmc/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()
/openbmc/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.c53 union acpi_operand_object **operand = &walk_state->operands[0]; in acpi_ex_opcode_3A_0T_0R() local
66 (u32)operand[0]->integer.value, in acpi_ex_opcode_3A_0T_0R()
67 (u32)operand[1]->integer.value, in acpi_ex_opcode_3A_0T_0R()
68 (u32)operand[2]->integer.value)); in acpi_ex_opcode_3A_0T_0R()
72 fatal->type = (u32) operand[0]->integer.value; in acpi_ex_opcode_3A_0T_0R()
73 fatal->code = (u32) operand[1]->integer.value; in acpi_ex_opcode_3A_0T_0R()
74 fatal->argument = (u32) operand[2]->integer.value; in acpi_ex_opcode_3A_0T_0R()
127 union acpi_operand_object **operand = &walk_state->operands[0]; in acpi_ex_opcode_3A_1T_1R() local
143 return_desc = acpi_ut_create_internal_object((operand[0])-> in acpi_ex_opcode_3A_1T_1R()
152 index = operand[1]->integer.value; 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.c749 union acpi_operand_object **operand = &walk_state->operands[0]; in acpi_ds_evaluate_name_path() local
777 new_obj_desc = *operand; in acpi_ds_evaluate_name_path()
781 type = (*operand)->common.type; in acpi_ds_evaluate_name_path()
783 status = acpi_ex_resolve_to_value(operand, walk_state); in acpi_ds_evaluate_name_path()
792 acpi_ut_remove_reference(*operand); in acpi_ds_evaluate_name_path()
795 acpi_ut_copy_iobject_to_iobject(*operand, &new_obj_desc, in acpi_ds_evaluate_name_path()
805 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()
/openbmc/linux/arch/s390/kernel/
H A Ddis.c346 const struct s390_operand *operand) in extract_operand() argument
353 cp = code + operand->shift / 8; in extract_operand()
354 bits = (operand->shift & 7) + operand->bits; in extract_operand()
362 val &= ((1U << (operand->bits - 1)) << 1) - 1; in extract_operand()
365 if (operand->bits == 20 && operand->shift == 20) in extract_operand()
369 if (operand->flags & OPERAND_VR) { in extract_operand()
370 if (operand->shift == 8) in extract_operand()
372 else if (operand->shift == 12) in extract_operand()
374 else if (operand->shift == 16) in extract_operand()
376 else if (operand->shift == 32) in extract_operand()
[all …]
/openbmc/u-boot/common/
H A Dbedbug.c36 struct operand *, char *, int *));
236 unsigned long operand; in print_operands() local
237 struct operand *opr; in print_operands()
262 operand = (ctx->instr >> opr->shift) & ((1 << opr->bits) - 1); in print_operands()
265 if ((operand & (1 << (opr->bits - 1))) != 0) { in print_operands()
266 operand = operand - (1 << opr->bits); in print_operands()
270 operand = (operand << 2) + (unsigned long) ctx->virtual; in print_operands()
272 operand = (operand << 2); in print_operands()
275 sprintf (&ctx->data[ctx->datalen], "0x%lx", operand); in print_operands()
281 symbol_name_from_addr (operand, 0, &offset)) != 0)) { in print_operands()
[all …]
/openbmc/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 …]
/openbmc/u-boot/fs/ext4/
H A Dext4_common.c240 int operand, status; in _get_new_inode_no() local
257 operand = 1 << i; in _get_new_inode_no()
258 status = input & operand; in _get_new_inode_no()
263 *ptr |= operand; in _get_new_inode_no()
275 int operand; in _get_new_blk_no() local
292 operand = 1 << i; in _get_new_blk_no()
293 if (*ptr & operand) { in _get_new_blk_no()
296 *ptr |= operand; in _get_new_blk_no()
308 unsigned char operand; in ext4fs_set_block_bmap() local
316 operand = 1 << remainder; in ext4fs_set_block_bmap()
[all …]
/openbmc/linux/drivers/dma/idxd/
H A Ddevice.c15 static void idxd_cmd_exec(struct idxd_device *idxd, int cmd_code, u32 operand,
207 u32 status, operand; in idxd_wq_disable() local
216 operand = BIT(wq->id % 16) | ((wq->id / 16) << 16); in idxd_wq_disable()
217 idxd_cmd_exec(idxd, IDXD_CMD_DISABLE_WQ, operand, &status); in idxd_wq_disable()
236 u32 operand; in idxd_wq_drain() local
244 operand = BIT(wq->id % 16) | ((wq->id / 16) << 16); in idxd_wq_drain()
245 idxd_cmd_exec(idxd, IDXD_CMD_DRAIN_WQ, operand, NULL); in idxd_wq_drain()
252 u32 operand; in idxd_wq_reset() local
259 operand = BIT(wq->id % 16) | ((wq->id / 16) << 16); in idxd_wq_reset()
260 idxd_cmd_exec(idxd, IDXD_CMD_RESET_WQ, operand, NULL); in idxd_wq_reset()
[all …]
/openbmc/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()
/openbmc/linux/arch/x86/kvm/
H A Dkvm_emulate.h230 struct operand { struct
356 struct operand src;
357 struct operand src2;
358 struct operand dst;
359 struct operand memop;
361 struct operand *memopp;
/openbmc/bmcweb/redfish-core/include/
H A Dfilter_expr_parser_ast.hpp51 BooleanOp operand; member
78 operand);
/openbmc/linux/arch/x86/kvm/vmx/
H A Dvmx_ops.h310 } operand = { vpid, 0, gva }; in __invvpid() local
312 vmx_asm2(invvpid, "r"(ext), "m"(operand), ext, vpid, gva); in __invvpid()
319 } operand = {eptp, gpa}; in __invept() local
321 vmx_asm2(invept, "r"(ext), "m"(operand), ext, eptp, gpa); in __invept()
/openbmc/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
/openbmc/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

12345