/drivers/acpi/acpica/ |
H A D | dscontrol.c | 59 * 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 D | pswalk.c | 3 * 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 D | dsargs.c | 82 union acpi_parse_object *op; local 87 /* Allocate a new parser op to be the root of the parsed tree */ 89 op = acpi_ps_alloc_op(AML_INT_EVAL_SUBTREE_OP); 90 if (!op) { 96 op->common.node = scope_node; 106 status = acpi_ds_init_aml_walk(walk_state, op, NULL, aml_start, 127 op->common.node = node; 128 acpi_ps_delete_parse_tree(op); 132 op = acpi_ps_alloc_op(AML_INT_EVAL_SUBTREE_OP); 133 if (!op) { [all...] |
H A D | dswload.c | 131 * 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 D | dswload2.c | 61 * 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 D | psopinfo.c | 168 const struct acpi_opcode_info *op; local 170 op = acpi_ps_get_opcode_info(opcode); 174 return (op->name);
|
H A D | psscope.c | 59 * 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 D | pstree.c | 3 * 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 D | psutils.c | 60 * 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 D | psxface.c | 218 union acpi_parse_object *op; local 259 op = acpi_ps_create_scope_op(); 260 if (!op) { 276 status = acpi_ds_init_aml_walk(walk_state, op, info->node, 327 acpi_ps_delete_parse_tree(op);
|
H A D | dswexec.c | 109 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 D | psloop.c | 64 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 D | psobject.c | 161 * 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...] |
/drivers/xen/ |
H A D | fallback.c | 10 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 D | dbgp.c | 9 static int xen_dbgp_op(struct usb_hcd *hcd, int op) argument 19 dbgp.op = op;
|
H A D | acpi.c | 44 struct xen_platform_op op = { local 61 HYPERVISOR_dom0_op(&op);
|
/drivers/media/common/b2c2/ |
H A D | flexcop-eeprom.c | 107 flexcop_access_op_t op, u16 addr, u8 *buf, u16 len, int retries) 112 ret = fc->i2c_request(&fc->fc_i2c_adap[1], op, chipaddr, 106 flexcop_eeprom_request(struct flexcop_device *fc, flexcop_access_op_t op, u16 addr, u8 *buf, u16 len, int retries) argument
|
/drivers/scsi/libfc/ |
H A D | fc_elsct.c | 38 * @op: The operational code 44 struct fc_frame *fp, unsigned int op, 55 if ((op >= ELS_LS_RJT) && (op <= ELS_AUTH_ELS)) 56 rc = fc_els_fill(lport, did, fp, op, &r_ctl, &fh_type); 59 rc = fc_ct_fill(lport, did, fp, op, &r_ctl, &fh_type, &did); 43 fc_elsct_send(struct fc_lport *lport, u32 did, struct fc_frame *fp, unsigned int op, void (*resp)(struct fc_seq *, struct fc_frame *, void *), void *arg, u32 timer_msec) argument
|
/drivers/usb/host/ |
H A D | ehci-grlib.c | 85 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...] |
H A D | ehci-ppc-of.c | 93 static int ehci_hcd_ppc_of_probe(struct platform_device *op) argument 95 struct device_node *dn = op->dev.of_node; 107 dev_dbg(&op->dev, "initializing PPC-OF USB Controller\n"); 113 hcd = usb_create_hcd(&ehci_ppc_of_hc_driver, &op->dev, "PPC-OF USB"); 122 dev_err(&op->dev, "%s: irq_of_parse_and_map failed\n", 128 hcd->regs = devm_ioremap_resource(&op->dev, &res); 140 devm_ioremap(&op->dev, 185 static int ehci_hcd_ppc_of_remove(struct platform_device *op) argument 187 struct usb_hcd *hcd = platform_get_drvdata(op); 193 dev_dbg(&op [all...] |
H A D | ehci-xilinx-of.c | 123 * @op: pointer to the platform_device bound to the host controller 130 static int ehci_hcd_xilinx_of_probe(struct platform_device *op) argument 132 struct device_node *dn = op->dev.of_node; 143 dev_dbg(&op->dev, "initializing XILINX-OF USB Controller\n"); 149 hcd = usb_create_hcd(&ehci_xilinx_of_hc_driver, &op->dev, 159 dev_err(&op->dev, "%s: irq_of_parse_and_map failed\n", 165 hcd->regs = devm_ioremap_resource(&op->dev, &res); 209 * @op: pointer to platform_device structure that is to be removed 214 static int ehci_hcd_xilinx_of_remove(struct platform_device *op) argument 216 struct usb_hcd *hcd = platform_get_drvdata(op); [all...] |
H A D | ohci-ppc-of.c | 86 static int ohci_hcd_ppc_of_probe(struct platform_device *op) argument 88 struct device_node *dn = op->dev.of_node; 105 dev_dbg(&op->dev, "initializing PPC-OF USB Controller\n"); 111 hcd = usb_create_hcd(&ohci_ppc_of_hc_driver, &op->dev, "PPC-OF USB"); 118 hcd->regs = devm_ioremap_resource(&op->dev, &res); 126 dev_err(&op->dev, "%s: irq_of_parse_and_map failed\n", 180 static int ohci_hcd_ppc_of_remove(struct platform_device *op) argument 182 struct usb_hcd *hcd = platform_get_drvdata(op); 184 dev_dbg(&op->dev, "stopping PPC-OF USB Controller\n");
|
H A D | uhci-grlib.c | 89 static int uhci_hcd_grlib_probe(struct platform_device *op) argument 91 struct device_node *dn = op->dev.of_node; 101 dev_dbg(&op->dev, "initializing GRUSBHC UHCI USB Controller\n"); 108 op->dev.dma_mask = &op->dev.coherent_dma_mask; 109 hcd = usb_create_hcd(&uhci_grlib_hc_driver, &op->dev, 124 hcd->regs = devm_ioremap_resource(&op->dev, &res); 149 static int uhci_hcd_grlib_remove(struct platform_device *op) argument 151 struct usb_hcd *hcd = platform_get_drvdata(op); 153 dev_dbg(&op 170 uhci_hcd_grlib_shutdown(struct platform_device *op) argument [all...] |
H A D | uhci-platform.c | 131 static void uhci_hcd_platform_shutdown(struct platform_device *op) argument 133 struct usb_hcd *hcd = platform_get_drvdata(op);
|
/drivers/vfio/ |
H A D | vfio_spapr_eeh.c | 38 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) {
|