| /kernel/linux/linux-5.10/drivers/gpu/drm/nouveau/nvkm/subdev/bar/ |
| D | base.c | 27 nvkm_bar_flush(struct nvkm_bar *bar) in nvkm_bar_flush() argument 29 if (bar && bar->func->flush) in nvkm_bar_flush() 30 bar->func->flush(bar); in nvkm_bar_flush() 36 return device->bar->func->bar1.vmm(device->bar); in nvkm_bar_bar1_vmm() 42 struct nvkm_bar *bar = device->bar; in nvkm_bar_bar1_reset() local 43 if (bar) { in nvkm_bar_bar1_reset() 44 bar->func->bar1.init(bar); in nvkm_bar_bar1_reset() 45 bar->func->bar1.wait(bar); in nvkm_bar_bar1_reset() 55 struct nvkm_bar *bar = device->bar; in nvkm_bar_bar2_vmm() local 56 if (bar && bar->bar2) in nvkm_bar_bar2_vmm() [all …]
|
| D | nv50.c | 34 struct nv50_bar *bar = nv50_bar(base); in nv50_bar_flush() local 35 struct nvkm_device *device = bar->base.subdev.device; in nv50_bar_flush() 37 spin_lock_irqsave(&bar->base.lock, flags); in nv50_bar_flush() 43 spin_unlock_irqrestore(&bar->base.lock, flags); in nv50_bar_flush() 59 nv50_bar_bar1_fini(struct nvkm_bar *bar) in nv50_bar_bar1_fini() argument 61 nvkm_wr32(bar->subdev.device, 0x001708, 0x00000000); in nv50_bar_bar1_fini() 68 struct nv50_bar *bar = nv50_bar(base); in nv50_bar_bar1_init() local 69 nvkm_wr32(device, 0x001708, 0x80000000 | bar->bar1->node->offset >> 4); in nv50_bar_bar1_init() 79 nv50_bar_bar2_fini(struct nvkm_bar *bar) in nv50_bar_bar2_fini() argument 81 nvkm_wr32(bar->subdev.device, 0x00170c, 0x00000000); in nv50_bar_bar2_fini() [all …]
|
| D | gf100.c | 34 return gf100_bar(base)->bar[1].vmm; in gf100_bar_bar1_vmm() 46 gf100_bar_bar1_fini(struct nvkm_bar *bar) in gf100_bar_bar1_fini() argument 48 nvkm_mask(bar->subdev.device, 0x001704, 0x80000000, 0x00000000); in gf100_bar_bar1_fini() 55 struct gf100_bar *bar = gf100_bar(base); in gf100_bar_bar1_init() local 56 const u32 addr = nvkm_memory_addr(bar->bar[1].inst) >> 12; in gf100_bar_bar1_init() 63 return gf100_bar(base)->bar[0].vmm; in gf100_bar_bar2_vmm() 67 gf100_bar_bar2_fini(struct nvkm_bar *bar) in gf100_bar_bar2_fini() argument 69 nvkm_mask(bar->subdev.device, 0x001714, 0x80000000, 0x00000000); in gf100_bar_bar2_fini() 76 struct gf100_bar *bar = gf100_bar(base); in gf100_bar_bar2_init() local 77 u32 addr = nvkm_memory_addr(bar->bar[0].inst) >> 12; in gf100_bar_bar2_init() [all …]
|
| /kernel/linux/linux-6.6/drivers/gpu/drm/nouveau/nvkm/subdev/bar/ |
| D | base.c | 27 nvkm_bar_flush(struct nvkm_bar *bar) in nvkm_bar_flush() argument 29 if (bar && bar->func->flush) in nvkm_bar_flush() 30 bar->func->flush(bar); in nvkm_bar_flush() 36 return device->bar->func->bar1.vmm(device->bar); in nvkm_bar_bar1_vmm() 42 struct nvkm_bar *bar = device->bar; in nvkm_bar_bar1_reset() local 43 if (bar) { in nvkm_bar_bar1_reset() 44 bar->func->bar1.init(bar); in nvkm_bar_bar1_reset() 45 bar->func->bar1.wait(bar); in nvkm_bar_bar1_reset() 55 struct nvkm_bar *bar = device->bar; in nvkm_bar_bar2_vmm() local 56 if (bar && bar->bar2) in nvkm_bar_bar2_vmm() [all …]
|
| D | nv50.c | 34 struct nv50_bar *bar = nv50_bar(base); in nv50_bar_flush() local 35 struct nvkm_device *device = bar->base.subdev.device; in nv50_bar_flush() 37 spin_lock_irqsave(&bar->base.lock, flags); in nv50_bar_flush() 43 spin_unlock_irqrestore(&bar->base.lock, flags); in nv50_bar_flush() 59 nv50_bar_bar1_fini(struct nvkm_bar *bar) in nv50_bar_bar1_fini() argument 61 nvkm_wr32(bar->subdev.device, 0x001708, 0x00000000); in nv50_bar_bar1_fini() 68 struct nv50_bar *bar = nv50_bar(base); in nv50_bar_bar1_init() local 69 nvkm_wr32(device, 0x001708, 0x80000000 | bar->bar1->node->offset >> 4); in nv50_bar_bar1_init() 79 nv50_bar_bar2_fini(struct nvkm_bar *bar) in nv50_bar_bar2_fini() argument 81 nvkm_wr32(bar->subdev.device, 0x00170c, 0x00000000); in nv50_bar_bar2_fini() [all …]
|
| D | gf100.c | 34 return gf100_bar(base)->bar[1].vmm; in gf100_bar_bar1_vmm() 46 gf100_bar_bar1_fini(struct nvkm_bar *bar) in gf100_bar_bar1_fini() argument 48 nvkm_mask(bar->subdev.device, 0x001704, 0x80000000, 0x00000000); in gf100_bar_bar1_fini() 55 struct gf100_bar *bar = gf100_bar(base); in gf100_bar_bar1_init() local 56 const u32 addr = nvkm_memory_addr(bar->bar[1].inst) >> 12; in gf100_bar_bar1_init() 63 return gf100_bar(base)->bar[0].vmm; in gf100_bar_bar2_vmm() 67 gf100_bar_bar2_fini(struct nvkm_bar *bar) in gf100_bar_bar2_fini() argument 69 nvkm_mask(bar->subdev.device, 0x001714, 0x80000000, 0x00000000); in gf100_bar_bar2_fini() 76 struct gf100_bar *bar = gf100_bar(base); in gf100_bar_bar2_init() local 77 u32 addr = nvkm_memory_addr(bar->bar[0].inst) >> 12; in gf100_bar_bar2_init() [all …]
|
| /kernel/linux/linux-5.10/drivers/net/ethernet/netronome/nfp/nfpcore/ |
| D | nfp6000_pcie.c | 15 * abstraction builds upon this BAR interface. 97 #define NFP_PCIE_P2C_FIXED_SIZE(bar) (1 << (bar)->bitsize) argument 98 #define NFP_PCIE_P2C_BULK_SIZE(bar) (1 << (bar)->bitsize) argument 99 #define NFP_PCIE_P2C_GENERAL_TARGET_OFFSET(bar, x) ((x) << ((bar)->bitsize - 2)) argument 100 #define NFP_PCIE_P2C_GENERAL_TOKEN_OFFSET(bar, x) ((x) << ((bar)->bitsize - 4)) argument 101 #define NFP_PCIE_P2C_GENERAL_SIZE(bar) (1 << ((bar)->bitsize - 4)) argument 103 #define NFP_PCIE_CFG_BAR_PCIETOCPPEXPANSIONBAR(bar, slot) \ argument 104 (0x400 + ((bar) * 8 + (slot)) * 4) 106 #define NFP_PCIE_CPP_BAR_PCIETOCPPEXPANSIONBAR(bar, slot) \ argument 107 (((bar) * 8 + (slot)) * 4) [all …]
|
| /kernel/linux/linux-6.6/drivers/net/ethernet/netronome/nfp/nfpcore/ |
| D | nfp6000_pcie.c | 15 * abstraction builds upon this BAR interface. 98 #define NFP_PCIE_P2C_FIXED_SIZE(bar) (1 << (bar)->bitsize) argument 99 #define NFP_PCIE_P2C_BULK_SIZE(bar) (1 << (bar)->bitsize) argument 100 #define NFP_PCIE_P2C_GENERAL_TARGET_OFFSET(bar, x) ((x) << ((bar)->bitsize - 2)) argument 101 #define NFP_PCIE_P2C_GENERAL_TOKEN_OFFSET(bar, x) ((x) << ((bar)->bitsize - 4)) argument 102 #define NFP_PCIE_P2C_GENERAL_SIZE(bar) (1 << ((bar)->bitsize - 4)) argument 116 * struct nfp_bar - describes BAR configuration and usage 118 * @barcfg: cached contents of BAR config CSR 119 * @base: the BAR's base CPP offset 120 * @mask: mask for the BAR aperture (read only) [all …]
|
| /kernel/linux/linux-5.10/lib/ |
| D | pci_iomap.c | 14 * pci_iomap_range - create a virtual mapping cookie for a PCI BAR 15 * @dev: PCI device that owns the BAR 16 * @bar: BAR number 17 * @offset: map memory at the given offset in BAR 20 * Using this function you will get a __iomem address to your device BAR. 26 * the complete BAR from offset to the end, pass %0 here. 29 int bar, in pci_iomap_range() argument 33 resource_size_t start = pci_resource_start(dev, bar); in pci_iomap_range() 34 resource_size_t len = pci_resource_len(dev, bar); in pci_iomap_range() 35 unsigned long flags = pci_resource_flags(dev, bar); in pci_iomap_range() [all …]
|
| /kernel/linux/linux-6.6/lib/ |
| D | pci_iomap.c | 14 * pci_iomap_range - create a virtual mapping cookie for a PCI BAR 15 * @dev: PCI device that owns the BAR 16 * @bar: BAR number 17 * @offset: map memory at the given offset in BAR 20 * Using this function you will get a __iomem address to your device BAR. 26 * the complete BAR from offset to the end, pass %0 here. 29 int bar, in pci_iomap_range() argument 33 resource_size_t start = pci_resource_start(dev, bar); in pci_iomap_range() 34 resource_size_t len = pci_resource_len(dev, bar); in pci_iomap_range() 35 unsigned long flags = pci_resource_flags(dev, bar); in pci_iomap_range() [all …]
|
| /kernel/linux/linux-6.6/drivers/pci/controller/cadence/ |
| D | pcie-cadence-host.c | 185 * Set the root complex BAR configuration register: in cdns_pcie_host_init_root_port() 219 enum cdns_pcie_rp_bar bar, in cdns_pcie_host_bar_ib_config() argument 226 if (!rc->avail_ib_bar[bar]) in cdns_pcie_host_bar_ib_config() 229 rc->avail_ib_bar[bar] = false; in cdns_pcie_host_bar_ib_config() 235 cdns_pcie_writel(pcie, CDNS_PCIE_AT_IB_RP_BAR_ADDR0(bar), addr0); in cdns_pcie_host_bar_ib_config() 236 cdns_pcie_writel(pcie, CDNS_PCIE_AT_IB_RP_BAR_ADDR1(bar), addr1); in cdns_pcie_host_bar_ib_config() 238 if (bar == RP_NO_BAR) in cdns_pcie_host_bar_ib_config() 242 value &= ~(LM_RC_BAR_CFG_CTRL_MEM_64BITS(bar) | in cdns_pcie_host_bar_ib_config() 243 LM_RC_BAR_CFG_CTRL_PREF_MEM_64BITS(bar) | in cdns_pcie_host_bar_ib_config() 244 LM_RC_BAR_CFG_CTRL_MEM_32BITS(bar) | in cdns_pcie_host_bar_ib_config() [all …]
|
| /kernel/linux/linux-5.10/drivers/pci/controller/cadence/ |
| D | pcie-cadence-host.c | 177 * Set the root complex BAR configuration register: in cdns_pcie_host_init_root_port() 211 enum cdns_pcie_rp_bar bar, in cdns_pcie_host_bar_ib_config() argument 218 if (!rc->avail_ib_bar[bar]) in cdns_pcie_host_bar_ib_config() 221 rc->avail_ib_bar[bar] = false; in cdns_pcie_host_bar_ib_config() 227 cdns_pcie_writel(pcie, CDNS_PCIE_AT_IB_RP_BAR_ADDR0(bar), addr0); in cdns_pcie_host_bar_ib_config() 228 cdns_pcie_writel(pcie, CDNS_PCIE_AT_IB_RP_BAR_ADDR1(bar), addr1); in cdns_pcie_host_bar_ib_config() 230 if (bar == RP_NO_BAR) in cdns_pcie_host_bar_ib_config() 234 value &= ~(LM_RC_BAR_CFG_CTRL_MEM_64BITS(bar) | in cdns_pcie_host_bar_ib_config() 235 LM_RC_BAR_CFG_CTRL_PREF_MEM_64BITS(bar) | in cdns_pcie_host_bar_ib_config() 236 LM_RC_BAR_CFG_CTRL_MEM_32BITS(bar) | in cdns_pcie_host_bar_ib_config() [all …]
|
| /kernel/linux/linux-5.10/tools/testing/selftests/bpf/prog_tests/ |
| D | cgroup_attach_override.c | 8 #define BAR "/foo/bar/" macro 28 int drop_prog = -1, allow_prog = -1, foo = -1, bar = -1; in test_cgroup_attach_override() local 55 bar = test__join_cgroup(BAR); in test_cgroup_attach_override() 56 if (CHECK(bar < 0, "cgroup_join_bar", "cgroup setup failed\n")) in test_cgroup_attach_override() 63 if (CHECK(bpf_prog_attach(allow_prog, bar, BPF_CGROUP_INET_EGRESS, in test_cgroup_attach_override() 66 "attach prog to %s failed, errno=%d\n", BAR, errno)) in test_cgroup_attach_override() 72 if (CHECK(bpf_prog_detach(bar, BPF_CGROUP_INET_EGRESS), in test_cgroup_attach_override() 74 "detach prog from %s failed, errno=%d\n", BAR, errno)) in test_cgroup_attach_override() 81 if (CHECK(bpf_prog_attach(allow_prog, bar, BPF_CGROUP_INET_EGRESS, in test_cgroup_attach_override() 84 "attach prog to %s failed, errno=%d\n", BAR, errno)) in test_cgroup_attach_override() [all …]
|
| /kernel/linux/linux-6.6/tools/testing/selftests/bpf/prog_tests/ |
| D | cgroup_attach_override.c | 8 #define BAR "/foo/bar/" macro 28 int drop_prog = -1, allow_prog = -1, foo = -1, bar = -1; in serial_test_cgroup_attach_override() local 55 bar = test__join_cgroup(BAR); in serial_test_cgroup_attach_override() 56 if (CHECK(bar < 0, "cgroup_join_bar", "cgroup setup failed\n")) in serial_test_cgroup_attach_override() 63 if (CHECK(bpf_prog_attach(allow_prog, bar, BPF_CGROUP_INET_EGRESS, in serial_test_cgroup_attach_override() 66 "attach prog to %s failed, errno=%d\n", BAR, errno)) in serial_test_cgroup_attach_override() 72 if (CHECK(bpf_prog_detach(bar, BPF_CGROUP_INET_EGRESS), in serial_test_cgroup_attach_override() 74 "detach prog from %s failed, errno=%d\n", BAR, errno)) in serial_test_cgroup_attach_override() 81 if (CHECK(bpf_prog_attach(allow_prog, bar, BPF_CGROUP_INET_EGRESS, in serial_test_cgroup_attach_override() 84 "attach prog to %s failed, errno=%d\n", BAR, errno)) in serial_test_cgroup_attach_override() [all …]
|
| /kernel/linux/linux-5.10/drivers/net/ethernet/sfc/ |
| D | ef100.c | 37 unsigned int bar; member 71 u32 bar = ef100_pci_get_bar_bits(efx, entry_location, EF100_BAR); in ef100_pci_parse_ef100_entry() local 74 "Found EF100 function control window bar=%d offset=0x%llx\n", in ef100_pci_parse_ef100_entry() 75 bar, offset); in ef100_pci_parse_ef100_entry() 83 if (bar == ESE_GZ_CFGBAR_EF100_BAR_NUM_EXPANSION_ROM || in ef100_pci_parse_ef100_entry() 84 bar == ESE_GZ_CFGBAR_EF100_BAR_NUM_INVALID) { in ef100_pci_parse_ef100_entry() 86 "Bad BAR value of %d in Xilinx capabilities EF100 entry.\n", in ef100_pci_parse_ef100_entry() 87 bar); in ef100_pci_parse_ef100_entry() 91 result->bar = bar; in ef100_pci_parse_ef100_entry() 97 static bool ef100_pci_does_bar_overflow(struct efx_nic *efx, int bar, in ef100_pci_does_bar_overflow() argument [all …]
|
| /kernel/linux/linux-6.6/drivers/net/ethernet/sfc/ |
| D | ef100.c | 37 unsigned int bar; member 71 u32 bar = ef100_pci_get_bar_bits(efx, entry_location, EF100_BAR); in ef100_pci_parse_ef100_entry() local 74 "Found EF100 function control window bar=%d offset=0x%llx\n", in ef100_pci_parse_ef100_entry() 75 bar, offset); in ef100_pci_parse_ef100_entry() 83 if (bar == ESE_GZ_CFGBAR_EF100_BAR_NUM_EXPANSION_ROM || in ef100_pci_parse_ef100_entry() 84 bar == ESE_GZ_CFGBAR_EF100_BAR_NUM_INVALID) { in ef100_pci_parse_ef100_entry() 86 "Bad BAR value of %d in Xilinx capabilities EF100 entry.\n", in ef100_pci_parse_ef100_entry() 87 bar); in ef100_pci_parse_ef100_entry() 91 result->bar = bar; in ef100_pci_parse_ef100_entry() 97 static bool ef100_pci_does_bar_overflow(struct efx_nic *efx, int bar, in ef100_pci_does_bar_overflow() argument [all …]
|
| /kernel/linux/linux-5.10/samples/trace_events/ |
| D | trace-events-sample.h | 70 * Here it is trace_foo_bar(char *foo, int bar). 73 * Here it is simply "foo, bar". 94 * __field_struct(struct bar, foo) 96 * __entry->bar.x = y; 108 * memcpy(__entry->foo, bar, 10); 119 * __dynamic_array( int, foo, bar) is similar to: int foo[bar]; 124 * memcpy(__get_dynamic_array(foo), bar, 10); 135 * __string(foo, bar) is similar to: strcpy(foo, bar) 139 * __assign_str(foo, bar); 153 * __assign_bitmask(target_cpus, cpumask_bits(bar), nr_cpumask_bits); [all …]
|
| /kernel/linux/linux-6.6/samples/trace_events/ |
| D | trace-events-sample.h | 70 * Here it is trace_foo_bar(char *foo, int bar). 73 * Here it is simply "foo, bar". 94 * __field_struct(struct bar, foo) 96 * __entry->bar.x = y; 108 * memcpy(__entry->foo, bar, 10); 119 * __dynamic_array( int, foo, bar) is similar to: int foo[bar]; 124 * memcpy(__get_dynamic_array(foo), bar, 10); 135 * __string(foo, bar) is similar to: strcpy(foo, bar) 139 * __assign_str(foo, bar); 175 * __string_len(foo, bar, len) [all …]
|
| /kernel/linux/linux-5.10/drivers/xen/xen-pciback/ |
| D | conf_space_header.c | 129 struct pci_bar_info *bar = data; in rom_write() local 131 if (unlikely(!bar)) { in rom_write() 140 bar->which = 1; in rom_write() 144 if (tmpval != bar->val && value == bar->val) { in rom_write() 145 /* Allow restoration of bar value. */ in rom_write() 146 pci_write_config_dword(dev, offset, bar->val); in rom_write() 148 bar->which = 0; in rom_write() 162 struct pci_bar_info *bar = data; in bar_write() local 167 if (unlikely(!bar)) { in bar_write() 182 bar->which = 1; in bar_write() [all …]
|
| /kernel/linux/linux-5.10/drivers/pci/endpoint/ |
| D | pci-epf-core.c | 76 * @bar: the BAR number corresponding to the register space 80 void pci_epf_free_space(struct pci_epf *epf, void *addr, enum pci_barno bar) in pci_epf_free_space() argument 87 dma_free_coherent(dev, epf->bar[bar].size, addr, in pci_epf_free_space() 88 epf->bar[bar].phys_addr); in pci_epf_free_space() 90 epf->bar[bar].phys_addr = 0; in pci_epf_free_space() 91 epf->bar[bar].addr = NULL; in pci_epf_free_space() 92 epf->bar[bar].size = 0; in pci_epf_free_space() 93 epf->bar[bar].barno = 0; in pci_epf_free_space() 94 epf->bar[bar].flags = 0; in pci_epf_free_space() 102 * @bar: the BAR number corresponding to the allocated register space [all …]
|
| /kernel/linux/linux-5.10/arch/powerpc/platforms/powernv/ |
| D | pci-sriov.c | 18 * the PHB maps MMIO addresses to a specific PE using the "Memory BAR Table". 27 * For a SR-IOV BAR things are a little more awkward since size and alignment 28 * are not coupled. The alignment is set based on the the per-VF BAR size, but 29 * the total BAR area is: number-of-vfs * per-vf-size. The number of VFs 31 * we need to finesse (read: hack) the Linux BAR allocator so that it will 36 * so as a baseline we can assume that we have the following BAR modes 41 * a) A segmented BAR that splits the mapped range into $PE_COUNT equally sized 43 * b) An un-segmented BAR that maps the whole address range to a specific PE. 46 * We prefer to use mode a) since it only requires one MBT entry per SR-IOV BAR 47 * For comparison b) requires one entry per-VF per-BAR, or: [all …]
|
| /kernel/linux/linux-6.6/arch/powerpc/platforms/powernv/ |
| D | pci-sriov.c | 15 * the PHB maps MMIO addresses to a specific PE using the "Memory BAR Table". 24 * For a SR-IOV BAR things are a little more awkward since size and alignment 25 * are not coupled. The alignment is set based on the per-VF BAR size, but 26 * the total BAR area is: number-of-vfs * per-vf-size. The number of VFs 28 * we need to finesse (read: hack) the Linux BAR allocator so that it will 33 * so as a baseline we can assume that we have the following BAR modes 38 * a) A segmented BAR that splits the mapped range into $PE_COUNT equally sized 40 * b) An un-segmented BAR that maps the whole address range to a specific PE. 43 * We prefer to use mode a) since it only requires one MBT entry per SR-IOV BAR 44 * For comparison b) requires one entry per-VF per-BAR, or: [all …]
|
| /kernel/linux/linux-6.6/drivers/xen/xen-pciback/ |
| D | conf_space_header.c | 129 struct pci_bar_info *bar = data; in rom_write() local 131 if (unlikely(!bar)) { in rom_write() 140 bar->which = 1; in rom_write() 144 if (tmpval != bar->val && value == bar->val) { in rom_write() 145 /* Allow restoration of bar value. */ in rom_write() 146 pci_write_config_dword(dev, offset, bar->val); in rom_write() 148 bar->which = 0; in rom_write() 162 struct pci_bar_info *bar = data; in bar_write() local 167 if (unlikely(!bar)) { in bar_write() 182 bar->which = 1; in bar_write() [all …]
|
| /kernel/linux/linux-6.6/drivers/dma/dw-edma/ |
| D | dw-edma-pcie.c | 28 .bar = a, \ 34 enum pci_barno bar; member 57 .rg.bar = BAR_0, 62 /* Channel 0 - BAR 2, offset 0 Mbytes, size 2 Kbytes */ 64 /* Channel 1 - BAR 2, offset 2 Mbytes, size 2 Kbytes */ 68 /* Channel 0 - BAR 2, offset 4 Mbytes, size 2 Kbytes */ 70 /* Channel 1 - BAR 2, offset 6 Mbytes, size 2 Kbytes */ 75 /* Channel 0 - BAR 2, offset 8 Mbytes, size 2 Kbytes */ 77 /* Channel 1 - BAR 2, offset 9 Mbytes, size 2 Kbytes */ 81 /* Channel 0 - BAR 2, offset 10 Mbytes, size 2 Kbytes */ [all …]
|
| /kernel/linux/linux-6.6/sound/soc/sof/ |
| D | ops.h | 183 * snd_sof_dsp_get_bar_index - Maps a section type with a BAR index 188 * Returns the corresponding BAR index (a positive integer) or -EINVAL 305 static inline void snd_sof_dsp_write8(struct snd_sof_dev *sdev, u32 bar, in snd_sof_dsp_write8() argument 309 sof_ops(sdev)->write8(sdev, sdev->bar[bar] + offset, value); in snd_sof_dsp_write8() 311 writeb(value, sdev->bar[bar] + offset); in snd_sof_dsp_write8() 314 static inline void snd_sof_dsp_write(struct snd_sof_dev *sdev, u32 bar, in snd_sof_dsp_write() argument 318 sof_ops(sdev)->write(sdev, sdev->bar[bar] + offset, value); in snd_sof_dsp_write() 320 writel(value, sdev->bar[bar] + offset); in snd_sof_dsp_write() 323 static inline void snd_sof_dsp_write64(struct snd_sof_dev *sdev, u32 bar, in snd_sof_dsp_write64() argument 327 sof_ops(sdev)->write64(sdev, sdev->bar[bar] + offset, value); in snd_sof_dsp_write64() [all …]
|