Home
last modified time | relevance | path

Searched refs:scope (Results 1 – 25 of 47) sorted by relevance

12

/drivers/acpi/acpica/
Dpsscope.c32 return (parser_state->scope->parse_scope.op); in acpi_ps_get_parent_scope()
53 ((parser_state->aml >= parser_state->scope->parse_scope.arg_end in acpi_ps_has_completed_scope()
54 || !parser_state->scope->parse_scope.arg_count))); in acpi_ps_has_completed_scope()
74 union acpi_generic_state *scope; in acpi_ps_init_scope() local
78 scope = acpi_ut_create_generic_state(); in acpi_ps_init_scope()
79 if (!scope) { in acpi_ps_init_scope()
83 scope->common.descriptor_type = ACPI_DESC_TYPE_STATE_RPSCOPE; in acpi_ps_init_scope()
84 scope->parse_scope.op = root_op; in acpi_ps_init_scope()
85 scope->parse_scope.arg_count = ACPI_VAR_ARGS; in acpi_ps_init_scope()
86 scope->parse_scope.arg_end = parser_state->aml_end; in acpi_ps_init_scope()
[all …]
Ddswscope.c40 walk_state->scope_info = scope_info->scope.next; in acpi_ds_scope_stack_clear()
100 scope_info->scope.node = node; in acpi_ds_scope_stack_push()
114 scope.node), in acpi_ds_scope_stack_push()
123 acpi_ut_get_node_name(scope_info->scope.node), in acpi_ds_scope_stack_push()
164 acpi_ut_get_node_name(scope_info->scope.node), in acpi_ds_scope_stack_pop()
171 scope.node), in acpi_ds_scope_stack_pop()
Dnsconvert.c286 acpi_ns_convert_to_unicode(struct acpi_namespace_node *scope, in acpi_ns_convert_to_unicode() argument
353 acpi_ns_convert_to_resource(struct acpi_namespace_node *scope, in acpi_ns_convert_to_resource() argument
432 acpi_ns_convert_to_reference(struct acpi_namespace_node *scope, in acpi_ns_convert_to_reference() argument
454 scope_info.scope.node = in acpi_ns_convert_to_reference()
455 ACPI_CAST_PTR(struct acpi_namespace_node, scope); in acpi_ns_convert_to_reference()
Dacnamesp.h162 acpi_ns_convert_to_unicode(struct acpi_namespace_node *scope,
167 acpi_ns_convert_to_resource(struct acpi_namespace_node *scope,
172 acpi_ns_convert_to_reference(struct acpi_namespace_node *scope,
Dpsloop.c249 if ((parser_state->scope->parse_scope.op) && in acpi_ps_parse_loop()
250 ((parser_state->scope->parse_scope.op->common. in acpi_ps_parse_loop()
252 || (parser_state->scope->parse_scope.op->common. in acpi_ps_parse_loop()
Dacparser.h79 union acpi_parse_object *acpi_ps_find_name(union acpi_parse_object *scope,
166 union acpi_parse_object *acpi_ps_find(union acpi_parse_object *scope,
Dnsnames.c353 if (prefix_scope && prefix_scope->scope.node) { in acpi_ns_build_prefixed_pathname()
355 acpi_ns_get_normalized_pathname(prefix_scope->scope.node, in acpi_ns_build_prefixed_pathname()
Ddspkginit.c406 scope_info.scope.node = element->reference.node; /* Prefix node */ in acpi_ds_resolve_package_element()
457 scope_info.scope.node->name.ascii)); in acpi_ds_resolve_package_element()
Dnsaccess.c322 if ((!scope_info) || (!scope_info->scope.node)) { in acpi_ns_lookup()
329 prefix_node = scope_info->scope.node; in acpi_ns_lookup()
Dpsparse.c337 parser_state->aml = parser_state->scope->parse_scope.pkg_end; in acpi_ps_next_parse_state()
359 parser_state->aml = parser_state->scope->parse_scope.pkg_end; in acpi_ps_next_parse_state()
Daclocal.h366 scope,
660 struct acpi_scope_state scope; member
894 union acpi_generic_state *scope; /* Current scope */ member
Dexcreate.c272 walk_state->scope_info->scope.node; in acpi_ex_create_region()
/drivers/scsi/aic7xxx/aicasm/
Daicasm_symbol.h168 typedef struct scope { struct
169 SLIST_ENTRY(scope) scope_stack_links;
170 TAILQ_ENTRY(scope) scope_links;
171 TAILQ_HEAD(, scope) inner_scope;
181 SLIST_HEAD(scope_list, scope); argument
182 TAILQ_HEAD(scope_tailq, scope);
Daicasm.c80 static void dump_scope(scope_t *scope);
81 static void emit_patch(scope_t *scope, int patch);
460 dump_scope(scope_t *scope) in dump_scope() argument
467 emit_patch(scope, 0); in dump_scope()
472 cur_scope = TAILQ_FIRST(&scope->inner_scope); in dump_scope()
484 emit_patch(scope, 1); in dump_scope()
488 emit_patch(scope_t *scope, int patch) in emit_patch() argument
493 pinfo = &scope->patches[patch]; in emit_patch()
507 new_patch->patch_func = scope->func_num; in emit_patch()
508 new_patch->begin = scope->begin_addr; in emit_patch()
[all …]
Daicasm.h90 struct scope *scope_alloc(void);
91 void process_scope(struct scope *);
/drivers/iommu/
Ddmar.c82 struct acpi_dmar_device_scope *scope; in dmar_alloc_dev_scope() local
86 scope = start; in dmar_alloc_dev_scope()
87 if (scope->entry_type == ACPI_DMAR_SCOPE_TYPE_NAMESPACE || in dmar_alloc_dev_scope()
88 scope->entry_type == ACPI_DMAR_SCOPE_TYPE_ENDPOINT || in dmar_alloc_dev_scope()
89 scope->entry_type == ACPI_DMAR_SCOPE_TYPE_BRIDGE) in dmar_alloc_dev_scope()
91 else if (scope->entry_type != ACPI_DMAR_SCOPE_TYPE_IOAPIC && in dmar_alloc_dev_scope()
92 scope->entry_type != ACPI_DMAR_SCOPE_TYPE_HPET) { in dmar_alloc_dev_scope()
95 start += scope->length; in dmar_alloc_dev_scope()
217 struct acpi_dmar_device_scope *scope; in dmar_insert_dev_scope() local
223 for (; start < end; start += scope->length) { in dmar_insert_dev_scope()
[all …]
Dintel_irq_remapping.c834 static int ir_parse_one_hpet_scope(struct acpi_dmar_device_scope *scope, in ir_parse_one_hpet_scope() argument
842 bus = scope->bus; in ir_parse_one_hpet_scope()
843 path = (struct acpi_dmar_pci_path *)(scope + 1); in ir_parse_one_hpet_scope()
844 count = (scope->length - sizeof(struct acpi_dmar_device_scope)) in ir_parse_one_hpet_scope()
859 ir_hpet[count].id == scope->enumeration_id) in ir_parse_one_hpet_scope()
870 ir_hpet[free].id = scope->enumeration_id; in ir_parse_one_hpet_scope()
874 scope->enumeration_id, drhd->address); in ir_parse_one_hpet_scope()
879 static int ir_parse_one_ioapic_scope(struct acpi_dmar_device_scope *scope, in ir_parse_one_ioapic_scope() argument
887 bus = scope->bus; in ir_parse_one_ioapic_scope()
888 path = (struct acpi_dmar_pci_path *)(scope + 1); in ir_parse_one_ioapic_scope()
[all …]
/drivers/misc/cxl/
Dflash.c53 static int rcall(int token, char *buf, s32 scope) in rcall() argument
60 rc = rtas_call(token, 2, 1, NULL, rtas_data_buf, scope); in rcall()
106 static int update_node(__be32 phandle, s32 scope) in update_node() argument
134 rc = rcall(token, buf, scope); in update_node()
173 static int update_devicetree(struct cxl *adapter, s32 scope) in update_devicetree() argument
192 rc = rcall(token, buf, scope); in update_devicetree()
212 update_node(phandle, scope); in update_devicetree()
/drivers/target/
Dtarget_core_pr.c2270 core_scsi3_pro_reserve(struct se_cmd *cmd, int type, int scope, u64 res_key) in core_scsi3_pro_reserve() argument
2322 if (scope != PR_SCOPE_LU_SCOPE) { in core_scsi3_pro_reserve()
2323 pr_err("SPC-3 PR: Illegal SCOPE: 0x%02x\n", scope); in core_scsi3_pro_reserve()
2367 (pr_res_holder->pr_res_scope != scope)) { in core_scsi3_pro_reserve()
2400 pr_reg->pr_res_scope = scope; in core_scsi3_pro_reserve()
2426 core_scsi3_emulate_pro_reserve(struct se_cmd *cmd, int type, int scope, in core_scsi3_emulate_pro_reserve() argument
2436 return core_scsi3_pro_reserve(cmd, type, scope, res_key); in core_scsi3_emulate_pro_reserve()
2513 core_scsi3_emulate_pro_release(struct se_cmd *cmd, int type, int scope, in core_scsi3_emulate_pro_release() argument
2596 (pr_res_holder->pr_res_scope != scope)) { in core_scsi3_emulate_pro_release()
2758 int scope, in __core_scsi3_complete_pro_preempt() argument
[all …]
/drivers/acpi/
Dproperty.c55 static bool acpi_enumerate_nondev_subnodes(acpi_handle scope,
84 acpi_handle scope; in acpi_nondev_subnode_extract() local
93 status = acpi_get_parent(handle, &scope); in acpi_nondev_subnode_extract()
95 && acpi_enumerate_nondev_subnodes(scope, desc, &dn->data, in acpi_nondev_subnode_extract()
136 static bool acpi_nondev_subnode_ok(acpi_handle scope, in acpi_nondev_subnode_ok() argument
144 if (!scope) in acpi_nondev_subnode_ok()
147 status = acpi_get_handle(scope, link->package.elements[1].string.pointer, in acpi_nondev_subnode_ok()
155 static int acpi_add_nondev_subnodes(acpi_handle scope, in acpi_add_nondev_subnodes() argument
180 result = acpi_nondev_subnode_ok(scope, link, list, in acpi_add_nondev_subnodes()
203 static bool acpi_enumerate_nondev_subnodes(acpi_handle scope, in acpi_enumerate_nondev_subnodes() argument
[all …]
/drivers/target/iscsi/
Discsi_target_parameters.h19 u8 scope; member
201 #define IS_SCOPE_CONNECTION_ONLY(p) ((p)->scope & SCOPE_CONNECTION_ONLY)
202 #define IS_SCOPE_SESSION_WIDE(p) ((p)->scope & SCOPE_SESSION_WIDE)
Discsi_target_parameters.c119 char *name, char *value, u8 phase, u8 scope, u8 sender, in iscsi_set_default_param() argument
144 param->scope = scope; in iscsi_set_default_param()
579 if (!leading && (param->scope & SCOPE_SESSION_WIDE)) { in iscsi_copy_param_list()
604 new_param->scope = param->scope; in iscsi_copy_param_list()
/drivers/infiniband/core/
Duverbs_uapi.c233 if (def->scope == UAPI_SCOPE_OBJECT) { in uapi_disable_elm()
244 if (def->scope == UAPI_SCOPE_METHOD && in uapi_disable_elm()
256 if (def->scope == UAPI_SCOPE_METHOD && in uapi_disable_elm()
/drivers/infiniband/hw/efa/
Defa_com_cmd.c742 cmd.scope = params->scope; in efa_com_get_stats()
754 cmd.type, cmd.scope, cmd.scope_modifier, err); in efa_com_get_stats()
Defa_com_cmd.h232 u8 scope; member

12