Home
last modified time | relevance | path

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

123

/drivers/acpi/acpica/
A Dpsscope.c79 if (!scope) { in acpi_ps_init_scope()
89 parser_state->scope = scope; in acpi_ps_init_scope()
120 if (!scope) { in acpi_ps_push_scope()
125 scope->parse_scope.op = op; in acpi_ps_push_scope()
132 acpi_ut_push_generic_state(&parser_state->scope, scope); in acpi_ps_push_scope()
168 union acpi_generic_state *scope = parser_state->scope; in acpi_ps_pop_scope() local
174 if (scope->common.next) { in acpi_ps_pop_scope()
175 scope = acpi_ut_pop_generic_state(&parser_state->scope); in acpi_ps_pop_scope()
179 *op = scope->parse_scope.op; in acpi_ps_pop_scope()
225 while (parser_state->scope) { in acpi_ps_cleanup_scope()
[all …]
A 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()
A 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()
A 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,
A 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()
A 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,
A 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()
A 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()
/drivers/gpu/drm/amd/amdkfd/
A Dcwsr_trap_handler_gfx12.asm473 buffer_store_dword v2, v0, s_save_buf_rsrc0, s_save_mem_offset scope:SCOPE_SYS
509 buffer_store_dword v2, v0, s_save_buf_rsrc0, s_save_mem_offset scope:SCOPE_SYS
528 buffer_store_dword v2, v0, s_save_buf_rsrc0, s_save_mem_offset scope:SCOPE_SYS
585 buffer_store_dword v1, v0, s_save_buf_rsrc0, s_save_mem_offset scope:SCOPE_SYS
603 buffer_store_dword v1, v0, s_save_buf_rsrc0, s_save_mem_offset scope:SCOPE_SYS
651 buffer_store_dword v0, v0, s_save_buf_rsrc0, s_save_mem_offset scope:SCOPE_SYS
677 buffer_store_dword v0, v0, s_save_buf_rsrc0, s_save_mem_offset scope:SCOPE_SYS
1081 s_buffer_load_dword s, s_rsrc, s_mem_offset scope:SCOPE_SYS
1087 s_buffer_load_dwordx16 s, s_rsrc, s_mem_offset scope:SCOPE_SYS
1092 s_buffer_load_dwordx8 s, s_rsrc, s_mem_offset scope:SCOPE_SYS
[all …]
/drivers/counter/
A Dcounter-sysfs.c113 switch (a->scope) { in counter_comp_u8_show()
154 switch (a->scope) { in counter_comp_u8_store()
182 switch (a->scope) { in counter_comp_u32_show()
279 switch (a->scope) { in counter_comp_u32_store()
310 switch (a->scope) { in counter_comp_u64_show()
342 switch (a->scope) { in counter_comp_u64_store()
421 switch (a->scope) { in counter_comp_array_u64_show()
457 switch (a->scope) { in counter_comp_array_u64_store()
583 counter_attr->scope = scope; in counter_attr_create()
1085 scope, NULL); in counter_sysfs_attr_add()
[all …]
A Dcounter-chrdev.c285 switch (watch.component.scope) { in counter_add_watch()
326 if (watch.component.scope != COUNTER_SCOPE_COUNT) in counter_add_watch()
333 if (watch.component.scope != COUNTER_SCOPE_COUNT) in counter_add_watch()
488 const enum counter_scope scope, in counter_get_array_data() argument
499 if (scope != COUNTER_SCOPE_SIGNAL) in counter_get_array_data()
506 switch (scope) { in counter_get_array_data()
528 const enum counter_scope scope = comp_node->component.scope; in counter_get_data() local
545 switch (scope) { in counter_get_data()
566 switch (scope) { in counter_get_data()
583 switch (scope) { in counter_get_data()
[all …]
/drivers/scsi/aic7xxx/aicasm/
A 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);
A Daicasm.c80 static void dump_scope(scope_t *scope);
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()
511 new_patch->begin = scope->end_addr; in emit_patch()
[all …]
A Daicasm.h90 struct scope *scope_alloc(void);
91 void process_scope(struct scope *);
/drivers/iommu/intel/
A Dirq_remapping.c836 bus = scope->bus; in ir_parse_one_hpet_scope()
837 path = (struct acpi_dmar_pci_path *)(scope + 1); in ir_parse_one_hpet_scope()
853 ir_hpet[count].id == scope->enumeration_id) in ir_parse_one_hpet_scope()
864 ir_hpet[free].id = scope->enumeration_id; in ir_parse_one_hpet_scope()
868 scope->enumeration_id, drhd->address); in ir_parse_one_hpet_scope()
881 bus = scope->bus; in ir_parse_one_ioapic_scope()
882 path = (struct acpi_dmar_pci_path *)(scope + 1); in ir_parse_one_ioapic_scope()
911 ir_ioapic[free].id = scope->enumeration_id; in ir_parse_one_ioapic_scope()
923 struct acpi_dmar_device_scope *scope; in ir_parse_ioapic_hpet_scope() local
931 scope = start; in ir_parse_ioapic_hpet_scope()
[all …]
A Ddmar.c84 struct acpi_dmar_device_scope *scope; in dmar_alloc_dev_scope() local
88 scope = start; in dmar_alloc_dev_scope()
97 start += scope->length; in dmar_alloc_dev_scope()
222 struct acpi_dmar_device_scope *scope; in dmar_insert_dev_scope() local
229 scope = start; in dmar_insert_dev_scope()
235 level = (scope->length - sizeof(*scope)) / sizeof(*path); in dmar_insert_dev_scope()
733 struct acpi_dmar_device_scope *scope; in dmar_acpi_insert_dev_scope() local
743 for (scope = (void *)(drhd + 1); in dmar_acpi_insert_dev_scope()
745 scope = ((void *)scope) + scope->length) { in dmar_acpi_insert_dev_scope()
751 path = (void *)(scope + 1); in dmar_acpi_insert_dev_scope()
[all …]
/drivers/usb/typec/ucsi/
A Dpsy.c37 u8 scope = POWER_SUPPLY_SCOPE_UNKNOWN; in ucsi_psy_get_scope() local
40 device_property_read_u8(dev, "scope", &scope); in ucsi_psy_get_scope()
41 if (scope == POWER_SUPPLY_SCOPE_UNKNOWN) { in ucsi_psy_get_scope()
46 scope = POWER_SUPPLY_SCOPE_SYSTEM; in ucsi_psy_get_scope()
48 scope = POWER_SUPPLY_SCOPE_DEVICE; in ucsi_psy_get_scope()
50 val->intval = scope; in ucsi_psy_get_scope()
/drivers/fwctl/pds/
A Dmain.c257 switch (entries[i].scope) { in pdsfc_get_operations()
261 entries[i].scope = FWCTL_RPC_CONFIGURATION; in pdsfc_get_operations()
264 entries[i].scope = FWCTL_RPC_DEBUG_READ_ONLY; in pdsfc_get_operations()
267 entries[i].scope = FWCTL_RPC_DEBUG_WRITE; in pdsfc_get_operations()
270 entries[i].scope = FWCTL_RPC_DEBUG_WRITE_FULL; in pdsfc_get_operations()
274 ep, le32_to_cpu(entries[i].id), entries[i].scope); in pdsfc_get_operations()
282 enum fwctl_rpc_scope scope) in pdsfc_validate_rpc() argument
338 if (scope < op_entry[i].scope) in pdsfc_validate_rpc()
349 static void *pdsfc_fw_rpc(struct fwctl_uctx *uctx, enum fwctl_rpc_scope scope, in pdsfc_fw_rpc() argument
364 err = pdsfc_validate_rpc(pdsfc, rpc, scope); in pdsfc_fw_rpc()
/drivers/acpi/
A Dproperty.c104 acpi_handle scope; in acpi_nondev_subnode_extract() local
113 status = acpi_get_parent(handle, &scope); in acpi_nondev_subnode_extract()
156 static bool acpi_nondev_subnode_ok(acpi_handle scope, in acpi_nondev_subnode_ok() argument
164 if (!scope) in acpi_nondev_subnode_ok()
175 static bool acpi_add_nondev_subnodes(acpi_handle scope, in acpi_add_nondev_subnodes() argument
200 result = acpi_nondev_subnode_ok(scope, link, list, in acpi_add_nondev_subnodes()
524 acpi_data_add_buffer_props(scope, data, properties); in acpi_extract_properties()
850 acpi_handle scope, handle; in acpi_parse_string_ref() local
856 scope = to_acpi_device_node(fwnode)->handle; in acpi_parse_string_ref()
858 scope = to_acpi_data_node(fwnode)->handle; in acpi_parse_string_ref()
[all …]
/drivers/fwctl/mlx5/
A Dmain.c177 static bool mlx5ctl_validate_rpc(const void *in, enum fwctl_rpc_scope scope) in mlx5ctl_validate_rpc() argument
284 return scope >= FWCTL_RPC_DEBUG_READ_ONLY; in mlx5ctl_validate_rpc()
287 return scope >= FWCTL_RPC_DEBUG_WRITE; in mlx5ctl_validate_rpc()
293 return scope >= FWCTL_RPC_DEBUG_READ_ONLY; in mlx5ctl_validate_rpc()
299 static void *mlx5ctl_fw_rpc(struct fwctl_uctx *uctx, enum fwctl_rpc_scope scope, in mlx5ctl_fw_rpc() argument
317 if (!mlx5ctl_validate_rpc(rpc_in, scope)) in mlx5ctl_fw_rpc()
/drivers/target/
A Dtarget_core_pr.c2314 if (scope != PR_SCOPE_LU_SCOPE) { in core_scsi3_pro_reserve()
2392 pr_reg->pr_res_scope = scope; in core_scsi3_pro_reserve()
2749 int scope, in __core_scsi3_complete_pro_preempt() argument
2769 pr_reg->pr_res_scope = scope; in __core_scsi3_complete_pro_preempt()
2842 if (scope != PR_SCOPE_LU_SCOPE) { in core_scsi3_pro_preempt()
2962 type, scope, preempt_type); in core_scsi3_pro_preempt()
3068 type, scope, preempt_type); in core_scsi3_pro_preempt()
3434 scope = pr_res_holder->pr_res_type; in core_scsi3_emulate_pro_register_and_move()
3490 pr_reg->pr_res_scope = scope; in core_scsi3_emulate_pro_register_and_move()
3587 int sa, scope, type, aptpl; in target_scsi3_emulate_pr_out() local
[all …]
/drivers/net/wireless/ath/ath12k/
A Dwow.c637 u32 count = 0, scope; in ath12k_wow_prepare_ns_offload() local
658 scope = ipv6_addr_src_scope(&ifa6->addr); in ath12k_wow_prepare_ns_offload()
659 if (scope != IPV6_ADDR_SCOPE_LINKLOCAL && in ath12k_wow_prepare_ns_offload()
660 scope != IPV6_ADDR_SCOPE_GLOBAL) { in ath12k_wow_prepare_ns_offload()
662 "Unsupported ipv6 scope: %d\n", scope); in ath12k_wow_prepare_ns_offload()
671 scope); in ath12k_wow_prepare_ns_offload()
685 scope = ipv6_addr_src_scope(&ifaca6->aca_addr); in ath12k_wow_prepare_ns_offload()
686 if (scope != IPV6_ADDR_SCOPE_LINKLOCAL && in ath12k_wow_prepare_ns_offload()
687 scope != IPV6_ADDR_SCOPE_GLOBAL) { in ath12k_wow_prepare_ns_offload()
689 "Unsupported ipv scope: %d\n", scope); in ath12k_wow_prepare_ns_offload()
[all …]
/drivers/cxl/core/
A Dfeatures.c540 enum fwctl_rpc_scope scope) in cxlctl_validate_set_features() argument
592 if (effects & imm_mask && scope >= FWCTL_RPC_DEBUG_WRITE_FULL) in cxlctl_validate_set_features()
600 if (!(effects & imm_mask) && scope >= FWCTL_RPC_DEBUG_WRITE) in cxlctl_validate_set_features()
608 enum fwctl_rpc_scope scope, in cxlctl_validate_hw_command() argument
620 return cxlctl_validate_set_features(cxlfs, rpc_in, scope); in cxlctl_validate_hw_command()
642 static void *cxlctl_fw_rpc(struct fwctl_uctx *uctx, enum fwctl_rpc_scope scope, in cxlctl_fw_rpc() argument
651 if (!cxlctl_validate_hw_command(cxlfs, rpc_in, scope, opcode)) in cxlctl_fw_rpc()
/drivers/target/iscsi/
A Discsi_target_parameters.h19 u8 scope; member
195 #define IS_SCOPE_CONNECTION_ONLY(p) ((p)->scope & SCOPE_CONNECTION_ONLY)
196 #define IS_SCOPE_SESSION_WIDE(p) ((p)->scope & SCOPE_SESSION_WIDE)
/drivers/scsi/qla2xxx/
A 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()

Completed in 58 milliseconds

123