/drivers/acpi/acpica/ |
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 | psutils.c | 60 * DESCRIPTION: Create a Scope and associated namepath op with the root name 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 (default) is by far the most common (16 to 1) */ 142 op 172 acpi_ps_free_op(union acpi_parse_object *op) argument 216 acpi_ps_get_name(union acpi_parse_object * op) argument 234 acpi_ps_set_name(union acpi_parse_object *op, u32 name) 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; 122 * DESCRIPTION: Append an argument to an op's argument list (a NULL arg is OK) 127 acpi_ps_append_arg(union acpi_parse_object *op, union acpi_parse_object *arg) argument 134 if (!op) { 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 | dswload.c | 111 * out_op - Where to return op if a new one is created 123 union acpi_parse_object *op; local 132 op = walk_state->op; 133 ACPI_DEBUG_PRINT((ACPI_DB_DISPATCH, "Op=%p State=%p\n", op, 138 if (op) { 140 *out_op = op; 146 if (op->common.node) { 147 *out_op = op; 159 "State=%p Op=%p [%s]\n", walk_state, op, 392 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 360 union acpi_parse_object *op; local [all...] |
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; 358 union acpi_parse_object *op; local [all...] |
H A D | psloop.c | 71 union acpi_parse_object **op); 79 u8 * aml_op_start, union acpi_parse_object *op); 83 union acpi_parse_object **op, acpi_status status); 87 union acpi_parse_object *op, acpi_status status); 182 union acpi_parse_object **op) 227 walk_state->op = NULL; 229 status = walk_state->descending_callback(walk_state, op); 235 if (!*op) { 239 status = acpi_ps_next_parse_state(walk_state, *op, status); 247 acpi_ps_append_arg(*op, unnamed_o 179 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 288 union acpi_parse_object *op; local 392 acpi_ps_get_arguments(struct acpi_walk_state *walk_state, u8 * aml_op_start, union acpi_parse_object *op) argument 692 acpi_ps_complete_op(struct acpi_walk_state *walk_state, union acpi_parse_object **op, acpi_status status) argument 867 acpi_ps_complete_final_op(struct acpi_walk_state *walk_state, union acpi_parse_object *op, acpi_status status) argument 977 union acpi_parse_object *op = NULL; /* current op */ local [all...] |
H A D | psparse.c | 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->common.parent->common. 185 * op mus 133 acpi_ps_complete_this_op(struct acpi_walk_state * walk_state, union acpi_parse_object * op) argument 325 acpi_ps_next_parse_state(struct acpi_walk_state *walk_state, union acpi_parse_object *op, acpi_status callback_status) argument [all...] |
H A D | dscontrol.c | 69 union acpi_parse_object *op) 77 op, op->common.aml_opcode, walk_state)); 79 switch (op->common.aml_opcode) { 121 control_state->control.opcode = op->common.aml_opcode; 167 union acpi_parse_object * op) 174 switch (op->common.aml_opcode) { 177 ACPI_DEBUG_PRINT((ACPI_DB_DISPATCH, "[IF_OP] Op=%p\n", op)); 201 ACPI_DEBUG_PRINT((ACPI_DB_DISPATCH, "[WHILE_OP] Op=%p\n", op)); 234 "[WHILE_OP] termination! Op=%p\n", op)); 68 acpi_ds_exec_begin_control_op(struct acpi_walk_state *walk_state, union acpi_parse_object *op) argument 166 acpi_ds_exec_end_control_op(struct acpi_walk_state * walk_state, union acpi_parse_object * op) argument [all...] |
H A D | acparser.h | 105 union acpi_parse_object *acpi_ps_get_parent(union acpi_parse_object *op); 127 union acpi_parse_object *op); 131 union acpi_parse_object *op, 153 union acpi_parse_object **op, 158 union acpi_parse_object *op, 167 acpi_ps_append_arg(union acpi_parse_object *op, union acpi_parse_object *arg); 172 union acpi_parse_object *acpi_ps_get_arg(union acpi_parse_object *op, u32 argn); 176 union acpi_parse_object *op); 195 union acpi_parse_object *op, 207 void acpi_ps_init_op(union acpi_parse_object *op, u1 [all...] |
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; 187 * Op - Where the popped op i 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 | dsobject.c | 58 union acpi_parse_object *op, 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->common.parent->common.aml_opcode == 135 ACPI_ERROR_NAMESPACE(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...] |
H A D | acdispat.h | 70 union acpi_parse_object *op); 74 union acpi_parse_object *op); 81 union acpi_parse_object *op); 85 union acpi_parse_object *op); 89 union acpi_parse_object *op); 93 union acpi_parse_object *op, 98 union acpi_parse_object *op); 119 acpi_ds_create_field(union acpi_parse_object *op, 124 acpi_ds_create_bank_field(union acpi_parse_object *op, 129 acpi_ds_create_index_field(union acpi_parse_object *op, [all...] |
H A D | dsutils.c | 170 acpi_ds_is_result_used(union acpi_parse_object * op, argument 175 ACPI_FUNCTION_TRACE_PTR(ds_is_result_used, op); 179 if (!op) { 204 if ((!op->common.parent) || 205 (op->common.parent->common.aml_opcode == AML_SCOPE_OP)) { 211 acpi_ps_get_opcode_name(op->common. 219 acpi_ps_get_opcode_info(op->common.parent->common.aml_opcode); 221 ACPI_ERROR((AE_INFO, "Unknown parent opcode Op=%p", op)); 234 switch (op->common.parent->common.aml_opcode) { 245 * If we are executing the predicate AND this is the predicate op, 340 acpi_ds_delete_result_if_not_used(union acpi_parse_object *op, union acpi_operand_object *result_obj, struct acpi_walk_state *walk_state) argument 786 union acpi_parse_object *op = walk_state->op; local [all...] |
/drivers/crypto/ |
H A D | geode-aes.c | 70 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 309 struct geode_aes_op *op = crypto_blkcipher_ctx(desc->tfm); local 341 struct geode_aes_op *op = crypto_blkcipher_ctx(desc->tfm); local 370 struct geode_aes_op *op = crypto_tfm_ctx(tfm); local 385 struct geode_aes_op *op = crypto_tfm_ctx(tfm); local 423 struct geode_aes_op *op = crypto_blkcipher_ctx(desc->tfm); local 453 struct geode_aes_op *op = crypto_blkcipher_ctx(desc->tfm); local [all...] |
/drivers/xen/xen-pciback/ |
H A D | pciback_ops.c | 135 struct pci_dev *dev, struct xen_pci_op *op) 149 op->value = 0; 156 op->value = dev->irq ? xen_pirq_from_irq(dev->irq) : 0; 159 op->value); 170 struct pci_dev *dev, struct xen_pci_op *op) 179 op->value = dev->irq ? xen_pirq_from_irq(dev->irq) : 0; 182 op->value); 191 struct pci_dev *dev, struct xen_pci_op *op) 200 if (op->value > SH_INFO_MAX_VEC) 203 entries = kmalloc(op 134 xen_pcibk_enable_msi(struct xen_pcibk_device *pdev, struct pci_dev *dev, struct xen_pci_op *op) argument 169 xen_pcibk_disable_msi(struct xen_pcibk_device *pdev, struct pci_dev *dev, struct xen_pci_op *op) argument 190 xen_pcibk_enable_msix(struct xen_pcibk_device *pdev, struct pci_dev *dev, struct xen_pci_op *op) argument 241 xen_pcibk_disable_msix(struct xen_pcibk_device *pdev, struct pci_dev *dev, struct xen_pci_op *op) argument 297 struct xen_pci_op *op = &pdev->sh_info->op; local [all...] |
/drivers/sbus/char/ |
H A D | openprom.c | 143 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...] |
H A D | bbc_i2c.c | 54 static void set_device_claimage(struct bbc_i2c_bus *bp, struct platform_device *op, int val) argument 59 if (bp->devs[i].device == op) { 71 struct platform_device *op = NULL; local 75 if (!(op = bp->devs[i].device)) 79 op = NULL; 85 return op; 89 struct bbc_i2c_client *bbc_i2c_attach(struct bbc_i2c_bus *bp, struct platform_device *op) argument 98 client->op = op; 100 reg = of_get_property(op 117 struct platform_device *op = client->op; local 294 attach_one_i2c(struct platform_device *op, int index) argument 358 bbc_i2c_probe(struct platform_device *op) argument 382 bbc_i2c_remove(struct platform_device *op) argument [all...] |
/drivers/video/omap2/dss/ |
H A D | apply.c | 140 struct ovl_priv_data *op; local 142 op = &dss_data.ovl_priv_data_array[i]; 144 op->info.global_alpha = 255; 148 op->info.zorder = 0; 151 op->info.zorder = 155 op->info.zorder = 159 op->info.zorder = 164 op->user_info = op->info; 185 struct ovl_priv_data *op; local 265 struct ovl_priv_data *op; local 304 struct ovl_priv_data *op; local 324 struct ovl_priv_data *op; local 447 struct ovl_priv_data *op; local 515 struct ovl_priv_data *op = get_ovl_priv(ovl); local 555 struct ovl_priv_data *op = get_ovl_priv(ovl); local 692 struct ovl_priv_data *op; local 824 struct ovl_priv_data *op; local 884 struct ovl_priv_data *op; local 898 struct ovl_priv_data *op = get_ovl_priv(ovl); local 920 struct ovl_priv_data *op = get_ovl_priv(ovl); local 989 struct ovl_priv_data *op; local 1232 struct ovl_priv_data *op = get_ovl_priv(ovl); local 1253 struct ovl_priv_data *op = get_ovl_priv(ovl); local 1266 struct ovl_priv_data *op = get_ovl_priv(ovl); local 1322 struct ovl_priv_data *op = get_ovl_priv(ovl); local 1360 struct ovl_priv_data *op = get_ovl_priv(ovl); local 1375 struct ovl_priv_data *op = get_ovl_priv(ovl); local 1444 struct ovl_priv_data *op = get_ovl_priv(ovl); local [all...] |
/drivers/net/wireless/brcm80211/brcmsmac/phy/ |
H A D | phy_qmath.h | 32 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/block/paride/ |
H A D | on20.c | 27 #define op(f) w2(4);w0(f);w2(5);w2(0xd);w2(5);w2(0xd);w2(5);w2(4); macro 42 op(1); vl(r); op(0); 65 op(1); vl(r); 66 op(0); vl(val); 67 op(0); vl(val); 76 if (pi->mode) { op(2); vl(8); op(2); vl(9); } 77 else { op(2); vl(0); op( [all...] |
/drivers/mtd/maps/ |
H A D | sun_uflash.c | 51 int uflash_devinit(struct platform_device *op, struct device_node *dp) argument 55 if (op->resource[1].flags) { 60 dp->full_name, (unsigned long long)op->resource[0].start); 74 up->map.size = resource_size(&op->resource[0]); 80 up->map.phys = op->resource[0].start; 82 up->map.virt = of_ioremap(&op->resource[0], 0, up->map.size, 96 of_iounmap(&op->resource[0], up->map.virt, up->map.size); 106 dev_set_drvdata(&op->dev, up); 111 static int __devinit uflash_probe(struct platform_device *op) argument 113 struct device_node *dp = op 124 uflash_remove(struct platform_device *op) argument [all...] |
/drivers/tty/vt/ |
H A D | vt_ioctl.c | 201 do_fontx_ioctl(int cmd, struct consolefontdesc __user *user_cfd, int perm, struct console_font_op *op) argument 213 op->op = KD_FONT_OP_SET; 214 op->flags = KD_FONT_FLAG_OLD; 215 op->width = 8; 216 op->height = cfdarg.charheight; 217 op->charcount = cfdarg.charcount; 218 op->data = cfdarg.chardata; 219 return con_font_op(vc_cons[fg_console].d, op); 221 op 274 struct console_font_op op; /* used in multiple places here */ local 1060 compat_fontx_ioctl(int cmd, struct compat_consolefontdesc __user *user_cfd, int perm, struct console_font_op *op) argument 1100 compat_uint_t op; /* operation code KD_FONT_OP_* */ member in struct:compat_console_font_op 1108 compat_kdfontop_ioctl(struct compat_console_font_op __user *fontop, int perm, struct console_font_op *op, struct vc_data *vc) argument 1163 struct console_font_op op; /* used in multiple places here */ local [all...] |
/drivers/media/dvb/frontends/ |
H A D | mt352.c | 171 struct dtv_frontend_properties *op = &fe->dtv_property_cache; local 178 switch (op->code_rate_HP) { 198 switch (op->code_rate_LP) { 215 if (op->hierarchy == HIERARCHY_AUTO || 216 op->hierarchy == HIERARCHY_NONE) 222 switch (op->modulation) { 236 switch (op->transmission_mode) { 247 switch (op->guard_interval) { 264 switch (op->hierarchy) { 290 mt352_calc_nominal_rate(state, op 316 struct dtv_frontend_properties *op = &fe->dtv_property_cache; local [all...] |
/drivers/xen/ |
H A D | gntalloc.c | 119 static int add_grefs(struct ioctl_gntalloc_alloc_gref *op, argument 127 readonly = !(op->flags & GNTALLOC_FLAG_WRITABLE); 129 for (i = 0; i < op->count; i++) { 136 gref->file_index = op->index + i * PAGE_SIZE; 142 gref->gref_id = gnttab_grant_foreign_access(op->domid, 161 gref_size -= (op->count - i); 283 struct ioctl_gntalloc_alloc_gref op; local 288 if (copy_from_user(&op, arg, sizeof(op))) { 293 gref_ids = kcalloc(op 346 struct ioctl_gntalloc_dealloc_gref op; local 384 struct ioctl_gntalloc_unmap_notify op; local [all...] |