/linux-master/drivers/pci/controller/ |
H A D | pci-ixp4xx.c | 186 static u32 ixp4xx_config_addr(u8 bus_num, u16 devfn, int where) argument 191 return (PCI_CONF1_ADDRESS(0, 0, PCI_FUNC(devfn), where) & 196 PCI_FUNC(devfn), where) & 217 static int ixp4xx_crp_read_config(struct ixp4xx_pci *p, int where, int size, argument 222 n = where % 4; 223 cmd = where & ~3; 226 __func__, where, size, cmd); 255 static int ixp4xx_crp_write_config(struct ixp4xx_pci *p, int where, int size, argument 260 n = where % 4; 264 cmd |= where 293 ixp4xx_pci_read_config(struct pci_bus *bus, unsigned int devfn, int where, int size, u32 *value) argument 340 ixp4xx_pci_write_config(struct pci_bus *bus, unsigned int devfn, int where, int size, u32 value) argument [all...] |
H A D | pcie-iproc.c | 243 * window where the MSI posted writes are written, for the writes to be 250 * To hold the address of the register where the MSI writes are 462 int where) 468 val = ALIGN_DOWN(PCIE_ECAM_OFFSET(busno, devfn, where), 4) | 508 * This will handle the case where CFG_RETRY_STATUS is 525 static void iproc_pcie_fix_cap(struct iproc_pcie *pcie, int where, u32 *val) argument 529 switch (where & ~0x3) { 569 int where, int size, u32 *val) 579 ret = pci_generic_config_read32(bus, devfn, where, size, val); 581 iproc_pcie_fix_cap(pcie, where, va 459 iproc_pcie_map_ep_cfg_reg(struct iproc_pcie *pcie, unsigned int busno, unsigned int devfn, int where) argument 568 iproc_pcie_config_read(struct pci_bus *bus, unsigned int devfn, int where, int size, u32 *val) argument 623 iproc_pcie_map_cfg_bus(struct iproc_pcie *pcie, int busno, unsigned int devfn, int where) argument 646 iproc_pcie_bus_map_cfg_bus(struct pci_bus *bus, unsigned int devfn, int where) argument 654 iproc_pci_raw_config_read32(struct iproc_pcie *pcie, unsigned int devfn, int where, int size, u32 *val) argument 672 iproc_pci_raw_config_write32(struct iproc_pcie *pcie, unsigned int devfn, int where, int size, u32 val) argument 696 iproc_pcie_config_read32(struct pci_bus *bus, unsigned int devfn, int where, int size, u32 *val) argument 712 iproc_pcie_config_write32(struct pci_bus *bus, unsigned int devfn, int where, int size, u32 val) argument [all...] |
/linux-master/arch/alpha/kernel/ |
H A D | core_irongate.c | 82 mk_conf_addr(struct pci_bus *pbus, unsigned int device_fn, int where, argument 88 DBG_CFG(("mk_conf_addr(bus=%d ,device_fn=0x%x, where=0x%x, " 90 bus, device_fn, where, pci_addr, type1)); 94 addr = (bus << 16) | (device_fn << 8) | where; 103 irongate_read_config(struct pci_bus *bus, unsigned int devfn, int where, argument 109 if (mk_conf_addr(bus, devfn, where, &addr, &type1)) 128 irongate_write_config(struct pci_bus *bus, unsigned int devfn, int where, argument 134 if (mk_conf_addr(bus, devfn, where, &addr, &type1))
|
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 | sys_marvel.c | 50 * where (interrupt) is: 56 * where (irq) is 176 unsigned int where) 182 val |= ((unsigned long)where << 24); /* set the new target pid */ 190 io7_redirect_one_lsi(struct io7 *io7, unsigned int which, unsigned int where) 199 val |= ((unsigned long)where << 14); /* set the new target pid */ 207 io7_redirect_one_msi(struct io7 *io7, unsigned int which, unsigned int where) 216 val |= ((unsigned long)where << 14); /* set the new target pid */ 224 init_one_io7_lsi(struct io7 *io7, unsigned int which, unsigned int where) 229 io7->csrs->PO7_LSI_CTL[which].csr = ((unsigned long)where << 1 173 io7_redirect_irq(struct io7 *io7, volatile unsigned long *csr, unsigned int where) argument 189 io7_redirect_one_lsi(struct io7 *io7, unsigned int which, unsigned int where) argument 206 io7_redirect_one_msi(struct io7 *io7, unsigned int which, unsigned int where) argument 223 init_one_io7_lsi(struct io7 *io7, unsigned int which, unsigned int where) argument 234 init_one_io7_msi(struct io7 *io7, unsigned int which, unsigned int where) argument [all...] |
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...] |
/linux-master/drivers/pci/controller/dwc/ |
H A D | pcie-tegra194-acpi.c | 67 unsigned int devfn, int where) 79 return pcie_ecam->dbi_base + where; 99 return pcie_ecam->config_base + where; 66 tegra194_map_bus(struct pci_bus *bus, unsigned int devfn, int where) argument
|
/linux-master/arch/powerpc/kvm/ |
H A D | trace_hv.h | 407 TP_PROTO(struct kvmppc_vcore *vc, int where), 409 TP_ARGS(vc, where), 414 __field(int, where) 421 __entry->where = where; 426 __entry->where ? "Exit" : "Enter", 431 TP_PROTO(struct kvm_vcpu *vcpu, int where), 433 TP_ARGS(vcpu, where), 438 __field(int, where) 445 __entry->where [all...] |
/linux-master/drivers/mfd/ |
H A D | lpc_sch.c | 78 static int lpc_sch_get_io(struct pci_dev *pdev, int where, const char *name, argument 87 pci_read_config_dword(pdev, where, &base_addr_cfg); 107 static int lpc_sch_populate_cell(struct pci_dev *pdev, int where, argument 118 ret = lpc_sch_get_io(pdev, where, name, res, size);
|
/linux-master/arch/x86/include/asm/ |
H A D | sighandling.h | 16 void signal_fault(struct pt_regs *regs, void __user *frame, char *where);
|
/linux-master/drivers/staging/rts5208/ |
H A D | rtsx.h | 154 static inline int rtsx_read_config_byte(struct rtsx_chip *chip, int where, u8 *val) argument 156 return pci_read_config_byte(chip->rtsx->pci, where, val); 159 static inline int rtsx_write_config_byte(struct rtsx_chip *chip, int where, u8 val) argument 161 return pci_write_config_byte(chip->rtsx->pci, where, val);
|
/linux-master/fs/bfs/ |
H A D | file.c | 51 unsigned long end, unsigned long where) 55 dprintf("%08lx-%08lx->%08lx\n", start, end, where); 57 if(bfs_move_block(i, where + i, sb)) { 59 where + i); 50 bfs_move_blocks(struct super_block *sb, unsigned long start, unsigned long end, unsigned long where) argument
|
/linux-master/include/linux/ |
H A D | aer.h | 40 int pcie_read_tlp_log(struct pci_dev *dev, int where, struct pcie_tlp_log *log);
|
/linux-master/net/ |
H A D | sysctl_net.c | 120 * data segment, and rather into the heap where a per-net object was 132 const char *where; local 146 where = "module"; 148 where = "kernel"; 156 path, ent->procname, where, ent->data);
|
/linux-master/arch/mips/pci/ |
H A D | pci-ar2315.c | 213 int where, int size, u32 *ptr, bool write) 217 u32 addr = (1 << (13 + dev)) | (func << 8) | (where & ~3); 219 u32 sh = (where & 3) * 8; 268 unsigned devfn, int where, u32 *val) 270 return ar2315_pci_cfg_access(apc, devfn, where, sizeof(u32), val, 275 unsigned devfn, int where, u32 val) 277 return ar2315_pci_cfg_access(apc, devfn, where, sizeof(u32), &val, 281 static int ar2315_pci_cfg_read(struct pci_bus *bus, unsigned devfn, int where, argument 289 return ar2315_pci_cfg_access(apc, devfn, where, size, value, false); 292 static int ar2315_pci_cfg_write(struct pci_bus *bus, unsigned devfn, int where, argument 212 ar2315_pci_cfg_access(struct ar2315_pci_ctrl *apc, unsigned devfn, int where, int size, u32 *ptr, bool write) argument 267 ar2315_pci_local_cfg_rd(struct ar2315_pci_ctrl *apc, unsigned devfn, int where, u32 *val) argument 274 ar2315_pci_local_cfg_wr(struct ar2315_pci_ctrl *apc, unsigned devfn, int where, u32 val) argument [all...] |
H A D | pci-rt3883.c | 94 unsigned int func, unsigned int where) 96 return (bus << 16) | (slot << 11) | (func << 8) | (where & 0xfc) | 225 int where, int size, u32 *val) 237 PCI_FUNC(devfn), where); 244 *val = (data >> ((where & 3) << 3)) & 0xff; 247 *val = (data >> ((where & 3) << 3)) & 0xffff; 258 int where, int size, u32 val) 270 PCI_FUNC(devfn), where); 277 data = (data & ~(0xff << ((where & 3) << 3))) | 278 (val << ((where 93 rt3883_pci_get_cfgaddr(unsigned int bus, unsigned int slot, unsigned int func, unsigned int where) argument 224 rt3883_pci_config_read(struct pci_bus *bus, unsigned int devfn, int where, int size, u32 *val) argument 257 rt3883_pci_config_write(struct pci_bus *bus, unsigned int devfn, int where, int size, u32 val) argument [all...] |
/linux-master/arch/arm64/kvm/hyp/nvhe/ |
H A D | stacktrace.c | 89 * @where : the program counter corresponding to the stack frame 94 static bool pkvm_save_backtrace_entry(void *arg, unsigned long where) argument 106 stacktrace[*idx] = where;
|
/linux-master/arch/powerpc/include/asm/ |
H A D | ppc-pci.h | 48 int rtas_pci_dn_read_config(struct pci_dn *pdn, int where, int size, u32 *val); 49 int rtas_pci_dn_write_config(struct pci_dn *pdn, int where, int size, u32 val);
|
H A D | pci-bridge.h | 146 int dev_fn, int where, u8 *val); 148 int dev_fn, int where, u16 *val); 150 int dev_fn, int where, u32 *val); 152 int dev_fn, int where, u8 val); 154 int dev_fn, int where, u16 val); 156 int dev_fn, int where, u32 val);
|
/linux-master/drivers/isdn/mISDN/ |
H A D | fsm.c | 119 mISDN_FsmDelTimer(struct FsmTimer *ft, int where) argument 124 (long) ft, where); 132 int millisec, int event, void *arg, int where) 138 (long) ft, millisec, where); 160 int millisec, int event, void *arg, int where) 166 (long) ft, millisec, where); 131 mISDN_FsmAddTimer(struct FsmTimer *ft, int millisec, int event, void *arg, int where) argument 159 mISDN_FsmRestartTimer(struct FsmTimer *ft, int millisec, int event, void *arg, int where) argument
|
/linux-master/fs/minix/ |
H A D | itree_common.c | 117 Indirect *where, 125 if (!verify_chain(chain, where-1) || *where->p) 128 *where->p = where->key; 137 if (where->bh) 138 mark_buffer_dirty_inode(where->bh, inode); 146 bforget(where[i].bh); 148 minix_free_block(inode, block_to_cpu(where[i].key)); 115 splice_branch(struct inode *inode, Indirect chain[DEPTH], Indirect *where, int num) argument
|
/linux-master/drivers/md/bcache/ |
H A D | bset.h | 302 void bch_bset_insert(struct btree_keys *b, struct bkey *where, 431 bool __bch_cut_front(const struct bkey *where, struct bkey *k); 432 bool __bch_cut_back(const struct bkey *where, struct bkey *k); 434 static inline bool bch_cut_front(const struct bkey *where, struct bkey *k) argument 436 BUG_ON(bkey_cmp(where, k) > 0); 437 return __bch_cut_front(where, k); 440 static inline bool bch_cut_back(const struct bkey *where, struct bkey *k) argument 442 BUG_ON(bkey_cmp(where, &START_KEY(k)) < 0); 443 return __bch_cut_back(where, k);
|
/linux-master/drivers/pci/pcie/ |
H A D | aer_inject.c | 138 static u32 *find_pci_config_dword(struct aer_error *err, int where, argument 147 switch (where - err->pos_cap_err) { 181 static int aer_inj_read(struct pci_bus *bus, unsigned int devfn, int where, argument 193 rv = ops->read(bus, devfn, where, size, val); 199 static int aer_inj_write(struct pci_bus *bus, unsigned int devfn, int where, argument 211 rv = ops->write(bus, devfn, where, size, val); 218 int where, int size, u32 *val) 236 sim = find_pci_config_dword(err, where, NULL); 243 rv = aer_inj_read(bus, devfn, where, size, val); 249 int where, in 217 aer_inj_read_config(struct pci_bus *bus, unsigned int devfn, int where, int size, u32 *val) argument 248 aer_inj_write_config(struct pci_bus *bus, unsigned int devfn, int where, int size, u32 val) argument [all...] |
/linux-master/drivers/media/pci/ivtv/ |
H A D | ivtv-firmware.c | 323 int ivtv_firmware_check(struct ivtv *itv, char *where) argument 329 IVTV_WARN("Encoder has died : %s\n", where); 340 IVTV_WARN("Audio has died (Encoder OK) : %s\n", where); 352 where); 359 IVTV_WARN("Decoder has died : %s\n", where); 368 where);
|
/linux-master/drivers/accessibility/speakup/ |
H A D | varhandlers.c | 169 struct punc_var_t *where; local 171 where = punc_vars; 172 while ((where->var_id != -1) && (!rv)) { 173 if (where->var_id == var_id) 174 rv = where; 176 where++;
|