Searched refs:op (Results 1 - 25 of 452) sorted by relevance

1234567891011>>

/drivers/acpi/acpica/
H A Dpswalk.c3 * Module Name: pswalk - Parser routines to walk parsed op tree(s)
64 union acpi_parse_object *op = subtree_root; local
72 while (op) {
76 if (op != parent) {
78 /* Look for an argument or child of the current op */
80 next = acpi_ps_get_arg(op, 0);
85 op = next;
92 next = op->common.next;
93 parent = op->common.parent;
95 acpi_ps_free_op(op);
[all...]
H A Dpsutils.c60 * DESCRIPTION: Create a Scope and associated namepath op with the root name
80 * PARAMETERS: op - A newly allocated Op object
89 void acpi_ps_init_op(union acpi_parse_object *op, u16 opcode) argument
93 op->common.descriptor_type = ACPI_DESC_TYPE_PARSER;
94 op->common.aml_opcode = opcode;
96 ACPI_DISASM_ONLY_MEMBERS(ACPI_STRNCPY(op->common.aml_op_name,
99 sizeof(op->common.aml_op_name)));
110 * DESCRIPTION: Allocate an acpi_op, choose op type (and thus size) based on
118 union acpi_parse_object *op; local
140 /* The generic op (defaul
172 acpi_ps_free_op(union acpi_parse_object *op) argument
208 acpi_ps_get_name(union acpi_parse_object * op) argument
226 acpi_ps_set_name(union acpi_parse_object *op, u32 name) argument
[all...]
H A Dpstree.c3 * Module Name: pstree - Parser op tree manipulation/traversal/search
54 union acpi_parse_object *acpi_ps_get_child(union acpi_parse_object *op);
61 * PARAMETERS: op - Get an argument for this op
66 * DESCRIPTION: Get the specified op's argument.
70 union acpi_parse_object *acpi_ps_get_arg(union acpi_parse_object *op, u32 argn) argument
85 op_info = acpi_ps_get_opcode_info(op->common.aml_opcode);
104 arg = op->common.value.arg;
117 * PARAMETERS: op - Append an argument to this Op.
122 * DESCRIPTION: Append an argument to an op'
127 acpi_ps_append_arg(union acpi_parse_object *op, union acpi_parse_object *arg) argument
201 acpi_ps_get_depth_next(union acpi_parse_object *origin, union acpi_parse_object *op) argument
272 acpi_ps_get_child(union acpi_parse_object *op) argument
[all...]
H A Ddswload.c131 * out_op - Where to return op if a new one is created
143 union acpi_parse_object *op; local
152 op = walk_state->op;
153 ACPI_DEBUG_PRINT((ACPI_DB_DISPATCH, "Op=%p State=%p\n", op,
158 if (op) {
160 *out_op = op;
166 if (op->common.node) {
167 *out_op = op;
179 "State=%p Op=%p [%s]\n", walk_state, op,
424 union acpi_parse_object *op; local
[all...]
H A Dpsloop.c64 u8 * aml_op_start, union acpi_parse_object *op);
76 * op - Current Op
86 u8 * aml_op_start, union acpi_parse_object *op)
94 switch (op->common.aml_opcode) {
106 op);
113 &(walk_state->parser_state), op,
144 acpi_ps_append_arg(op, arg);
163 switch (op->common.aml_opcode) {
175 acpi_ps_link_module_code(op->common.
206 && (op
85 acpi_ps_get_arguments(struct acpi_walk_state *walk_state, u8 * aml_op_start, union acpi_parse_object *op) argument
393 union acpi_parse_object *op = NULL; /* current op */ local
[all...]
H A Dpsobject.c161 * op - Returned Op
173 union acpi_parse_object **op)
218 walk_state->op = NULL;
220 status = walk_state->descending_callback(walk_state, op);
229 if (!*op) {
233 status = acpi_ps_next_parse_state(walk_state, *op, status);
241 acpi_ps_append_arg(*op, unnamed_op->common.value.arg);
243 if ((*op)->common.aml_opcode == AML_REGION_OP ||
244 (*op)->common.aml_opcode == AML_DATA_REGION_OP) {
255 (*op)
170 acpi_ps_build_named_op(struct acpi_walk_state *walk_state, u8 *aml_op_start, union acpi_parse_object *unnamed_op, union acpi_parse_object **op) argument
281 union acpi_parse_object *op; local
385 acpi_ps_complete_op(struct acpi_walk_state *walk_state, union acpi_parse_object **op, acpi_status status) argument
559 acpi_ps_complete_final_op(struct acpi_walk_state *walk_state, union acpi_parse_object *op, acpi_status status) argument
[all...]
H A Ddswload2.c61 * out_op - Wher to return op if a new one is created
72 union acpi_parse_object *op; local
81 op = walk_state->op;
82 ACPI_DEBUG_PRINT((ACPI_DB_DISPATCH, "Op=%p State=%p\n", op,
85 if (op) {
108 /* For Namepath op, get the path string */
110 buffer_ptr = op->common.value.string;
118 /* Get name from the op */
120 buffer_ptr = ACPI_CAST_PTR(char, &op
374 union acpi_parse_object *op; local
[all...]
H A Ddswexec.c109 status = acpi_ds_create_operand(walk_state, walk_state->op, 0);
177 walk_state->op));
202 * out_op - Where to return op if a new one is created
216 union acpi_parse_object *op; local
222 op = walk_state->op;
223 if (!op) {
229 op = *out_op;
230 walk_state->op = op;
359 union acpi_parse_object *op; local
[all...]
H A Dacparser.h105 union acpi_parse_object *acpi_ps_get_parent(union acpi_parse_object *op);
114 union acpi_parse_object **op);
122 union acpi_parse_object **op, acpi_status status);
126 union acpi_parse_object *op, acpi_status status);
148 union acpi_parse_object *op);
152 union acpi_parse_object *op,
174 union acpi_parse_object **op, u32 *arg_list, u32 *arg_count);
178 union acpi_parse_object *op,
187 acpi_ps_append_arg(union acpi_parse_object *op, union acpi_parse_object *arg);
192 union acpi_parse_object *acpi_ps_get_arg(union acpi_parse_object *op, u3
[all...]
H A Dpsparse.c124 * op - Op to complete
134 union acpi_parse_object * op)
142 ACPI_FUNCTION_TRACE_PTR(ps_complete_this_op, op);
146 if (!op) {
150 /* Delete this op and the subtree below it if asked to */
160 if (op->common.parent) {
161 prev = op->common.parent->common.value.arg;
171 * with a return value op (placeholder op)
174 acpi_ps_get_opcode_info(op
133 acpi_ps_complete_this_op(struct acpi_walk_state * walk_state, union acpi_parse_object * op) argument
324 acpi_ps_next_parse_state(struct acpi_walk_state *walk_state, union acpi_parse_object *op, acpi_status callback_status) argument
[all...]
H A Ddscontrol.c59 * op - The control Op
69 union acpi_parse_object *op)
77 op, op->common.aml_opcode, walk_state));
79 switch (op->common.aml_opcode) {
119 control_state->control.opcode = op->common.aml_opcode;
155 * op - The control Op
166 union acpi_parse_object * op)
173 switch (op->common.aml_opcode) {
176 ACPI_DEBUG_PRINT((ACPI_DB_DISPATCH, "[IF_OP] Op=%p\n", op));
68 acpi_ds_exec_begin_control_op(struct acpi_walk_state *walk_state, union acpi_parse_object *op) argument
165 acpi_ds_exec_end_control_op(struct acpi_walk_state * walk_state, union acpi_parse_object * op) argument
[all...]
H A Dpsscope.c59 * DESCRIPTION: Get parent of current op being parsed
66 return (parser_state->scope->parse_scope.op);
118 scope->parse_scope.op = root_op;
134 * op - Current op to be pushed
140 * DESCRIPTION: Push current op to begin parsing its argument
146 union acpi_parse_object *op,
151 ACPI_FUNCTION_TRACE_PTR(ps_push_scope, op);
159 scope->parse_scope.op = op;
145 acpi_ps_push_scope(struct acpi_parse_state *parser_state, union acpi_parse_object *op, u32 remaining_args, u32 arg_count) argument
199 acpi_ps_pop_scope(struct acpi_parse_state *parser_state, union acpi_parse_object **op, u32 * arg_list, u32 * arg_count) argument
[all...]
H A Ddsobject.c58 union acpi_parse_object *op,
67 * op - Parser object to be translated
79 union acpi_parse_object *op,
89 if (op->common.aml_opcode == AML_INT_NAMEPATH_OP) {
92 * previously looked up in the namespace, it was stored in this op.
95 if (!op->common.node) {
97 op->common.value.string,
104 &(op->
114 ((op->common.parent->common.aml_opcode ==
116 || (op
78 acpi_ds_build_internal_object(struct acpi_walk_state *walk_state, union acpi_parse_object *op, union acpi_operand_object **obj_desc_ptr) argument
265 acpi_ds_build_internal_buffer_obj(struct acpi_walk_state *walk_state, union acpi_parse_object *op, u32 buffer_length, union acpi_operand_object **obj_desc_ptr) argument
382 acpi_ds_build_internal_package_obj(struct acpi_walk_state *walk_state, union acpi_parse_object *op, u32 element_count, union acpi_operand_object **obj_desc_ptr) argument
560 acpi_ds_create_node(struct acpi_walk_state *walk_state, struct acpi_namespace_node *node, union acpi_parse_object *op) argument
627 acpi_ds_init_object_from_op(struct acpi_walk_state *walk_state, union acpi_parse_object *op, u16 opcode, union acpi_operand_object **ret_obj_desc) argument
[all...]
/drivers/xen/
H A Dfallback.c10 struct evtchn_op op; local
13 op.cmd = cmd;
14 memcpy(&op.u, arg, sizeof(op.u));
15 rc = _hypercall1(int, event_channel_op_compat, &op);
27 memcpy(arg, &op.u.eop, sizeof(op.u.eop)); \
49 struct physdev_op op; local
52 op.cmd = cmd;
53 memcpy(&op
[all...]
H A Defi.c39 #define efi_data(op) (op.u.efi_runtime_call)
43 struct xen_platform_op op = INIT_EFI_OP(get_time); local
45 if (HYPERVISOR_dom0_op(&op) < 0)
49 BUILD_BUG_ON(sizeof(*tm) != sizeof(efi_data(op).u.get_time.time));
50 memcpy(tm, &efi_data(op).u.get_time.time, sizeof(*tm));
54 tc->resolution = efi_data(op).u.get_time.resolution;
55 tc->accuracy = efi_data(op).u.get_time.accuracy;
56 tc->sets_to_zero = !!(efi_data(op).misc &
60 return efi_data(op)
65 struct xen_platform_op op = INIT_EFI_OP(set_time); local
80 struct xen_platform_op op = INIT_EFI_OP(get_wakeup_time); local
101 struct xen_platform_op op = INIT_EFI_OP(set_wakeup_time); local
123 struct xen_platform_op op = INIT_EFI_OP(get_variable); local
146 struct xen_platform_op op = INIT_EFI_OP(get_next_variable_name); local
171 struct xen_platform_op op = INIT_EFI_OP(set_variable); local
192 struct xen_platform_op op = INIT_EFI_OP(query_variable_info); local
211 struct xen_platform_op op = INIT_EFI_OP(get_next_high_monotonic_count); local
225 struct xen_platform_op op = INIT_EFI_OP(update_capsule); local
246 struct xen_platform_op op = INIT_EFI_OP(query_capsule_capabilities); local
325 struct xen_platform_op op = { local
[all...]
H A Dxen-acpi-pad.c33 struct xen_platform_op op; local
35 op.cmd = XENPF_core_parking;
36 op.u.core_parking.type = XEN_CORE_PARKING_SET;
37 op.u.core_parking.idle_nums = idle_nums;
39 return HYPERVISOR_dom0_op(&op);
44 struct xen_platform_op op; local
46 op.cmd = XENPF_core_parking;
47 op.u.core_parking.type = XEN_CORE_PARKING_GET;
49 return HYPERVISOR_dom0_op(&op)
50 ?: op
[all...]
/drivers/crypto/
H A Dgeode-aes.c70 geode_aes_crypt(struct geode_aes_op *op) argument
76 if (op->len == 0)
86 if (op->dir == AES_DIR_ENCRYPT)
93 if (op->mode == AES_MODE_CBC) {
95 _writefield(AES_WRITEIV0_REG, op->iv);
98 if (!(op->flags & AES_FLAGS_HIDDENKEY)) {
100 _writefield(AES_WRITEKEY0_REG, op->key);
103 ret = do_crypt(op->src, op->dst, op
119 struct geode_aes_op *op = crypto_tfm_ctx(tfm); local
152 struct geode_aes_op *op = crypto_tfm_ctx(tfm); local
188 struct geode_aes_op *op = crypto_blkcipher_ctx(desc->tfm); local
204 struct geode_aes_op *op = crypto_blkcipher_ctx(desc->tfm); local
218 struct geode_aes_op *op = crypto_tfm_ctx(tfm); local
239 struct geode_aes_op *op = crypto_tfm_ctx(tfm); local
259 struct geode_aes_op *op = crypto_tfm_ctx(tfm); local
274 struct geode_aes_op *op = crypto_tfm_ctx(tfm); local
308 struct geode_aes_op *op = crypto_blkcipher_ctx(desc->tfm); local
340 struct geode_aes_op *op = crypto_blkcipher_ctx(desc->tfm); local
369 struct geode_aes_op *op = crypto_tfm_ctx(tfm); local
384 struct geode_aes_op *op = crypto_tfm_ctx(tfm); local
421 struct geode_aes_op *op = crypto_blkcipher_ctx(desc->tfm); local
451 struct geode_aes_op *op = crypto_blkcipher_ctx(desc->tfm); local
[all...]
/drivers/xen/xen-pciback/
H A Dpciback_ops.c139 struct pci_dev *dev, struct xen_pci_op *op)
153 op->value = 0;
160 op->value = dev->irq ? xen_pirq_from_irq(dev->irq) : 0;
163 op->value);
174 struct pci_dev *dev, struct xen_pci_op *op)
183 op->value = dev->irq ? xen_pirq_from_irq(dev->irq) : 0;
186 op->value);
195 struct pci_dev *dev, struct xen_pci_op *op)
204 if (op->value > SH_INFO_MAX_VEC)
207 entries = kmalloc(op
138 xen_pcibk_enable_msi(struct xen_pcibk_device *pdev, struct pci_dev *dev, struct xen_pci_op *op) argument
173 xen_pcibk_disable_msi(struct xen_pcibk_device *pdev, struct pci_dev *dev, struct xen_pci_op *op) argument
194 xen_pcibk_enable_msix(struct xen_pcibk_device *pdev, struct pci_dev *dev, struct xen_pci_op *op) argument
245 xen_pcibk_disable_msix(struct xen_pcibk_device *pdev, struct pci_dev *dev, struct xen_pci_op *op) argument
301 struct xen_pci_op *op = &pdev->sh_info->op; local
[all...]
/drivers/sbus/char/
H A Dopenprom.c143 static int opromgetprop(void __user *argp, struct device_node *dp, struct openpromio *op, int bufsize) argument
149 !(pval = of_get_property(dp, op->oprom_array, &len)) ||
151 return copyout(argp, op, sizeof(int));
153 memcpy(op->oprom_array, pval, len);
154 op->oprom_array[len] = '\0';
155 op->oprom_size = len;
157 return copyout(argp, op, sizeof(int) + bufsize);
160 static int opromnxtprop(void __user *argp, struct device_node *dp, struct openpromio *op, int bufsize) argument
166 return copyout(argp, op, sizeof(int));
167 if (op
190 opromsetopt(struct device_node *dp, struct openpromio *op, int bufsize) argument
198 opromnext(void __user *argp, unsigned int cmd, struct device_node *dp, struct openpromio *op, int bufsize, DATA *data) argument
245 oprompci2node(void __user *argp, struct device_node *dp, struct openpromio *op, int bufsize, DATA *data) argument
270 oprompath2node(void __user *argp, struct device_node *dp, struct openpromio *op, int bufsize, DATA *data) argument
284 opromgetbootargs(void __user *argp, struct openpromio *op, int bufsize) argument
414 struct opiocdesc op; local
446 struct opiocdesc op; local
492 struct opiocdesc op; local
[all...]
/drivers/vfio/
H A Dvfio_spapr_eeh.c38 struct vfio_eeh_pe_op op; local
54 minsz = offsetofend(struct vfio_eeh_pe_op, op);
55 if (copy_from_user(&op, (void __user *)arg, minsz))
57 if (op.argsz < minsz || op.flags)
60 switch (op.op) {
/drivers/fmc/
H A Dfmc-trivial.c27 fmc->op->irq_ack(fmc);
49 if (fmc->op->validate)
50 index = fmc->op->validate(fmc, &t_drv);
54 ret = fmc->op->irq_request(fmc, t_handler, "fmc-trivial", IRQF_SHARED);
58 fmc->op->gpio_config(fmc, t_gpio, ARRAY_SIZE(t_gpio));
62 if (fmc->op->reprogram)
63 ret = fmc->op->reprogram(fmc, &t_drv, "");
67 fmc->op->irq_free(fmc);
75 fmc->op->irq_free(fmc);
/drivers/crypto/ccp/
H A Dccp-ops.c193 static int ccp_do_cmd(struct ccp_op *op, u32 *cr, unsigned int cr_count) argument
195 struct ccp_cmd_queue *cmd_q = op->cmd_q;
209 | (op->jobid << REQ0_JOBID_SHIFT)
212 if (op->soc)
216 if (op->ioc || !cmd_q->free_slots)
241 | op->jobid;
247 } else if (op->soc) {
251 | op->jobid;
264 static int ccp_perform_aes(struct ccp_op *op) argument
270 | (op
295 ccp_perform_xts_aes(struct ccp_op *op) argument
322 ccp_perform_sha(struct ccp_op *op) argument
348 ccp_perform_rsa(struct ccp_op *op) argument
369 ccp_perform_passthru(struct ccp_op *op) argument
410 ccp_perform_ecc(struct ccp_op *op) argument
748 ccp_prepare_data(struct ccp_data *src, struct ccp_data *dst, struct ccp_op *op, unsigned int block_size, bool blocksize_op) argument
820 ccp_process_data(struct ccp_data *src, struct ccp_data *dst, struct ccp_op *op) argument
838 struct ccp_op op; local
886 struct ccp_op op; local
1035 struct ccp_op op; local
1204 struct ccp_op op; local
1366 struct ccp_op op; local
1570 struct ccp_op op; local
1678 struct ccp_op op; local
1806 struct ccp_op op; local
1909 struct ccp_op op; local
[all...]
/drivers/net/wireless/brcm80211/brcmsmac/phy/
H A Dphy_qmath.h32 s32 qm_shl32(s32 op, int shift);
34 s16 qm_shl16(s16 op, int shift);
36 s16 qm_shr16(s16 op, int shift);
38 s16 qm_norm32(s32 op);
/drivers/usb/host/
H A Dehci-grlib.c85 static int ehci_hcd_grlib_probe(struct platform_device *op) argument
87 struct device_node *dn = op->dev.of_node;
98 dev_dbg(&op->dev, "initializing GRUSBHC EHCI USB Controller\n");
105 op->dev.dma_mask = &op->dev.coherent_dma_mask;
106 hcd = usb_create_hcd(&ehci_grlib_hc_driver, &op->dev,
116 dev_err(&op->dev, "%s: irq_of_parse_and_map failed\n",
122 hcd->regs = devm_ioremap_resource(&op->dev, &res);
156 static int ehci_hcd_grlib_remove(struct platform_device *op) argument
158 struct usb_hcd *hcd = platform_get_drvdata(op);
[all...]
/drivers/md/bcache/
H A Dmovinggc.c17 struct data_insert_op op; member in struct:moving_io
53 if (io->op.replace_collision)
56 bch_keybuf_del(&io->op.c->moving_gc_keys, io->w);
58 up(&io->op.c->moving_in_flight);
70 io->op.error = error;
72 ptr_stale(io->op.c, &b->key, 0)) {
73 io->op.error = -EINTR;
76 bch_bbio_endio(io->op.c, bio, error, "reading data to move");
98 struct data_insert_op *op = &io->op; local
[all...]

Completed in 334 milliseconds

1234567891011>>