Home
last modified time | relevance | path

Searched refs:bar (Results 1 – 25 of 412) sorted by relevance

12345678910>>...17

/linux-6.3-rc2/drivers/gpu/drm/nouveau/nvkm/subdev/bar/
A Dbase.c29 if (bar && bar->func->flush) in nvkm_bar_flush()
30 bar->func->flush(bar); in nvkm_bar_flush()
44 bar->func->bar1.init(bar); in nvkm_bar_bar1_reset()
45 bar->func->bar1.wait(bar); in nvkm_bar_bar1_reset()
56 if (bar && bar->bar2) in nvkm_bar_bar2_vmm()
65 if (bar && bar->bar2) { in nvkm_bar_bar2_reset()
66 bar->func->bar2.init(bar); in nvkm_bar_bar2_reset()
67 bar->func->bar2.wait(bar); in nvkm_bar_bar2_reset()
75 if (bar && bar->bar2) { in nvkm_bar_bar2_fini()
85 if (bar && bar->subdev.oneinit && !bar->bar2 && bar->func->bar2.init) { in nvkm_bar_bar2_init()
[all …]
A Dnv50.c119 ret = nvkm_gpuobj_new(device, bar->pgd_addr, 0, false, bar->mem, in nv50_bar_oneinit()
141 bar->bar2_vmm->debug = bar->base.subdev.debug; in nv50_bar_oneinit()
147 ret = nvkm_vmm_join(bar->bar2_vmm, bar->mem->memory); in nv50_bar_oneinit()
151 ret = nvkm_gpuobj_new(device, 24, 16, false, bar->mem, &bar->bar2); in nv50_bar_oneinit()
181 bar->bar1_vmm->debug = bar->base.subdev.debug; in nv50_bar_oneinit()
183 ret = nvkm_vmm_join(bar->bar1_vmm, bar->mem->memory); in nv50_bar_oneinit()
207 if (bar->mem) { in nv50_bar_dtor()
209 nvkm_vmm_part(bar->bar1_vmm, bar->mem->memory); in nv50_bar_dtor()
212 nvkm_vmm_part(bar->bar2_vmm, bar->mem->memory); in nv50_bar_dtor()
218 return bar; in nv50_bar_dtor()
[all …]
A Dgf100.c77 u32 addr = nvkm_memory_addr(bar->bar[0].inst) >> 12; in gf100_bar_bar2_init()
132 ret = gf100_bar_oneinit_bar(bar, &bar->bar[0], &bar2_lock, 3); in gf100_bar_oneinit()
141 ret = gf100_bar_oneinit_bar(bar, &bar->bar[1], &bar1_lock, 1); in gf100_bar_oneinit()
153 nvkm_vmm_part(bar->bar[1].vmm, bar->bar[1].inst); in gf100_bar_dtor()
154 nvkm_vmm_unref(&bar->bar[1].vmm); in gf100_bar_dtor()
155 nvkm_memory_unref(&bar->bar[1].inst); in gf100_bar_dtor()
157 nvkm_vmm_part(bar->bar[0].vmm, bar->bar[0].inst); in gf100_bar_dtor()
158 nvkm_vmm_unref(&bar->bar[0].vmm); in gf100_bar_dtor()
159 nvkm_memory_unref(&bar->bar[0].inst); in gf100_bar_dtor()
160 return bar; in gf100_bar_dtor()
[all …]
A Dtu102.c28 tu102_bar_bar2_wait(struct nvkm_bar *bar) in tu102_bar_bar2_wait() argument
30 struct nvkm_device *device = bar->subdev.device; in tu102_bar_bar2_wait()
38 tu102_bar_bar2_fini(struct nvkm_bar *bar) in tu102_bar_bar2_fini() argument
47 struct gf100_bar *bar = gf100_bar(base); in tu102_bar_bar2_init() local
48 u32 addr = nvkm_memory_addr(bar->bar[0].inst) >> 12; in tu102_bar_bar2_init()
49 if (bar->bar2_halve) in tu102_bar_bar2_init()
55 tu102_bar_bar1_wait(struct nvkm_bar *bar) in tu102_bar_bar1_wait() argument
57 struct nvkm_device *device = bar->subdev.device; in tu102_bar_bar1_wait()
65 tu102_bar_bar1_fini(struct nvkm_bar *bar) in tu102_bar_bar1_fini() argument
74 struct gf100_bar *bar = gf100_bar(base); in tu102_bar_bar1_init() local
[all …]
A DKbuild2 nvkm-y += nvkm/subdev/bar/base.o
3 nvkm-y += nvkm/subdev/bar/nv50.o
4 nvkm-y += nvkm/subdev/bar/g84.o
5 nvkm-y += nvkm/subdev/bar/gf100.o
6 nvkm-y += nvkm/subdev/bar/gk20a.o
7 nvkm-y += nvkm/subdev/bar/gm107.o
8 nvkm-y += nvkm/subdev/bar/gm20b.o
9 nvkm-y += nvkm/subdev/bar/tu102.o
/linux-6.3-rc2/samples/trace_events/
A Dtrace-events-sample.h309 __entry->bar = bar;
407 TP_ARGS(foo, bar),
418 __entry->bar = bar;
450 TP_ARGS(foo, bar),
459 __entry->bar = bar;
497 TP_ARGS(foo, bar),
506 __entry->bar = bar;
522 TP_ARGS(foo, bar),
528 TP_ARGS(foo, bar),
545 TP_ARGS(foo, bar),
[all …]
/linux-6.3-rc2/drivers/net/ethernet/netronome/nfp/nfpcore/
A Dnfp6000_pcie.c373 struct nfp_bar *bar = &nfp->bar[n]; in find_matching_bar() local
391 const struct nfp_bar *bar = &nfp->bar[n]; in find_unused_bar_noblock() local
567 bar = &nfp->bar[0]; in enable_bars()
584 bar->mask = nfp_bar_resource_len(bar) - 1; in enable_bars()
585 bar->bitsize = fls(bar->mask); in enable_bars()
590 nfp->bars = bar - &nfp->bar[0]; in enable_bars()
607 bar = &nfp->bar[0]; in enable_bars()
659 bar = &nfp->bar[1]; in enable_bars()
675 bar = &nfp->bar[4 + i]; in enable_bars()
710 struct nfp_bar *bar = &nfp->bar[0]; in disable_bars() local
[all …]
/linux-6.3-rc2/Documentation/translations/zh_CN/devicetree/
A Doverlay-notes.rst46 覆盖bar.dts,
53 /* bar外围 */
54 bar {
55 compatible = "corp,bar";
64 /* FOO平台 + bar外围 */
77 /* bar外围 */
78 bar {
86 作为覆盖的结果,已经创建了一个新的设备节点(bar),因此将注册一个bar平台设备,
99 /* bar外围 */
100 bar {
[all …]
/linux-6.3-rc2/drivers/pci/controller/cadence/
A Dpcie-cadence-host.c199 if (!rc->avail_ib_bar[bar]) in cdns_pcie_host_bar_ib_config()
211 if (bar == RP_NO_BAR) in cdns_pcie_host_bar_ib_config()
219 LM_RC_BAR_CFG_APERTURE(bar, bar_aperture_mask[bar] + 2)); in cdns_pcie_host_bar_ib_config()
242 for (bar = RP_BAR0; bar <= RP_NO_BAR; bar++) { in cdns_pcie_host_find_min_bar()
248 sel_bar = bar; in cdns_pcie_host_find_min_bar()
253 sel_bar = bar; in cdns_pcie_host_find_min_bar()
266 for (bar = RP_BAR0; bar <= RP_NO_BAR; bar++) { in cdns_pcie_host_find_max_bar()
272 sel_bar = bar; in cdns_pcie_host_find_max_bar()
277 sel_bar = bar; in cdns_pcie_host_find_max_bar()
290 enum cdns_pcie_rp_bar bar; in cdns_pcie_host_bar_config() local
[all …]
A Dpcie-cadence.h50 #define CDNS_PCIE_LM_EP_FUNC_BAR_CFG(bar, fn) \ argument
56 #define CDNS_PCIE_LM_EP_VFUNC_BAR_CFG(bar, fn) \ argument
104 #define LM_RC_BAR_CFG_CTRL_DISABLED(bar) \ argument
106 #define LM_RC_BAR_CFG_CTRL_IO_32BITS(bar) \ argument
108 #define LM_RC_BAR_CFG_CTRL_MEM_32BITS(bar) \ argument
112 #define LM_RC_BAR_CFG_CTRL_MEM_64BITS(bar) \ argument
117 (((aperture) - 2) << ((bar) * 8))
196 #define CDNS_PCIE_AT_IB_RP_BAR_ADDR0(bar) \ argument
197 (CDNS_PCIE_AT_BASE + 0x0800 + (bar) * 0x0008)
201 #define CDNS_PCIE_AT_IB_RP_BAR_ADDR1(bar) \ argument
[all …]
/linux-6.3-rc2/tools/testing/selftests/net/
A Dunicast_extensions.sh70 ip -n bar-ns address add $2/$3 dev bar || return 1
71 ip -n bar-ns link set bar up || return 1
99 ip -n bar-ns address add $4/$5 dev bar || return 1
100 ip -n bar-ns link set bar up || return 1
125 ip netns add bar-ns
126 ip link add foo netns foo-ns type veth peer name bar netns bar-ns
132 ip netns pids bar-ns | xargs -r kill -9
134 ip netns del bar-ns
151 ip netns add bar-ns
154 ip link add bar netns bar-ns type veth peer name bar1 netns router-ns
[all …]
/linux-6.3-rc2/drivers/xen/xen-pciback/
A Dconf_space_header.c155 bar->which = 1; in rom_write()
159 if (tmpval != bar->val && value == bar->val) { in rom_write()
163 bar->which = 0; in rom_write()
201 if (tmpval != bar->val && value == bar->val) { in bar_write()
220 *value = bar->which ? bar->len_val : bar->val; in bar_read()
229 struct pci_bar_info *bar = kzalloc(sizeof(*bar), GFP_KERNEL); in bar_init() local
231 if (!bar) in bar_init()
245 return bar; in bar_init()
252 return bar; in bar_init()
259 return bar; in bar_init()
[all …]
/linux-6.3-rc2/sound/soc/sof/
A Dops.h309 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()
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()
329 writeq(value, sdev->bar[bar] + offset); in snd_sof_dsp_write64()
336 return sof_ops(sdev)->read8(sdev, sdev->bar[bar] + offset); in snd_sof_dsp_read8()
338 return readb(sdev->bar[bar] + offset); in snd_sof_dsp_read8()
345 return sof_ops(sdev)->read(sdev, sdev->bar[bar] + offset); in snd_sof_dsp_read()
347 return readl(sdev->bar[bar] + offset); in snd_sof_dsp_read()
354 return sof_ops(sdev)->read64(sdev, sdev->bar[bar] + offset); in snd_sof_dsp_read64()
[all …]
A Diomem-utils.c57 void __iomem *dest = sdev->bar[sdev->mailbox_bar] + offset; in sof_mailbox_write()
66 void __iomem *src = sdev->bar[sdev->mailbox_bar] + offset; in sof_mailbox_read()
79 int bar = snd_sof_dsp_get_bar_index(sdev, blk_type); in sof_block_write() local
86 if (bar < 0) in sof_block_write()
87 return bar; in sof_block_write()
89 dest = sdev->bar[bar] + offset; in sof_block_write()
118 int bar = snd_sof_dsp_get_bar_index(sdev, blk_type); in sof_block_read() local
120 if (bar < 0) in sof_block_read()
121 return bar; in sof_block_read()
123 memcpy_fromio(dest, sdev->bar[bar] + offset, size); in sof_block_read()
A Dops.c51 bool snd_sof_dsp_update_bits_unlocked(struct snd_sof_dev *sdev, u32 bar, in snd_sof_dsp_update_bits_unlocked() argument
57 ret = snd_sof_dsp_read(sdev, bar, offset); in snd_sof_dsp_update_bits_unlocked()
65 snd_sof_dsp_write(sdev, bar, offset, new); in snd_sof_dsp_update_bits_unlocked()
71 bool snd_sof_dsp_update_bits64_unlocked(struct snd_sof_dev *sdev, u32 bar, in snd_sof_dsp_update_bits64_unlocked() argument
76 old = snd_sof_dsp_read64(sdev, bar, offset); in snd_sof_dsp_update_bits64_unlocked()
83 snd_sof_dsp_write64(sdev, bar, offset, new); in snd_sof_dsp_update_bits64_unlocked()
97 change = snd_sof_dsp_update_bits_unlocked(sdev, bar, offset, mask, in snd_sof_dsp_update_bits()
111 change = snd_sof_dsp_update_bits64_unlocked(sdev, bar, offset, mask, in snd_sof_dsp_update_bits64()
125 ret = snd_sof_dsp_read(sdev, bar, offset); in snd_sof_dsp_update_bits_forced_unlocked()
130 snd_sof_dsp_write(sdev, bar, offset, new); in snd_sof_dsp_update_bits_forced_unlocked()
[all …]
/linux-6.3-rc2/drivers/net/ethernet/sfc/
A Def100.c38 unsigned int bar; member
76 bar, offset); in ef100_pci_parse_ef100_entry()
88 bar); in ef100_pci_parse_ef100_entry()
92 result->bar = bar; in ef100_pci_parse_ef100_entry()
115 u32 bar; in ef100_pci_parse_continue_entry() local
130 bar); in ef100_pci_parse_continue_entry()
134 if (bar != previous_bar) { in ef100_pci_parse_continue_entry()
140 bar, offset); in ef100_pci_parse_continue_entry()
288 u32 bar = 0; in ef100_pci_parse_xilinx_cap() local
303 bar); in ef100_pci_parse_xilinx_cap()
[all …]
/linux-6.3-rc2/lib/
A Dpci_iomap.c29 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()
69 int bar, in pci_iomap_wc_range() argument
73 resource_size_t start = pci_resource_start(dev, bar); in pci_iomap_wc_range()
74 resource_size_t len = pci_resource_len(dev, bar); in pci_iomap_wc_range()
75 unsigned long flags = pci_resource_flags(dev, bar); in pci_iomap_wc_range()
111 void __iomem *pci_iomap(struct pci_dev *dev, int bar, unsigned long maxlen) in pci_iomap() argument
113 return pci_iomap_range(dev, bar, 0, maxlen); in pci_iomap()
[all …]
/linux-6.3-rc2/include/linux/
A Dpnp.h60 unsigned int bar) in pnp_port_start() argument
62 struct resource *res = pnp_get_resource(dev, IORESOURCE_IO, bar); in pnp_port_start()
70 unsigned int bar) in pnp_port_end() argument
72 struct resource *res = pnp_get_resource(dev, IORESOURCE_IO, bar); in pnp_port_end()
80 unsigned int bar) in pnp_port_flags() argument
82 struct resource *res = pnp_get_resource(dev, IORESOURCE_IO, bar); in pnp_port_flags()
95 unsigned int bar) in pnp_port_len() argument
97 struct resource *res = pnp_get_resource(dev, IORESOURCE_IO, bar); in pnp_port_len()
106 unsigned int bar) in pnp_mem_start() argument
116 unsigned int bar) in pnp_mem_end() argument
[all …]
/linux-6.3-rc2/arch/arm/mm/
A Dpmsa-v8.c150 prbar_write(bar); in __pmsav8_setup_region()
153 mpu_rgn_info.rgns[number].prbar = bar; in __pmsav8_setup_region()
163 u32 bar, lar; in pmsav8_setup_ram() local
168 bar = start; in pmsav8_setup_ram()
179 u32 bar, lar; in pmsav8_setup_io() local
184 bar = start; in pmsav8_setup_io()
195 u32 bar, lar; in pmsav8_setup_fixed() local
200 bar = start; in pmsav8_setup_fixed()
213 mpu_rgn_info.rgns[number].prbar = bar; in pmsav8_setup_fixed()
224 u32 bar, lar; in pmsav8_setup_vector() local
[all …]
/linux-6.3-rc2/Documentation/translations/zh_CN/admin-guide/
A Dbootconfig.rst46 foo.bar.baz = value1
51 foo.bar {
68 foo = bar, baz
73 foo = bar, baz
81 foo = bar, baz
90 foo.bar = value2
96 bar = value1
97 bar {
106 foo.bar = value1
112 foo.bar = value1
[all …]
/linux-6.3-rc2/drivers/vfio/pci/
A Dvfio_pci_rdwr.c209 if (vdev->barmap[bar]) in vfio_pci_setup_barmap()
216 io = pci_iomap(pdev, bar, 0); in vfio_pci_setup_barmap()
222 vdev->barmap[bar] = io; in vfio_pci_setup_barmap()
239 if (pci_resource_start(pdev, bar)) in vfio_pci_bar_rw()
252 if (bar == PCI_ROM_RESOURCE) { in vfio_pci_bar_rw()
271 io = vdev->barmap[bar]; in vfio_pci_bar_rw()
274 if (bar == vdev->msix_bar) { in vfio_pci_bar_rw()
285 if (bar == PCI_ROM_RESOURCE) in vfio_pci_bar_rw()
431 if (bar == vdev->msix_bar && in vfio_pci_ioeventfd()
448 if (ioeventfd->pos == pos && ioeventfd->bar == bar && in vfio_pci_ioeventfd()
[all …]
/linux-6.3-rc2/tools/testing/selftests/bpf/prog_tests/
A Dcgroup_attach_override.c28 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()
72 if (CHECK(bpf_prog_detach(bar, BPF_CGROUP_INET_EGRESS), 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()
95 if (CHECK(bpf_prog_attach(allow_prog, bar, BPF_CGROUP_INET_EGRESS, in serial_test_cgroup_attach_override()
101 if (CHECK(!bpf_prog_attach(allow_prog, bar, BPF_CGROUP_INET_EGRESS, 0), in serial_test_cgroup_attach_override()
106 if (CHECK(bpf_prog_detach(bar, BPF_CGROUP_INET_EGRESS), in serial_test_cgroup_attach_override()
126 if (CHECK(!bpf_prog_attach(allow_prog, bar, BPF_CGROUP_INET_EGRESS, in serial_test_cgroup_attach_override()
[all …]
/linux-6.3-rc2/tools/perf/Documentation/
A Dcallchain-overhead-calculation.txt28 void bar(void) {
34 bar()
39 In this case 'foo' is a child of 'bar', and 'bar' is an immediate
41 'main' is a parent of 'foo' and 'bar', and 'bar' is a parent of 'foo'.
53 bar
57 40.00% bar
59 --- bar
81 100.00% 40.00% bar
83 --- bar
90 bar
[all …]
/linux-6.3-rc2/include/asm-generic/
A Dpci_iomap.h13 extern void __iomem *pci_iomap(struct pci_dev *dev, int bar, unsigned long max);
14 extern void __iomem *pci_iomap_wc(struct pci_dev *dev, int bar, unsigned long max);
15 extern void __iomem *pci_iomap_range(struct pci_dev *dev, int bar,
18 extern void __iomem *pci_iomap_wc_range(struct pci_dev *dev, int bar,
35 static inline void __iomem *pci_iomap(struct pci_dev *dev, int bar, unsigned long max) in pci_iomap() argument
40 static inline void __iomem *pci_iomap_wc(struct pci_dev *dev, int bar, unsigned long max) in pci_iomap_wc() argument
44 static inline void __iomem *pci_iomap_range(struct pci_dev *dev, int bar, in pci_iomap_range() argument
50 static inline void __iomem *pci_iomap_wc_range(struct pci_dev *dev, int bar, in pci_iomap_wc_range() argument
/linux-6.3-rc2/drivers/dma/dw-edma/
A Ddw-edma-pcie.c28 .bar = a, \
34 enum pci_barno bar; member
57 .rg.bar = BAR_0,
185 mask = BIT(vsec_data.rg.bar); in dw_edma_pcie_probe()
187 mask |= BIT(vsec_data.ll_wr[i].bar); in dw_edma_pcie_probe()
188 mask |= BIT(vsec_data.dt_wr[i].bar); in dw_edma_pcie_probe()
191 mask |= BIT(vsec_data.ll_rd[i].bar); in dw_edma_pcie_probe()
304 i, vsec_data.ll_wr[i].bar, in dw_edma_pcie_probe()
309 i, vsec_data.dt_wr[i].bar, in dw_edma_pcie_probe()
316 i, vsec_data.ll_rd[i].bar, in dw_edma_pcie_probe()
[all …]

Completed in 43 milliseconds

12345678910>>...17