/linux-master/arch/alpha/kernel/ |
H A D | core_apecs.c | 93 mk_conf_addr(struct pci_bus *pbus, unsigned int device_fn, int where, argument 99 DBGC(("mk_conf_addr(bus=%d ,device_fn=0x%x, where=0x%x," 101 bus, device_fn, where, pci_addr, type1)); 115 addr = (device_fn << 8) | (where); 119 addr = (bus << 16) | (device_fn << 8) | (where); 275 apecs_read_config(struct pci_bus *bus, unsigned int devfn, int where, argument 283 if (mk_conf_addr(bus, devfn, where, &pci_addr, &type1)) 287 shift = (where & 3) * 8; 294 apecs_write_config(struct pci_bus *bus, unsigned int devfn, int where, argument 301 if (mk_conf_addr(bus, devfn, where, [all...] |
H A D | core_lca.c | 102 mk_conf_addr(struct pci_bus *pbus, unsigned int device_fn, int where, argument 119 addr = (1 << (11 + device)) | (func << 8) | where; 123 addr = (bus << 16) | (device_fn << 8) | where; 202 lca_read_config(struct pci_bus *bus, unsigned int devfn, int where, argument 209 if (mk_conf_addr(bus, devfn, where, &pci_addr)) 212 shift = (where & 3) * 8; 220 lca_write_config(struct pci_bus *bus, unsigned int devfn, int where, int size, argument 226 if (mk_conf_addr(bus, devfn, where, &pci_addr)) 231 conf_write(addr, value << ((where & 3) * 8));
|
H A D | core_mcpcia.c | 170 mk_conf_addr(struct pci_bus *pbus, unsigned int devfn, int where, argument 177 DBG_CFG(("mk_conf_addr(bus=%d,devfn=0x%x,hose=%d,where=0x%x," 179 bus, devfn, hose->index, where, pci_addr, type1)); 186 addr = (bus << 16) | (devfn << 8) | (where); 196 mcpcia_read_config(struct pci_bus *bus, unsigned int devfn, int where, argument 203 if (mk_conf_addr(bus, devfn, where, hose, &addr, &type1)) 210 *value = __kernel_extbl(w, where & 3); 213 *value = __kernel_extwl(w, where & 3); 223 mcpcia_write_config(struct pci_bus *bus, unsigned int devfn, int where, argument 230 if (mk_conf_addr(bus, devfn, where, hos [all...] |
H A D | core_polaris.c | 67 mk_conf_addr(struct pci_bus *pbus, unsigned int device_fn, int where, argument 73 *pci_addr = (bus << 16) | (device_fn << 8) | (where) | 76 DBG_CFG(("mk_conf_addr(bus=%d ,device_fn=0x%x, where=0x%x," 78 bus, device_fn, where, *pci_addr)); 84 polaris_read_config(struct pci_bus *bus, unsigned int devfn, int where, argument 90 if (mk_conf_addr(bus, devfn, where, &addr, &type1)) 110 polaris_write_config(struct pci_bus *bus, unsigned int devfn, int where, argument 116 if (mk_conf_addr(bus, devfn, where, &addr, &type1))
|
H A D | core_t2.c | 141 mk_conf_addr(struct pci_bus *pbus, unsigned int device_fn, int where, argument 147 DBG(("mk_conf_addr(bus=%d, dfn=0x%x, where=0x%x," 149 bus, device_fn, where, pci_addr, type1)); 163 addr = (0x0800L << device) | ((device_fn & 7) << 8) | (where); 167 addr = (bus << 16) | (device_fn << 8) | (where); 284 t2_read_config(struct pci_bus *bus, unsigned int devfn, int where, argument 292 if (mk_conf_addr(bus, devfn, where, &pci_addr, &type1)) 296 shift = (where & 3) * 8; 303 t2_write_config(struct pci_bus *bus, unsigned int devfn, int where, int size, argument 310 if (mk_conf_addr(bus, devfn, where, [all...] |
H A D | core_tsunami.c | 92 mk_conf_addr(struct pci_bus *pbus, unsigned int device_fn, int where, argument 99 DBG_CFG(("mk_conf_addr(bus=%d ,device_fn=0x%x, where=0x%x, " 101 bus, device_fn, where, pci_addr, type1)); 107 addr = (bus << 16) | (device_fn << 8) | where; 116 tsunami_read_config(struct pci_bus *bus, unsigned int devfn, int where, argument 122 if (mk_conf_addr(bus, devfn, where, &addr, &type1)) 141 tsunami_write_config(struct pci_bus *bus, unsigned int devfn, int where, argument 147 if (mk_conf_addr(bus, devfn, where, &addr, &type1))
|
/linux-master/arch/arc/include/asm/ |
H A D | unwind.h | 108 ((raItem).where == Memory && !((raItem).value * (dataAlign) + 4))
|
/linux-master/arch/arm/plat-orion/include/plat/ |
H A D | pcie.h | 25 u32 devfn, int where, int size, u32 *val); 27 u32 devfn, int where, int size, u32 *val); 29 u32 devfn, int where, int size, u32 *val); 31 u32 devfn, int where, int size, u32 val);
|
/linux-master/arch/arm/plat-orion/ |
H A D | pcie.c | 209 u32 devfn, int where, int size, u32 *val) 214 PCIE_CONF_REG(where) | PCIE_CONF_ADDR_EN, 220 *val = (*val >> (8 * (where & 3))) & 0xff; 222 *val = (*val >> (8 * (where & 3))) & 0xffff; 228 u32 devfn, int where, int size, u32 *val) 233 PCIE_CONF_REG(where) | PCIE_CONF_ADDR_EN, 243 *val = (*val >> (8 * (where & 3))) & 0xff; 245 *val = (*val >> (8 * (where & 3))) & 0xffff; 251 u32 devfn, int where, int size, u32 *val) 256 PCIE_CONF_REG(where))); 208 orion_pcie_rd_conf(void __iomem *base, struct pci_bus *bus, u32 devfn, int where, int size, u32 *val) argument 227 orion_pcie_rd_conf_tlp(void __iomem *base, struct pci_bus *bus, u32 devfn, int where, int size, u32 *val) argument 250 orion_pcie_rd_conf_wa(void __iomem *wa_base, struct pci_bus *bus, u32 devfn, int where, int size, u32 *val) argument 266 orion_pcie_wr_conf(void __iomem *base, struct pci_bus *bus, u32 devfn, int where, int size, u32 val) argument [all...] |
/linux-master/arch/m68k/fpsp040/ |
H A D | bindec.S | 53 | SCALE is equal to 10^ISCALE, where ISCALE is the number 329 | SCALE is equal to 10^ISCALE, where ISCALE is the number
|
H A D | setox.S | 75 | to have a small number of cases where |X| is less than, 91 | where 104 | 3.1 R := X + N*L1, where L1 := single-precision(-log2/64). 139 | where S = R*R. 143 | where T and t are the stored values for 2^(J/64). 144 | Notes: 2^(J/64) is stored as T and t where T+t approximates 164 | When that is the case, AdjScale = 2^(M1) where M1 is 182 | this code where the separate entry for denormalized inputs 185 | Step 8. Handle exp(X) where |X| >= 16380log2. 241 | 3.1 R := X + N*L1, where L [all...] |
H A D | ssin.S | 34 | 3. Decompose X as X = N(Pi/2) + r where |r| <= Pi/4. Let 41 | where cos(r) is approximated by an even polynomial in r, 46 | where sin(r) is approximated by an odd polynomial in r 59 | 2. Decompose X as X = N(Pi/2) + r where |r| <= Pi/4. Let 67 | SIN(X) = sgn1 * cos(r) and COS(X) = sgn2*sin(r) where 72 | SIN(X) = sgn1 * sin(r) and COS(X) = sgn1*cos(r) where 499 |--Now we need to normalize (A,a) to "new (R,r)" where R+r = A+a but
|
H A D | stan.S | 26 | 2. Decompose X as X = N(Pi/2) + r where |r| <= Pi/4. Let 32 | rational function U/V where 38 | rational function U/V where 430 |--Now we need to normalize (A,a) to "new (R,r)" where R+r = A+a but
|
H A D | sto_res.S | 4 | Takes the result and puts it in where the user expects it.
|
H A D | stwotox.S | 29 | 3. Decompose X as X = N/64 + r where |r| <= 1/128. Furthermore 48 | where L1, L2 are the leading and trailing parts of log_10(2)/64 61 | 3. Calculate P where 1 + P approximates exp(r):
|
/linux-master/arch/m68k/ifpsp060/ |
H A D | iskeleton.S | 121 | integer divide where the source operand is a zero, then the _isp_unimp()
|
/linux-master/arch/m68k/ifpsp060/src/ |
H A D | fplsp.S | 4925 # 3. Decompose X as X = N(Pi/2) + r where |r| <= Pi/4. Let # 4932 # Return sgn*cos(r) where cos(r) is approximated by an # 4938 # where sin(r) is approximated by an odd polynomial in r # 4953 # 2. Decompose X as X = N(Pi/2) + r where |r| <= Pi/4. Let # 4961 # SIN(X) = sgn1 * cos(r) and COS(X) = sgn2*sin(r) where # 4966 # SIN(X) = sgn1 * sin(r) and COS(X) = sgn1*cos(r) where # 5583 #--Now we need to normalize (A,a) to "new (R,r)" where R+r = A+a but 5627 # 2. Decompose X as X = N(Pi/2) + r where |r| <= Pi/4. Let # 5633 # rational function U/V where # 5639 # a rational function U/V where # [all...] |
H A D | fpsp.S | 630 # Also, in the case of an opclass three instruction where # 870 # Also, in the case of an opclass three instruction where # 1376 # * this is the case where we must call _real_inex() now or else 1757 # (where the exc frame is currently). make sure it's not at the top of the 1954 # * this is the case where we must call _real_inex() now or else 2188 # can store the default result where the exception frame was. 2228 # can store the default result where the exception frame was. 2268 # can store the default result where the exception frame was. 2426 # For the case of "fmovm.x Dn,-(a7)", where the offending instruction # 2931 # -shift stack frame down over where ol [all...] |
H A D | ilsp.S | 272 # where U,V are words of the quadword dividend and longword divisor, #
|
H A D | pfpsp.S | 629 # Also, in the case of an opclass three instruction where # 869 # Also, in the case of an opclass three instruction where # 1375 # * this is the case where we must call _real_inex() now or else 1756 # (where the exc frame is currently). make sure it's not at the top of the 1953 # * this is the case where we must call _real_inex() now or else 2187 # can store the default result where the exception frame was. 2227 # can store the default result where the exception frame was. 2267 # can store the default result where the exception frame was. 2425 # For the case of "fmovm.x Dn,-(a7)", where the offending instruction # 2930 # -shift stack frame down over where ol [all...] |
/linux-master/arch/mips/pci/ |
H A D | ops-bonito64.c | 26 unsigned int devfn, int where, 35 int reg = where & ~3; 90 int where, int size, u32 * val) 94 if ((size == 2) && (where & 1)) 96 else if ((size == 4) && (where & 3)) 99 if (bonito64_pcibios_config_access(PCI_ACCESS_READ, bus, devfn, where, 104 *val = (data >> ((where & 3) << 3)) & 0xff; 106 *val = (data >> ((where & 3) << 3)) & 0xffff; 114 int where, int size, u32 val) 118 if ((size == 2) && (where 24 bonito64_pcibios_config_access(unsigned char access_type, struct pci_bus *bus, unsigned int devfn, int where, u32 * data) argument 89 bonito64_pcibios_read(struct pci_bus *bus, unsigned int devfn, int where, int size, u32 * val) argument 113 bonito64_pcibios_write(struct pci_bus *bus, unsigned int devfn, int where, int size, u32 val) argument [all...] |
H A D | ops-gt64xxx_pci0.c | 31 struct pci_bus *bus, unsigned int devfn, int where, u32 * data) 47 ((where / 4) << GT_PCI0_CFGADDR_REGNUM_SHF) | 92 int where, int size, u32 * val) 97 where, &data)) 101 *val = (data >> ((where & 3) << 3)) & 0xff; 103 *val = (data >> ((where & 3) << 3)) & 0xffff; 111 int where, int size, u32 val) 119 devfn, where, &data)) 123 data = (data & ~(0xff << ((where & 3) << 3))) | 124 (val << ((where 30 gt64xxx_pci0_pcibios_config_access(unsigned char access_type, struct pci_bus *bus, unsigned int devfn, int where, u32 * data) argument 91 gt64xxx_pci0_pcibios_read(struct pci_bus *bus, unsigned int devfn, int where, int size, u32 * val) argument 110 gt64xxx_pci0_pcibios_write(struct pci_bus *bus, unsigned int devfn, int where, int size, u32 val) argument [all...] |
H A D | ops-lantiq.c | 27 unsigned int devfn, unsigned int where, u32 *data) 43 LTQ_PCI_CFG_FUNNUM_SHF) | (where & ~0x3); 72 int where, int size, u32 *val) 76 if (ltq_pci_config_access(PCI_ACCESS_READ, bus, devfn, where, &data)) 80 *val = (data >> ((where & 3) << 3)) & 0xff; 82 *val = (data >> ((where & 3) << 3)) & 0xffff; 90 int where, int size, u32 val) 98 devfn, where, &data)) 102 data = (data & ~(0xff << ((where & 3) << 3))) | 103 (val << ((where 26 ltq_pci_config_access(unsigned char access_type, struct pci_bus *bus, unsigned int devfn, unsigned int where, u32 *data) argument 71 ltq_pci_read_config_dword(struct pci_bus *bus, unsigned int devfn, int where, int size, u32 *val) argument 89 ltq_pci_write_config_dword(struct pci_bus *bus, unsigned int devfn, int where, int size, u32 val) argument [all...] |
H A D | ops-msc.c | 34 struct pci_bus *bus, unsigned int devfn, int where, u32 * data) 47 ((where / 4) << MSC01_PCI_CFGADDR_RNUM_SHF))); 76 int where, int size, u32 * val) 80 if ((size == 2) && (where & 1)) 82 else if ((size == 4) && (where & 3)) 85 if (msc_pcibios_config_access(PCI_ACCESS_READ, bus, devfn, where, 90 *val = (data >> ((where & 3) << 3)) & 0xff; 92 *val = (data >> ((where & 3) << 3)) & 0xffff; 100 int where, int size, u32 val) 104 if ((size == 2) && (where 33 msc_pcibios_config_access(unsigned char access_type, struct pci_bus *bus, unsigned int devfn, int where, u32 * data) argument 75 msc_pcibios_read(struct pci_bus *bus, unsigned int devfn, int where, int size, u32 * val) argument 99 msc_pcibios_write(struct pci_bus *bus, unsigned int devfn, int where, int size, u32 val) argument [all...] |
H A D | ops-rc32434.c | 48 unsigned char where, u32 *data) 54 PCI_CFG_SET(bus->number, slot, func, where); 73 int where, u8 *val) 78 ret = config_access(PCI_ACCESS_READ, bus, devfn, where, &data); 79 *val = (data >> ((where & 3) << 3)) & 0xff; 84 int where, u16 *val) 89 ret = config_access(PCI_ACCESS_READ, bus, devfn, where, &data); 90 *val = (data >> ((where & 3) << 3)) & 0xffff; 95 int where, u32 *val) 108 ret = config_access(PCI_ACCESS_READ, bus, devfn, where, va 46 config_access(unsigned char access_type, struct pci_bus *bus, unsigned int devfn, unsigned char where, u32 *data) argument 72 read_config_byte(struct pci_bus *bus, unsigned int devfn, int where, u8 *val) argument 83 read_config_word(struct pci_bus *bus, unsigned int devfn, int where, u16 *val) argument 94 read_config_dword(struct pci_bus *bus, unsigned int devfn, int where, u32 *val) argument 129 write_config_byte(struct pci_bus *bus, unsigned int devfn, int where, u8 val) argument 148 write_config_word(struct pci_bus *bus, unsigned int devfn, int where, u16 val) argument 168 write_config_dword(struct pci_bus *bus, unsigned int devfn, int where, u32 val) argument 177 pci_config_read(struct pci_bus *bus, unsigned int devfn, int where, int size, u32 *val) argument 190 pci_config_write(struct pci_bus *bus, unsigned int devfn, int where, int size, u32 val) argument [all...] |