/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/media/video/pwc/ |
H A D | pwc.h | 274 int pwc_try_video_mode(struct pwc_device *pdev, int width, int height, int new_fps, int new_compression, int new_snapshot); 275 int pwc_handle_frame(struct pwc_device *pdev); 276 void pwc_next_image(struct pwc_device *pdev); 277 int pwc_isoc_init(struct pwc_device *pdev); 278 void pwc_isoc_cleanup(struct pwc_device *pdev); 284 int pwc_decode_size(struct pwc_device *pdev, int width, int height); 285 void pwc_construct(struct pwc_device *pdev); 289 extern int pwc_set_video_mode(struct pwc_device *pdev, int width, int height, int frames, int compression, int snapshot); 290 extern unsigned int pwc_get_fps(struct pwc_device *pdev, unsigned int index, unsigned int size); 292 extern int pwc_mpt_reset(struct pwc_device *pdev, in [all...] |
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/serial/jsm/ |
H A D | jsm_driver.c | 55 static int jsm_probe_one(struct pci_dev *pdev, const struct pci_device_id *ent) argument 62 rc = pci_enable_device(pdev); 64 dev_err(&pdev->dev, "Device enable FAILED\n"); 68 rc = pci_request_regions(pdev, "jsm"); 70 dev_err(&pdev->dev, "pci_request_region FAILED\n"); 76 dev_err(&pdev->dev, 84 brd->pci_dev = pdev; 91 pci_read_config_byte(pdev, PCI_REVISION_ID, &brd->rev); 93 brd->irq = pdev->irq; 99 brd->membase = pci_resource_start(pdev, 177 jsm_remove_one(struct pci_dev *pdev) argument [all...] |
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/net/wireless/ |
H A D | orinoco_pci.c | 113 static int orinoco_pci_init_one(struct pci_dev *pdev, argument 122 err = pci_enable_device(pdev); 128 err = pci_request_regions(pdev, DRIVER_NAME); 134 hermes_io = pci_iomap(pdev, 0, 0); 152 SET_NETDEV_DEV(dev, &pdev->dev); 156 err = request_irq(pdev->irq, orinoco_interrupt, IRQF_SHARED, 159 printk(KERN_ERR PFX "Cannot allocate IRQ %d\n", pdev->irq); 176 pci_set_drvdata(pdev, dev); 178 pci_name(pdev)); 183 free_irq(pdev 201 orinoco_pci_remove_one(struct pci_dev *pdev) argument [all...] |
H A D | orinoco_nortel.c | 142 static int orinoco_nortel_init_one(struct pci_dev *pdev, argument 151 err = pci_enable_device(pdev); 157 err = pci_request_regions(pdev, DRIVER_NAME); 163 bridge_io = pci_iomap(pdev, 0, 0); 170 attr_io = pci_iomap(pdev, 1, 0); 177 hermes_io = pci_iomap(pdev, 2, 0); 197 SET_NETDEV_DEV(dev, &pdev->dev); 201 err = request_irq(pdev->irq, orinoco_interrupt, IRQF_SHARED, 204 printk(KERN_ERR PFX "Cannot allocate IRQ %d\n", pdev->irq); 227 pci_set_drvdata(pdev, de 258 orinoco_nortel_remove_one(struct pci_dev *pdev) argument [all...] |
H A D | orinoco_plx.c | 180 static int orinoco_plx_init_one(struct pci_dev *pdev, argument 189 err = pci_enable_device(pdev); 195 err = pci_request_regions(pdev, DRIVER_NAME); 201 bridge_io = pci_iomap(pdev, 1, 0); 208 attr_io = pci_iomap(pdev, 2, 0); 215 hermes_io = pci_iomap(pdev, 3, 0); 235 SET_NETDEV_DEV(dev, &pdev->dev); 239 err = request_irq(pdev->irq, orinoco_interrupt, IRQF_SHARED, 242 printk(KERN_ERR PFX "Cannot allocate IRQ %d\n", pdev->irq); 265 pci_set_drvdata(pdev, de 296 orinoco_plx_remove_one(struct pci_dev *pdev) argument [all...] |
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/misc/ibmasm/ |
H A D | module.c | 64 static int __devinit ibmasm_init_one(struct pci_dev *pdev, const struct pci_device_id *id) argument 69 if ((result = pci_enable_device(pdev))) { 70 dev_err(&pdev->dev, "Failed to enable PCI device\n"); 73 if ((result = pci_request_regions(pdev, DRIVER_NAME))) { 74 dev_err(&pdev->dev, "Failed to allocate PCI resources\n"); 78 pci_set_master(pdev); 82 dev_err(&pdev->dev, "Failed to allocate memory\n"); 91 pci_set_drvdata(pdev, (void *)sp); 92 sp->dev = &pdev->dev; 93 sp->number = pdev 167 ibmasm_remove_one(struct pci_dev *pdev) argument [all...] |
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/ata/ |
H A D | pata_pcmcia.c | 52 struct pcmcia_device *pdev; member in struct:ata_pcmcia_info 140 * @pdev: pcmcia device 146 static int pcmcia_init_one(struct pcmcia_device *pdev) argument 167 info->pdev = pdev; 168 pdev->priv = info; 171 pdev->io.Attributes1 = IO_DATA_PATH_WIDTH_AUTO; 172 pdev->io.Attributes2 = IO_DATA_PATH_WIDTH_8; 173 pdev->io.IOAddrLines = 3; 174 pdev 333 pcmcia_remove_one(struct pcmcia_device *pdev) argument [all...] |
H A D | pata_serverworks.c | 69 struct pci_dev *pdev = to_pci_dev(ap->host->dev); local 71 if (pdev->subsystem_device & (1 << (ap->port_no + 14))) 86 struct pci_dev *pdev = to_pci_dev(ap->host->dev); local 88 if (pdev->subsystem_device & (1 << (ap->port_no + 14))) 150 struct pci_dev *pdev = to_pci_dev(ap->host->dev); local 154 if (cb->device == pdev->device && 155 (cb->subvendor == pdev->subsystem_vendor || 168 * @pdev: PCI device to check 174 static u8 serverworks_is_csb(struct pci_dev *pdev) argument 176 switch (pdev 249 struct pci_dev *pdev = to_pci_dev(ap->host->dev); local 280 struct pci_dev *pdev = to_pci_dev(ap->host->dev); local 392 serverworks_fixup_osb4(struct pci_dev *pdev) argument 411 serverworks_fixup_csb(struct pci_dev *pdev) argument 465 serverworks_fixup_ht1000(struct pci_dev *pdev) argument 476 serverworks_init_one(struct pci_dev *pdev, const struct pci_device_id *id) argument 545 serverworks_reinit_one(struct pci_dev *pdev) argument [all...] |
H A D | pata_cs5520.c | 72 struct pci_dev *pdev = to_pci_dev(ap->host->dev); local 78 pci_write_config_byte(pdev, 0x62 + ap->port_no, 82 pci_write_config_byte(pdev, 0x64 + 4*ap->port_no + slave, 86 pci_write_config_byte(pdev, 0x66 + 4*ap->port_no + slave, 191 static int __devinit cs5520_init_one(struct pci_dev *pdev, const struct pci_device_id *id) argument 206 pci_read_config_byte(pdev, 0x60, &pcicfg); 219 dev_printk(KERN_WARNING, &pdev->dev, 221 pci_write_config_byte(pdev, 0x60, pcicfg | 0x40); 226 host = ata_host_alloc_pinfo(&pdev->dev, ppi, 2); 231 if (pci_enable_device_bars(pdev, 306 cs5520_remove_one(struct pci_dev *pdev) argument 323 cs5520_reinit_one(struct pci_dev *pdev) argument 342 cs5520_pci_device_suspend(struct pci_dev *pdev, pm_message_t mesg) argument [all...] |
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/leds/ |
H A D | leds-net48xx.c | 25 static struct platform_device *pdev; variable in typeref:struct:platform_device 56 static int net48xx_led_probe(struct platform_device *pdev) argument 58 return led_classdev_register(&pdev->dev, &net48xx_error_led); 61 static int net48xx_led_remove(struct platform_device *pdev) argument 92 pdev = platform_device_register_simple(DRVNAME, -1, NULL, 0); 93 if (IS_ERR(pdev)) { 94 ret = PTR_ERR(pdev); 105 platform_device_unregister(pdev);
|
H A D | leds-ixp4xx-gpio.c | 77 #define for_all_leds(i, pdev) \ 78 for (i=0; i<pdev->num_resources; ++i) \ 79 if (pdev->resource[i].start < GPIO_MAX && \ 80 pdev->resource[i].name != 0) 85 static int apply_to_all_leds(struct platform_device *pdev, argument 90 for_all_leds(i, pdev) 91 operation(&ixp4xxgpioled_devices[pdev->resource[i].start].ancestor); 96 static int ixp4xxgpioled_suspend(struct platform_device *pdev, argument 99 return apply_to_all_leds(pdev, led_classdev_suspend); 102 static int ixp4xxgpioled_resume(struct platform_device *pdev) argument 114 ixp4xxgpioled_remove(struct platform_device *pdev) argument 119 ixp4xxgpioled_probe(struct platform_device *pdev) argument [all...] |
H A D | leds-wrap.c | 25 static struct platform_device *pdev; variable in typeref:struct:platform_device 75 static int wrap_led_probe(struct platform_device *pdev) argument 79 ret = led_classdev_register(&pdev->dev, &wrap_error_led); 81 ret = led_classdev_register(&pdev->dev, &wrap_extra_led); 88 static int wrap_led_remove(struct platform_device *pdev) argument 119 pdev = platform_device_register_simple(DRVNAME, -1, NULL, 0); 120 if (IS_ERR(pdev)) { 121 ret = PTR_ERR(pdev); 132 platform_device_unregister(pdev);
|
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/mips/cobalt/ |
H A D | serial.c | 54 struct platform_device *pdev; local 63 pdev = platform_device_alloc("serial8250", -1); 64 if (!pdev) 67 pdev->id = PLAT8250_DEV_PLATFORM; 68 pdev->dev.platform_data = cobalt_serial8250_port; 70 retval = platform_device_add_resources(pdev, cobalt_uart_resource, ARRAY_SIZE(cobalt_uart_resource)); 74 retval = platform_device_add(pdev); 81 platform_device_put(pdev);
|
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/mips/pci/ |
H A D | pci-dac.c | 24 dma64_addr_t pci_dac_page_to_dma(struct pci_dev *pdev, argument 27 struct device *dev = &pdev->dev; 43 struct page *pci_dac_dma_to_page(struct pci_dev *pdev, argument 51 unsigned long pci_dac_dma_to_offset(struct pci_dev *pdev, argument 59 void pci_dac_dma_sync_single_for_cpu(struct pci_dev *pdev, argument 64 if (!plat_device_is_coherent(&pdev->dev)) 70 void pci_dac_dma_sync_single_for_device(struct pci_dev *pdev, argument 75 if (!plat_device_is_coherent(&pdev->dev))
|
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/net/wireless/prism54/ |
H A D | islpci_hotplug.c | 98 prism54_probe(struct pci_dev *pdev, const struct pci_device_id *id) argument 107 if (pci_enable_device(pdev)) { 113 pci_read_config_byte(pdev, PCI_LATENCY_TIMER, &latency_tmr); 119 pci_write_config_byte(pdev, PCI_LATENCY_TIMER, 124 if (pci_set_dma_mask(pdev, DMA_32BIT_MASK)) { 143 pci_write_config_byte(pdev, 0x40, (u8)init_pcitm); 144 pci_write_config_byte(pdev, 0x41, (u8)init_pcitm); 150 rvalue = pci_request_regions(pdev, DRV_NAME); 158 rvalue = pci_read_config_dword(pdev, PCI_BASE_ADDRESS_0, &mem_addr); 166 DEBUG(SHOW_TRACING, "%s: pci_set_master(pdev)\ 222 prism54_remove(struct pci_dev *pdev) argument 265 prism54_suspend(struct pci_dev *pdev, pm_message_t state) argument 288 prism54_resume(struct pci_dev *pdev) argument [all...] |
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/input/gameport/ |
H A D | emu10k1-gp.c | 62 static int __devinit emu_probe(struct pci_dev *pdev, const struct pci_device_id *ent) argument 68 if (pci_enable_device(pdev)) 71 ioport = pci_resource_start(pdev, 0); 72 iolen = pci_resource_len(pdev, 0); 89 emu->dev = pdev; 93 gameport_set_phys(port, "pci%s/gameport0", pci_name(pdev)); 94 port->dev.parent = &pdev->dev; 97 pci_set_drvdata(pdev, emu); 104 static void __devexit emu_remove(struct pci_dev *pdev) argument 106 struct emu *emu = pci_get_drvdata(pdev); [all...] |
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/message/i2o/ |
H A D | pci.c | 57 dev = &c->pdev->dev; 72 pci_release_regions(c->pdev); 87 struct pci_dev *pdev = c->pdev; local 88 struct device *dev = &pdev->dev; 91 if (pci_request_regions(pdev, OSM_DESCRIPTION)) { 98 if (!(pci_resource_flags(pdev, i) & IORESOURCE_IO)) { 100 c->base.phys = pci_resource_start(pdev, i); 101 c->base.len = pci_resource_len(pdev, i); 107 if (pdev 271 struct pci_dev *pdev = c->pdev; local 318 i2o_pci_probe(struct pci_dev *pdev, const struct pci_device_id *id) argument 456 i2o_pci_remove(struct pci_dev *pdev) argument [all...] |
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/pci/ |
H A D | pci-sysfs.c | 33 struct pci_dev *pdev; \ 35 pdev = to_pci_dev (dev); \ 36 return sprintf (buf, format_string, pdev->field); \ 50 struct pci_dev *pdev = to_pci_dev(dev); local 51 return sprintf (buf, "%u\n", pdev->broken_parity_status); 58 struct pci_dev *pdev = to_pci_dev(dev); local 62 pdev->broken_parity_status = *buf == '1' ? 1 : 0; 120 struct pci_dev *pdev = to_pci_dev(dev); local 127 if (atomic_read(&pdev->enable_cnt) != 0) 128 pci_disable_device(pdev); 140 struct pci_dev *pdev; local 157 struct pci_dev *pdev = to_pci_dev(dev); local 170 struct pci_dev *pdev = to_pci_dev(dev); local 418 struct pci_dev *pdev = to_pci_dev(container_of(kobj, local 450 pci_remove_resource_files(struct pci_dev *pdev) argument 471 pci_create_resource_files(struct pci_dev *pdev) argument 525 struct pci_dev *pdev = to_pci_dev(container_of(kobj, struct device, kobj)); local 548 struct pci_dev *pdev = to_pci_dev(container_of(kobj, struct device, kobj)); local 594 pci_create_sysfs_dev_files(struct pci_dev *pdev) argument 657 pci_remove_sysfs_dev_files(struct pci_dev *pdev) argument 679 struct pci_dev *pdev = NULL; local [all...] |
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/eisa/ |
H A D | pci_eisa.c | 22 static int __init pci_eisa_init(struct pci_dev *pdev, argument 27 if ((rc = pci_enable_device (pdev))) { 29 pci_name(pdev)); 33 pci_eisa_root.dev = &pdev->dev; 35 pci_eisa_root.res = pdev->bus->resource[0]; 36 pci_eisa_root.bus_base_addr = pdev->bus->resource[0]->start; 38 pci_eisa_root.dma_mask = pdev->dma_mask;
|
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/avr32/mach-at32ap/ |
H A D | at32ap.c | 32 sm->pdev = &at32_sm_device; 53 static int __init pdc_probe(struct platform_device *pdev) argument 57 pclk = clk_get(&pdev->dev, "pclk"); 59 dev_err(&pdev->dev, "no pclk defined\n"); 62 hclk = clk_get(&pdev->dev, "hclk"); 64 dev_err(&pdev->dev, "no hclk defined\n"); 72 dev_info(&pdev->dev, "Atmel Peripheral DMA Controller enabled\n");
|
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/mips/vr41xx/common/ |
H A D | giu.c | 75 struct platform_device *pdev; local 80 pdev = platform_device_alloc("GIU", -1); 81 if (!pdev) 87 pdev->id = GPIO_50PINS_PULLUPDOWN; 93 pdev->id = GPIO_36PINS; 98 pdev->id = GPIO_48PINS_EDGE_SELECT; 107 retval = platform_device_add_resources(pdev, res, num); 111 retval = platform_device_add(pdev); 118 platform_device_put(pdev);
|
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/scsi/ |
H A D | dmx3191d.c | 68 static int __devinit dmx3191d_probe_one(struct pci_dev *pdev, argument 75 if (pci_enable_device(pdev)) 78 io = pci_resource_start(pdev, 0); 90 shost->irq = pdev->irq; 94 if (request_irq(pdev->irq, NCR5380_intr, IRQF_SHARED, 100 "switching to polled mode.\n", pdev->irq); 104 pci_set_drvdata(pdev, shost); 106 error = scsi_add_host(shost, &pdev->dev); 118 pci_disable_device(pdev); 123 static void __devexit dmx3191d_remove_one(struct pci_dev *pdev) argument [all...] |
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/include/asm-i386/ |
H A D | ide.h | 43 struct pci_dev *pdev; local 50 if ((pdev = pci_get_device(PCI_ANY_ID, PCI_ANY_ID, NULL)) == NULL) { 58 pci_dev_put(pdev);
|
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/powerpc/sysdev/ |
H A D | mpic_u3msi.c | 46 static u64 read_ht_magic_addr(struct pci_dev *pdev, unsigned int pos) argument 52 pci_read_config_byte(pdev, pos + HT_MSI_FLAGS, &flags); 57 pci_read_config_dword(pdev, pos + HT_MSI_ADDR_LO, &tmp); 59 pci_read_config_dword(pdev, pos + HT_MSI_ADDR_HI, &tmp); 65 static u64 find_ht_magic_addr(struct pci_dev *pdev) argument 70 for (bus = pdev->bus; bus; bus = bus->parent) { 79 static int u3msi_msi_check_device(struct pci_dev *pdev, int nvec, int type) argument 85 if (find_ht_magic_addr(pdev) == 0) { 87 pci_name(pdev)); 94 static void u3msi_teardown_msi_irqs(struct pci_dev *pdev) argument 110 u3msi_compose_msi_msg(struct pci_dev *pdev, int virq, struct msi_msg *msg) argument 124 u3msi_setup_msi_irqs(struct pci_dev *pdev, int nvec, int type) argument [all...] |
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/usb/host/ |
H A D | ohci-pxa27x.c | 145 int usb_hcd_pxa27x_probe (const struct hc_driver *driver, struct platform_device *pdev) argument 151 inf = pdev->dev.platform_data; 156 if (pdev->resource[1].flags != IORESOURCE_IRQ) { 161 hcd = usb_create_hcd (driver, &pdev->dev, "pxa27x"); 164 hcd->rsrc_start = pdev->resource[0].start; 165 hcd->rsrc_len = pdev->resource[0].end - pdev->resource[0].start + 1; 180 if ((retval = pxa27x_start_hc(&pdev->dev)) < 0) { 193 retval = usb_add_hcd(hcd, pdev->resource[1].start, IRQF_DISABLED); 197 pxa27x_stop_hc(&pdev 221 usb_hcd_pxa27x_remove(struct usb_hcd *hcd, struct platform_device *pdev) argument 302 ohci_hcd_pxa27x_drv_probe(struct platform_device *pdev) argument 312 ohci_hcd_pxa27x_drv_remove(struct platform_device *pdev) argument 322 ohci_hcd_pxa27x_drv_suspend(struct platform_device *pdev, pm_message_t state) argument 338 ohci_hcd_pxa27x_drv_resume(struct platform_device *pdev) argument [all...] |