Home
last modified time | relevance | path

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

12

/drivers/acpi/acpica/
Dpsscope.c66 return (parser_state->scope->parse_scope.op); in acpi_ps_get_parent_scope()
87 ((parser_state->aml >= parser_state->scope->parse_scope.arg_end in acpi_ps_has_completed_scope()
88 || !parser_state->scope->parse_scope.arg_count))); in acpi_ps_has_completed_scope()
108 union acpi_generic_state *scope; in acpi_ps_init_scope() local
112 scope = acpi_ut_create_generic_state(); in acpi_ps_init_scope()
113 if (!scope) { in acpi_ps_init_scope()
117 scope->common.descriptor_type = ACPI_DESC_TYPE_STATE_RPSCOPE; in acpi_ps_init_scope()
118 scope->parse_scope.op = root_op; in acpi_ps_init_scope()
119 scope->parse_scope.arg_count = ACPI_VAR_ARGS; in acpi_ps_init_scope()
120 scope->parse_scope.arg_end = parser_state->aml_end; in acpi_ps_init_scope()
[all …]
Ddswscope.c74 walk_state->scope_info = scope_info->scope.next; in acpi_ds_scope_stack_clear()
134 scope_info->scope.node = node; in acpi_ds_scope_stack_push()
148 scope.node), in acpi_ds_scope_stack_push()
157 acpi_ut_get_node_name(scope_info->scope.node), in acpi_ds_scope_stack_push()
198 acpi_ut_get_node_name(scope_info->scope.node), in acpi_ds_scope_stack_pop()
206 scope.node), in acpi_ds_scope_stack_pop()
Dnsconvert.c320 acpi_ns_convert_to_unicode(struct acpi_namespace_node *scope, in acpi_ns_convert_to_unicode() argument
387 acpi_ns_convert_to_resource(struct acpi_namespace_node *scope, in acpi_ns_convert_to_resource() argument
466 acpi_ns_convert_to_reference(struct acpi_namespace_node *scope, in acpi_ns_convert_to_reference() argument
488 scope_info.scope.node = in acpi_ns_convert_to_reference()
489 ACPI_CAST_PTR(struct acpi_namespace_node, scope); in acpi_ns_convert_to_reference()
Dacnamesp.h190 acpi_ns_convert_to_unicode(struct acpi_namespace_node *scope,
195 acpi_ns_convert_to_resource(struct acpi_namespace_node *scope,
200 acpi_ns_convert_to_reference(struct acpi_namespace_node *scope,
Dacparser.h113 union acpi_parse_object *acpi_ps_find_name(union acpi_parse_object *scope,
200 union acpi_parse_object *acpi_ps_find(union acpi_parse_object *scope,
Dpsloop.c426 if ((parser_state->scope->parse_scope.op) && in acpi_ps_parse_loop()
427 ((parser_state->scope->parse_scope.op->common. in acpi_ps_parse_loop()
429 || (parser_state->scope->parse_scope.op->common. in acpi_ps_parse_loop()
Dnsaccess.c320 if ((!scope_info) || (!scope_info->scope.node)) { in acpi_ns_lookup()
327 prefix_node = scope_info->scope.node; in acpi_ns_lookup()
Daclocal.h399 scope,
693 struct acpi_scope_state scope; member
854 union acpi_generic_state *scope; /* Current scope */ member
Dpsparse.c370 parser_state->aml = parser_state->scope->parse_scope.pkg_end; in acpi_ps_next_parse_state()
392 parser_state->aml = parser_state->scope->parse_scope.pkg_end; in acpi_ps_next_parse_state()
Dexcreate.c335 walk_state->scope_info->scope.node; in acpi_ex_create_region()
/drivers/staging/lustre/lustre/include/
Dlu_ref.h122 const char *scope, in lu_ref_add() argument
129 const char *scope, in lu_ref_add_atomic() argument
137 const char *scope, in lu_ref_add_at() argument
142 static inline void lu_ref_del(struct lu_ref *ref, const char *scope, in lu_ref_del() argument
148 const char *scope, const void *source0, in lu_ref_set_at() argument
154 const char *scope, const void *source) in lu_ref_del_at() argument
Dlu_object.h847 const char *scope, in lu_object_ref_add() argument
850 lu_ref_add(&o->lo_header->loh_reference, scope, source); in lu_object_ref_add()
855 const char *scope, in lu_object_ref_add_at() argument
858 lu_ref_add_at(&o->lo_header->loh_reference, link, scope, source); in lu_object_ref_add_at()
862 const char *scope, const void *source) in lu_object_ref_del() argument
864 lu_ref_del(&o->lo_header->loh_reference, scope, source); in lu_object_ref_del()
869 const char *scope, const void *source) in lu_object_ref_del_at() argument
871 lu_ref_del_at(&o->lo_header->loh_reference, link, scope, source); in lu_object_ref_del_at()
/drivers/scsi/aic7xxx/aicasm/
Daicasm_symbol.h172 typedef struct scope { struct
173 SLIST_ENTRY(scope) scope_stack_links;
174 TAILQ_ENTRY(scope) scope_links;
175 TAILQ_HEAD(, scope) inner_scope;
185 SLIST_HEAD(scope_list, scope); argument
186 TAILQ_HEAD(scope_tailq, scope);
Daicasm.c80 static void dump_scope(scope_t *scope);
81 static void emit_patch(scope_t *scope, int patch);
461 dump_scope(scope_t *scope) in dump_scope() argument
468 emit_patch(scope, 0); in dump_scope()
473 cur_scope = TAILQ_FIRST(&scope->inner_scope); in dump_scope()
485 emit_patch(scope, 1); in dump_scope()
489 emit_patch(scope_t *scope, int patch) in emit_patch() argument
494 pinfo = &scope->patches[patch]; in emit_patch()
508 new_patch->patch_func = scope->func_num; in emit_patch()
509 new_patch->begin = scope->begin_addr; in emit_patch()
[all …]
Daicasm.h94 struct scope *scope_alloc(void);
95 void process_scope(struct scope *);
/drivers/iommu/
Ddmar.c92 struct acpi_dmar_device_scope *scope; in dmar_alloc_dev_scope() local
96 scope = start; in dmar_alloc_dev_scope()
97 if (scope->entry_type == ACPI_DMAR_SCOPE_TYPE_NAMESPACE || in dmar_alloc_dev_scope()
98 scope->entry_type == ACPI_DMAR_SCOPE_TYPE_ENDPOINT || in dmar_alloc_dev_scope()
99 scope->entry_type == ACPI_DMAR_SCOPE_TYPE_BRIDGE) in dmar_alloc_dev_scope()
101 else if (scope->entry_type != ACPI_DMAR_SCOPE_TYPE_IOAPIC && in dmar_alloc_dev_scope()
102 scope->entry_type != ACPI_DMAR_SCOPE_TYPE_HPET) { in dmar_alloc_dev_scope()
105 start += scope->length; in dmar_alloc_dev_scope()
227 struct acpi_dmar_device_scope *scope; in dmar_insert_dev_scope() local
233 for (; start < end; start += scope->length) { in dmar_insert_dev_scope()
[all …]
Dintel_irq_remapping.c799 static int ir_parse_one_hpet_scope(struct acpi_dmar_device_scope *scope, in ir_parse_one_hpet_scope() argument
807 bus = scope->bus; in ir_parse_one_hpet_scope()
808 path = (struct acpi_dmar_pci_path *)(scope + 1); in ir_parse_one_hpet_scope()
809 count = (scope->length - sizeof(struct acpi_dmar_device_scope)) in ir_parse_one_hpet_scope()
824 ir_hpet[count].id == scope->enumeration_id) in ir_parse_one_hpet_scope()
835 ir_hpet[free].id = scope->enumeration_id; in ir_parse_one_hpet_scope()
839 scope->enumeration_id, drhd->address); in ir_parse_one_hpet_scope()
844 static int ir_parse_one_ioapic_scope(struct acpi_dmar_device_scope *scope, in ir_parse_one_ioapic_scope() argument
852 bus = scope->bus; in ir_parse_one_ioapic_scope()
853 path = (struct acpi_dmar_pci_path *)(scope + 1); in ir_parse_one_ioapic_scope()
[all …]
/drivers/misc/cxl/
Dflash.c52 static int rcall(int token, char *buf, s32 scope) in rcall() argument
59 rc = rtas_call(token, 2, 1, NULL, rtas_data_buf, scope); in rcall()
105 static int update_node(__be32 phandle, s32 scope) in update_node() argument
133 rc = rcall(token, buf, scope); in update_node()
172 static int update_devicetree(struct cxl *adapter, s32 scope) in update_devicetree() argument
191 rc = rcall(token, buf, scope); in update_devicetree()
211 update_node(phandle, scope); in update_devicetree()
/drivers/acpi/
Dproperty.c38 static bool acpi_enumerate_nondev_subnodes(acpi_handle scope,
44 static bool acpi_nondev_subnode_ok(acpi_handle scope, in acpi_nondev_subnode_ok() argument
61 status = acpi_get_handle(scope, link->package.elements[1].string.pointer, in acpi_nondev_subnode_ok()
79 status = acpi_get_parent(handle, &scope); in acpi_nondev_subnode_ok()
81 && acpi_enumerate_nondev_subnodes(scope, buf.pointer, &dn->data)) in acpi_nondev_subnode_ok()
98 static int acpi_add_nondev_subnodes(acpi_handle scope, in acpi_add_nondev_subnodes() argument
113 && acpi_nondev_subnode_ok(scope, link, list)) in acpi_add_nondev_subnodes()
120 static bool acpi_enumerate_nondev_subnodes(acpi_handle scope, in acpi_enumerate_nondev_subnodes() argument
144 return acpi_add_nondev_subnodes(scope, links, &data->subnodes); in acpi_enumerate_nondev_subnodes()
/drivers/target/
Dtarget_core_pr.c2280 core_scsi3_pro_reserve(struct se_cmd *cmd, int type, int scope, u64 res_key) in core_scsi3_pro_reserve() argument
2332 if (scope != PR_SCOPE_LU_SCOPE) { in core_scsi3_pro_reserve()
2333 pr_err("SPC-3 PR: Illegal SCOPE: 0x%02x\n", scope); in core_scsi3_pro_reserve()
2377 (pr_res_holder->pr_res_scope != scope)) { in core_scsi3_pro_reserve()
2410 pr_reg->pr_res_scope = scope; in core_scsi3_pro_reserve()
2436 core_scsi3_emulate_pro_reserve(struct se_cmd *cmd, int type, int scope, in core_scsi3_emulate_pro_reserve() argument
2446 return core_scsi3_pro_reserve(cmd, type, scope, res_key); in core_scsi3_emulate_pro_reserve()
2524 core_scsi3_emulate_pro_release(struct se_cmd *cmd, int type, int scope, in core_scsi3_emulate_pro_release() argument
2607 (pr_res_holder->pr_res_scope != scope)) { in core_scsi3_emulate_pro_release()
2772 int scope, in __core_scsi3_complete_pro_preempt() argument
[all …]
/drivers/target/iscsi/
Discsi_target_parameters.h17 u8 scope; member
194 #define IS_SCOPE_CONNECTION_ONLY(p) ((p)->scope & SCOPE_CONNECTION_ONLY)
195 #define IS_SCOPE_SESSION_WIDE(p) ((p)->scope & SCOPE_SESSION_WIDE)
Discsi_target_parameters.c127 char *name, char *value, u8 phase, u8 scope, u8 sender, in iscsi_set_default_param() argument
152 param->scope = scope; in iscsi_set_default_param()
587 if (!leading && (param->scope & SCOPE_SESSION_WIDE)) { in iscsi_copy_param_list()
612 new_param->scope = param->scope; in iscsi_copy_param_list()
/drivers/lguest/
DREADME19 taste of its scope. Suitable for the armchair coders and other such
/drivers/staging/lustre/lustre/obdclass/
Dobd_config.c467 const char *scope, const void *source) in class_incref() argument
469 lu_ref_add_atomic(&obd->obd_reference, scope, source); in class_incref()
478 void class_decref(struct obd_device *obd, const char *scope, const void *source) in class_decref() argument
487 lu_ref_del(&obd->obd_reference, scope, source); in class_decref()
/drivers/crypto/qat/qat_common/
Dicp_qat_uclo.h289 char scope; member

12