Searched refs:where (Results 201 - 225 of 264) sorted by path

1234567891011

/linux-master/drivers/pci/
H A Decam.c168 int where)
190 where &= PCIE_ECAM_REG_MASK;
192 return base + (bus_offset | devfn_offset | where);
195 return base + PCIE_ECAM_OFFSET(busn, devfn, where);
167 pci_ecam_map_bus(struct pci_bus *bus, unsigned int devfn, int where) argument
H A Dpci-bridge-emul.c458 int pci_bridge_emul_conf_read(struct pci_bridge_emul *bridge, int where, argument
462 int reg = where & ~3;
520 *value = (*value >> (8 * (where & 3))) & 0xff;
522 *value = (*value >> (8 * (where & 3))) & 0xffff;
535 int pci_bridge_emul_conf_write(struct pci_bridge_emul *bridge, int where, argument
538 int reg = where & ~3;
572 shift = (where & 0x3) * 8;
H A Dpci-bridge-emul.h159 int pci_bridge_emul_conf_read(struct pci_bridge_emul *bridge, int where,
161 int pci_bridge_emul_conf_write(struct pci_bridge_emul *bridge, int where,
H A Dpci.c1072 * @where: PCI Config offset of TLP Header Log
1079 int pcie_read_tlp_log(struct pci_dev *dev, int where, argument
1087 ret = pci_read_config_dword(dev, where + i * 4,
5954 * Walk up the PCI device chain and find the point where the minimum
6021 * where only 2.5 GT/s and 5.0 GT/s speeds were defined.
6240 * from their logical bus-devfn. Examples include device quirks where the
6242 * where the alias may be a proxy for devices in another domain.
6246 * (especially for userspace assigned devices where IOMMU group definition
6648 /* Release domain from IDA where it was allocated. */
H A Dxen-pcifront.c176 int where, int size, u32 *val)
184 .offset = where,
193 PCI_FUNC(devfn), where, size);
213 int where, int size, u32 val)
220 .offset = where,
230 PCI_SLOT(devfn), PCI_FUNC(devfn), where, size, val);
175 pcifront_bus_read(struct pci_bus *bus, unsigned int devfn, int where, int size, u32 *val) argument
212 pcifront_bus_write(struct pci_bus *bus, unsigned int devfn, int where, int size, u32 val) argument
/linux-master/drivers/pci/endpoint/functions/
H A Dpci-epf-vntb.c996 static int pci_read(struct pci_bus *bus, unsigned int devfn, int where, int size, u32 *val) argument
999 memcpy(val, ((u8 *)pci_space) + where, size);
1005 static int pci_write(struct pci_bus *bus, unsigned int devfn, int where, int size, u32 val) argument
/linux-master/drivers/pci/pcie/
H A Daer_inject.c138 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/pcmcia/
H A Dpcmcia_resource.c156 off_t where, u8 *val,
177 addr = (p_dev->config_base + where) >> 1;
193 int pcmcia_read_config_byte(struct pcmcia_device *p_dev, off_t where, u8 *val) argument
195 return pcmcia_access_config(p_dev, where, val, pcmcia_read_cis_mem);
206 int pcmcia_write_config_byte(struct pcmcia_device *p_dev, off_t where, u8 val) argument
208 return pcmcia_access_config(p_dev, where, &val, pcmcia_write_cis_mem);
155 pcmcia_access_config(struct pcmcia_device *p_dev, off_t where, u8 *val, int (*accessf) (struct pcmcia_socket *s, int attr, unsigned int addr, unsigned int len, void *ptr)) argument
/linux-master/drivers/scsi/arm/
H A Dacornscsi.c223 void acornscsi_dumpdma(AS_Host *host, char *where) argument
233 host->host->host_no, where,
/linux-master/drivers/scsi/lpfc/
H A Dlpfc_debugfs.c68 * where X is the lpfc hba function unique_id
69 * where Y is the vport VPI on that hba
3299 int where, count; local
3323 where = idiag.cmd.data[IDIAG_PCICFG_WHERE_INDX];
3331 pci_read_config_byte(pdev, where, &u8val);
3333 "%03x: %02x\n", where, u8val);
3336 pci_read_config_word(pdev, where, &u16val);
3338 "%03x: %04x\n", where, u16val);
3341 pci_read_config_dword(pdev, where, &u32val);
3343 "%03x: %08x\n", where, u32va
3419 uint32_t where, value, count; local
[all...]
/linux-master/drivers/staging/rts5208/
H A Drtsx.h154 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/drivers/tty/vt/
H A Dselection.c61 static inline void highlight_pointer(const int where) argument
63 complement_pos(vc_sel.cons, where);
/linux-master/drivers/usb/gadget/udc/
H A Dnet2272.c106 static void assert_out_naking(struct net2272_ep *ep, const char *where) argument
117 ep->ep.name, where, tmp);
/linux-master/drivers/vdpa/ifcvf/
H A Difcvf_base.c59 uint32_t *val, int size, int where)
64 ret = pci_read_config_dword(dev, where + i, val + i / 4);
58 ifcvf_read_config_range(struct pci_dev *dev, uint32_t *val, int size, int where) argument
/linux-master/drivers/video/fbdev/
H A Dvga16fb.c850 char __iomem *where; local
853 where = info->screen_base + dx + rect->dy * info->fix.line_length;
870 writeb(rect->color, where);
871 where++;
873 where += line_ofs;
883 rmw(where);
884 rmw(where+1);
885 where += info->fix.line_length;
1141 char __iomem *where; local
1145 where
1165 char __iomem *where = info->screen_base + (image->dx/8) + local
1233 char __iomem *where = local
[all...]
/linux-master/fs/afs/
H A Dfs_probe.c19 enum afs_estate_trace where)
25 trace_afs_estate(estate->server_id, estate->probe_seq, r, where);
40 void afs_put_endpoint_state(struct afs_endpoint_state *estate, enum afs_estate_trace where) argument
48 trace_afs_estate(server_id, probe_seq, r, where);
18 afs_get_endpoint_state(struct afs_endpoint_state *estate, enum afs_estate_trace where) argument
H A Dinternal.h1188 enum afs_estate_trace where);
1189 void afs_put_endpoint_state(struct afs_endpoint_state *estate, enum afs_estate_trace where);
1699 static inline int afs_io_error(struct afs_call *call, enum afs_io_error where) argument
1701 trace_afs_io_error(call->debug_id, -EIO, where);
1705 static inline int afs_bad(struct afs_vnode *vnode, enum afs_file_error where) argument
1707 trace_afs_file_error(vnode, -EIO, where);
/linux-master/fs/bcachefs/
H A Dbset.c242 void bch2_verify_insert_pos(struct btree *b, struct bkey_packed *where, argument
245 struct bset_tree *t = bch2_bkey_to_bset(b, where);
246 struct bkey_packed *prev = bch2_bkey_prev_all(b, t, where);
247 struct bkey_packed *next = (void *) ((u64 *) where->_data + clobber_u64s);
742 /* First we figure out where the first key in each cacheline is */
929 unsigned l, j, where = __btree_node_key_to_offset(b, _where); local
936 /* returns first entry >= where */
937 l = rw_aux_tree_bsearch(b, t, where);
942 where < t->end_offset &&
943 rw_aux_tree(b, t)[l].offset == where)
1005 bch2_bset_insert(struct btree *b, struct btree_node_iter *iter, struct bkey_packed *where, struct bkey_i *insert, unsigned clobber_u64s) argument
1047 bch2_bset_delete(struct btree *b, struct bkey_packed *where, unsigned clobber_u64s) argument
[all...]
H A Dbset.h531 struct bkey_packed *where,
H A Dbtree_iter.c405 struct bkey_packed *where)
409 if (where != bch2_btree_node_iter_peek_all(&l->iter, l->b))
412 if (bkey_iter_pos_cmp(l->b, where, &path->pos) < 0)
418 struct bkey_packed *where)
424 __bch2_btree_path_fix_key_modified(path, b, where);
433 struct bkey_packed *where,
439 unsigned offset = __btree_node_key_to_offset(b, where);
453 bkey_iter_pos_cmp(b, where, &path->pos) >= 0) {
454 bch2_btree_node_iter_push(node_iter, b, where, end);
468 bkey_iter_pos_cmp(b, where,
403 __bch2_btree_path_fix_key_modified(struct btree_path *path, struct btree *b, struct bkey_packed *where) argument
416 bch2_btree_path_fix_key_modified(struct btree_trans *trans, struct btree *b, struct bkey_packed *where) argument
429 __bch2_btree_node_iter_fix(struct btree_path *path, struct btree *b, struct btree_node_iter *node_iter, struct bset_tree *t, struct bkey_packed *where, unsigned clobber_u64s, unsigned new_u64s) argument
520 bch2_btree_node_iter_fix(struct btree_trans *trans, struct btree_path *path, struct btree *b, struct btree_node_iter *node_iter, struct bkey_packed *where, unsigned clobber_u64s, unsigned new_u64s) argument
[all...]
H A Dextents.c1405 int bch2_cut_front_s(struct bpos where, struct bkey_s k) argument
1411 if (bkey_le(where, bkey_start_pos(k.k)))
1414 EBUG_ON(bkey_gt(where, k.k->p));
1416 sub = where.offset - bkey_start_offset(k.k);
1487 int bch2_cut_back_s(struct bpos where, struct bkey_s k) argument
1493 if (bkey_ge(where, k.k->p))
1496 EBUG_ON(bkey_lt(where, bkey_start_pos(k.k)));
1498 len = where.offset - bkey_start_offset(k.k);
1500 k.k->p.offset = where.offset;
H A Dextents.h717 static inline void bch2_cut_front(struct bpos where, struct bkey_i *k) argument
719 bch2_cut_front_s(where, bkey_i_to_s(k));
722 static inline void bch2_cut_back(struct bpos where, struct bkey_i *k) argument
724 bch2_cut_back_s(where, bkey_i_to_s(k));
730 * bkey_start_offset(k) will be preserved, modifies where the extent ends
/linux-master/fs/bfs/
H A Dfile.c51 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/fs/ext2/
H A Dinode.c221 * numbers of the chain, addresses they were taken from (and where we can
553 * @where: location of missing link
562 long block, Indirect *where, int num, int blks)
573 *where->p = where->key;
580 current_block = le32_to_cpu(where->key) + 1;
582 *(where->p + i ) = cpu_to_le32(current_block++);
593 le32_to_cpu(where[num].key) + blks - 1;
599 if (where->bh)
600 mark_buffer_dirty_inode(where
561 ext2_splice_branch(struct inode *inode, long block, Indirect *where, int num, int blks) argument
[all...]
/linux-master/fs/ext4/
H A Dext4_jbd2.c116 int __ext4_journal_stop(const char *where, unsigned int line, handle_t *handle) argument
139 __ext4_std_error(sb, where, line, err);
229 int __ext4_journal_get_write_access(const char *where, unsigned int line, argument
241 ext4_journal_abort_handle(where, line, __func__, bh,
264 int __ext4_forget(const char *where, unsigned int line, handle_t *handle, argument
296 ext4_journal_abort_handle(where, line, __func__,
309 ext4_journal_abort_handle(where, line, __func__,
311 __ext4_error(inode->i_sb, where, line, true, -err, 0,
318 int __ext4_journal_get_create_access(const char *where, unsigned int line, argument
330 ext4_journal_abort_handle(where, lin
342 __ext4_handle_dirty_metadata(const char *where, unsigned int line, handle_t *handle, struct inode *inode, struct buffer_head *bh) argument
[all...]

Completed in 405 milliseconds

1234567891011