/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/net/atm/ |
H A D | atm_sysfs.c | 14 struct atm_dev *adev = to_atm_dev(cdev); local 15 return sprintf(buf, "%s\n", adev->type); 21 struct atm_dev *adev = to_atm_dev(cdev); local 25 pos += sprintf(pos, "%02x:", adev->esi[i]); 26 pos += sprintf(pos, "%02x\n", adev->esi[i]); 35 struct atm_dev *adev = to_atm_dev(cdev); local 40 spin_lock_irqsave(&adev->lock, flags); 41 list_for_each_entry(aaddr, &adev->local, entry) { 52 spin_unlock_irqrestore(&adev->lock, flags); 60 struct atm_dev *adev local 71 struct atm_dev *adev = to_atm_dev(cdev); local 110 struct atm_dev *adev; local 130 struct atm_dev *adev = to_atm_dev(cdev); local 141 atm_register_sysfs(struct atm_dev *adev) argument 169 atm_unregister_sysfs(struct atm_dev *adev) argument [all...] |
H A D | resources.h | 45 int atm_register_sysfs(struct atm_dev *adev); 46 void atm_unregister_sysfs(struct atm_dev *adev);
|
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/sound/oss/ |
H A D | dmabuf.c | 37 static int local_start_dma(struct audio_operations *adev, unsigned long physaddr, int count, int dma_mode); 184 static int open_dmap(struct audio_operations *adev, int mode, struct dma_buffparms *dmap) argument 197 if (dmap->dma >= 0 && sound_open_dma(dmap->dma, adev->name)) { 216 static void close_dmap(struct audio_operations *adev, struct dma_buffparms *dmap) argument 278 struct audio_operations *adev = audio_devs[dev]; local 283 if (!adev) 285 if (!(adev->flags & DMA_DUPLEX)) 286 adev->dmap_in = adev->dmap_out; 287 check_driver(adev 335 struct audio_operations *adev = audio_devs[dev]; local 380 struct audio_operations *adev = audio_devs[dev]; local 399 struct audio_operations *adev = audio_devs[dev]; local 427 struct audio_operations *adev = audio_devs[dev]; local 479 struct audio_operations *adev = audio_devs[dev]; local 516 struct audio_operations *adev = audio_devs[dev]; local 553 struct audio_operations *adev = audio_devs[dev]; local 610 struct audio_operations *adev = audio_devs[dev]; local 689 struct audio_operations *adev; local 710 struct audio_operations *adev = audio_devs[dev]; local 747 struct audio_operations *adev = audio_devs[dev]; local 782 struct audio_operations *adev = audio_devs[dev]; local 826 struct audio_operations *adev = audio_devs[dev]; local 860 struct audio_operations *adev = audio_devs[dev]; local 915 struct audio_operations *adev = audio_devs[dev]; local 930 local_start_dma(struct audio_operations *adev, unsigned long physaddr, int count, int dma_mode) argument 950 struct audio_operations *adev = audio_devs[dev]; local 960 struct audio_operations *adev = audio_devs[dev]; local 1028 struct audio_operations *adev = audio_devs[dev]; local 1063 struct audio_operations *adev = audio_devs[dev]; local 1129 struct audio_operations *adev = audio_devs[dev]; local 1163 struct audio_operations *adev = audio_devs[dev]; local 1197 struct audio_operations *adev = audio_devs[dev]; local 1226 struct audio_operations *adev = audio_devs[dev]; local 1247 struct audio_operations *adev = audio_devs[dev]; local 1254 struct audio_operations *adev = audio_devs[dev]; local [all...] |
H A D | vidc.c | 340 struct audio_operations *adev = audio_devs[dev]; local 343 adev->dmap_out->flags |= DMA_NODMA; 363 struct audio_operations *adev = audio_devs[dev]; local 366 if (!(adev->flags & DMA_ACTIVE)) { 372 adev->flags |= DMA_ACTIVE; 442 int i, adev; local 448 adev = sound_install_audiodrv(AUDIO_DRIVER_VERSION, name, 453 if (adev < 0) 459 audio_devs[adev]->min_fragment = 10; 460 audio_devs[adev] 523 int i, adev = vidc_adev; local [all...] |
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/ata/ |
H A D | pata_radisys.c | 32 * @adev: Device whose timings we are configuring 40 static void radisys_set_piomode (struct ata_port *ap, struct ata_device *adev) argument 42 unsigned int pio = adev->pio_mode - XFER_PIO_0; 63 if (ata_pio_need_iordy(adev)) 71 idetm_data |= (control << (4 * adev->devno)); 77 ap->private_data = adev; 83 * @adev: Device to program 92 static void radisys_set_dmamode (struct ata_port *ap, struct ata_device *adev) argument 113 if (adev->dma_mode < XFER_UDMA_0) { 114 unsigned int mwdma = adev 172 struct ata_device *adev = qc->dev; local [all...] |
H A D | pata_atiixp.c | 71 * @adev: ATA device 78 static void atiixp_set_pio_timing(struct ata_port *ap, struct ata_device *adev, int pio) argument 83 int dn = 2 * ap->port_no + adev->devno; 86 int timing_shift = (16 * ap->port_no) + 8 * (adev->devno ^ 1); 103 * @adev: ATA device 109 static void atiixp_set_piomode(struct ata_port *ap, struct ata_device *adev) argument 111 atiixp_set_pio_timing(ap, adev, adev->pio_mode - XFER_PIO_0); 117 * @adev: ATA device 123 static void atiixp_set_dmamode(struct ata_port *ap, struct ata_device *adev) argument 180 struct ata_device *adev = qc->dev; local [all...] |
H A D | pata_oldpiix.c | 69 * @adev: Device whose timings we are configuring 77 static void oldpiix_set_piomode (struct ata_port *ap, struct ata_device *adev) argument 79 unsigned int pio = adev->pio_mode - XFER_PIO_0; 100 if (ata_pio_need_iordy(adev)) 104 if (adev->class == ATA_DEV_ATA) 113 if (adev->devno == 0) { 125 ap->private_data = adev; 131 * @adev: Device to program 140 static void oldpiix_set_dmamode (struct ata_port *ap, struct ata_device *adev) argument 159 unsigned int mwdma = adev 210 struct ata_device *adev = qc->dev; local [all...] |
H A D | pata_optidma.c | 120 * @adev: ATA device 131 static void optidma_mode_setup(struct ata_port *ap, struct ata_device *adev, u8 mode) argument 133 struct ata_device *pair = ata_dev_pair(adev); 134 int pio = adev->pio_mode - XFER_PIO_0; 135 int dma = adev->dma_mode - XFER_MW_DMA_0; 176 iowrite8(adev->devno, regio + MISC_REG); 186 iowrite8(addr | adev->devno, regio + MISC_REG); 202 * @adev: device 211 static void optiplus_mode_setup(struct ata_port *ap, struct ata_device *adev, u8 mode) argument 216 int dev2 = 2 * adev 249 optidma_set_pio_mode(struct ata_port *ap, struct ata_device *adev) argument 264 optidma_set_dma_mode(struct ata_port *ap, struct ata_device *adev) argument 279 optiplus_set_pio_mode(struct ata_port *ap, struct ata_device *adev) argument 294 optiplus_set_dma_mode(struct ata_port *ap, struct ata_device *adev) argument 307 optidma_make_bits43(struct ata_device *adev) argument [all...] |
H A D | pata_amd.c | 33 * @adev: drive being configured 44 static void timing_setup(struct ata_port *ap, struct ata_device *adev, int offset, int speed, int clock) argument 51 struct ata_device *peer = ata_dev_pair(adev); 52 int dn = ap->port_no * 2 + adev->devno; 61 if (ata_timing_compute(adev, speed, &at, T, UT) < 0) { 167 * @adev: ATA device 172 static void amd33_set_piomode(struct ata_port *ap, struct ata_device *adev) argument 174 timing_setup(ap, adev, 0x40, adev->pio_mode, 1); 177 static void amd66_set_piomode(struct ata_port *ap, struct ata_device *adev) argument 182 amd100_set_piomode(struct ata_port *ap, struct ata_device *adev) argument 187 amd133_set_piomode(struct ata_port *ap, struct ata_device *adev) argument 201 amd33_set_dmamode(struct ata_port *ap, struct ata_device *adev) argument 206 amd66_set_dmamode(struct ata_port *ap, struct ata_device *adev) argument 211 amd100_set_dmamode(struct ata_port *ap, struct ata_device *adev) argument 216 amd133_set_dmamode(struct ata_port *ap, struct ata_device *adev) argument 282 nv100_set_piomode(struct ata_port *ap, struct ata_device *adev) argument 287 nv133_set_piomode(struct ata_port *ap, struct ata_device *adev) argument 301 nv100_set_dmamode(struct ata_port *ap, struct ata_device *adev) argument 306 nv133_set_dmamode(struct ata_port *ap, struct ata_device *adev) argument [all...] |
H A D | pata_ns87410.c | 72 * @adev: ATA device 78 static void ns87410_set_piomode(struct ata_port *ap, struct ata_device *adev) argument 97 if (ata_pio_need_iordy(adev)) 102 if (ata_timing_compute(adev, adev->pio_mode, &at, 30303, 1) < 0) { 103 dev_printk(KERN_ERR, &pdev->dev, "unknown mode %d.\n", adev->pio_mode); 117 ap->private_data = adev; 132 struct ata_device *adev = qc->dev; local 136 does not set adev->pio_mode to XFER_PIO_0 while probing as would be 139 if (adev [all...] |
H A D | pata_it821x.c | 118 * @adev: Device to program 126 static void it821x_program(struct ata_port *ap, struct ata_device *adev, u16 timing) argument 145 * @adev: ATA device to update 154 static void it821x_program_udma(struct ata_port *ap, struct ata_device *adev, u16 timing) argument 159 int unit = adev->devno; 179 * @adev: ATA device being updated 185 static void it821x_clock_strategy(struct ata_port *ap, struct ata_device *adev) argument 189 u8 unit = adev->devno; 190 struct ata_device *pair = ata_dev_pair(adev); 241 it821x_program_udma(ap, adev, itde 255 it821x_passthru_set_piomode(struct ata_port *ap, struct ata_device *adev) argument 285 it821x_passthru_set_dmamode(struct ata_port *ap, struct ata_device *adev) argument 348 struct ata_device *adev = qc->dev; local 371 struct ata_device *adev = qc->dev; local 394 struct ata_device *adev = &ap->device[device]; local 491 it821x_dev_config(struct ata_device *adev) argument [all...] |
H A D | pata_artop.c | 131 * @adev: Device 142 static void artop6210_load_piomode(struct ata_port *ap, struct ata_device *adev, unsigned int pio) argument 145 int dn = adev->devno + 2 * ap->port_no; 158 * @adev: Device we are configuring 169 static void artop6210_set_piomode(struct ata_port *ap, struct ata_device *adev) argument 172 int dn = adev->devno + 2 * ap->port_no; 175 artop6210_load_piomode(ap, adev, adev->pio_mode - XFER_PIO_0); 186 * @adev: Device we are configuring 196 static void artop6260_load_piomode (struct ata_port *ap, struct ata_device *adev, unsigne argument 223 artop6260_set_piomode(struct ata_port *ap, struct ata_device *adev) argument 247 artop6210_set_dmamode(struct ata_port *ap, struct ata_device *adev) argument 287 artop6260_set_dmamode(struct ata_port *ap, struct ata_device *adev) argument [all...] |
H A D | pata_cs5530.c | 50 * @adev: device on the interface 56 static void cs5530_set_piomode(struct ata_port *ap, struct ata_device *adev) argument 71 if (adev->devno) 74 iowrite32(cs5530_pio_timings[format][adev->pio_mode - XFER_PIO_0], base); 80 * @adev: Device being configured 87 static void cs5530_set_dmamode(struct ata_port *ap, struct ata_device *adev) argument 96 switch(adev->dma_mode) { 114 if (adev->devno == 0) /* Master */ 127 reg |= (1 << (5 + adev->devno)); 132 ap->private_data = adev; 148 struct ata_device *adev = qc->dev; local [all...] |
H A D | pata_pdc202xx_old.c | 41 * @adev: ATA device 49 static void pdc202xx_configure_piomode(struct ata_port *ap, struct ata_device *adev, int pio) argument 52 int port = 0x60 + 8 * ap->port_no + 4 * adev->devno; 65 if (ata_pio_need_iordy(adev)) 67 if (adev->class == ATA_DEV_ATA) 76 * @adev: ATA device 82 static void pdc202xx_set_piomode(struct ata_port *ap, struct ata_device *adev) argument 84 pdc202xx_configure_piomode(ap, adev, adev->pio_mode - XFER_PIO_0); 90 * @adev 96 pdc202xx_set_dmamode(struct ata_port *ap, struct ata_device *adev) argument 147 struct ata_device *adev = qc->dev; local 193 struct ata_device *adev = qc->dev; local 224 pdc2026x_dev_config(struct ata_device *adev) argument [all...] |
H A D | pata_qdi.c | 52 static void qdi6500_set_piomode(struct ata_port *ap, struct ata_device *adev) argument 60 ata_timing_compute(adev, adev->pio_mode, &t, 30303, 1000); 71 qdi->clock[adev->devno] = timing; 76 static void qdi6580_set_piomode(struct ata_port *ap, struct ata_device *adev) argument 84 ata_timing_compute(adev, adev->pio_mode, &t, 30303, 1000); 95 qdi->clock[adev->devno] = timing; 100 if (adev->class != ATA_DEV_ATA) 115 struct ata_device *adev local 127 qdi_data_xfer(struct ata_device *adev, unsigned char *buf, unsigned int buflen, int write_data) argument [all...] |
H A D | pata_sil680.c | 66 static unsigned long sil680_seldev(struct ata_port *ap, struct ata_device *adev, int r) argument 70 base |= adev->devno ? 2 : 0; 124 * @adev: ATA device 131 static void sil680_set_piomode(struct ata_port *ap, struct ata_device *adev) argument 137 unsigned long addr = sil680_seldev(ap, adev, 0x04); 140 int pio = adev->pio_mode - XFER_PIO_0; 142 int port_shift = 4 * adev->devno; 146 struct ata_device *pair = ata_dev_pair(adev); 148 if (pair != NULL && adev->pio_mode > pair->pio_mode) 160 if (ata_pio_need_iordy(adev)) { 178 sil680_set_dmamode(struct ata_port *ap, struct ata_device *adev) argument [all...] |
H A D | pata_ali.c | 95 * @adev: attached device 101 static unsigned long ali_20_filter(struct ata_device *adev, unsigned long mask) argument 105 if (adev->class != ATA_DEV_ATA) 107 ata_id_c_string(adev->id, model_num, ATA_ID_PROD, sizeof(model_num)); 110 return ata_pci_default_filter(adev, mask); 116 * @adev: device for FIFO control 124 static void ali_fifo_control(struct ata_port *ap, struct ata_device *adev, int on) argument 129 int shift = 4 * adev->devno; 145 * @adev: Device the timing is for 155 static void ali_program_modes(struct ata_port *ap, struct ata_device *adev, struc argument 185 ali_set_piomode(struct ata_port *ap, struct ata_device *adev) argument 212 ali_set_dmamode(struct ata_port *ap, struct ata_device *adev) argument 258 ali_lock_sectors(struct ata_device *adev) argument [all...] |
H A D | pata_efar.c | 85 * @adev: um 93 static void efar_set_piomode (struct ata_port *ap, struct ata_device *adev) argument 95 unsigned int pio = adev->pio_mode - XFER_PIO_0; 115 if (ata_pio_need_iordy(adev)) /* PIO 3/4 require IORDY */ 118 if (adev->class == ATA_DEV_ATA) 125 if (adev->devno == 0) { 151 * @adev: Device to program 159 static void efar_set_dmamode (struct ata_port *ap, struct ata_device *adev) argument 164 u8 speed = adev->dma_mode; 165 int devid = adev [all...] |
H A D | pata_sc1200.c | 82 * @adev: device on the interface 87 static void sc1200_set_piomode(struct ata_port *ap, struct ata_device *adev) argument 99 int mode = adev->pio_mode - XFER_PIO_0; 104 pci_write_config_dword(pdev, reg + 8 * adev->devno, 111 * @adev: Device being configured 117 static void sc1200_set_dmamode(struct ata_port *ap, struct ata_device *adev) argument 134 int mode = adev->dma_mode; 142 if (adev->devno == 0) { 166 struct ata_device *adev = qc->dev; local 170 if (adev [all...] |
H A D | pata_winbond.c | 62 static void winbond_set_piomode(struct ata_port *ap, struct ata_device *adev) argument 68 int timing = 0x88 + (ap->port_no * 4) + (adev->devno * 2); 74 ata_timing_compute(adev, adev->pio_mode, &t, 20000, 1000); 76 ata_timing_compute(adev, adev->pio_mode, &t, 30303, 1000); 86 if (adev->class != ATA_DEV_ATA) 88 if (!ata_pio_need_iordy(adev)) 95 static void winbond_data_xfer(struct ata_device *adev, unsigned char *buf, unsigned int buflen, int write_data) argument 97 struct ata_port *ap = adev [all...] |
H A D | pata_cs5520.c | 64 * @adev: ATA device 70 static void cs5520_set_timings(struct ata_port *ap, struct ata_device *adev, int pio) argument 73 int slave = adev->devno; 98 static void cs5520_enable_dma(struct ata_port *ap, struct ata_device *adev) argument 102 reg |= 1<<(adev->devno + 5); 109 * @adev: ATA device 118 static void cs5520_set_dmamode(struct ata_port *ap, struct ata_device *adev) argument 121 cs5520_set_timings(ap, adev, dma_xlate[adev->dma_mode]); 122 cs5520_enable_dma(ap, adev); 136 cs5520_set_piomode(struct ata_port *ap, struct ata_device *adev) argument [all...] |
H A D | pata_it8213.c | 79 * @adev: Device whose timings we are configuring 87 static void it8213_set_piomode (struct ata_port *ap, struct ata_device *adev) argument 89 unsigned int pio = adev->pio_mode - XFER_PIO_0; 109 if (ata_pio_need_iordy(adev)) /* PIO 3/4 require IORDY */ 112 if (adev->class != ATA_DEV_ATA) 119 if (adev->devno == 0) { 144 * @adev: Device to program 153 static void it8213_set_dmamode (struct ata_port *ap, struct ata_device *adev) argument 157 u8 speed = adev->dma_mode; 158 int devid = adev [all...] |
H A D | pata_mpiix.c | 77 * @adev: ATA device 89 static void mpiix_set_piomode(struct ata_port *ap, struct ata_device *adev) argument 92 int pio = adev->pio_mode - XFER_PIO_0; 105 if (adev->class == ATA_DEV_ATA) 107 if (ata_pio_need_iordy(adev)) 114 idetim &= ~(0x07 << (4 * adev->devno)); 115 idetim |= control << (4 * adev->devno); 122 ap->private_data = adev; 139 struct ata_device *adev = qc->dev; local 143 does not set adev [all...] |
H A D | pata_hpt3x3.c | 31 * @adev: device on the interface 38 static void hpt3x3_set_piomode(struct ata_port *ap, struct ata_device *adev) argument 42 int dn = 2 * ap->port_no + adev->devno; 48 r1 |= (adev->pio_mode - XFER_PIO_0) << (3 * dn); 58 * @adev: Device being configured 64 static void hpt3x3_set_dmamode(struct ata_port *ap, struct ata_device *adev) argument 68 int dn = 2 * ap->port_no + adev->devno; 69 int mode_num = adev->dma_mode & 0x0F; 78 if (adev->dma_mode >= XFER_UDMA_0)
|
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/rtc/ |
H A D | rtc-pl031.c | 141 static int pl031_remove(struct amba_device *adev) argument 143 struct pl031_local *ldata = dev_get_drvdata(&adev->dev); 146 dev_set_drvdata(&adev->dev, NULL); 147 free_irq(adev->irq[0], ldata->rtc); 156 static int pl031_probe(struct amba_device *adev, void *id) argument 167 dev_set_drvdata(&adev->dev, ldata); 169 ldata->base = ioremap(adev->res.start, 170 adev->res.end - adev->res.start + 1); 176 if (request_irq(adev [all...] |