Home
last modified time | relevance | path

Searched defs:bar (Results 1 – 25 of 245) sorted by relevance

12345678910

/linux/drivers/gpu/drm/nouveau/nvkm/subdev/bar/
H A Dbase.c27 nvkm_bar_flush(struct nvkm_bar *bar) in nvkm_bar_flush()
42 struct nvkm_bar *bar = device->bar; in nvkm_bar_bar1_reset() local
55 struct nvkm_bar *bar = device->bar; in nvkm_bar_bar2_vmm() local
64 struct nvkm_bar *bar = device->bar; in nvkm_bar_bar2_reset() local
74 struct nvkm_bar *bar = device->bar; in nvkm_bar_bar2_fini() local
84 struct nvkm_bar *bar = device->bar; in nvkm_bar_bar2_init() local
95 struct nvkm_bar *bar = nvkm_bar(subdev); in nvkm_bar_fini() local
112 struct nvkm_bar *bar = nvkm_bar(subdev); in nvkm_bar_init() local
123 struct nvkm_bar *bar = nvkm_bar(subdev); in nvkm_bar_oneinit() local
130 struct nvkm_bar *bar = nvkm_bar(subdev); in nvkm_bar_dtor() local
[all …]
H A Dnv50.c34 struct nv50_bar *bar = nv50_bar(base); in nv50_bar_flush() local
59 nv50_bar_bar1_fini(struct nvkm_bar *bar) in nv50_bar_bar1_fini()
68 struct nv50_bar *bar = nv50_bar(base); in nv50_bar_bar1_init() local
79 nv50_bar_bar2_fini(struct nvkm_bar *bar) in nv50_bar_bar2_fini()
88 struct nv50_bar *bar = nv50_bar(base); in nv50_bar_bar2_init() local
97 struct nv50_bar *bar = nv50_bar(base); in nv50_bar_init() local
108 struct nv50_bar *bar = nv50_bar(base); in nv50_bar_oneinit() local
206 struct nv50_bar *bar = nv50_bar(base); in nv50_bar_dtor() local
225 struct nv50_bar *bar; in nv50_bar_new_() local
H A Dgf100.c46 gf100_bar_bar1_fini(struct nvkm_bar *bar) in gf100_bar_bar1_fini()
55 struct gf100_bar *bar = gf100_bar(base); in gf100_bar_bar1_init() local
67 gf100_bar_bar2_fini(struct nvkm_bar *bar) in gf100_bar_bar2_fini()
76 struct gf100_bar *bar = gf100_bar(base); in gf100_bar_bar2_init() local
84 gf100_bar_oneinit_bar(struct gf100_bar *bar, struct gf100_barN *bar_vm, in gf100_bar_oneinit_bar()
127 struct gf100_bar *bar = gf100_bar(base); in gf100_bar_oneinit() local
151 struct gf100_bar *bar = gf100_bar(base); in gf100_bar_dtor() local
167 struct gf100_bar *bar; in gf100_bar_new_() local
H A Dtu102.c29 tu102_bar_bar2_wait(struct nvkm_bar *bar) in tu102_bar_bar2_wait()
39 tu102_bar_bar2_fini(struct nvkm_bar *bar) in tu102_bar_bar2_fini()
48 struct gf100_bar *bar = gf100_bar(base); in tu102_bar_bar2_init() local
56 tu102_bar_bar1_wait(struct nvkm_bar *bar) in tu102_bar_bar1_wait()
66 tu102_bar_bar1_fini(struct nvkm_bar *bar) in tu102_bar_bar1_fini()
75 struct gf100_bar *bar = gf100_bar(base); in tu102_bar_bar1_init() local
H A Dr535.c36 r535_bar_flush(struct nvkm_bar *bar) in r535_bar_flush()
63 r535_bar_bar2_fini(struct nvkm_bar *bar) in r535_bar_bar2_fini()
74 r535_bar_bar2_init(struct nvkm_bar *bar) in r535_bar_bar2_init()
111 r535_bar_bar1_init(struct nvkm_bar *bar) in r535_bar_bar1_init()
134 r535_bar_dtor(struct nvkm_bar *bar) in r535_bar_dtor()
152 struct nvkm_bar *bar; in r535_bar_new_() local
H A Dgm107.c27 gm107_bar_bar1_wait(struct nvkm_bar *bar) in gm107_bar_bar1_wait()
37 gm107_bar_bar2_wait(struct nvkm_bar *bar) in gm107_bar_bar2_wait()
/linux/drivers/pci/
H A Ddevres.c81 int bar; member
111 static int __pcim_request_region_range(struct pci_dev *pdev, int bar, in __pcim_request_region_range()
145 static void __pcim_release_region_range(struct pci_dev *pdev, int bar, in __pcim_release_region_range()
171 static int __pcim_request_region(struct pci_dev *pdev, int bar, in __pcim_request_region()
180 static void __pcim_release_region(struct pci_dev *pdev, int bar) in __pcim_release_region()
409 static inline bool mask_contains_bar(int mask, int bar) in mask_contains_bar()
590 void __iomem *mapping, int bar) in pcim_add_mapping_to_legacy_table()
616 int bar; in pcim_remove_mapping_from_legacy_table() local
635 static void pcim_remove_bar_from_legacy_table(struct pci_dev *pdev, int bar) in pcim_remove_bar_from_legacy_table()
667 void __iomem *pcim_iomap(struct pci_dev *pdev, int bar, unsigned long maxlen) in pcim_iomap()
[all …]
H A Diomap.c32 int bar, in pci_iomap_range()
76 int bar, in pci_iomap_wc_range()
122 void __iomem *pci_iomap(struct pci_dev *dev, int bar, unsigned long maxlen) in pci_iomap()
147 void __iomem *pci_iomap_wc(struct pci_dev *dev, int bar, unsigned long maxlen) in pci_iomap_wc()
/linux/drivers/gpu/drm/xe/tests/
H A Dxe_args_test.c13 #define bar COUNT_ARGS(foo) in call_args_example() macro
27 #define bar CALL_ARGS(COUNT_ARGS, DROP_FIRST_ARG(foo)) in drop_first_arg_example() macro
40 #define bar FIRST_ARG(foo) in first_arg_example() macro
54 #define bar LAST_ARG(foo) in last_arg_example() macro
68 #define bar PICK_ARG(2, foo) in pick_arg_example() macro
84 #define bar DROP_FIRST_ARG(foo(ARGS_SEP_COMMA __stringify)) in sep_comma_example() macro
159 #define bar DROP_FIRST_ARG(DROP_FIRST_ARG(FOO_ARGS)) in drop_first_arg_test() macro
/linux/sound/soc/sof/
H A Dops.c51 bool snd_sof_dsp_update_bits_unlocked(struct snd_sof_dev *sdev, u32 bar, 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()
90 bool snd_sof_dsp_update_bits(struct snd_sof_dev *sdev, u32 bar, u32 offset, in snd_sof_dsp_update_bits()
104 bool snd_sof_dsp_update_bits64(struct snd_sof_dev *sdev, u32 bar, u32 offset, in snd_sof_dsp_update_bits64()
119 void snd_sof_dsp_update_bits_forced_unlocked(struct snd_sof_dev *sdev, u32 bar, in snd_sof_dsp_update_bits_forced_unlocked()
134 void snd_sof_dsp_update_bits_forced(struct snd_sof_dev *sdev, u32 bar, in snd_sof_dsp_update_bits_forced()
H A Dops.h317 static inline void snd_sof_dsp_write8(struct snd_sof_dev *sdev, u32 bar, in snd_sof_dsp_write8()
326 static inline void snd_sof_dsp_write(struct snd_sof_dev *sdev, u32 bar, in snd_sof_dsp_write()
335 static inline void snd_sof_dsp_write64(struct snd_sof_dev *sdev, u32 bar, in snd_sof_dsp_write64()
344 static inline u8 snd_sof_dsp_read8(struct snd_sof_dev *sdev, u32 bar, in snd_sof_dsp_read8()
353 static inline u32 snd_sof_dsp_read(struct snd_sof_dev *sdev, u32 bar, in snd_sof_dsp_read()
362 static inline u64 snd_sof_dsp_read64(struct snd_sof_dev *sdev, u32 bar, in snd_sof_dsp_read64()
371 static inline void snd_sof_dsp_update8(struct snd_sof_dev *sdev, u32 bar, in snd_sof_dsp_update8()
611 #define snd_sof_dsp_read_poll_timeout(sdev, bar, offset, val, cond, sleep_us, timeout_us) \ argument
/linux/include/asm-generic/
H A Dpci_iomap.h35 static inline void __iomem *pci_iomap(struct pci_dev *dev, int bar, unsigned long max) in pci_iomap()
40 static inline void __iomem *pci_iomap_wc(struct pci_dev *dev, int bar, unsigned long max) in pci_iomap_wc()
44 static inline void __iomem *pci_iomap_range(struct pci_dev *dev, int bar, in pci_iomap_range()
50 static inline void __iomem *pci_iomap_wc_range(struct pci_dev *dev, int bar, in pci_iomap_wc_range()
/linux/drivers/net/ethernet/netronome/nfp/nfpcore/
H A Dnfp6000_pcie.c98 #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
150 struct nfp_bar bar[NFP_PCI_BAR_MAX]; member
174 static u32 nfp_bar_maptype(struct nfp_bar *bar) in nfp_bar_maptype()
179 static resource_size_t nfp_bar_resource_len(struct nfp_bar *bar) in nfp_bar_resource_len()
184 static resource_size_t nfp_bar_resource_start(struct nfp_bar *bar) in nfp_bar_resource_start()
194 compute_bar(const struct nfp6000_pcie *nfp, const struct nfp_bar *bar, in compute_bar()
[all …]
/linux/include/linux/
H A Dpnp.h60 unsigned int bar) in pnp_port_start()
70 unsigned int bar) in pnp_port_end()
80 unsigned int bar) in pnp_port_flags()
89 static inline int pnp_port_valid(struct pnp_dev *dev, unsigned int bar) in pnp_port_valid()
95 unsigned int bar) in pnp_port_len()
106 unsigned int bar) in pnp_mem_start()
116 unsigned int bar) in pnp_mem_end()
125 static inline unsigned long pnp_mem_flags(struct pnp_dev *dev, unsigned int bar) in pnp_mem_flags()
134 static inline int pnp_mem_valid(struct pnp_dev *dev, unsigned int bar) in pnp_mem_valid()
140 unsigned int bar) in pnp_mem_len()
[all …]
/linux/arch/arm/mm/
H A Dpmsa-v8.c141 static int __init __pmsav8_setup_region(unsigned int number, u32 bar, u32 lar) in __pmsav8_setup_region()
163 u32 bar, lar; in pmsav8_setup_ram() local
179 u32 bar, lar; in pmsav8_setup_io() local
195 u32 bar, lar; in pmsav8_setup_fixed() local
224 u32 bar, lar; in pmsav8_setup_vector() local
/linux/tools/testing/selftests/bpf/progs/
H A Dlinked_list.h9 struct bar { struct
16 struct bpf_list_head head __contains(bar, node); argument
/linux/drivers/pci/controller/cadence/
H 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
110 #define LM_RC_BAR_CFG_CTRL_PREF_MEM_32BITS(bar) \ argument
112 #define LM_RC_BAR_CFG_CTRL_MEM_64BITS(bar) \ argument
114 #define LM_RC_BAR_CFG_CTRL_PREF_MEM_64BITS(bar) \ argument
116 #define LM_RC_BAR_CFG_APERTURE(bar, aperture) \ argument
202 #define CDNS_PCIE_AT_IB_RP_BAR_ADDR0(bar) \ argument
[all …]
H A Dpcie-cadence-host.c219 enum cdns_pcie_rp_bar bar, in cdns_pcie_host_bar_ib_config()
266 enum cdns_pcie_rp_bar bar, sel_bar; in cdns_pcie_host_find_min_bar() local
290 enum cdns_pcie_rp_bar bar, sel_bar; in cdns_pcie_host_find_max_bar() local
317 enum cdns_pcie_rp_bar bar; in cdns_pcie_host_bar_config() local
529 enum cdns_pcie_rp_bar bar; in cdns_pcie_host_setup() local
/linux/drivers/net/ethernet/sfc/
H A Def100.c37 unsigned int bar; member
71 u32 bar = ef100_pci_get_bar_bits(efx, entry_location, EF100_BAR); in ef100_pci_parse_ef100_entry() local
97 static bool ef100_pci_does_bar_overflow(struct efx_nic *efx, int bar, in ef100_pci_does_bar_overflow()
114 u32 bar; in ef100_pci_parse_continue_entry() local
287 u32 bar = 0; in ef100_pci_parse_xilinx_cap() local
/linux/drivers/xen/xen-pciback/
H A Dconf_space_header.c129 struct pci_bar_info *bar = data; in rom_write() local
162 struct pci_bar_info *bar = data; in bar_write() local
198 struct pci_bar_info *bar = data; in bar_read() local
214 struct pci_bar_info *bar = kzalloc(sizeof(*bar), GFP_KERNEL); in bar_init() local
249 struct pci_bar_info *bar = data; in bar_reset() local
/linux/drivers/gpu/drm/nouveau/nvkm/engine/device/
H A Dtegra.c189 nvkm_device_tegra_resource(struct nvkm_device *device, unsigned bar) in nvkm_device_tegra_resource()
196 nvkm_device_tegra_resource_addr(struct nvkm_device *device, unsigned bar) in nvkm_device_tegra_resource_addr()
203 nvkm_device_tegra_resource_size(struct nvkm_device *device, unsigned bar) in nvkm_device_tegra_resource_size()
/linux/arch/s390/pci/
H A Dpci.c276 static void __iomem *pci_iomap_range_fh(struct pci_dev *pdev, int bar, in pci_iomap_range_fh()
293 static void __iomem *pci_iomap_range_mio(struct pci_dev *pdev, int bar, in pci_iomap_range_mio()
305 void __iomem *pci_iomap_range(struct pci_dev *pdev, int bar, in pci_iomap_range()
318 void __iomem *pci_iomap(struct pci_dev *dev, int bar, unsigned long maxlen) in pci_iomap()
324 static void __iomem *pci_iomap_wc_range_mio(struct pci_dev *pdev, int bar, in pci_iomap_wc_range_mio()
335 void __iomem *pci_iomap_wc_range(struct pci_dev *pdev, int bar, in pci_iomap_wc_range()
348 void __iomem *pci_iomap_wc(struct pci_dev *dev, int bar, unsigned long maxlen) in pci_iomap_wc()
469 int bar, idx; in zpci_do_update_iomap_fh() local
/linux/drivers/scsi/pm8001/
H A Dpm8001_chips.h54 static inline u32 pm8001_cr32(struct pm8001_hba_info *pm8001_ha, u32 bar, in pm8001_cr32()
60 static inline void pm8001_cw32(struct pm8001_hba_info *pm8001_ha, u32 bar, in pm8001_cw32()
/linux/drivers/crypto/intel/qat/qat_c62x/
H A Dadf_drv.c52 struct adf_bar *bar = &accel_pci_dev->pci_bars[i]; in adf_cleanup_accel() local
175 struct adf_bar *bar = &accel_pci_dev->pci_bars[i++]; in adf_probe() local
/linux/drivers/crypto/intel/qat/qat_c3xxx/
H A Dadf_drv.c52 struct adf_bar *bar = &accel_pci_dev->pci_bars[i]; in adf_cleanup_accel() local
175 struct adf_bar *bar = &accel_pci_dev->pci_bars[i++]; in adf_probe() local

12345678910