Home
last modified time | relevance | path

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

/drivers/media/firewire/
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 …]
/drivers/acpi/acpica/
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()
182 union acpi_operand_object **operand = &walk_state->operands[0]; in acpi_ex_opcode_1A_1T_0R() local
192 status = acpi_ex_load_op(operand[0], operand[1], walk_state); in acpi_ex_opcode_1A_1T_0R()
224 union acpi_operand_object **operand = &walk_state->operands[0]; in acpi_ex_opcode_1A_1T_1R() local
[all …]
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 …]
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 …]
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 …]
Dexcreate.c316 union acpi_operand_object **operand = &walk_state->operands[0]; in acpi_ex_create_processor() local
331 obj_desc->processor.proc_id = (u8) operand[1]->integer.value; in acpi_ex_create_processor()
332 obj_desc->processor.length = (u8) operand[3]->integer.value; in acpi_ex_create_processor()
334 (acpi_io_address)operand[2]->integer.value; in acpi_ex_create_processor()
338 status = acpi_ns_attach_object((struct acpi_namespace_node *)operand[0], in acpi_ex_create_processor()
363 union acpi_operand_object **operand = &walk_state->operands[0]; in acpi_ex_create_power_resource() local
378 obj_desc->power_resource.system_level = (u8) operand[1]->integer.value; in acpi_ex_create_power_resource()
380 (u16) operand[2]->integer.value; in acpi_ex_create_power_resource()
384 status = acpi_ns_attach_object((struct acpi_namespace_node *)operand[0], in acpi_ex_create_power_resource()
411 union acpi_operand_object **operand = &walk_state->operands[0]; in acpi_ex_create_method() local
[all …]
Dexconfig.c86 union acpi_operand_object **operand = &walk_state->operands[0]; in acpi_ex_load_table_op() local
98 status = acpi_tb_find_table(operand[0]->string.pointer, in acpi_ex_load_table_op()
99 operand[1]->string.pointer, in acpi_ex_load_table_op()
100 operand[2]->string.pointer, &table_index); in acpi_ex_load_table_op()
125 if (operand[3]->string.length > 0) { in acpi_ex_load_table_op()
131 operand[3]->string.pointer, in acpi_ex_load_table_op()
141 if (operand[4]->string.length > 0) { in acpi_ex_load_table_op()
142 if ((operand[4]->string.pointer[0] != AML_ROOT_PREFIX) && in acpi_ex_load_table_op()
143 (operand[4]->string.pointer[0] != AML_PARENT_PREFIX)) { in acpi_ex_load_table_op()
154 operand[4]->string.pointer, in acpi_ex_load_table_op()
[all …]
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()
545 acpi_ut_remove_reference(operand[0]); in acpi_ds_eval_table_region_operands()
546 acpi_ut_remove_reference(operand[1]); in acpi_ds_eval_table_region_operands()
[all …]
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()
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()
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()
Dacutils.h531 acpi_status acpi_ut_short_shift_left(u64 operand, u32 count, u64 *out_result);
533 acpi_status acpi_ut_short_shift_right(u64 operand, u32 count, u64 *out_result);
Dacinterp.h362 union acpi_operand_object *operand,
/drivers/dma/idxd/
Ddevice.c16 static void idxd_cmd_exec(struct idxd_device *idxd, int cmd_code, u32 operand,
226 u32 status, operand; in idxd_wq_disable() local
235 operand = BIT(wq->id % 16) | ((wq->id / 16) << 16); in idxd_wq_disable()
236 idxd_cmd_exec(idxd, IDXD_CMD_DISABLE_WQ, operand, &status); in idxd_wq_disable()
252 u32 operand; in idxd_wq_drain() local
260 operand = BIT(wq->id % 16) | ((wq->id / 16) << 16); in idxd_wq_drain()
261 idxd_cmd_exec(idxd, IDXD_CMD_DRAIN_WQ, operand, NULL); in idxd_wq_drain()
268 u32 operand; in idxd_wq_reset() local
275 operand = BIT(wq->id % 16) | ((wq->id / 16) << 16); in idxd_wq_reset()
276 idxd_cmd_exec(idxd, IDXD_CMD_RESET_WQ, operand, NULL); in idxd_wq_reset()
[all …]
Dregisters.h158 u32 operand:20; member
/drivers/gpu/ipu-v3/
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()
/drivers/gpu/drm/amd/amdkfd/
Dkfd_dbgdev.c544 switch (wac_info->operand) { in dbgdev_wave_control_set_registers()
610 pr_debug("\t\t operand is: %u\n", wac_info->operand); in dbgdev_wave_control_diq()
728 pr_debug("\t\t operand is: %u\n", wac_info->operand); in dbgdev_wave_control_nodiq()
776 wac_info.operand = HSA_DBG_WAVEOP_KILL; in dbgdev_wave_reset_wavefronts()
Dkfd_dbgmgr.h248 enum HSA_DBG_WAVEOP operand; member
Dkfd_chardev.c780 sizeof(wac_info.operand) + in kfd_ioctl_dbg_wave_control()
816 wac_info.operand = *((enum HSA_DBG_WAVEOP *)(&args_buff[args_idx])); in kfd_ioctl_dbg_wave_control()
817 args_idx += sizeof(wac_info.operand); in kfd_ioctl_dbg_wave_control()
832 wac_info.process, wac_info.operand, in kfd_ioctl_dbg_wave_control()