Home
last modified time | relevance | path

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

12

/linux/kernel/kcsan/
H A Dreport.c32 int access_type; member
437 get_bug_type(ai->access_type | other_info->ai.access_type), in print_report()
441 pr_err("BUG: KCSAN: %s in %pS\n", get_bug_type(ai->access_type), in print_report()
450 get_access_type(other_info->ai.access_type), other_info->ai.ptr, in print_report()
463 get_access_type(ai->access_type), ai->ptr, ai->size, in print_report()
467 get_access_type(ai->access_type), ai->ptr, ai->size, in print_report()
643 int access_type, unsigned long ip) in prepare_access_info()
648 .access_type = access_type, in prepare_access_info()
638 prepare_access_info(const volatile void * ptr,size_t size,int access_type,unsigned long ip) prepare_access_info() argument
651 kcsan_report_set_info(const volatile void * ptr,size_t size,int access_type,unsigned long ip,int watchpoint_idx) kcsan_report_set_info() argument
666 kcsan_report_known_origin(const volatile void * ptr,size_t size,int access_type,unsigned long ip,enum kcsan_value_change value_change,int watchpoint_idx,u64 old,u64 new,u64 mask) kcsan_report_known_origin() argument
700 kcsan_report_unknown_origin(const volatile void * ptr,size_t size,int access_type,unsigned long ip,u64 old,u64 new,u64 mask) kcsan_report_unknown_origin() 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()
372 map->name, map->access_type); in snd_sof_dbg_init()
H A Dipc4-telemetry.c89 dfse->access_type = SOF_DEBUGFS_ACCESS_ALWAYS; in sof_ipc4_create_exception_debugfs_node()
/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/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
72 access_type = ptp->get_dev_clk_time_access; in idpf_ptp_get_caps()
73 if (access_type != IDPF_PTP_DIRECT) in idpf_ptp_get_caps()
94 access_type = ptp->get_cross_tstamp_access; in idpf_ptp_get_caps()
95 if (access_type != IDPF_PTP_DIRECT) in idpf_ptp_get_caps()
110 access_type = ptp->adj_dev_clk_time_access; in idpf_ptp_get_caps()
111 if (access_type != IDPF_PTP_DIRECT) in idpf_ptp_get_caps()
/linux/arch/x86/events/intel/
H A Duncore_discovery.c66 if (unit->access_type >= UNCORE_ACCESS_MAX) { in add_uncore_discovery_type()
67 pr_warn("Unsupported access type %d\n", unit->access_type); in add_uncore_discovery_type()
77 type->access_type = unit->access_type; in add_uncore_discovery_type()
78 num_discovered_types[type->access_type]++; in add_uncore_discovery_type()
300 if (unit.access_type >= UNCORE_ACCESS_MAX) in __parse_discovery_table()
754 if (type->access_type != type_id) in intel_uncore_generic_init_uncores()
/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 Dtelemetry.h13 u8 access_type; member
H A Dclass.h38 u8 access_type; member
/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/acpi/acpica/
H A Dpsargs.c465 u8 access_type; in acpi_ps_get_next_field() local
570 access_type = ACPI_GET8(parser_state->aml); in acpi_ps_get_next_field()
575 field->common.value.integer = (u8)access_type; in acpi_ps_get_next_field()
/linux/arch/mips/sgi-ip32/
H A Dip32-platform.c118 .access_type = ds1685_reg_direct,

12