Home
last modified time | relevance | path

Searched refs:scope (Results 1 – 25 of 46) 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.c349 if (prefix_scope && prefix_scope->scope.node) { in acpi_ns_build_prefixed_pathname()
351 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.c321 if ((!scope_info) || (!scope_info->scope.node)) { in acpi_ns_lookup()
328 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,
667 struct acpi_scope_state scope; member
901 union acpi_generic_state *scope; /* Current scope */ member
/drivers/counter/
Dcounter-sysfs.c32 enum counter_scope scope; member
94 switch (a->scope) { in counter_comp_u8_show()
135 switch (a->scope) { in counter_comp_u8_store()
163 switch (a->scope) { in counter_comp_u32_show()
254 switch (a->scope) { in counter_comp_u32_store()
285 switch (a->scope) { in counter_comp_u64_show()
317 switch (a->scope) { in counter_comp_u64_store()
427 const enum counter_scope scope, in counter_attr_create() argument
439 counter_attr->scope = scope; in counter_attr_create()
544 const enum counter_scope scope = COUNTER_SCOPE_SIGNAL; in counter_signal_attrs_create() local
[all …]
/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/intel/
Dirq_remapping.c857 static int ir_parse_one_hpet_scope(struct acpi_dmar_device_scope *scope, in ir_parse_one_hpet_scope() argument
865 bus = scope->bus; in ir_parse_one_hpet_scope()
866 path = (struct acpi_dmar_pci_path *)(scope + 1); in ir_parse_one_hpet_scope()
867 count = (scope->length - sizeof(struct acpi_dmar_device_scope)) in ir_parse_one_hpet_scope()
882 ir_hpet[count].id == scope->enumeration_id) in ir_parse_one_hpet_scope()
893 ir_hpet[free].id = scope->enumeration_id; in ir_parse_one_hpet_scope()
897 scope->enumeration_id, drhd->address); in ir_parse_one_hpet_scope()
902 static int ir_parse_one_ioapic_scope(struct acpi_dmar_device_scope *scope, in ir_parse_one_ioapic_scope() argument
910 bus = scope->bus; in ir_parse_one_ioapic_scope()
911 path = (struct acpi_dmar_pci_path *)(scope + 1); in ir_parse_one_ioapic_scope()
[all …]
Ddmar.c85 struct acpi_dmar_device_scope *scope; in dmar_alloc_dev_scope() local
89 scope = start; in dmar_alloc_dev_scope()
90 if (scope->entry_type == ACPI_DMAR_SCOPE_TYPE_NAMESPACE || in dmar_alloc_dev_scope()
91 scope->entry_type == ACPI_DMAR_SCOPE_TYPE_ENDPOINT || in dmar_alloc_dev_scope()
92 scope->entry_type == ACPI_DMAR_SCOPE_TYPE_BRIDGE) in dmar_alloc_dev_scope()
94 else if (scope->entry_type != ACPI_DMAR_SCOPE_TYPE_IOAPIC && in dmar_alloc_dev_scope()
95 scope->entry_type != ACPI_DMAR_SCOPE_TYPE_HPET) { in dmar_alloc_dev_scope()
98 start += scope->length; in dmar_alloc_dev_scope()
225 struct acpi_dmar_device_scope *scope; in dmar_insert_dev_scope() local
231 for (; start < end; start += scope->length) { in dmar_insert_dev_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.c2271 core_scsi3_pro_reserve(struct se_cmd *cmd, int type, int scope, u64 res_key) in core_scsi3_pro_reserve() argument
2321 if (scope != PR_SCOPE_LU_SCOPE) { in core_scsi3_pro_reserve()
2322 pr_err("SPC-3 PR: Illegal SCOPE: 0x%02x\n", scope); in core_scsi3_pro_reserve()
2366 (pr_res_holder->pr_res_scope != scope)) { in core_scsi3_pro_reserve()
2399 pr_reg->pr_res_scope = scope; in core_scsi3_pro_reserve()
2425 core_scsi3_emulate_pro_reserve(struct se_cmd *cmd, int type, int scope, in core_scsi3_emulate_pro_reserve() argument
2435 return core_scsi3_pro_reserve(cmd, type, scope, res_key); in core_scsi3_emulate_pro_reserve()
2511 core_scsi3_emulate_pro_release(struct se_cmd *cmd, int type, int scope, in core_scsi3_emulate_pro_release() argument
2594 (pr_res_holder->pr_res_scope != scope)) { in core_scsi3_emulate_pro_release()
2756 int scope, in __core_scsi3_complete_pro_preempt() argument
[all …]
/drivers/acpi/
Dproperty.c58 static bool acpi_enumerate_nondev_subnodes(acpi_handle scope,
87 acpi_handle scope; in acpi_nondev_subnode_extract() local
96 status = acpi_get_parent(handle, &scope); in acpi_nondev_subnode_extract()
98 && acpi_enumerate_nondev_subnodes(scope, desc, &dn->data, in acpi_nondev_subnode_extract()
139 static bool acpi_nondev_subnode_ok(acpi_handle scope, in acpi_nondev_subnode_ok() argument
147 if (!scope) in acpi_nondev_subnode_ok()
150 status = acpi_get_handle(scope, link->package.elements[1].string.pointer, in acpi_nondev_subnode_ok()
158 static bool acpi_add_nondev_subnodes(acpi_handle scope, in acpi_add_nondev_subnodes() argument
183 result = acpi_nondev_subnode_ok(scope, link, list, in acpi_add_nondev_subnodes()
206 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
198 #define IS_SCOPE_CONNECTION_ONLY(p) ((p)->scope & SCOPE_CONNECTION_ONLY)
199 #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/scsi/qla2xxx/
Dqla_inline.h278 u8 scope; in qla2x00_set_retry_delay_timestamp() local
290 scope = (sts_qual & SQ_SCOPE_MASK) >> SQ_SCOPE_SHIFT; in qla2x00_set_retry_delay_timestamp()
292 if (scope != 1 && scope != 2) in qla2x00_set_retry_delay_timestamp()
/drivers/firmware/xilinx/
Dzynqmp.c1145 struct zynqmp_pm_shutdown_scope *scope; in shutdown_scope_store() local
1147 scope = zynqmp_pm_is_shutdown_scope_valid(buf); in shutdown_scope_store()
1148 if (!scope) in shutdown_scope_store()
1152 scope->subtype); in shutdown_scope_store()
1158 selected_scope = scope; in shutdown_scope_store()
/drivers/infiniband/core/
Duverbs_uapi.c230 if (def->scope == UAPI_SCOPE_OBJECT) { in uapi_disable_elm()
241 if (def->scope == UAPI_SCOPE_METHOD && in uapi_disable_elm()
253 if (def->scope == UAPI_SCOPE_METHOD && in uapi_disable_elm()

12