/linux-2.4.37.9/drivers/usb/ |
D | pwc-if.c | 126 struct pwc_device *pdev; member 243 static int pwc_allocate_buffers(struct pwc_device *pdev) in pwc_allocate_buffers() argument 248 Trace(TRACE_MEMORY, ">> pwc_allocate_buffers(pdev = 0x%p)\n", pdev); in pwc_allocate_buffers() 250 if (pdev == NULL) in pwc_allocate_buffers() 254 if (pdev->magic != PWC_MAGIC) { in pwc_allocate_buffers() 261 if (pdev->sbuf[i].data == NULL) { in pwc_allocate_buffers() 268 pdev->sbuf[i].data = kbuf; in pwc_allocate_buffers() 274 if (pdev->fbuf == NULL) { in pwc_allocate_buffers() 281 pdev->fbuf = kbuf; in pwc_allocate_buffers() 286 if (pdev->fbuf[i].data == NULL) { in pwc_allocate_buffers() [all …]
|
D | pwc-ctrl.c | 168 usb_control_msg(pdev->udev, usb_sndctrlpipe(pdev->udev, 0), \ 172 pdev->vcinterface, \ 176 usb_control_msg(pdev->udev, usb_rcvctrlpipe(pdev->udev, 0), \ 180 pdev->vcinterface, \ 221 static inline int set_video_mode_Nala(struct pwc_device *pdev, int size, int frames) in set_video_mode_Nala() argument 254 if (pEntry->compressed && pdev->decompressor == NULL) in set_video_mode_Nala() 258 ret = send_video_command(pdev->udev, pdev->vendpoint, buf, 3); in set_video_mode_Nala() 263 if (pEntry->compressed && pdev->decompressor != NULL) in set_video_mode_Nala() 264 pdev->decompressor->init(pdev->release, buf, pdev->decompress_data); in set_video_mode_Nala() 267 pdev->vframes = frames; in set_video_mode_Nala() [all …]
|
D | pwc-misc.c | 35 int pwc_decode_size(struct pwc_device *pdev, int width, int height) in pwc_decode_size() argument 40 if (width > pdev->view_max.x || height > pdev->view_max.y) in pwc_decode_size() 47 if (pdev->image_mask & (1 << i)) { in pwc_decode_size() 55 void pwc_construct(struct pwc_device *pdev) in pwc_construct() argument 57 switch(pdev->type) { in pwc_construct() 60 pdev->view_min.x = 128; in pwc_construct() 61 pdev->view_min.y = 96; in pwc_construct() 62 pdev->view_max.x = 352; in pwc_construct() 63 pdev->view_max.y = 288; in pwc_construct() 64 pdev->image_mask = 1 << PSZ_SQCIF | 1 << PSZ_QCIF | 1 << PSZ_CIF; in pwc_construct() [all …]
|
D | pwc-uncompress.c | 76 int pwc_decompress(struct pwc_device *pdev) in pwc_decompress() argument 85 if (pdev == NULL) in pwc_decompress() 88 if (pdev->magic != PWC_MAGIC) { in pwc_decompress() 94 fbuf = pdev->read_frame; in pwc_decompress() 97 image = pdev->image_ptr[pdev->fill_image]; in pwc_decompress() 101 yuv = fbuf->data + pdev->frame_header_size; /* Skip header */ in pwc_decompress() 102 if (pdev->vbandlength == 0) { in pwc_decompress() 113 n = pdev->view.x * pdev->view.y; in pwc_decompress() 116 stride = pdev->view.x * pdev->offset.y + pdev->offset.x; in pwc_decompress() 120 stride = pdev->view.x * pdev->offset.y / 4 + pdev->offset.x / 2; in pwc_decompress() [all …]
|
D | pwc.h | 225 int pwc_try_video_mode(struct pwc_device *pdev, int width, int height, int new_fps, int new_compres… 231 int pwc_decode_size(struct pwc_device *pdev, int width, int height); 232 void pwc_construct(struct pwc_device *pdev); 236 extern int pwc_set_video_mode(struct pwc_device *pdev, int width, int height, int frames, int compr… 238 extern void pwc_set_image_buffer_size(struct pwc_device *pdev); 241 extern int pwc_get_brightness(struct pwc_device *pdev); 242 extern int pwc_set_brightness(struct pwc_device *pdev, int value); 243 extern int pwc_get_contrast(struct pwc_device *pdev); 244 extern int pwc_set_contrast(struct pwc_device *pdev, int value); 245 extern int pwc_get_gamma(struct pwc_device *pdev); [all …]
|
/linux-2.4.37.9/arch/sparc64/kernel/ |
D | pci_common.c | 22 struct pci_dev *pdev = pci_dev_b(walk); in pci_fixup_host_bridge_self() local 24 if (pdev->class >> 8 == PCI_CLASS_BRIDGE_HOST) { in pci_fixup_host_bridge_self() 25 pbus->self = pdev; in pci_fixup_host_bridge_self() 40 struct pci_dev *pdev, in find_device_prom_node() argument 53 if ((pdev->bus->number == pbm->pci_bus->number) && (pdev->devfn == 0) && in find_device_prom_node() 54 (pdev->vendor == PCI_VENDOR_ID_SUN) && in find_device_prom_node() 55 (pdev->device == PCI_DEVICE_ID_SUN_PBM || in find_device_prom_node() 56 pdev->device == PCI_DEVICE_ID_SUN_SCHIZO || in find_device_prom_node() 57 pdev->device == PCI_DEVICE_ID_SUN_TOMATILLO || in find_device_prom_node() 58 pdev->device == PCI_DEVICE_ID_SUN_SABRE || in find_device_prom_node() [all …]
|
/linux-2.4.37.9/drivers/scsi/ |
D | pci2220i.c | 146 POUR_DEVICE pdev; // current device opearating on member 370 static int HardReset (PADAPTER2220I padapter, POUR_DEVICE pdev, UCHAR spigot) in HardReset() argument 372 …DEB (printk ("\npci2220i:RESET spigot = %X devices = %d, %d", spigot, pdev->deviceID[0], pdev->d… in HardReset() 421 static int AtapiReset (PADAPTER2220I padapter, POUR_DEVICE pdev) in AtapiReset() argument 423 SelectSpigot (padapter, pdev->spigot); in AtapiReset() 424 AtapiDevice (padapter, pdev->byte6); in AtapiReset() 607 static int WriteDataBoth (PADAPTER2220I padapter, POUR_DEVICE pdev) in WriteDataBoth() argument 612 SelectSpigot (padapter, pdev->spigots[0]); in WriteDataBoth() 616 SelectSpigot (padapter, pdev->spigots[1]); in WriteDataBoth() 620 SelectSpigot (padapter, pdev->spigots[0] | pdev->spigots[1] | padapter->bigD); in WriteDataBoth() [all …]
|
D | sata_via.c | 74 static int svia_init_one (struct pci_dev *pdev, const struct pci_device_id *ent); 193 struct pci_dev *pdev, in vt6421_init_addrs() argument 196 unsigned long reg_addr = pci_resource_start(pdev, port); in vt6421_init_addrs() 197 unsigned long bmdma_addr = pci_resource_start(pdev, 4) + (port * 8); in vt6421_init_addrs() 205 scr_addr = vt6421_scr_addr(pci_resource_start(pdev, 5), port); in vt6421_init_addrs() 211 static struct ata_probe_ent *vt6420_init_probe_ent(struct pci_dev *pdev) in vt6420_init_probe_ent() argument 216 probe_ent = ata_pci_init_native_mode(pdev, &ppi, ATA_PORT_PRIMARY | ATA_PORT_SECONDARY); in vt6420_init_probe_ent() 221 svia_scr_addr(pci_resource_start(pdev, 5), 0); in vt6420_init_probe_ent() 223 svia_scr_addr(pci_resource_start(pdev, 5), 1); in vt6420_init_probe_ent() 228 static struct ata_probe_ent *vt6421_init_probe_ent(struct pci_dev *pdev) in vt6421_init_probe_ent() argument [all …]
|
D | sata_sis.c | 66 static int sis_init_one (struct pci_dev *pdev, const struct pci_device_id *ent); 162 struct pci_dev *pdev = to_pci_dev(ap->host_set->dev); in sis_scr_cfg_read() local 163 unsigned int cfg_addr = get_scr_cfg_addr(ap->port_no, sc_reg, pdev->device); in sis_scr_cfg_read() 170 pci_read_config_byte(pdev, SIS_PMR, &pmr); in sis_scr_cfg_read() 172 pci_read_config_dword(pdev, cfg_addr, &val); in sis_scr_cfg_read() 174 if ((pdev->device == 0x182) || (pmr & SIS_PMR_COMBINED)) in sis_scr_cfg_read() 175 pci_read_config_dword(pdev, cfg_addr+0x10, &val2); in sis_scr_cfg_read() 182 struct pci_dev *pdev = to_pci_dev(ap->host_set->dev); in sis_scr_cfg_write() local 183 unsigned int cfg_addr = get_scr_cfg_addr(ap->port_no, scr, pdev->device); in sis_scr_cfg_write() 189 pci_read_config_byte(pdev, SIS_PMR, &pmr); in sis_scr_cfg_write() [all …]
|
D | sata_uli.c | 54 static int uli_init_one (struct pci_dev *pdev, const struct pci_device_id *ent); 147 struct pci_dev *pdev = to_pci_dev(ap->host_set->dev); in uli_scr_cfg_read() local 151 pci_read_config_dword(pdev, cfg_addr, &val); in uli_scr_cfg_read() 157 struct pci_dev *pdev = to_pci_dev(ap->host_set->dev); in uli_scr_cfg_write() local 160 pci_write_config_dword(pdev, cfg_addr, val); in uli_scr_cfg_write() 179 static int uli_init_one (struct pci_dev *pdev, const struct pci_device_id *ent) in uli_init_one() argument 189 pdev_printk(KERN_INFO, pdev, "version " DRV_VERSION "\n"); in uli_init_one() 191 rc = pci_enable_device(pdev); in uli_init_one() 195 rc = pci_request_regions(pdev, DRV_NAME); in uli_init_one() 201 rc = pci_set_dma_mask(pdev, ATA_DMA_MASK); in uli_init_one() [all …]
|
D | pci2000.c | 98 struct pci_dev *pdev; member 202 static int BuildSgList (Scsi_Cmnd *SCpnt, PADAPTER2000 padapter, PDEV2000 pdev) in BuildSgList() argument 211 …zc = pci_map_sg (padapter->pdev, sg, SCpnt->use_sg, scsi_to_pci_dma_dir (SCpnt->sc_data_direction)… in BuildSgList() 214 pdev->scatGath[z].address = cpu_to_le32 (sg_dma_address (sg)); in BuildSgList() 215 pdev->scatGath[z].length = cpu_to_le32 (sg_dma_len (sg++)); in BuildSgList() 217 outl (pdev->scatGathDma, padapter->mb2); in BuildSgList() 227 …SCpnt->SCp.have_data_in = pci_map_single (padapter->pdev, SCpnt->request_buffer, SCpnt->request_bu… in BuildSgList() 268 PDEV2000 pdev; in Irq_Handler() local 311 pdev = &padapter->dev[bus][pun]; in Irq_Handler() 312 if ( !pdev->tag ) in Irq_Handler() [all …]
|
D | dmx3191d.c | 59 struct pci_dev *pdev = NULL; in dmx3191d_detect() local 68 while ((pdev = pci_find_device(PCI_VENDOR_ID_DOMEX, in dmx3191d_detect() 69 PCI_DEVICE_ID_DOMEX_DMX3191D, pdev))) { in dmx3191d_detect() 72 if (pci_enable_device(pdev)) in dmx3191d_detect() 75 port = pci_resource_start (pdev, 0); in dmx3191d_detect() 89 scsi_set_pci_device(instance, pdev); in dmx3191d_detect() 91 instance->irq = pdev->irq; in dmx3191d_detect() 94 if (request_irq(pdev->irq, dmx3191d_do_intr, SA_SHIRQ, in dmx3191d_detect() 96 printk(KERN_WARNING "dmx3191: IRQ %d not available - switching to polled mode.\n", pdev->irq); in dmx3191d_detect()
|
/linux-2.4.37.9/drivers/net/wireless/prism54/ |
D | islpci_hotplug.c | 102 prism54_probe(struct pci_dev *pdev, const struct pci_device_id *id) in prism54_probe() argument 111 if (pci_enable_device(pdev)) { in prism54_probe() 117 pci_read_config_byte(pdev, PCI_LATENCY_TIMER, &latency_tmr); in prism54_probe() 123 pci_write_config_byte(pdev, PCI_LATENCY_TIMER, in prism54_probe() 128 if (pci_set_dma_mask(pdev, 0xffffffff)) { in prism54_probe() 147 pci_write_config_byte(pdev, 0x40, (u8)init_pcitm); in prism54_probe() 148 pci_write_config_byte(pdev, 0x41, (u8)init_pcitm); in prism54_probe() 154 rvalue = pci_request_regions(pdev, DRV_NAME); in prism54_probe() 162 rvalue = pci_read_config_dword(pdev, PCI_BASE_ADDRESS_0, &mem_addr); in prism54_probe() 171 pci_set_master(pdev); in prism54_probe() [all …]
|
/linux-2.4.37.9/drivers/mtd/maps/ |
D | sun_uflash.c | 111 struct uflash_dev *pdev; in uflash_devinit() local 133 if(0 == (pdev = kmalloc(sizeof(struct uflash_dev), GFP_KERNEL))) { in uflash_devinit() 139 memcpy(&pdev->map, &uflash_map_templ, sizeof(uflash_map_templ)); in uflash_devinit() 140 pdev->map.size = regs[0].reg_size; in uflash_devinit() 143 pdev->name = kmalloc(iTmp, GFP_KERNEL); in uflash_devinit() 144 prom_getstring(edev->prom_node, "model", pdev->name, iTmp); in uflash_devinit() 145 if(0 != pdev->name && 0 < strlen(pdev->name)) { in uflash_devinit() 146 pdev->map.name = pdev->name; in uflash_devinit() 149 pdev->map.map_priv_1 = in uflash_devinit() 150 (unsigned long)ioremap_nocache(edev->resource[0].start, pdev->map.size); in uflash_devinit() [all …]
|
D | amd76xrom.c | 24 struct pci_dev *pdev; member 91 static int __devinit amd76xrom_init_one (struct pci_dev *pdev, in amd76xrom_init_one() argument 130 pci_read_config_byte(pdev, 0x43, &byte); in amd76xrom_init_one() 131 pci_write_config_byte(pdev, 0x43, byte | window->segen_bits); in amd76xrom_init_one() 134 pci_read_config_byte(pdev, 0x40, &byte); in amd76xrom_init_one() 135 pci_write_config_byte(pdev, 0x40, byte | 1); in amd76xrom_init_one() 186 static void __devexit amd76xrom_remove_one (struct pci_dev *pdev) in amd76xrom_remove_one() argument 200 pci_read_config_byte(pdev, 0x40, &byte); in amd76xrom_remove_one() 201 pci_write_config_byte(pdev, 0x40, byte & ~1); in amd76xrom_remove_one() 227 struct pci_dev *pdev; in init_amd76xrom() local [all …]
|
D | amd766rom.c | 24 struct pci_dev *pdev; member 91 static int __devinit amd766rom_init_one (struct pci_dev *pdev, in amd766rom_init_one() argument 128 pci_read_config_byte(pdev, 0x43, &byte); in amd766rom_init_one() 129 pci_write_config_byte(pdev, 0x43, byte | window->segen_bits); in amd766rom_init_one() 132 pci_read_config_byte(pdev, 0x40, &byte); in amd766rom_init_one() 133 pci_write_config_byte(pdev, 0x40, byte | 1); in amd766rom_init_one() 184 static void __devexit amd766rom_remove_one (struct pci_dev *pdev) in amd766rom_remove_one() argument 198 pci_read_config_byte(pdev, 0x40, &byte); in amd766rom_remove_one() 199 pci_write_config_byte(pdev, 0x40, byte & ~1); in amd766rom_remove_one() 222 struct pci_dev *pdev; in init_amd766rom() local [all …]
|
/linux-2.4.37.9/arch/mips/mips-boards/generic/ |
D | pci.c | 41 struct pci_dev *pdev; in malta_fixup() local 44 pci_for_each_dev(pdev) { in malta_fixup() 45 if ((pdev->vendor == PCI_VENDOR_ID_INTEL) in malta_fixup() 46 && (pdev->device == PCI_DEVICE_ID_INTEL_82371AB) in malta_fixup() 47 && (PCI_SLOT(pdev->devfn) == 0x0a)) { in malta_fixup() 51 pci_read_config_byte(pdev, 0x41, ®_val); in malta_fixup() 52 pci_write_config_byte(pdev, 0x41, reg_val | 0x80); in malta_fixup() 53 pci_read_config_byte(pdev, 0x43, ®_val); in malta_fixup() 54 pci_write_config_byte(pdev, 0x43, reg_val | 0x80); in malta_fixup() 57 if ((pdev->vendor == PCI_VENDOR_ID_INTEL) in malta_fixup() [all …]
|
/linux-2.4.37.9/drivers/net/wireless/ |
D | orinoco_tmd.c | 85 static int orinoco_tmd_init_one(struct pci_dev *pdev, in orinoco_tmd_init_one() argument 96 err = pci_enable_device(pdev); in orinoco_tmd_init_one() 101 pccard_ioaddr = pci_resource_start(pdev, 2); in orinoco_tmd_init_one() 102 pccard_iolen = pci_resource_len(pdev, 2); in orinoco_tmd_init_one() 110 addr = pci_resource_start(pdev, 1); in orinoco_tmd_init_one() 132 pdev->slot_name, pdev->irq, pccard_ioaddr); in orinoco_tmd_init_one() 136 pci_set_drvdata(pdev, dev); in orinoco_tmd_init_one() 138 err = request_irq(pdev->irq, orinoco_interrupt, SA_SHIRQ, dev->name, in orinoco_tmd_init_one() 142 pdev->irq); in orinoco_tmd_init_one() 146 dev->irq = pdev->irq; in orinoco_tmd_init_one() [all …]
|
D | orinoco_plx.c | 148 static int orinoco_plx_init_one(struct pci_dev *pdev, in orinoco_plx_init_one() argument 161 err = pci_enable_device(pdev); in orinoco_plx_init_one() 166 attr_mem = ioremap(pci_resource_start(pdev, 2), PAGE_SIZE); in orinoco_plx_init_one() 200 addr = pci_resource_start(pdev, 1); in orinoco_plx_init_one() 218 pccard_ioaddr = pci_resource_start(pdev, 3); in orinoco_plx_init_one() 219 pccard_iolen = pci_resource_len(pdev, 3); in orinoco_plx_init_one() 240 pdev->slot_name, pdev->irq, pccard_ioaddr); in orinoco_plx_init_one() 244 pci_set_drvdata(pdev, dev); in orinoco_plx_init_one() 246 err = request_irq(pdev->irq, orinoco_interrupt, SA_SHIRQ, dev->name, dev); in orinoco_plx_init_one() 248 printk(KERN_ERR "orinoco_plx: Error allocating IRQ %d.\n", pdev->irq); in orinoco_plx_init_one() [all …]
|
D | orinoco_pci.c | 188 static int orinoco_pci_init_one(struct pci_dev *pdev, in orinoco_pci_init_one() argument 199 err = pci_enable_device(pdev); in orinoco_pci_init_one() 204 pci_iorange = pci_resource_start(pdev, 0); in orinoco_pci_init_one() 205 pci_iolen = pci_resource_len(pdev, 0); in orinoco_pci_init_one() 226 pdev->slot_name, dev->mem_start, dev->mem_end, pci_ioaddr, pdev->irq); in orinoco_pci_init_one() 229 pci_set_drvdata(pdev, dev); in orinoco_pci_init_one() 231 err = request_irq(pdev->irq, orinoco_interrupt, SA_SHIRQ, dev->name, dev); in orinoco_pci_init_one() 233 printk(KERN_ERR "orinoco_pci: Error allocating IRQ %d.\n", pdev->irq); in orinoco_pci_init_one() 237 dev->irq = pdev->irq; in orinoco_pci_init_one() 274 static void __devexit orinoco_pci_remove_one(struct pci_dev *pdev) in orinoco_pci_remove_one() argument [all …]
|
/linux-2.4.37.9/drivers/char/ |
D | ppdev.c | 75 struct pardevice * pdev; member 100 struct parport *port = pp->pdev->port; in pp_enable_irq() 129 pport = pp->pdev->port; in pp_read() 132 parport_set_timeout (pp->pdev, in pp_read() 178 parport_set_timeout (pp->pdev, pp->default_inactivity); in pp_read() 210 pport = pp->pdev->port; in pp_write() 213 parport_set_timeout (pp->pdev, in pp_write() 236 wrote = parport_write (pp->pdev->port, kbuffer, n); in pp_write() 266 parport_set_timeout (pp->pdev, pp->default_inactivity); in pp_write() 278 parport_write_control (pp->pdev->port, pp->irqctl); in pp_irq() [all …]
|
D | alim1535d_wdt.c | 50 static void ali_timer_start(struct pci_dev *pdev) in ali_timer_start() argument 56 pci_read_config_dword(pdev, 0xCC, &val); in ali_timer_start() 59 pci_write_config_dword(pdev, 0xCC, val); in ali_timer_start() 70 static void ali_timer_stop (struct pci_dev *pdev) in ali_timer_stop() argument 75 pci_read_config_dword(pdev, 0xCC, &val); in ali_timer_stop() 78 pci_write_config_dword(pdev, 0xCC, val); in ali_timer_stop() 91 static int ali_timer_settimer(struct pci_dev *pdev, unsigned long t) in ali_timer_settimer() argument 102 ali_timer_start(pdev); in ali_timer_settimer() 273 struct pci_dev *pdev; in ali_find_watchdog() local 277 pdev = pci_find_device(PCI_VENDOR_ID_AL, 0x1535, NULL); in ali_find_watchdog() [all …]
|
/linux-2.4.37.9/drivers/net/wan/ |
D | pci200syn.c | 262 static void pci200_pci_remove_one(struct pci_dev *pdev) in pci200_pci_remove_one() argument 265 card_t *card = pci_get_drvdata(pdev); in pci200_pci_remove_one() 281 pci_release_regions(pdev); in pci200_pci_remove_one() 282 pci_disable_device(pdev); in pci200_pci_remove_one() 283 pci_set_drvdata(pdev, NULL); in pci200_pci_remove_one() 289 static int __devinit pci200_pci_init_one(struct pci_dev *pdev, in pci200_pci_init_one() argument 307 i = pci_enable_device(pdev); in pci200_pci_init_one() 311 i = pci_request_regions(pdev, "PCI200SYN"); in pci200_pci_init_one() 313 pci_disable_device(pdev); in pci200_pci_init_one() 320 pci_release_regions(pdev); in pci200_pci_init_one() [all …]
|
/linux-2.4.37.9/drivers/net/irda/ |
D | vlsi_ir.c | 235 static int vlsi_set_clock(struct pci_dev *pdev) in vlsi_set_clock() argument 242 pci_write_config_byte(pdev, VLSI_PCI_CLKCTL, clkctl); in vlsi_set_clock() 251 pci_read_config_byte(pdev, VLSI_PCI_CLKCTL, &lock); in vlsi_set_clock() 263 pci_write_config_byte(pdev, VLSI_PCI_CLKCTL, clkctl); in vlsi_set_clock() 284 pci_write_config_byte(pdev, VLSI_PCI_CLKCTL, clkctl); in vlsi_set_clock() 292 static void vlsi_start_clock(struct pci_dev *pdev) in vlsi_start_clock() argument 298 pci_read_config_byte(pdev, VLSI_PCI_CLKCTL, &clkctl); in vlsi_start_clock() 300 pci_write_config_byte(pdev, VLSI_PCI_CLKCTL, clkctl); in vlsi_start_clock() 304 static void vlsi_stop_clock(struct pci_dev *pdev) in vlsi_stop_clock() argument 308 pci_read_config_byte(pdev, VLSI_PCI_CLKCTL, &clkctl); in vlsi_stop_clock() [all …]
|
/linux-2.4.37.9/arch/alpha/kernel/ |
D | pci_iommu.c | 217 pci_map_single_1(struct pci_dev *pdev, void *cpu_addr, size_t size, in pci_map_single_1() argument 220 struct pci_controller *hose = pdev ? pdev->sysdata : pci_isa_hose; in pci_map_single_1() 221 dma_addr_t max_dma = pdev ? pdev->dma_mask : ISA_DMA_MASK; in pci_map_single_1() 270 dma_ofs = iommu_arena_alloc(arena, npages, pdev ? 0 : 8); in pci_map_single_1() 291 pci_map_single(struct pci_dev *pdev, void *cpu_addr, size_t size, int dir) in pci_map_single() argument 298 dac_allowed = pdev ? pci_dac_dma_supported(pdev, pdev->dma_mask) : 0; in pci_map_single() 299 return pci_map_single_1(pdev, cpu_addr, size, dac_allowed); in pci_map_single() 303 pci_map_page(struct pci_dev *pdev, struct page *page, unsigned long offset, in pci_map_page() argument 311 dac_allowed = pdev ? pci_dac_dma_supported(pdev, pdev->dma_mask) : 0; in pci_map_page() 312 return pci_map_single_1(pdev, (char *)page_address(page) + offset, in pci_map_page() [all …]
|