Home
last modified time | relevance | path

Searched refs:where (Results 1 – 25 of 117) sorted by relevance

12345

/drivers/video/i810/
Di810.h292 #define i810_readb(where, mmio) readb(mmio + where) argument
293 #define i810_readw(where, mmio) readw(mmio + where) argument
294 #define i810_readl(where, mmio) readl(mmio + where) argument
295 #define i810_writeb(where, mmio, val) writeb(val, mmio + where) argument
296 #define i810_writew(where, mmio, val) writew(val, mmio + where) argument
297 #define i810_writel(where, mmio, val) writel(val, mmio + where) argument
/drivers/md/
Ddm-io.c280 static void do_region(int rw, unsigned region, struct dm_io_region *where, in do_region() argument
288 sector_t remaining = where->count; in do_region()
289 struct request_queue *q = bdev_get_queue(where->bdev); in do_region()
304 num_bvecs = min_t(int, bio_get_nr_vecs(where->bdev), in do_region()
308 bio->bi_sector = where->sector + (where->count - remaining); in do_region()
309 bio->bi_bdev = where->bdev; in do_region()
349 struct dm_io_region *where, struct dpages *dp, in dispatch_io() argument
366 if (where[i].count || (rw & REQ_FLUSH)) in dispatch_io()
367 do_region(rw, i, where + i, dp, io); in dispatch_io()
378 struct dm_io_region *where, int rw, struct dpages *dp, in sync_io() argument
[all …]
Ddm-snap-persistent.c214 struct dm_io_region *where; member
224 req->result = dm_io(req->io_req, 1, req->where, NULL); in do_metadata()
233 struct dm_io_region where = { in chunk_io() local
248 return dm_io(&io_req, 1, &where, NULL); in chunk_io()
250 req.where = &where; in chunk_io()
/drivers/gpu/drm/mga/
Dmga_warp.c58 int n_pipes, where; in mga_warp_install_microcode() local
89 where = 0; in mga_warp_install_microcode()
94 where++; in mga_warp_install_microcode()
97 if (where != n_pipes) { in mga_warp_install_microcode()
113 where = 0; in mga_warp_install_microcode()
120 dev_priv->warp_pipe_phys[where] = pcbase; in mga_warp_install_microcode()
126 where++; in mga_warp_install_microcode()
/drivers/staging/wlags49_h2/
Dhcfdef.h680 #define HCFLOGENTRY( where, what ) do { \ argument
681 if ( (ifbp->IFB_AssertWhere = where) <= 15 ) { \
682 HCFASSERT( (ifbp->IFB_AssertTrace & 1<<((where)&0xF)) == 0, ifbp->IFB_AssertTrace ); \
683 ifbp->IFB_AssertTrace |= 1<<((where)&0xF); \
685 HCFTRACE(ifbp, where ); \
689 #define HCFLOGEXIT( where ) do { \ argument
690 if ( (ifbp->IFB_AssertWhere = where) <= 15 ) { \
691 ifbp->IFB_AssertTrace &= ~(1<<((where)&0xF)); \
693 HCFTRACE(ifbp, (where)|HCF_TRACE_EXIT ); \
699 #define HCFLOGENTRY( where, what ) do { } while(0) argument
[all …]
/drivers/isdn/hisax/
Dfsm.c111 FsmDelTimer(struct FsmTimer *ft, int where) in FsmDelTimer() argument
115 ft->fi->printdebug(ft->fi, "FsmDelTimer %lx %d", (long) ft, where); in FsmDelTimer()
122 int millisec, int event, void *arg, int where) in FsmAddTimer() argument
128 (long) ft, millisec, where); in FsmAddTimer()
146 int millisec, int event, void *arg, int where) in FsmRestartTimer() argument
152 (long) ft, millisec, where); in FsmRestartTimer()
Dfsm.h56 void *arg, int where);
58 void *arg, int where);
59 void FsmDelTimer(struct FsmTimer *ft, int where);
/drivers/staging/speakup/
Dvarhandlers.c140 struct st_var_header *where = NULL; in spk_var_header_by_name() local
144 while ((i < MAXVARS) && (where == NULL)) { in spk_var_header_by_name()
146 where = var_ptrs[i]; in spk_var_header_by_name()
151 return where; in spk_var_header_by_name()
165 struct punc_var_t *where; in spk_get_punc_var() local
167 where = punc_vars; in spk_get_punc_var()
168 while ((where->var_id != -1) && (rv == NULL)) { in spk_get_punc_var()
169 if (where->var_id == var_id) in spk_get_punc_var()
170 rv = where; in spk_get_punc_var()
172 where++; in spk_get_punc_var()
/drivers/isdn/mISDN/
Dfsm.c124 mISDN_FsmDelTimer(struct FsmTimer *ft, int where) in mISDN_FsmDelTimer() argument
129 (long) ft, where); in mISDN_FsmDelTimer()
137 int millisec, int event, void *arg, int where) in mISDN_FsmAddTimer() argument
143 (long) ft, millisec, where); in mISDN_FsmAddTimer()
166 int millisec, int event, void *arg, int where) in mISDN_FsmRestartTimer() argument
172 (long) ft, millisec, where); in mISDN_FsmRestartTimer()
/drivers/md/bcache/
Dbset.h273 static inline bool bch_cut_front(const struct bkey *where, struct bkey *k) in bch_cut_front() argument
275 BUG_ON(bkey_cmp(where, k) > 0); in bch_cut_front()
276 return __bch_cut_front(where, k); in bch_cut_front()
279 static inline bool bch_cut_back(const struct bkey *where, struct bkey *k) in bch_cut_back() argument
281 BUG_ON(bkey_cmp(where, &START_KEY(k)) < 0); in bch_cut_back()
282 return __bch_cut_back(where, k); in bch_cut_back()
Dbset.c188 bool __bch_cut_front(const struct bkey *where, struct bkey *k) in __bch_cut_front() argument
192 if (bkey_cmp(where, &START_KEY(k)) <= 0) in __bch_cut_front()
195 if (bkey_cmp(where, k) < 0) in __bch_cut_front()
196 len = KEY_OFFSET(k) - KEY_OFFSET(where); in __bch_cut_front()
198 bkey_copy_key(k, where); in __bch_cut_front()
208 bool __bch_cut_back(const struct bkey *where, struct bkey *k) in __bch_cut_back() argument
212 if (bkey_cmp(where, k) >= 0) in __bch_cut_back()
215 BUG_ON(KEY_INODE(where) != KEY_INODE(k)); in __bch_cut_back()
217 if (bkey_cmp(where, &START_KEY(k)) > 0) in __bch_cut_back()
218 len = KEY_OFFSET(where) - KEY_START(k); in __bch_cut_back()
[all …]
/drivers/video/
Dvga16fb.c835 char __iomem *where; in vga_8planes_fillrect() local
838 where = info->screen_base + dx + rect->dy * info->fix.line_length; in vga_8planes_fillrect()
855 writeb(rect->color, where); in vga_8planes_fillrect()
856 where++; in vga_8planes_fillrect()
858 where += line_ofs; in vga_8planes_fillrect()
868 rmw(where); in vga_8planes_fillrect()
869 rmw(where+1); in vga_8planes_fillrect()
870 where += info->fix.line_length; in vga_8planes_fillrect()
1127 char __iomem *where; in vga_8planes_imageblit() local
1131 where = info->screen_base + dx + image->dy * info->fix.line_length; in vga_8planes_imageblit()
[all …]
/drivers/media/pci/ivtv/
Divtv-firmware.c335 int ivtv_firmware_check(struct ivtv *itv, char *where) in ivtv_firmware_check() argument
341 IVTV_WARN("Encoder has died : %s\n", where); in ivtv_firmware_check()
352 IVTV_WARN("Audio has died (Encoder OK) : %s\n", where); in ivtv_firmware_check()
364 where); in ivtv_firmware_check()
371 IVTV_WARN("Decoder has died : %s\n", where); in ivtv_firmware_check()
380 "Reloading\n", where); in ivtv_firmware_check()
Divtv-firmware.h29 int ivtv_firmware_check(struct ivtv *itv, char *where);
/drivers/pci/pcie/aer/
Daer_inject.c141 static u32 *find_pci_config_dword(struct aer_error *err, int where, in find_pci_config_dword() argument
150 switch (where - err->pos_cap_err) { in find_pci_config_dword()
184 static int pci_read_aer(struct pci_bus *bus, unsigned int devfn, int where, in pci_read_aer() argument
203 sim = find_pci_config_dword(err, where, NULL); in pci_read_aer()
212 return ops->read(bus, devfn, where, size, val); in pci_read_aer()
215 static int pci_write_aer(struct pci_bus *bus, unsigned int devfn, int where, in pci_write_aer() argument
235 sim = find_pci_config_dword(err, where, &rw1cs); in pci_write_aer()
247 return ops->write(bus, devfn, where, size, val); in pci_write_aer()
/drivers/parisc/
Ddino.c173 static int dino_cfg_read(struct pci_bus *bus, unsigned int devfn, int where, in dino_cfg_read() argument
178 u32 v = DINO_CFG_TOK(local_bus, devfn, where & ~3); in dino_cfg_read()
182 DBG("%s: %p, %d, %d, %d\n", __func__, base_addr, devfn, where, in dino_cfg_read()
191 *val = readb(base_addr + DINO_CONFIG_DATA + (where & 3)); in dino_cfg_read()
193 *val = readw(base_addr + DINO_CONFIG_DATA + (where & 2)); in dino_cfg_read()
208 static int dino_cfg_write(struct pci_bus *bus, unsigned int devfn, int where, in dino_cfg_write() argument
213 u32 v = DINO_CFG_TOK(local_bus, devfn, where & ~3); in dino_cfg_write()
217 DBG("%s: %p, %d, %d, %d\n", __func__, base_addr, devfn, where, in dino_cfg_write()
229 writeb(val, base_addr + DINO_CONFIG_DATA + (where & 3)); in dino_cfg_write()
231 writew(val, base_addr + DINO_CONFIG_DATA + (where & 2)); in dino_cfg_write()
/drivers/scsi/lpfc/
Dlpfc_debugfs.c1431 int where, count; in lpfc_idiag_pcicfg_read() local
1455 where = idiag.cmd.data[IDIAG_PCICFG_WHERE_INDX]; in lpfc_idiag_pcicfg_read()
1463 pci_read_config_byte(pdev, where, &u8val); in lpfc_idiag_pcicfg_read()
1465 "%03x: %02x\n", where, u8val); in lpfc_idiag_pcicfg_read()
1468 pci_read_config_word(pdev, where, &u16val); in lpfc_idiag_pcicfg_read()
1470 "%03x: %04x\n", where, u16val); in lpfc_idiag_pcicfg_read()
1473 pci_read_config_dword(pdev, where, &u32val); in lpfc_idiag_pcicfg_read()
1475 "%03x: %08x\n", where, u32val); in lpfc_idiag_pcicfg_read()
1552 uint32_t where, value, count; in lpfc_idiag_pcicfg_write() local
1575 where = idiag.cmd.data[IDIAG_PCICFG_WHERE_INDX]; in lpfc_idiag_pcicfg_write()
[all …]
/drivers/infiniband/hw/qib/
Dqib_sd7220.c103 static void qib_sd_trimdone_monitor(struct qib_devdata *dd, const char *where);
303 const char *where) in qib_sd_trimdone_monitor() argument
308 if (!where) in qib_sd_trimdone_monitor()
309 where = "?"; in qib_sd_trimdone_monitor()
316 qib_dev_err(dd, "not able to re-sync IB EPB (%s)\n", where); in qib_sd_trimdone_monitor()
321 qib_dev_err(dd, "Failed TRIMDONE 1st read, (%s)\n", where); in qib_sd_trimdone_monitor()
326 qib_dev_err(dd, "IBCS TRIMDONE clear (%s)\n", where); in qib_sd_trimdone_monitor()
335 qib_dev_err(dd, "Failed Dummy RMW, (%s)\n", where); in qib_sd_trimdone_monitor()
347 chn, where); in qib_sd_trimdone_monitor()
355 chn, ret, where); in qib_sd_trimdone_monitor()
[all …]
/drivers/misc/
Dspear13xx_pcie_gadget.c89 int where, int size, u32 *val) in spear_dbi_read_reg() argument
97 va_address = (ulong)config->va_dbi_base + (where & ~0x3); in spear_dbi_read_reg()
102 *val = (*val >> (8 * (where & 3))) & 0xff; in spear_dbi_read_reg()
104 *val = (*val >> (8 * (where & 3))) & 0xffff; in spear_dbi_read_reg()
111 int where, int size, u32 val) in spear_dbi_write_reg() argument
119 va_address = (ulong)config->va_dbi_base + (where & ~0x3); in spear_dbi_write_reg()
124 writew(val, va_address + (where & 2)); in spear_dbi_write_reg()
126 writeb(val, va_address + (where & 3)); in spear_dbi_write_reg()
/drivers/net/team/
DKconfig21 Basic mode where packets are transmitted always by all suitable ports.
32 Basic mode where port used for transmitting packets is selected in
44 Basic mode where port used for transmitting packets is selected
/drivers/edac/
Dedac_pci_sysfs.c503 int where; in get_pci_parity_status() local
506 where = secondary ? PCI_SEC_STATUS : PCI_STATUS; in get_pci_parity_status()
507 pci_read_config_word(dev, where, &status); in get_pci_parity_status()
528 pci_write_config_word(dev, where, status); in get_pci_parity_status()
/drivers/block/paride/
DTransition-notes5 under ps_spinlock. There are three places where that can happen:
83 it is holding pd_lock. The only place within the area where we
96 (4) is done the same way - all places where we release pi_spinlock within
99 also in the area. The only place where ->claimed_cont is made non-NULL is
106 Corollary 1: ps_tq_active can be killed. Indeed, the only place where we
/drivers/md/persistent-data/
Ddm-transaction-manager.c22 dm_block_t where; member
52 if (si->where == b) { in is_shadow()
72 si->where = b; in insert_shadow()
/drivers/media/common/saa7146/
Dsaa7146_hlp.c676 int where = 0; in saa7146_write_out_dma() local
683 where = (which-1)*0x18; in saa7146_write_out_dma()
685 saa7146_write(dev, where, vdma->base_odd); in saa7146_write_out_dma()
686 saa7146_write(dev, where+0x04, vdma->base_even); in saa7146_write_out_dma()
687 saa7146_write(dev, where+0x08, vdma->prot_addr); in saa7146_write_out_dma()
688 saa7146_write(dev, where+0x0c, vdma->pitch); in saa7146_write_out_dma()
689 saa7146_write(dev, where+0x10, vdma->base_page); in saa7146_write_out_dma()
690 saa7146_write(dev, where+0x14, vdma->num_line_byte); in saa7146_write_out_dma()
/drivers/pcmcia/
Dpcmcia_resource.c160 off_t where, u8 *val, in pcmcia_access_config() argument
181 addr = (p_dev->config_base + where) >> 1; in pcmcia_access_config()
197 int pcmcia_read_config_byte(struct pcmcia_device *p_dev, off_t where, u8 *val) in pcmcia_read_config_byte() argument
199 return pcmcia_access_config(p_dev, where, val, pcmcia_read_cis_mem); in pcmcia_read_config_byte()
210 int pcmcia_write_config_byte(struct pcmcia_device *p_dev, off_t where, u8 val) in pcmcia_write_config_byte() argument
212 return pcmcia_access_config(p_dev, where, &val, pcmcia_write_cis_mem); in pcmcia_write_config_byte()

12345