Home
last modified time | relevance | path

Searched refs:op (Results 1 – 25 of 228) sorted by relevance

12345678910

/linux-2.4.37.9/drivers/acpi/parser/
Dpsparse.c148 union acpi_parse_object *op) in acpi_ps_complete_this_op() argument
156 ACPI_FUNCTION_TRACE_PTR ("ps_complete_this_op", op); in acpi_ps_complete_this_op()
161 if (!op) { in acpi_ps_complete_this_op()
171 if (op->common.parent) { in acpi_ps_complete_this_op()
176 parent_info = acpi_ps_get_opcode_info (op->common.parent->common.aml_opcode); in acpi_ps_complete_this_op()
200 if ((op->common.parent->common.aml_opcode == AML_REGION_OP) || in acpi_ps_complete_this_op()
201 (op->common.parent->common.aml_opcode == AML_DATA_REGION_OP) || in acpi_ps_complete_this_op()
202 (op->common.parent->common.aml_opcode == AML_BUFFER_OP) || in acpi_ps_complete_this_op()
203 (op->common.parent->common.aml_opcode == AML_PACKAGE_OP) || in acpi_ps_complete_this_op()
204 (op->common.parent->common.aml_opcode == AML_VAR_PACKAGE_OP)) { in acpi_ps_complete_this_op()
[all …]
Dpsutils.c100 union acpi_parse_object *op, in acpi_ps_init_op() argument
106 op->common.data_type = ACPI_DESC_TYPE_PARSER; in acpi_ps_init_op()
107 op->common.aml_opcode = opcode; in acpi_ps_init_op()
109 ACPI_DISASM_ONLY_MEMBERS (ACPI_STRNCPY (op->common.aml_op_name, in acpi_ps_init_op()
110 (acpi_ps_get_opcode_info (opcode))->name, sizeof (op->common.aml_op_name))); in acpi_ps_init_op()
132 union acpi_parse_object *op = NULL; in acpi_ps_alloc_op() local
166 op = acpi_ut_acquire_from_cache (ACPI_MEM_LIST_PSNODE); in acpi_ps_alloc_op()
169 op = acpi_ut_acquire_from_cache (ACPI_MEM_LIST_PSNODE_EXT); in acpi_ps_alloc_op()
174 if (op) { in acpi_ps_alloc_op()
175 acpi_ps_init_op (op, opcode); in acpi_ps_alloc_op()
[all …]
Dpstree.c68 union acpi_parse_object *op, in acpi_ps_get_arg() argument
80 op_info = acpi_ps_get_opcode_info (op->common.aml_opcode); in acpi_ps_get_arg()
97 arg = op->common.value.arg; in acpi_ps_get_arg()
122 union acpi_parse_object *op, in acpi_ps_append_arg() argument
132 if (!op) { in acpi_ps_append_arg()
138 op_info = acpi_ps_get_opcode_info (op->common.aml_opcode); in acpi_ps_append_arg()
143 op->common.aml_opcode)); in acpi_ps_append_arg()
158 if (op->common.value.arg) { in acpi_ps_append_arg()
161 prev_arg = op->common.value.arg; in acpi_ps_append_arg()
171 op->common.value.arg = arg; in acpi_ps_append_arg()
[all …]
Dpswalk.c70 union acpi_parse_object *op, in acpi_ps_get_next_walk_op() argument
79 ACPI_FUNCTION_TRACE_PTR ("ps_get_next_walk_op", op); in acpi_ps_get_next_walk_op()
87 next = acpi_ps_get_arg (op, 0); in acpi_ps_get_next_walk_op()
91 walk_state->prev_op = op; in acpi_ps_get_next_walk_op()
102 next = op->common.next; in acpi_ps_get_next_walk_op()
103 parent = op->common.parent; in acpi_ps_get_next_walk_op()
105 walk_state->op = op; in acpi_ps_get_next_walk_op()
106 walk_state->op_info = acpi_ps_get_opcode_info (op->common.aml_opcode); in acpi_ps_get_next_walk_op()
107 walk_state->opcode = op->common.aml_opcode; in acpi_ps_get_next_walk_op()
114 if (op == walk_state->origin) { in acpi_ps_get_next_walk_op()
[all …]
Dpsxface.c83 union acpi_parse_object *op; in acpi_psx_execute() local
128 op = acpi_ps_create_scope_op (); in acpi_psx_execute()
129 if (!op) { in acpi_psx_execute()
150 status = acpi_ds_init_aml_walk (walk_state, op, method_node, obj_desc->method.aml_start, in acpi_psx_execute()
159 acpi_ps_delete_parse_tree (op); in acpi_psx_execute()
174 op = acpi_ps_create_scope_op (); in acpi_psx_execute()
175 if (!op) { in acpi_psx_execute()
182 acpi_ps_set_name (op, method_node->name.integer); in acpi_psx_execute()
183 op->common.node = method_node; in acpi_psx_execute()
193 status = acpi_ds_init_aml_walk (walk_state, op, method_node, obj_desc->method.aml_start, in acpi_psx_execute()
[all …]
Dpsscope.c68 return (parser_state->scope->parse_scope.op); in acpi_ps_get_parent_scope()
125 scope->parse_scope.op = root_op; in acpi_ps_init_scope()
155 union acpi_parse_object *op, in acpi_ps_push_scope() argument
162 ACPI_FUNCTION_TRACE_PTR ("ps_push_scope", op); in acpi_ps_push_scope()
171 scope->parse_scope.op = op; in acpi_ps_push_scope()
214 union acpi_parse_object **op, in acpi_ps_pop_scope() argument
232 *op = scope->parse_scope.op; in acpi_ps_pop_scope()
244 *op = NULL; in acpi_ps_pop_scope()
249 ACPI_DEBUG_PRINT ((ACPI_DB_PARSE, "Popped Op %p Args %X\n", *op, *arg_count)); in acpi_ps_pop_scope()
/linux-2.4.37.9/drivers/acpi/dispatcher/
Ddswload.c125 union acpi_parse_object *op; in acpi_ds_load1_begin_op() local
136 op = walk_state->op; in acpi_ds_load1_begin_op()
137 ACPI_DEBUG_PRINT ((ACPI_DB_DISPATCH, "Op=%p State=%p\n", op, walk_state)); in acpi_ds_load1_begin_op()
141 if (op) { in acpi_ds_load1_begin_op()
147 *out_op = op; in acpi_ds_load1_begin_op()
151 *out_op = op; in acpi_ds_load1_begin_op()
157 if (op->common.node) { in acpi_ds_load1_begin_op()
158 *out_op = op; in acpi_ds_load1_begin_op()
170 "State=%p Op=%p [%s]\n", walk_state, op, acpi_ut_get_type_name (object_type))); in acpi_ds_load1_begin_op()
288 if (!op) { in acpi_ds_load1_begin_op()
[all …]
Ddswexec.c111 status = acpi_ds_create_operand (walk_state, walk_state->op, 0); in acpi_ds_get_predicate_value()
168 walk_state->control_state->common.value, walk_state->op)); in acpi_ds_get_predicate_value()
205 union acpi_parse_object *op; in acpi_ds_exec_begin_op() local
213 op = walk_state->op; in acpi_ds_exec_begin_op()
214 if (!op) { in acpi_ds_exec_begin_op()
220 op = *out_op; in acpi_ds_exec_begin_op()
221 walk_state->op = op; in acpi_ds_exec_begin_op()
222 walk_state->opcode = op->common.aml_opcode; in acpi_ds_exec_begin_op()
223 walk_state->op_info = acpi_ps_get_opcode_info (op->common.aml_opcode); in acpi_ds_exec_begin_op()
227 acpi_ut_get_type_name (walk_state->op_info->object_type), op)); in acpi_ds_exec_begin_op()
[all …]
Ddsopcode.c80 union acpi_parse_object *op; in acpi_ds_execute_arguments() local
90 op = acpi_ps_alloc_op (AML_INT_EVAL_SUBTREE_OP); in acpi_ds_execute_arguments()
91 if (!op) { in acpi_ds_execute_arguments()
97 op->common.node = scope_node; in acpi_ds_execute_arguments()
106 status = acpi_ds_init_aml_walk (walk_state, op, NULL, aml_start, in acpi_ds_execute_arguments()
122 acpi_ps_delete_parse_tree (op); in acpi_ds_execute_arguments()
128 op->common.node = node; in acpi_ds_execute_arguments()
129 acpi_ps_delete_parse_tree (op); in acpi_ds_execute_arguments()
133 op = acpi_ps_alloc_op (AML_INT_EVAL_SUBTREE_OP); in acpi_ds_execute_arguments()
134 if (!op) { in acpi_ds_execute_arguments()
[all …]
Ddsobject.c75 union acpi_parse_object *op, in acpi_ds_build_internal_object() argument
86 if (op->common.aml_opcode == AML_INT_NAMEPATH_OP) { in acpi_ds_build_internal_object()
92 if (!op->common.node) { in acpi_ds_build_internal_object()
93 status = acpi_ns_lookup (walk_state->scope_info, op->common.value.string, in acpi_ds_build_internal_object()
96 (struct acpi_namespace_node **) &(op->common.node)); in acpi_ds_build_internal_object()
99 ACPI_REPORT_NSERROR (op->common.value.string, status); in acpi_ds_build_internal_object()
107 …obj_desc = acpi_ut_create_internal_object ((acpi_ps_get_opcode_info (op->common.aml_opcode))->obje… in acpi_ds_build_internal_object()
112 status = acpi_ds_init_object_from_op (walk_state, op, op->common.aml_opcode, &obj_desc); in acpi_ds_build_internal_object()
142 union acpi_parse_object *op, in acpi_ds_build_internal_buffer_obj() argument
177 arg = op->common.value.arg; /* skip first arg */ in acpi_ds_build_internal_buffer_obj()
[all …]
Ddsutils.c75 union acpi_parse_object *op, in acpi_ds_is_result_used() argument
81 ACPI_FUNCTION_TRACE_PTR ("ds_is_result_used", op); in acpi_ds_is_result_used()
86 if (!op) { in acpi_ds_is_result_used()
97 if (!op->common.parent) { in acpi_ds_is_result_used()
104 parent_info = acpi_ps_get_opcode_info (op->common.parent->common.aml_opcode); in acpi_ds_is_result_used()
106 ACPI_DEBUG_PRINT ((ACPI_DB_ERROR, "Unknown parent opcode. Op=%p\n", op)); in acpi_ds_is_result_used()
119 switch (op->common.parent->common.aml_opcode) { in acpi_ds_is_result_used()
134 (walk_state->control_state->control.predicate_op == op)) { in acpi_ds_is_result_used()
160 if ((op->common.parent->common.aml_opcode == AML_REGION_OP) || in acpi_ds_is_result_used()
161 (op->common.parent->common.aml_opcode == AML_DATA_REGION_OP) || in acpi_ds_is_result_used()
[all …]
/linux-2.4.37.9/scripts/
Dtkcond.c97 if ( conda->op == op_bang && conda->next && in remove_bang()
100 if ( condb->op == op_eq || condb->op == op_neq ) in remove_bang()
102 condb->op = (condb->op == op_eq) ? op_neq : op_eq; in remove_bang()
103 conda->op = op_nuked; in remove_bang()
139 if ( conditions[i]->op == op_false ) in join_condition_stack()
146 cnew->op = op_false; in join_condition_stack()
158 if ( conditions[i]->op == op_true ) in join_condition_stack()
166 cnew->op = op_and; in join_condition_stack()
171 if ( conditions[i]->op != op_lparen ) in join_condition_stack()
177 cnew->op = op_lparen; in join_condition_stack()
[all …]
/linux-2.4.37.9/drivers/pcmcia/
Dpci_socket.c50 if (socket->op && socket->op->init) in pci_init_socket()
51 return socket->op->init(socket); in pci_init_socket()
59 if (socket->op && socket->op->suspend) in pci_suspend_socket()
60 return socket->op->suspend(socket); in pci_suspend_socket()
89 if (socket->op && socket->op->get_status) in pci_get_status()
90 return socket->op->get_status(socket, value); in pci_get_status()
99 if (socket->op && socket->op->get_socket) in pci_get_socket()
100 return socket->op->get_socket(socket, state); in pci_get_socket()
108 if (socket->op && socket->op->set_socket) in pci_set_socket()
109 return socket->op->set_socket(socket, state); in pci_set_socket()
[all …]
/linux-2.4.37.9/fs/openpromfs/
Dinode.c97 openprom_property *op; in property_read() local
131 op = (openprom_property *)filp->private_data; in property_read()
132 op->flag = 0; in property_read()
133 op->alloclen = 2 * i; in property_read()
134 strcpy (op->name, p); in property_read()
135 op->value = (char *)(((unsigned long)(op->name + j + 4)) & ~3); in property_read()
136 op->len = k; in property_read()
137 if (k && prom_getproperty (node, p, op->value, i) < 0) in property_read()
139 op->value [k] = 0; in property_read()
141 for (s = 0, p = op->value; p < op->value + k; p++) { in property_read()
[all …]
/linux-2.4.37.9/drivers/sound/
Ddev_table.c24 struct audio_operations *op; in sound_install_audiodrv() local
42op = (struct audio_operations *) (sound_mem_blocks[sound_nblocks] = vmalloc(sizeof(struct audio_op… in sound_install_audiodrv()
46 if (d == NULL || op == NULL) { in sound_install_audiodrv()
51 memset((char *) op, 0, sizeof(struct audio_operations)); in sound_install_audiodrv()
52 init_waitqueue_head(&op->in_sleeper); in sound_install_audiodrv()
53 init_waitqueue_head(&op->out_sleeper); in sound_install_audiodrv()
54 init_waitqueue_head(&op->poll_sleeper); in sound_install_audiodrv()
60 op->d = d; in sound_install_audiodrv()
62 if (l > sizeof(op->name)) in sound_install_audiodrv()
63 l = sizeof(op->name); in sound_install_audiodrv()
[all …]
/linux-2.4.37.9/include/acpi/
Dacdisasm.h85 union acpi_parse_object *op,
96 union acpi_parse_object *op,
103 union acpi_parse_object *op,
109 union acpi_parse_object *op,
121 union acpi_parse_object *op);
129 union acpi_parse_object *op);
143 union acpi_parse_object *op);
149 union acpi_parse_object *op);
157 union acpi_parse_object *op);
161 union acpi_parse_object *op);
[all …]
Dacparser.h137 union acpi_parse_object *op);
160 union acpi_parse_object *op);
165 union acpi_parse_object *op,
217 union acpi_parse_object **op,
224 union acpi_parse_object *op,
237 union acpi_parse_object *op,
249 union acpi_parse_object *op,
254 union acpi_parse_object *op);
259 union acpi_parse_object *op);
279 union acpi_parse_object *op,
[all …]
Dacdispat.h113 union acpi_parse_object *op);
118 union acpi_parse_object *op);
123 union acpi_parse_object *op,
137 union acpi_parse_object *op);
142 union acpi_parse_object *op);
173 union acpi_parse_object *op,
179 union acpi_parse_object *op,
185 union acpi_parse_object *op,
191 union acpi_parse_object *op,
196 union acpi_parse_object *op,
[all …]
/linux-2.4.37.9/arch/sh/kernel/
Dkgdb_stub.c206 #define OPCODE_BT(op) (((op) & 0xff00) == 0x8900) argument
207 #define OPCODE_BF(op) (((op) & 0xff00) == 0x8b00) argument
208 #define OPCODE_BTF_DISP(op) (((op) & 0x80) ? (((op) | 0xffffff80) << 1) : \ argument
209 (((op) & 0x7f ) << 1))
210 #define OPCODE_BFS(op) (((op) & 0xff00) == 0x8f00) argument
211 #define OPCODE_BTS(op) (((op) & 0xff00) == 0x8d00) argument
212 #define OPCODE_BRA(op) (((op) & 0xf000) == 0xa000) argument
213 #define OPCODE_BRA_DISP(op) (((op) & 0x800) ? (((op) | 0xfffff800) << 1) : \ argument
214 (((op) & 0x7ff) << 1))
215 #define OPCODE_BRAF(op) (((op) & 0xf0ff) == 0x0023) argument
[all …]
/linux-2.4.37.9/fs/isofs/
Djoliet.c22 unsigned char *op; in uni16_to_x8() local
25 op = ascii; in uni16_to_x8()
30 if ((llen = nls->uni2char(ch, op, NLS_MAX_CHARSET_SIZE)) > 0) in uni16_to_x8()
31 op += llen; in uni16_to_x8()
33 *op++ = '?'; in uni16_to_x8()
38 *op = 0; in uni16_to_x8()
39 return (op - ascii); in uni16_to_x8()
47 __u8 *op; in wcsntombs_be() local
51 op = s; in wcsntombs_be()
56 size = utf8_wctomb(op, c, maxlen); in wcsntombs_be()
[all …]
/linux-2.4.37.9/drivers/sbus/char/
Dopenprom.c363 struct opiocdesc op; in openprom_bsd_ioctl() local
372 if (copy_from_user(&op, (void *)arg, sizeof(op))) in openprom_bsd_ioctl()
375 if (!goodnode(op.op_nodeid,data)) in openprom_bsd_ioctl()
378 error = copyin_string(op.op_name, op.op_namelen, &str); in openprom_bsd_ioctl()
383 len = prom_getproplen(op.op_nodeid,str); in openprom_bsd_ioctl()
386 if (len > op.op_buflen) { in openprom_bsd_ioctl()
391 op.op_buflen = len; in openprom_bsd_ioctl()
396 if (__copy_to_user((void *)arg, &op, in openprom_bsd_ioctl()
397 sizeof(op))) in openprom_bsd_ioctl()
409 prom_getproperty(op.op_nodeid, str, tmp, len); in openprom_bsd_ioctl()
[all …]
/linux-2.4.37.9/fs/
Dseq_file.c28 int seq_open(struct file *file, struct seq_operations *op) in seq_open() argument
35 p->op = op; in seq_open()
84 p = m->op->start(m, &pos); in seq_read()
88 err = m->op->show(m, p); in seq_read()
93 m->op->stop(m, p); in seq_read()
100 m->op->stop(m, p); in seq_read()
108 p = m->op->next(m, p, &next); in seq_read()
113 err = m->op->show(m, p); in seq_read()
120 m->op->stop(m, p); in seq_read()
162 p = m->op->start(m, &m->index); in traverse()
[all …]
/linux-2.4.37.9/drivers/block/paride/
Don20.c26 #define op(f) w2(4);w0(f);w2(5);w2(0xd);w2(5);w2(0xd);w2(5);w2(4); macro
41 op(1); vl(r); op(0); in on20_read_regr()
64 op(1); vl(r); in on20_write_regr()
65 op(0); vl(val); in on20_write_regr()
66 op(0); vl(val); in on20_write_regr()
75 if (pi->mode) { op(2); vl(8); op(2); vl(9); } in on20_connect()
76 else { op(2); vl(0); op(2); vl(8); } in on20_connect()
90 op(1); vl(1); op(0); in on20_read_block()
107 op(1); vl(1); op(0); in on20_write_block()
/linux-2.4.37.9/include/linux/
Dsignal.h70 #define _SIG_SET_BINOP(name, op) \ argument
81 r->sig[4*i+0] = op(a0, b0); \
82 r->sig[4*i+1] = op(a1, b1); \
83 r->sig[4*i+2] = op(a2, b2); \
84 r->sig[4*i+3] = op(a3, b3); \
90 r->sig[4*i+0] = op(a0, b0); \
91 r->sig[4*i+1] = op(a1, b1); \
92 r->sig[4*i+2] = op(a2, b2); \
97 r->sig[4*i+0] = op(a0, b0); \
98 r->sig[4*i+1] = op(a1, b1); \
[all …]
/linux-2.4.37.9/drivers/char/
Dvt.c368 struct console_font_op op; in do_fontx_ioctl() local
378 op.op = KD_FONT_OP_SET; in do_fontx_ioctl()
379 op.flags = KD_FONT_FLAG_OLD; in do_fontx_ioctl()
380 op.width = 8; in do_fontx_ioctl()
381 op.height = cfdarg.charheight; in do_fontx_ioctl()
382 op.charcount = cfdarg.charcount; in do_fontx_ioctl()
383 op.data = cfdarg.chardata; in do_fontx_ioctl()
384 return con_font_op(fg_console, &op); in do_fontx_ioctl()
386 op.op = KD_FONT_OP_GET; in do_fontx_ioctl()
387 op.flags = KD_FONT_FLAG_OLD; in do_fontx_ioctl()
[all …]

12345678910