Home
last modified time | relevance | path

Searched full:where (Results 1 – 25 of 6847) sorted by relevance

12345678910>>...274

/kernel/linux/linux-4.19/arch/mips/pci/
Dops-rc32434.c48 unsigned char where, u32 *data) in config_access() argument
54 PCI_CFG_SET(bus->number, slot, func, where); in config_access()
73 int where, u8 *val) in read_config_byte() argument
78 ret = config_access(PCI_ACCESS_READ, bus, devfn, where, &data); in read_config_byte()
79 *val = (data >> ((where & 3) << 3)) & 0xff; in read_config_byte()
84 int where, u16 *val) in read_config_word() argument
89 ret = config_access(PCI_ACCESS_READ, bus, devfn, where, &data); in read_config_word()
90 *val = (data >> ((where & 3) << 3)) & 0xffff; in read_config_word()
95 int where, u32 *val) in read_config_dword() argument
108 ret = config_access(PCI_ACCESS_READ, bus, devfn, where, val); in read_config_dword()
[all …]
Dops-bridge.c20 static u32 emulate_ioc3_cfg(int where, int size) in emulate_ioc3_cfg() argument
22 if (size == 1 && where == 0x3d) in emulate_ioc3_cfg()
24 else if (size == 2 && where == 0x3c) in emulate_ioc3_cfg()
26 else if (size == 4 && where == 0x3c) in emulate_ioc3_cfg()
44 int where, int size, u32 * value) in pci_conf0_read_config() argument
65 addr = &bridge->b_type0_cfg_dev[slot].f[fn].c[where ^ (4 - size)]; in pci_conf0_read_config()
82 if ((where >= 0x14 && where < 0x40) || (where >= 0x48)) { in pci_conf0_read_config()
83 *value = emulate_ioc3_cfg(where, size); in pci_conf0_read_config()
91 addr = &bridge->b_type0_cfg_dev[slot].f[fn].l[where >> 2]; in pci_conf0_read_config()
96 shift = ((where & 3) << 3); in pci_conf0_read_config()
[all …]
Dops-nile4.c18 struct pci_bus *bus, unsigned int devfn, int where, u32 *val) in nile4_pcibios_config_access() argument
32 vrc_pciregs[(0x200 + where) >> 2] = *val; in nile4_pcibios_config_access()
34 *val = vrc_pciregs[(0x200 + where) >> 2]; in nile4_pcibios_config_access()
53 | (where & ~3)); in nile4_pcibios_config_access()
56 (where & ~3); in nile4_pcibios_config_access()
76 int where, int size, u32 *val) in nile4_pcibios_read() argument
81 if ((size == 2) && (where & 1)) in nile4_pcibios_read()
83 else if ((size == 4) && (where & 3)) in nile4_pcibios_read()
86 err = nile4_pcibios_config_access(PCI_ACCESS_READ, bus, devfn, where, in nile4_pcibios_read()
92 *val = (data >> ((where & 3) << 3)) & 0xff; in nile4_pcibios_read()
[all …]
Dops-bcm63xx.c20 static int postprocess_read(u32 data, int where, unsigned int size) in postprocess_read() argument
27 ret = (data >> ((where & 3) << 3)) & 0xff; in postprocess_read()
30 ret = (data >> ((where & 3) << 3)) & 0xffff; in postprocess_read()
39 static int preprocess_write(u32 orig_data, u32 val, int where, in preprocess_write() argument
47 ret = (orig_data & ~(0xff << ((where & 3) << 3))) | in preprocess_write()
48 (val << ((where & 3) << 3)); in preprocess_write()
51 ret = (orig_data & ~(0xffff << ((where & 3) << 3))) | in preprocess_write()
52 (val << ((where & 3) << 3)); in preprocess_write()
65 unsigned int devfn, int where) in bcm63xx_setup_cfg_access() argument
72 reg = where >> 2; in bcm63xx_setup_cfg_access()
[all …]
Dops-msc.c47 struct pci_bus *bus, unsigned int devfn, int where, u32 * data) in msc_pcibios_config_access() argument
60 ((where / 4) << MSC01_PCI_CFGADDR_RNUM_SHF))); in msc_pcibios_config_access()
89 int where, int size, u32 * val) in msc_pcibios_read() argument
93 if ((size == 2) && (where & 1)) in msc_pcibios_read()
95 else if ((size == 4) && (where & 3)) in msc_pcibios_read()
98 if (msc_pcibios_config_access(PCI_ACCESS_READ, bus, devfn, where, in msc_pcibios_read()
103 *val = (data >> ((where & 3) << 3)) & 0xff; in msc_pcibios_read()
105 *val = (data >> ((where & 3) << 3)) & 0xffff; in msc_pcibios_read()
113 int where, int size, u32 val) in msc_pcibios_write() argument
117 if ((size == 2) && (where & 1)) in msc_pcibios_write()
[all …]
Dops-bonito64.c38 unsigned int devfn, int where, in bonito64_pcibios_config_access() argument
47 int reg = where & ~3; in bonito64_pcibios_config_access()
102 int where, int size, u32 * val) in bonito64_pcibios_read() argument
106 if ((size == 2) && (where & 1)) in bonito64_pcibios_read()
108 else if ((size == 4) && (where & 3)) in bonito64_pcibios_read()
111 if (bonito64_pcibios_config_access(PCI_ACCESS_READ, bus, devfn, where, in bonito64_pcibios_read()
116 *val = (data >> ((where & 3) << 3)) & 0xff; in bonito64_pcibios_read()
118 *val = (data >> ((where & 3) << 3)) & 0xffff; in bonito64_pcibios_read()
126 int where, int size, u32 val) in bonito64_pcibios_write() argument
130 if ((size == 2) && (where & 1)) in bonito64_pcibios_write()
[all …]
Dops-loongson3.c18 int where, u32 *data) in loongson3_pci_config_access() argument
25 int reg = where & ~3; in loongson3_pci_config_access()
52 int where, int size, u32 *val) in loongson3_pci_pcibios_read() argument
56 bus, devfn, where, &data); in loongson3_pci_pcibios_read()
62 *val = (data >> ((where & 3) << 3)) & 0xff; in loongson3_pci_pcibios_read()
64 *val = (data >> ((where & 3) << 3)) & 0xffff; in loongson3_pci_pcibios_read()
72 int where, int size, u32 val) in loongson3_pci_pcibios_write() argument
81 bus, devfn, where, &data); in loongson3_pci_pcibios_write()
86 data = (data & ~(0xff << ((where & 3) << 3))) | in loongson3_pci_pcibios_write()
87 (val << ((where & 3) << 3)); in loongson3_pci_pcibios_write()
[all …]
/kernel/linux/linux-5.10/arch/mips/pci/
Dops-rc32434.c48 unsigned char where, u32 *data) in config_access() argument
54 PCI_CFG_SET(bus->number, slot, func, where); in config_access()
73 int where, u8 *val) in read_config_byte() argument
78 ret = config_access(PCI_ACCESS_READ, bus, devfn, where, &data); in read_config_byte()
79 *val = (data >> ((where & 3) << 3)) & 0xff; in read_config_byte()
84 int where, u16 *val) in read_config_word() argument
89 ret = config_access(PCI_ACCESS_READ, bus, devfn, where, &data); in read_config_word()
90 *val = (data >> ((where & 3) << 3)) & 0xffff; in read_config_word()
95 int where, u32 *val) in read_config_dword() argument
108 ret = config_access(PCI_ACCESS_READ, bus, devfn, where, val); in read_config_dword()
[all …]
Dops-bcm63xx.c20 static int postprocess_read(u32 data, int where, unsigned int size) in postprocess_read() argument
27 ret = (data >> ((where & 3) << 3)) & 0xff; in postprocess_read()
30 ret = (data >> ((where & 3) << 3)) & 0xffff; in postprocess_read()
39 static int preprocess_write(u32 orig_data, u32 val, int where, in preprocess_write() argument
47 ret = (orig_data & ~(0xff << ((where & 3) << 3))) | in preprocess_write()
48 (val << ((where & 3) << 3)); in preprocess_write()
51 ret = (orig_data & ~(0xffff << ((where & 3) << 3))) | in preprocess_write()
52 (val << ((where & 3) << 3)); in preprocess_write()
65 unsigned int devfn, int where) in bcm63xx_setup_cfg_access() argument
72 reg = where >> 2; in bcm63xx_setup_cfg_access()
[all …]
Dops-msc.c34 struct pci_bus *bus, unsigned int devfn, int where, u32 * data) in msc_pcibios_config_access() argument
47 ((where / 4) << MSC01_PCI_CFGADDR_RNUM_SHF))); in msc_pcibios_config_access()
76 int where, int size, u32 * val) in msc_pcibios_read() argument
80 if ((size == 2) && (where & 1)) in msc_pcibios_read()
82 else if ((size == 4) && (where & 3)) in msc_pcibios_read()
85 if (msc_pcibios_config_access(PCI_ACCESS_READ, bus, devfn, where, in msc_pcibios_read()
90 *val = (data >> ((where & 3) << 3)) & 0xff; in msc_pcibios_read()
92 *val = (data >> ((where & 3) << 3)) & 0xffff; in msc_pcibios_read()
100 int where, int size, u32 val) in msc_pcibios_write() argument
104 if ((size == 2) && (where & 1)) in msc_pcibios_write()
[all …]
Dops-bonito64.c26 unsigned int devfn, int where, in bonito64_pcibios_config_access() argument
35 int reg = where & ~3; in bonito64_pcibios_config_access()
90 int where, int size, u32 * val) in bonito64_pcibios_read() argument
94 if ((size == 2) && (where & 1)) in bonito64_pcibios_read()
96 else if ((size == 4) && (where & 3)) in bonito64_pcibios_read()
99 if (bonito64_pcibios_config_access(PCI_ACCESS_READ, bus, devfn, where, in bonito64_pcibios_read()
104 *val = (data >> ((where & 3) << 3)) & 0xff; in bonito64_pcibios_read()
106 *val = (data >> ((where & 3) << 3)) & 0xffff; in bonito64_pcibios_read()
114 int where, int size, u32 val) in bonito64_pcibios_write() argument
118 if ((size == 2) && (where & 1)) in bonito64_pcibios_write()
[all …]
Dops-vr41xx.c23 unsigned int devfn, int where) in set_pci_configuration_address() argument
29 if (PCI_SLOT(devfn) < 11 || where > 0xff) in set_pci_configuration_address()
33 (where & 0xfc), PCICONFAREG); in set_pci_configuration_address()
38 if (where > 0xff) in set_pci_configuration_address()
42 (where & 0xfc) | 1U, PCICONFAREG); in set_pci_configuration_address()
48 static int pci_config_read(struct pci_bus *bus, unsigned int devfn, int where, in pci_config_read() argument
54 if (set_pci_configuration_address(bus->number, devfn, where) < 0) in pci_config_read()
61 *val = (data >> ((where & 3) << 3)) & 0xffU; in pci_config_read()
64 *val = (data >> ((where & 2) << 3)) & 0xffffU; in pci_config_read()
76 static int pci_config_write(struct pci_bus *bus, unsigned int devfn, int where, in pci_config_write() argument
[all …]
Dpci-bcm1480ht.c38 #define CFGOFFSET(bus, devfn, where) (((bus)<<16)+((devfn)<<8)+(where)) argument
39 #define CFGADDR(bus, devfn, where) CFGOFFSET((bus)->number, (devfn), where) argument
97 int where, int size, u32 * val) in bcm1480ht_pcibios_read() argument
101 if ((size == 2) && (where & 1)) in bcm1480ht_pcibios_read()
103 else if ((size == 4) && (where & 3)) in bcm1480ht_pcibios_read()
107 data = READCFG32(CFGADDR(bus, devfn, where)); in bcm1480ht_pcibios_read()
112 *val = (data >> ((where & 3) << 3)) & 0xff; in bcm1480ht_pcibios_read()
114 *val = (data >> ((where & 3) << 3)) & 0xffff; in bcm1480ht_pcibios_read()
122 int where, int size, u32 val) in bcm1480ht_pcibios_write() argument
124 u32 cfgaddr = CFGADDR(bus, devfn, where); in bcm1480ht_pcibios_write()
[all …]
Dops-loongson2.c34 unsigned int devfn, int where, in loongson_pcibios_config_access() argument
43 int reg = where & ~3; in loongson_pcibios_config_access()
119 int where, int size, u32 *val) in loongson_pcibios_read() argument
123 if ((size == 2) && (where & 1)) in loongson_pcibios_read()
125 else if ((size == 4) && (where & 3)) in loongson_pcibios_read()
128 if (loongson_pcibios_config_access(PCI_ACCESS_READ, bus, devfn, where, in loongson_pcibios_read()
133 *val = (data >> ((where & 3) << 3)) & 0xff; in loongson_pcibios_read()
135 *val = (data >> ((where & 3) << 3)) & 0xffff; in loongson_pcibios_read()
143 int where, int size, u32 val) in loongson_pcibios_write() argument
147 if ((size == 2) && (where & 1)) in loongson_pcibios_write()
[all …]
/kernel/linux/linux-4.19/drivers/pci/controller/
Dpci-thunder-ecam.c16 static void set_val(u32 v, int where, int size, u32 *val) in set_val() argument
18 int shift = (where & 3) * 8; in set_val()
20 pr_debug("set_val %04x: %08x\n", (unsigned)(where & ~3), v); in set_val()
30 unsigned int devfn, int where, int size, u32 *val) in handle_ea_bar() argument
36 int where_a = where & 0xc; in handle_ea_bar()
39 set_val(e0, where, size, val); in handle_ea_bar()
51 set_val(v, where, size, val); in handle_ea_bar()
70 set_val(v, where, size, val); in handle_ea_bar()
80 set_val(v, where, size, val); in handle_ea_bar()
87 int where, int size, u32 *val) in thunder_ecam_p2_config_read() argument
[all …]
/kernel/linux/linux-5.10/drivers/pci/controller/
Dpci-thunder-ecam.c16 static void set_val(u32 v, int where, int size, u32 *val) in set_val() argument
18 int shift = (where & 3) * 8; in set_val()
20 pr_debug("set_val %04x: %08x\n", (unsigned)(where & ~3), v); in set_val()
30 unsigned int devfn, int where, int size, u32 *val) in handle_ea_bar() argument
36 int where_a = where & 0xc; in handle_ea_bar()
39 set_val(e0, where, size, val); in handle_ea_bar()
51 set_val(v, where, size, val); in handle_ea_bar()
70 set_val(v, where, size, val); in handle_ea_bar()
80 set_val(v, where, size, val); in handle_ea_bar()
87 int where, int size, u32 *val) in thunder_ecam_p2_config_read() argument
[all …]
/kernel/linux/linux-5.10/tools/perf/pmu-events/arch/s390/cf_z13/
Dextended.json7 …"PublicDescription": "A directory write to the Level-1 Data cache where the line was originally in…
42 …"PublicDescription": "A directory write to the Level-1 Data cache directory where the returned cac…
63 …"PublicDescription": "A directory write to the Level-1 Instruction cache directory where the retur…
105 …"PublicDescription": "Increments by one for any cycle where a Level-1 cache or Level-1 TLB miss is…
112 …"PublicDescription": "A directory write to the Level-1 Data cache directory where the returned cac…
119 …"PublicDescription": "A directory write to the Level-1 Data cache directory where the returned cac…
126 …"PublicDescription": "A directory write to the Level-1 Data cache directory where the returned cac…
133 …"PublicDescription": "A directory write to the Level-1 Data cache directory where the returned cac…
140 …"PublicDescription": "A directory write to the Level-1 Data cache directory where the returned cac…
147 …"PublicDescription": "A directory write to the Level-1 Data cache directory where the returned cac…
[all …]
/kernel/linux/linux-4.19/tools/perf/pmu-events/arch/s390/cf_z13/
Dextended.json7 …"PublicDescription": "A directory write to the Level-1 Data cache where the line was originally in…
42 …"PublicDescription": "A directory write to the Level-1 Data cache directory where the returned cac…
63 …"PublicDescription": "A directory write to the Level-1 Instruction cache directory where the retur…
105 …"PublicDescription": "Increments by one for any cycle where a Level-1 cache or Level-1 TLB miss is…
112 …"PublicDescription": "A directory write to the Level-1 Data cache directory where the returned cac…
119 …"PublicDescription": "A directory write to the Level-1 Data cache directory where the returned cac…
126 …"PublicDescription": "A directory write to the Level-1 Data cache directory where the returned cac…
133 …"PublicDescription": "A directory write to the Level-1 Data cache directory where the returned cac…
140 …"PublicDescription": "A directory write to the Level-1 Data cache directory where the returned cac…
147 …"PublicDescription": "A directory write to the Level-1 Data cache directory where the returned cac…
[all …]
/kernel/linux/linux-5.10/tools/perf/pmu-events/arch/x86/amdzen2/
Dother.json5 "BriefDescription": "Cycles where the Micro-Op Queue is empty."
28 …"BriefDescription": "Cycles where a dispatch group is valid but does not get dispatched due to a t…
34 …"BriefDescription": "Cycles where a dispatch group is valid but does not get dispatched due to a t…
40 …"BriefDescription": "Cycles where a dispatch group is valid but does not get dispatched due to a t…
46 …"BriefDescription": "Cycles where a dispatch group is valid but does not get dispatched due to a t…
52 …"BriefDescription": "Cycles where a dispatch group is valid but does not get dispatched due to a t…
58 …"BriefDescription": "Cycles where a dispatch group is valid but does not get dispatched due to a t…
64 …"BriefDescription": "Cycles where a dispatch group is valid but does not get dispatched due to a t…
70 …"BriefDescription": "Cycles where a dispatch group is valid but does not get dispatched due to a t…
76 …"BriefDescription": "Cycles where a dispatch group is valid but does not get dispatched due to a t…
[all …]
/kernel/linux/linux-5.10/arch/sh/drivers/pci/
Dops-sh7786.c20 struct pci_bus *bus, unsigned int devfn, int where, u32 *data) in sh7786_pcie_config_access() argument
28 reg = where & ~3; in sh7786_pcie_config_access()
90 int where, int size, u32 *val) in sh7786_pcie_read() argument
96 if ((size == 2) && (where & 1)) in sh7786_pcie_read()
98 else if ((size == 4) && (where & 3)) in sh7786_pcie_read()
103 devfn, where, &data); in sh7786_pcie_read()
110 *val = (data >> ((where & 3) << 3)) & 0xff; in sh7786_pcie_read()
112 *val = (data >> ((where & 2) << 3)) & 0xffff; in sh7786_pcie_read()
117 "where=0x%04x size=%d val=0x%08lx\n", bus->number, in sh7786_pcie_read()
118 devfn, where, size, (unsigned long)*val); in sh7786_pcie_read()
[all …]
/kernel/linux/linux-4.19/arch/sh/drivers/pci/
Dops-sh7786.c23 struct pci_bus *bus, unsigned int devfn, int where, u32 *data) in sh7786_pcie_config_access() argument
31 reg = where & ~3; in sh7786_pcie_config_access()
93 int where, int size, u32 *val) in sh7786_pcie_read() argument
99 if ((size == 2) && (where & 1)) in sh7786_pcie_read()
101 else if ((size == 4) && (where & 3)) in sh7786_pcie_read()
106 devfn, where, &data); in sh7786_pcie_read()
113 *val = (data >> ((where & 3) << 3)) & 0xff; in sh7786_pcie_read()
115 *val = (data >> ((where & 2) << 3)) & 0xffff; in sh7786_pcie_read()
120 "where=0x%04x size=%d val=0x%08lx\n", bus->number, in sh7786_pcie_read()
121 devfn, where, size, (unsigned long)*val); in sh7786_pcie_read()
[all …]
/kernel/linux/linux-5.10/tools/perf/pmu-events/arch/s390/cf_z14/
Dextended.json7 …"PublicDescription": "A directory write to the Level-1 Data cache where the line was originally in…
42 …"PublicDescription": "A directory write to the Level-1 Data cache directory where the returned cac…
63 …"PublicDescription": "A directory write to the Level-1 Instruction cache directory where the retur…
105 …"PublicDescription": "Increments by one for any cycle where a level-1 cache or level-2 TLB miss is…
112 …"PublicDescription": "A directory write to the Level-1 Data cache directory where the returned cac…
119 …"PublicDescription": "A directory write to the Level-1 Data cache directory where the returned cac…
126 …"PublicDescription": "A directory write to the Level-1 Data cache directory where the returned cac…
133 …"PublicDescription": "A directory write to the Level-1 Data cache directory where the returned cac…
140 …"PublicDescription": "A directory write to the Level-1 Data cache directory where the returned cac…
147 …"PublicDescription": "A directory write to the Level-1 Data cache directory where the returned cac…
[all …]
/kernel/linux/linux-4.19/tools/perf/pmu-events/arch/s390/cf_z14/
Dextended.json7 …r:128 Name:L1D_RO_EXCL_WRITES A directory write to the Level-1 Data cache where the line was origi…
42 …"PublicDescription": "A directory write to the Level-1 Data cache directory where the returned cac…
63 …"PublicDescription": "A directory write to the Level-1 Instruction cache directory where the retur…
105 …"PublicDescription": "Increments by one for any cycle where a level-1 cache or level-2 TLB miss is…
112 …"PublicDescription": "A directory write to the Level-1 Data cache directory where the returned cac…
119 …"PublicDescription": "A directory write to the Level-1 Data cache directory where the returned cac…
126 …"PublicDescription": "A directory write to the Level-1 Data cache directory where the returned cac…
133 …"PublicDescription": "A directory write to the Level-1 Data cache directory where the returned cac…
140 …"PublicDescription": "A directory write to the Level-1 Data cache directory where the returned cac…
147 …"PublicDescription": "A directory write to the Level-1 Data cache directory where the returned cac…
[all …]
/kernel/linux/linux-4.19/arch/sparc/kernel/
Dpci_common.c54 int where, int size, u32 *value) in sun4u_read_pci_cfg_host() argument
60 addr = sun4u_config_mkaddr(pbm, bus, devfn, where); in sun4u_read_pci_cfg_host()
66 if (where < 8) { in sun4u_read_pci_cfg_host()
71 if (where & 1) in sun4u_read_pci_cfg_host()
82 if (where < 8) { in sun4u_read_pci_cfg_host()
96 where, 2, &tmp32); in sun4u_read_pci_cfg_host()
101 where + 2, 2, &tmp32); in sun4u_read_pci_cfg_host()
109 int where, int size, u32 *value) in sun4u_read_pci_cfg() argument
130 return sun4u_read_pci_cfg_host(pbm, bus, devfn, where, in sun4u_read_pci_cfg()
133 addr = sun4u_config_mkaddr(pbm, bus, devfn, where); in sun4u_read_pci_cfg()
[all …]
/kernel/linux/linux-5.10/arch/sparc/kernel/
Dpci_common.c54 int where, int size, u32 *value) in sun4u_read_pci_cfg_host() argument
60 addr = sun4u_config_mkaddr(pbm, bus, devfn, where); in sun4u_read_pci_cfg_host()
66 if (where < 8) { in sun4u_read_pci_cfg_host()
71 if (where & 1) in sun4u_read_pci_cfg_host()
82 if (where < 8) { in sun4u_read_pci_cfg_host()
96 where, 2, &tmp32); in sun4u_read_pci_cfg_host()
101 where + 2, 2, &tmp32); in sun4u_read_pci_cfg_host()
109 int where, int size, u32 *value) in sun4u_read_pci_cfg() argument
130 return sun4u_read_pci_cfg_host(pbm, bus, devfn, where, in sun4u_read_pci_cfg()
133 addr = sun4u_config_mkaddr(pbm, bus, devfn, where); in sun4u_read_pci_cfg()
[all …]

12345678910>>...274