Searched refs:where (Results 1 - 25 of 80) sorted by relevance

1234

/drivers/media/pci/ivtv/
H A Divtv-firmware.h29 int ivtv_firmware_check(struct ivtv *itv, char *where);
H A Divtv-firmware.c335 int ivtv_firmware_check(struct ivtv *itv, char *where) argument
341 IVTV_WARN("Encoder has died : %s\n", where);
352 IVTV_WARN("Audio has died (Encoder OK) : %s\n", where);
364 where);
371 IVTV_WARN("Decoder has died : %s\n", where);
380 "Reloading\n", where);
/drivers/isdn/hisax/
H A Dfsm.h56 void *arg, int where);
58 void *arg, int where);
59 void FsmDelTimer(struct FsmTimer *ft, int where);
H A Dfsm.c111 FsmDelTimer(struct FsmTimer *ft, int where) argument
115 ft->fi->printdebug(ft->fi, "FsmDelTimer %lx %d", (long) ft, where);
122 int millisec, int event, void *arg, int where)
128 (long) ft, millisec, where);
146 int millisec, int event, void *arg, int where)
152 (long) ft, millisec, where);
121 FsmAddTimer(struct FsmTimer *ft, int millisec, int event, void *arg, int where) argument
145 FsmRestartTimer(struct FsmTimer *ft, int millisec, int event, void *arg, int where) argument
/drivers/gpu/drm/mga/
H A Dmga_warp.c58 int n_pipes, where; local
89 where = 0;
94 where++;
97 if (where != n_pipes) {
113 where = 0;
120 dev_priv->warp_pipe_phys[where] = pcbase;
126 where++;
/drivers/pci/host/
H A Dpcie-designware.h63 int (*rd_own_conf)(struct pcie_port *pp, int where, int size, u32 *val);
64 int (*wr_own_conf)(struct pcie_port *pp, int where, int size, u32 val);
66 unsigned int devfn, int where, int size, u32 *val);
68 unsigned int devfn, int where, int size, u32 val);
79 int dw_pcie_cfg_read(void __iomem *addr, int where, int size, u32 *val);
80 int dw_pcie_cfg_write(void __iomem *addr, int where, int size, u32 val);
H A Dpci-keystone.h48 unsigned int devfn, int where, int size, u32 val);
50 unsigned int devfn, int where, int size, u32 *val);
H A Dpcie-designware.c81 int dw_pcie_cfg_read(void __iomem *addr, int where, int size, u32 *val) argument
86 *val = (*val >> (8 * (where & 3))) & 0xff;
88 *val = (*val >> (8 * (where & 3))) & 0xffff;
95 int dw_pcie_cfg_write(void __iomem *addr, int where, int size, u32 val) argument
100 writew(val, addr + (where & 2));
102 writeb(val, addr + (where & 3));
125 static int dw_pcie_rd_own_conf(struct pcie_port *pp, int where, int size, argument
131 ret = pp->ops->rd_own_conf(pp, where, size, val);
133 ret = dw_pcie_cfg_read(pp->dbi_base + (where & ~0x3), where,
139 dw_pcie_wr_own_conf(struct pcie_port *pp, int where, int size, u32 val) argument
574 dw_pcie_rd_other_conf(struct pcie_port *pp, struct pci_bus *bus, u32 devfn, int where, int size, u32 *val) argument
599 dw_pcie_wr_other_conf(struct pcie_port *pp, struct pci_bus *bus, u32 devfn, int where, int size, u32 val) argument
647 dw_pcie_rd_conf(struct pci_bus *bus, u32 devfn, int where, int size, u32 *val) argument
671 dw_pcie_wr_conf(struct pci_bus *bus, u32 devfn, int where, int size, u32 val) argument
[all...]
H A Dpci-mvebu.c47 #define PCIE_CONF_ADDR(bus, devfn, where) \
49 PCIE_CONF_FUNC(PCI_FUNC(devfn)) | PCIE_CONF_REG(where) | \
256 u32 devfn, int where, int size, u32 *val)
258 mvebu_writel(port, PCIE_CONF_ADDR(bus->number, devfn, where),
264 *val = (*val >> (8 * (where & 3))) & 0xff;
266 *val = (*val >> (8 * (where & 3))) & 0xffff;
273 u32 devfn, int where, int size, u32 val)
275 u32 _val, shift = 8 * (where & 3);
277 mvebu_writel(port, PCIE_CONF_ADDR(bus->number, devfn, where),
454 unsigned int where, in
254 mvebu_pcie_hw_rd_conf(struct mvebu_pcie_port *port, struct pci_bus *bus, u32 devfn, int where, int size, u32 *val) argument
271 mvebu_pcie_hw_wr_conf(struct mvebu_pcie_port *port, struct pci_bus *bus, u32 devfn, int where, int size, u32 val) argument
453 mvebu_sw_pci_bridge_read(struct mvebu_pcie_port *port, unsigned int where, int size, u32 *value) argument
532 mvebu_sw_pci_bridge_write(struct mvebu_pcie_port *port, unsigned int where, int size, u32 value) argument
637 mvebu_pcie_wr_conf(struct pci_bus *bus, u32 devfn, int where, int size, u32 val) argument
674 mvebu_pcie_rd_conf(struct pci_bus *bus, u32 devfn, int where, int size, u32 *val) argument
[all...]
H A Dpci-host-generic.c49 int where)
55 return pci->cfg.win[idx] + ((devfn << 8) | where);
65 int where)
71 return pci->cfg.win[idx] + ((devfn << 12) | where);
80 int where, int size, u32 *val)
86 addr = pci->cfg.ops->map_bus(bus, devfn, where);
103 int where, int size, u32 val)
109 addr = pci->cfg.ops->map_bus(bus, devfn, where);
47 gen_pci_map_cfg_bus_cam(struct pci_bus *bus, unsigned int devfn, int where) argument
63 gen_pci_map_cfg_bus_ecam(struct pci_bus *bus, unsigned int devfn, int where) argument
79 gen_pci_config_read(struct pci_bus *bus, unsigned int devfn, int where, int size, u32 *val) argument
102 gen_pci_config_write(struct pci_bus *bus, unsigned int devfn, int where, int size, u32 val) argument
H A Dpci-rcar-gen2.c109 int where)
124 if (slot == 0x0 && where >= 0x40)
131 return priv->reg + (slot >> 1) * 0x100 + where;
135 int where, int size, u32 *val)
137 void __iomem *reg = rcar_pci_cfg_base(bus, devfn, where);
158 int where, int size, u32 val)
160 void __iomem *reg = rcar_pci_cfg_base(bus, devfn, where);
108 rcar_pci_cfg_base(struct pci_bus *bus, unsigned int devfn, int where) argument
134 rcar_pci_read_config(struct pci_bus *bus, unsigned int devfn, int where, int size, u32 *val) argument
157 rcar_pci_write_config(struct pci_bus *bus, unsigned int devfn, int where, int size, u32 val) argument
H A Dpcie-rcar.c160 static void rcar_rmw32(struct rcar_pcie *pcie, int where, u32 mask, u32 data) argument
162 int shift = 8 * (where & 3);
163 u32 val = rcar_pci_read_reg(pcie, where & ~3);
167 rcar_pci_write_reg(pcie, val, where & ~3);
170 static u32 rcar_read_conf(struct rcar_pcie *pcie, int where) argument
172 int shift = 8 * (where & 3);
173 u32 val = rcar_pci_read_reg(pcie, where & ~3);
181 unsigned int devfn, int where, u32 *data)
187 reg = where & ~3;
259 int where, in
179 rcar_pcie_config_access(struct rcar_pcie *pcie, unsigned char access_type, struct pci_bus *bus, unsigned int devfn, int where, u32 *data) argument
258 rcar_pcie_read_conf(struct pci_bus *bus, unsigned int devfn, int where, int size, u32 *val) argument
283 rcar_pcie_write_conf(struct pci_bus *bus, unsigned int devfn, int where, int size, u32 val) argument
[all...]
H A Dpci-keystone-dw.c398 unsigned int devfn, int where, int size, u32 *val)
406 return dw_pcie_cfg_read(addr + (where & ~0x3), where, size, val);
410 unsigned int devfn, int where, int size, u32 val)
418 return dw_pcie_cfg_write(addr + (where & ~0x3), where, size, val);
397 ks_dw_pcie_rd_other_conf(struct pcie_port *pp, struct pci_bus *bus, unsigned int devfn, int where, int size, u32 *val) argument
409 ks_dw_pcie_wr_other_conf(struct pcie_port *pp, struct pci_bus *bus, unsigned int devfn, int where, int size, u32 val) argument
/drivers/video/fbdev/i810/
H A Di810.h292 #define i810_readb(where, mmio) readb(mmio + where)
293 #define i810_readw(where, mmio) readw(mmio + where)
294 #define i810_readl(where, mmio) readl(mmio + where)
295 #define i810_writeb(where, mmio, val) writeb(val, mmio + where)
296 #define i810_writew(where, mmio, val) writew(val, mmio + where)
[all...]
/drivers/md/
H A Ddm-io.c280 static void do_region(int rw, unsigned region, struct dm_io_region *where, argument
288 sector_t remaining = where->count;
289 struct request_queue *q = bdev_get_queue(where->bdev);
294 * where->count may be zero if rw holds a flush and we need to
304 num_bvecs = min_t(int, bio_get_nr_vecs(where->bdev),
308 bio->bi_iter.bi_sector = where->sector + (where->count - remaining);
309 bio->bi_bdev = where->bdev;
349 struct dm_io_region *where, struct dpages *dp,
366 if (where[
348 dispatch_io(int rw, unsigned int num_regions, struct dm_io_region *where, struct dpages *dp, struct io *io, int sync) argument
390 sync_io(struct dm_io_client *client, unsigned int num_regions, struct dm_io_region *where, int rw, struct dpages *dp, unsigned long *error_bits) argument
424 async_io(struct dm_io_client *client, unsigned int num_regions, struct dm_io_region *where, int rw, struct dpages *dp, io_notify_fn fn, void *context) argument
495 dm_io(struct dm_io_request *io_req, unsigned num_regions, struct dm_io_region *where, unsigned long *sync_error_bits) argument
[all...]
/drivers/mfd/
H A Dlpc_sch.c93 static int lpc_sch_get_io(struct pci_dev *pdev, int where, const char *name, argument
102 pci_read_config_dword(pdev, where, &base_addr_cfg);
122 static int lpc_sch_populate_cell(struct pci_dev *pdev, int where, argument
133 ret = lpc_sch_get_io(pdev, where, name, res, size);
/drivers/staging/rts5208/
H A Drtsx.h73 #define rtsx_read_config_byte(chip, where, val) \
74 pci_read_config_byte((chip)->rtsx->pci, where, val)
76 #define rtsx_write_config_byte(chip, where, val) \
77 pci_write_config_byte((chip)->rtsx->pci, where, val)
/drivers/isdn/mISDN/
H A Dfsm.c124 mISDN_FsmDelTimer(struct FsmTimer *ft, int where) argument
129 (long) ft, where);
137 int millisec, int event, void *arg, int where)
143 (long) ft, millisec, where);
166 int millisec, int event, void *arg, int where)
172 (long) ft, millisec, where);
136 mISDN_FsmAddTimer(struct FsmTimer *ft, int millisec, int event, void *arg, int where) argument
165 mISDN_FsmRestartTimer(struct FsmTimer *ft, int millisec, int event, void *arg, int where) argument
/drivers/md/bcache/
H A Dbset.h408 static inline bool bch_cut_front(const struct bkey *where, struct bkey *k) argument
410 BUG_ON(bkey_cmp(where, k) > 0);
411 return __bch_cut_front(where, k);
414 static inline bool bch_cut_back(const struct bkey *where, struct bkey *k) argument
416 BUG_ON(bkey_cmp(where, &START_KEY(k)) < 0);
417 return __bch_cut_back(where, k);
H A Dbset.c193 bool __bch_cut_front(const struct bkey *where, struct bkey *k) argument
197 if (bkey_cmp(where, &START_KEY(k)) <= 0)
200 if (bkey_cmp(where, k) < 0)
201 len = KEY_OFFSET(k) - KEY_OFFSET(where);
203 bkey_copy_key(k, where);
213 bool __bch_cut_back(const struct bkey *where, struct bkey *k) argument
217 if (bkey_cmp(where, k) >= 0)
220 BUG_ON(KEY_INODE(where) != KEY_INODE(k));
222 if (bkey_cmp(where, &START_KEY(k)) > 0)
223 len = KEY_OFFSET(where)
799 bch_bset_insert(struct btree_keys *b, struct bkey *where, struct bkey *insert) argument
[all...]
/drivers/staging/speakup/
H A Dvarhandlers.c163 struct punc_var_t *where; local
165 where = punc_vars;
166 while ((where->var_id != -1) && (rv == NULL)) {
167 if (where->var_id == var_id)
168 rv = where;
170 where++;
/drivers/video/fbdev/
H A Dvga16fb.c835 char __iomem *where; local
838 where = info->screen_base + dx + rect->dy * info->fix.line_length;
855 writeb(rect->color, where);
856 where++;
858 where += line_ofs;
868 rmw(where);
869 rmw(where+1);
870 where += info->fix.line_length;
1127 char __iomem *where; local
1131 where
1151 char __iomem *where = info->screen_base + (image->dx/8) + local
1219 char __iomem *where = local
[all...]
/drivers/pci/pcie/aer/
H A Daer_inject.c141 static u32 *find_pci_config_dword(struct aer_error *err, int where, argument
150 switch (where - err->pos_cap_err) {
184 static int pci_read_aer(struct pci_bus *bus, unsigned int devfn, int where, argument
203 sim = find_pci_config_dword(err, where, NULL);
212 return ops->read(bus, devfn, where, size, val);
215 static int pci_write_aer(struct pci_bus *bus, unsigned int devfn, int where, argument
235 sim = find_pci_config_dword(err, where, &rw1cs);
247 return ops->write(bus, devfn, where, size, val);
/drivers/mmc/card/
H A DKconfig40 SD/MMC is a high latency protocol where it is crucial to
/drivers/infiniband/hw/qib/
H A Dqib_sd7220.c103 static void qib_sd_trimdone_monitor(struct qib_devdata *dd, const char *where);
303 const char *where)
308 if (!where)
309 where = "?";
316 qib_dev_err(dd, "not able to re-sync IB EPB (%s)\n", where);
321 qib_dev_err(dd, "Failed TRIMDONE 1st read, (%s)\n", where);
326 qib_dev_err(dd, "IBCS TRIMDONE clear (%s)\n", where);
335 qib_dev_err(dd, "Failed Dummy RMW, (%s)\n", where);
347 chn, where);
355 chn, ret, where);
302 qib_sd_trimdone_monitor(struct qib_devdata *dd, const char *where) argument
[all...]

Completed in 837 milliseconds

1234