Home
last modified time | relevance | path

Searched refs:access_type (Results 1 – 25 of 48) sorted by relevance

12

/linux/kernel/kcsan/
H A Dreport.c32 int access_type; member
433 get_bug_type(ai->access_type | other_info->ai.access_type), in print_report()
437 pr_err("BUG: KCSAN: %s in %pS\n", get_bug_type(ai->access_type), in print_report()
446 get_access_type(other_info->ai.access_type), other_info->ai.ptr, in print_report()
459 get_access_type(ai->access_type), ai->ptr, ai->size, in print_report()
463 get_access_type(ai->access_type), ai->ptr, ai->size, in print_report()
638 int access_type, unsigned long ip) in prepare_access_info() argument
643 .access_type = access_type, in prepare_access_info()
647 .ip = (access_type & KCSAN_ACCESS_SCOPED) ? ip : 0, in prepare_access_info()
651 void kcsan_report_set_info(const volatile void *ptr, size_t size, int access_type, in kcsan_report_set_info() argument
[all …]
H A Dkcsan.h123 void kcsan_report_set_info(const volatile void *ptr, size_t size, int access_type,
131 void kcsan_report_known_origin(const volatile void *ptr, size_t size, int access_type,
139 void kcsan_report_unknown_origin(const volatile void *ptr, size_t size, int access_type,
H A Dselftest.c125 #define __KCSAN_CHECK_BARRIER(access_type, barrier, name) \ in test_barrier() argument
127 reorder_access->type = (access_type) | KCSAN_ACCESS_SCOPED; \ in test_barrier()
131 pr_err("improperly instrumented type=(" #access_type "): " name "\n"); \ in test_barrier()
/linux/drivers/net/ethernet/mellanox/mlx5/core/fpga/
H A Dsdk.c125 void *buf, enum mlx5_fpga_access_type access_type) in mlx5_fpga_mem_read() argument
129 switch (access_type) { in mlx5_fpga_mem_read()
137 access_type); in mlx5_fpga_mem_read()
146 void *buf, enum mlx5_fpga_access_type access_type) in mlx5_fpga_mem_write() argument
150 switch (access_type) { in mlx5_fpga_mem_write()
158 access_type); in mlx5_fpga_mem_write()
H A Dsdk.h179 void *buf, enum mlx5_fpga_access_type access_type);
197 void *buf, enum mlx5_fpga_access_type access_type);
/linux/sound/soc/sof/
H A Ddebug.c70 dfse->access_type == SOF_DEBUGFS_ACCESS_ALWAYS) { in sof_dfsentry_read()
80 dfse->access_type == SOF_DEBUGFS_ACCESS_D0_ONLY) { in sof_dfsentry_read()
117 enum sof_debugfs_access_type access_type) in snd_sof_debugfs_io_item() argument
132 dfse->access_type = access_type; in snd_sof_debugfs_io_item()
139 if (access_type == SOF_DEBUGFS_ACCESS_D0_ONLY) { in snd_sof_debugfs_io_item()
158 enum sof_debugfs_access_type access_type) in snd_sof_debugfs_add_region_item_iomem() argument
166 access_type); in snd_sof_debugfs_add_region_item_iomem()
367 map->name, map->access_type); in snd_sof_dbg_init()
/linux/arch/mips/pci/
H A Dops-lantiq.c26 static int ltq_pci_config_access(unsigned char access_type, struct pci_bus *bus, in ltq_pci_config_access() argument
46 if (access_type == PCI_ACCESS_WRITE) { in ltq_pci_config_access()
65 if (((*data) == 0xffffffff) && (access_type == PCI_ACCESS_READ)) in ltq_pci_config_access()
H A Dops-loongson2.c32 static int loongson_pcibios_config_access(unsigned char access_type, in loongson_pcibios_config_access() argument
58 switch (access_type) { in loongson_pcibios_config_access()
92 if (access_type == PCI_ACCESS_WRITE) in loongson_pcibios_config_access()
H A Dops-msc.c33 static int msc_pcibios_config_access(unsigned char access_type, in msc_pcibios_config_access() argument
50 if (access_type == PCI_ACCESS_WRITE) in msc_pcibios_config_access()
H A Dops-gt64xxx_pci0.c30 static int gt64xxx_pci0_pcibios_config_access(unsigned char access_type, in gt64xxx_pci0_pcibios_config_access() argument
50 if (access_type == PCI_ACCESS_WRITE) { in gt64xxx_pci0_pcibios_config_access()
H A Dops-bonito64.c24 static int bonito64_pcibios_config_access(unsigned char access_type, in bonito64_pcibios_config_access() argument
60 if (access_type == PCI_ACCESS_WRITE) { in bonito64_pcibios_config_access()
H A Dpci-alchemy.c99 static int config_access(unsigned char access_type, struct pci_bus *bus, in config_access() argument
154 if (access_type == PCI_ACCESS_WRITE) in config_access()
161 access_type, bus->number, device, where, *data, offset); in config_access()
169 access_type, bus->number, device); in config_access()
/linux/tools/testing/selftests/bpf/progs/
H A Ddev_cgroup.c15 short type = ctx->access_type & 0xFFFF; in bpf_prog1()
17 short access = ctx->access_type >> 16; in bpf_prog1()
/linux/arch/x86/events/intel/
H A Duncore_discovery.h77 access_type : 2; member
103 access_type : 2; member
129 enum uncore_access_type access_type; member
H A Duncore_discovery.c84 if (unit->access_type >= UNCORE_ACCESS_MAX) { in add_uncore_discovery_type()
85 pr_warn("Unsupported access type %d\n", unit->access_type); in add_uncore_discovery_type()
95 type->access_type = unit->access_type; in add_uncore_discovery_type()
96 num_discovered_types[type->access_type]++; in add_uncore_discovery_type()
314 if (unit.access_type >= UNCORE_ACCESS_MAX) in __parse_discovery_table()
758 if (type->access_type != type_id) in intel_uncore_generic_init_uncores()
/linux/arch/sh/drivers/pci/
H A Dops-sh7786.c19 static int sh7786_pcie_config_access(unsigned char access_type, in sh7786_pcie_config_access() argument
50 if (access_type == PCI_ACCESS_READ) in sh7786_pcie_config_access()
78 if (access_type == PCI_ACCESS_READ) in sh7786_pcie_config_access()
/linux/drivers/net/ethernet/intel/idpf/
H A Didpf_virtchnl_ptp.c38 enum idpf_ptp_access access_type; in idpf_ptp_get_caps() local
73 access_type = ptp->get_dev_clk_time_access; in idpf_ptp_get_caps()
74 if (access_type != IDPF_PTP_DIRECT) in idpf_ptp_get_caps()
95 access_type = ptp->get_cross_tstamp_access; in idpf_ptp_get_caps()
96 if (access_type != IDPF_PTP_DIRECT) in idpf_ptp_get_caps()
111 access_type = ptp->adj_dev_clk_time_access; in idpf_ptp_get_caps()
112 if (access_type != IDPF_PTP_DIRECT) in idpf_ptp_get_caps()
/linux/drivers/platform/chrome/
H A Dcros_ec_lpc_mec.c79 enum cros_ec_lpc_mec_emi_access_mode access_type) in cros_ec_lpc_mec_emi_write_address() argument
81 outb((addr & 0xfc) | access_type, MEC_EMI_EC_ADDRESS_B0(mec_emi_base)); in cros_ec_lpc_mec_emi_write_address()
/linux/drivers/platform/x86/intel/pmt/
H A Dtelemetry.c86 header->access_type = TELEM_ACCESS(readl(disc_table)); in pmt_telem_header_decode()
98 if (header->size == 0 || header->access_type == 0xF) in pmt_telem_header_decode()
116 ep->header.access_type = entry->header.access_type; in pmt_telem_add_endpoint()
H A Ddiscovery.c45 u32 access_type:4; member
356 if (disc_tbl->size == 0 || disc_tbl->access_type == PMT_ACCESS_TYPE_RSVD) in pmt_feature_get_disc_table()
388 switch (disc_tbl->access_type) { in pmt_feature_get_feature_table()
393 tbir, disc_tbl->access_type); in pmt_feature_get_feature_table()
406 disc_tbl->access_type); in pmt_feature_get_feature_table()
H A Dclass.c226 switch (header->access_type) { in intel_pmt_populate_entry()
231 bir, header->access_type); in intel_pmt_populate_entry()
282 header->access_type); in intel_pmt_populate_entry()
H A Dtelemetry.h13 u8 access_type; member
/linux/drivers/gpu/drm/xe/
H A Dxe_pagefault.c137 xe_pagefault_access_is_atomic(enum xe_pagefault_access_type access_type) in xe_pagefault_access_is_atomic() argument
139 return access_type == XE_PAGEFAULT_ACCESS_TYPE_ATOMIC; in xe_pagefault_access_is_atomic()
190 atomic = xe_pagefault_access_is_atomic(pf->consumer.access_type); in xe_pagefault_service()
237 pf->consumer.access_type, in xe_pagefault_print()
/linux/drivers/platform/x86/intel/
H A Dsdsi.c605 u32 access_type = FIELD_GET(DT_ACCESS_TYPE, disc_table->access_info); in sdsi_map_mbox_registers() local
612 switch (access_type) { in sdsi_map_mbox_registers()
616 tbir, access_type); in sdsi_map_mbox_registers()
632 dev_err(priv->dev, "Unrecognized access_type %u\n", access_type); in sdsi_map_mbox_registers()
/linux/drivers/hwtracing/coresight/
H A Dcoresight-etm4x-core.c1532 u64 access_type = 0; in etm4_get_ns_access_type() local
1541 access_type = ETM_EXLEVEL_NS_HYP; in etm4_get_ns_access_type()
1543 access_type |= ETM_EXLEVEL_NS_OS; in etm4_get_ns_access_type()
1545 access_type = ETM_EXLEVEL_NS_HYP; in etm4_get_ns_access_type()
1549 access_type |= ETM_EXLEVEL_NS_APP; in etm4_get_ns_access_type()
1551 return access_type; in etm4_get_ns_access_type()
1573 u64 access_type = etm4_get_comparator_access_type(config); in etm4_set_comparator_filter() local
1577 config->addr_acc[comparator] = access_type; in etm4_set_comparator_filter()
1582 config->addr_acc[comparator + 1] = access_type; in etm4_set_comparator_filter()
1608 u64 access_type = etm4_get_comparator_access_type(config); in etm4_set_start_stop_filter() local
[all …]

12