Searched refs:adev (Results 1 - 25 of 92) sorted by relevance

1234

/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/arch/arm/mach-u300/
H A Dspi.h14 void __init u300_spi_init(struct amba_device *adev);
18 static inline void __init u300_spi_init(struct amba_device *adev) argument
H A Dmmc.h16 int __devinit mmc_init(struct amba_device *adev);
H A Dspi.c98 void __init u300_spi_init(struct amba_device *adev) argument
102 adev->dev.platform_data = &ssp_platform_data;
107 pmx = pmx_get(&adev->dev, U300_APP_PMX_SPI_SETTING);
110 dev_warn(&adev->dev, "Could not get padmux handle\n");
114 ret = pmx_activate(&adev->dev, pmx);
116 dev_warn(&adev->dev, "Could not activate padmuxing\n");
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/net/atm/
H A Datm_sysfs.c16 struct atm_dev *adev = to_atm_dev(cdev); local
17 return sprintf(buf, "%s\n", adev->type);
24 struct atm_dev *adev = to_atm_dev(cdev); local
28 pos += sprintf(pos, "%02x:", adev->esi[i]);
29 pos += sprintf(pos, "%02x\n", adev->esi[i]);
39 struct atm_dev *adev = to_atm_dev(cdev); local
44 spin_lock_irqsave(&adev->lock, flags);
45 list_for_each_entry(aaddr, &adev->local, entry) {
57 spin_unlock_irqrestore(&adev->lock, flags);
66 struct atm_dev *adev local
78 struct atm_dev *adev = to_atm_dev(cdev); local
118 struct atm_dev *adev; local
135 struct atm_dev *adev = to_atm_dev(cdev); local
146 atm_register_sysfs(struct atm_dev *adev) argument
174 atm_unregister_sysfs(struct atm_dev *adev) argument
[all...]
H A Dresources.h45 int atm_register_sysfs(struct atm_dev *adev);
46 void atm_unregister_sysfs(struct atm_dev *adev);
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/sound/oss/
H A Ddmabuf.c38 static int local_start_dma(struct audio_operations *adev, unsigned long physaddr, int count, int dma_mode);
185 static int open_dmap(struct audio_operations *adev, int mode, struct dma_buffparms *dmap) argument
198 if (dmap->dma >= 0 && sound_open_dma(dmap->dma, adev->name)) {
217 static void close_dmap(struct audio_operations *adev, struct dma_buffparms *dmap) argument
279 struct audio_operations *adev = audio_devs[dev]; local
284 if (!adev)
286 if (!(adev->flags & DMA_DUPLEX))
287 adev->dmap_in = adev->dmap_out;
288 check_driver(adev
336 struct audio_operations *adev = audio_devs[dev]; local
381 struct audio_operations *adev = audio_devs[dev]; local
400 struct audio_operations *adev = audio_devs[dev]; local
428 struct audio_operations *adev = audio_devs[dev]; local
480 struct audio_operations *adev = audio_devs[dev]; local
517 struct audio_operations *adev = audio_devs[dev]; local
554 struct audio_operations *adev = audio_devs[dev]; local
611 struct audio_operations *adev = audio_devs[dev]; local
690 struct audio_operations *adev; local
711 struct audio_operations *adev = audio_devs[dev]; local
748 struct audio_operations *adev = audio_devs[dev]; local
783 struct audio_operations *adev = audio_devs[dev]; local
827 struct audio_operations *adev = audio_devs[dev]; local
861 struct audio_operations *adev = audio_devs[dev]; local
916 struct audio_operations *adev = audio_devs[dev]; local
931 local_start_dma(struct audio_operations *adev, unsigned long physaddr, int count, int dma_mode) argument
951 struct audio_operations *adev = audio_devs[dev]; local
961 struct audio_operations *adev = audio_devs[dev]; local
1029 struct audio_operations *adev = audio_devs[dev]; local
1064 struct audio_operations *adev = audio_devs[dev]; local
1130 struct audio_operations *adev = audio_devs[dev]; local
1164 struct audio_operations *adev = audio_devs[dev]; local
1198 struct audio_operations *adev = audio_devs[dev]; local
1227 struct audio_operations *adev = audio_devs[dev]; local
1248 struct audio_operations *adev = audio_devs[dev]; local
1255 struct audio_operations *adev = audio_devs[dev]; local
[all...]
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/media/video/cx231xx/
H A Dcx231xx-audio.c61 if (dev->adev.urb[i]) {
63 usb_kill_urb(dev->adev.urb[i]);
65 usb_unlink_urb(dev->adev.urb[i]);
67 usb_free_urb(dev->adev.urb[i]);
68 dev->adev.urb[i] = NULL;
70 kfree(dev->adev.transfer_buffer[i]);
71 dev->adev.transfer_buffer[i] = NULL;
103 if (dev->adev.capture_pcm_substream) {
104 substream = dev->adev.capture_pcm_substream;
117 oldptr = dev->adev
463 struct cx231xx_audio *adev = &dev->adev; local
[all...]
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/ata/
H A Dpata_radisys.c32 * @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
91 static void radisys_set_dmamode (struct ata_port *ap, struct ata_device *adev) argument
112 if (adev->dma_mode < XFER_UDMA_0) {
113 unsigned int mwdma = adev
171 struct ata_device *adev = qc->dev; local
[all...]
H A Dpata_oldpiix.c56 * @adev: Device whose timings we are configuring
64 static void oldpiix_set_piomode (struct ata_port *ap, struct ata_device *adev) argument
66 unsigned int pio = adev->pio_mode - XFER_PIO_0;
87 if (ata_pio_need_iordy(adev))
91 if (adev->class == ATA_DEV_ATA)
100 if (adev->devno == 0) {
112 ap->private_data = adev;
118 * @adev: Device to program
126 static void oldpiix_set_dmamode (struct ata_port *ap, struct ata_device *adev) argument
145 unsigned int mwdma = adev
196 struct ata_device *adev = qc->dev; local
[all...]
H A Dpata_optidma.c105 * @adev: ATA device
116 static void optidma_mode_setup(struct ata_port *ap, struct ata_device *adev, u8 mode) argument
118 struct ata_device *pair = ata_dev_pair(adev);
119 int pio = adev->pio_mode - XFER_PIO_0;
120 int dma = adev->dma_mode - XFER_MW_DMA_0;
161 iowrite8(adev->devno, regio + MISC_REG);
171 iowrite8(addr | adev->devno, regio + MISC_REG);
187 * @adev: device
196 static void optiplus_mode_setup(struct ata_port *ap, struct ata_device *adev, u8 mode) argument
201 int dev2 = 2 * adev
234 optidma_set_pio_mode(struct ata_port *ap, struct ata_device *adev) argument
249 optidma_set_dma_mode(struct ata_port *ap, struct ata_device *adev) argument
264 optiplus_set_pio_mode(struct ata_port *ap, struct ata_device *adev) argument
279 optiplus_set_dma_mode(struct ata_port *ap, struct ata_device *adev) argument
292 optidma_make_bits43(struct ata_device *adev) argument
[all...]
H A Dpata_ali.c88 * @adev: attached device
94 static unsigned long ali_20_filter(struct ata_device *adev, unsigned long mask) argument
98 if (adev->class != ATA_DEV_ATA)
100 ata_id_c_string(adev->id, model_num, ATA_ID_PROD, sizeof(model_num));
109 * @adev: device for FIFO control
117 static void ali_fifo_control(struct ata_port *ap, struct ata_device *adev, int on) argument
122 int shift = 4 * adev->devno;
137 * @adev: Device the timing is for
146 static void ali_program_modes(struct ata_port *ap, struct ata_device *adev, struct ata_timing *t, u8 ultra) argument
151 int drwt = 0x5A + 4 * ap->port_no + adev
183 ali_set_piomode(struct ata_port *ap, struct ata_device *adev) argument
217 ali_set_dmamode(struct ata_port *ap, struct ata_device *adev) argument
260 ali_warn_atapi_dma(struct ata_device *adev) argument
284 ali_lock_sectors(struct ata_device *adev) argument
[all...]
H A Dpata_artop.c104 * @adev: Device
115 static void artop6210_load_piomode(struct ata_port *ap, struct ata_device *adev, unsigned int pio) argument
118 int dn = adev->devno + 2 * ap->port_no;
131 * @adev: Device we are configuring
142 static void artop6210_set_piomode(struct ata_port *ap, struct ata_device *adev) argument
145 int dn = adev->devno + 2 * ap->port_no;
148 artop6210_load_piomode(ap, adev, adev->pio_mode - XFER_PIO_0);
159 * @adev: Device we are configuring
169 static void artop6260_load_piomode (struct ata_port *ap, struct ata_device *adev, unsigne argument
196 artop6260_set_piomode(struct ata_port *ap, struct ata_device *adev) argument
220 artop6210_set_dmamode(struct ata_port *ap, struct ata_device *adev) argument
260 artop6260_set_dmamode(struct ata_port *ap, struct ata_device *adev) argument
[all...]
H A Dpata_atiixp.c54 * @adev: ATA device
61 static void atiixp_set_pio_timing(struct ata_port *ap, struct ata_device *adev, int pio) argument
66 int dn = 2 * ap->port_no + adev->devno;
67 int timing_shift = (16 * ap->port_no) + 8 * (adev->devno ^ 1);
85 * @adev: ATA device
91 static void atiixp_set_piomode(struct ata_port *ap, struct ata_device *adev) argument
95 atiixp_set_pio_timing(ap, adev, adev->pio_mode - XFER_PIO_0);
102 * @adev: ATA device
108 static void atiixp_set_dmamode(struct ata_port *ap, struct ata_device *adev) argument
173 struct ata_device *adev = qc->dev; local
[all...]
H A Dpata_acpi.c67 * @adev: ATA device
74 static unsigned long pacpi_discover_modes(struct ata_port *ap, struct ata_device *adev) argument
84 xfer_mask = ata_acpi_gtm_xfermask(adev, &probe);
94 * @adev: device
101 static unsigned long pacpi_mode_filter(struct ata_device *adev, unsigned long mask) argument
103 struct pata_acpi *acpi = adev->link->ap->private_data;
104 return mask & acpi->mask[adev->devno];
110 * @adev: ATA device
113 static void pacpi_set_piomode(struct ata_port *ap, struct ata_device *adev) argument
115 int unit = adev
136 pacpi_set_dmamode(struct ata_port *ap, struct ata_device *adev) argument
171 struct ata_device *adev = qc->dev; local
[all...]
H A Dpata_it821x.c119 * @adev: Device to program
127 static void it821x_program(struct ata_port *ap, struct ata_device *adev, u16 timing) argument
146 * @adev: ATA device to update
155 static void it821x_program_udma(struct ata_port *ap, struct ata_device *adev, u16 timing) argument
160 int unit = adev->devno;
180 * @adev: ATA device being updated
186 static void it821x_clock_strategy(struct ata_port *ap, struct ata_device *adev) argument
190 u8 unit = adev->devno;
191 struct ata_device *pair = ata_dev_pair(adev);
242 it821x_program_udma(ap, adev, itde
256 it821x_passthru_set_piomode(struct ata_port *ap, struct ata_device *adev) argument
286 it821x_passthru_set_dmamode(struct ata_port *ap, struct ata_device *adev) argument
349 struct ata_device *adev = qc->dev; local
372 struct ata_device *adev = qc->dev; local
395 struct ata_device *adev = &ap->link.device[device]; local
500 it821x_dev_config(struct ata_device *adev) argument
537 it821x_read_id(struct ata_device *adev, struct ata_taskfile *tf, u16 *id) argument
[all...]
H A Dpata_mpiix.c64 * @adev: ATA device
76 static void mpiix_set_piomode(struct ata_port *ap, struct ata_device *adev) argument
79 int pio = adev->pio_mode - XFER_PIO_0;
92 if (adev->class == ATA_DEV_ATA)
94 if (ata_pio_need_iordy(adev))
101 idetim &= ~(0x07 << (4 * adev->devno));
102 idetim |= control << (4 * adev->devno);
109 ap->private_data = adev;
126 struct ata_device *adev = qc->dev; local
130 does not set adev
[all...]
H A Dpata_amd.c32 * @adev: drive being configured
43 static void timing_setup(struct ata_port *ap, struct ata_device *adev, int offset, int speed, int clock) argument
50 struct ata_device *peer = ata_dev_pair(adev);
51 int dn = ap->port_no * 2 + adev->devno;
62 if (ata_timing_compute(adev, speed, &at, T, UT) < 0) {
170 * @adev: ATA device
180 struct ata_device *adev; local
187 ata_for_each_dev(adev, &ap->link, ENABLED) {
188 if (adev->class == ATA_DEV_ATAPI)
204 * @adev
209 amd33_set_piomode(struct ata_port *ap, struct ata_device *adev) argument
215 amd66_set_piomode(struct ata_port *ap, struct ata_device *adev) argument
221 amd100_set_piomode(struct ata_port *ap, struct ata_device *adev) argument
227 amd133_set_piomode(struct ata_port *ap, struct ata_device *adev) argument
242 amd33_set_dmamode(struct ata_port *ap, struct ata_device *adev) argument
247 amd66_set_dmamode(struct ata_port *ap, struct ata_device *adev) argument
252 amd100_set_dmamode(struct ata_port *ap, struct ata_device *adev) argument
257 amd133_set_dmamode(struct ata_port *ap, struct ata_device *adev) argument
354 nv100_set_piomode(struct ata_port *ap, struct ata_device *adev) argument
359 nv133_set_piomode(struct ata_port *ap, struct ata_device *adev) argument
373 nv100_set_dmamode(struct ata_port *ap, struct ata_device *adev) argument
378 nv133_set_dmamode(struct ata_port *ap, struct ata_device *adev) argument
[all...]
H A Dpata_sis.c80 * @adev: device
86 static int sis_old_port_base(struct ata_device *adev) argument
88 return 0x40 + (4 * adev->link->ap->port_no) + (2 * adev->devno);
165 * @adev: Device
172 static void sis_set_fifo(struct ata_port *ap, struct ata_device *adev) argument
179 mask <<= adev->devno;
186 if (adev->class == ATA_DEV_ATA)
194 * @adev: Device we are configuring for.
204 static void sis_old_set_piomode (struct ata_port *ap, struct ata_device *adev) argument
241 sis_100_set_piomode(struct ata_port *ap, struct ata_device *adev) argument
266 sis_133_set_piomode(struct ata_port *ap, struct ata_device *adev) argument
320 sis_old_set_dmamode(struct ata_port *ap, struct ata_device *adev) argument
359 sis_66_set_dmamode(struct ata_port *ap, struct ata_device *adev) argument
398 sis_100_set_dmamode(struct ata_port *ap, struct ata_device *adev) argument
432 sis_133_early_set_dmamode(struct ata_port *ap, struct ata_device *adev) argument
465 sis_133_set_dmamode(struct ata_port *ap, struct ata_device *adev) argument
[all...]
H A Dpata_cmd64x.c84 * @adev: ATA device
90 static void cmd64x_set_timing(struct ata_port *ap, struct ata_device *adev, u8 mode) argument
109 int arttim = arttim_port[ap->port_no][adev->devno];
110 int drwtim = drwtim_port[ap->port_no][adev->devno];
114 if (ata_timing_compute(adev, mode, &t, T, 0) < 0) {
120 struct ata_device *pair = ata_dev_pair(adev);
168 * @adev: ATA device
174 static void cmd64x_set_piomode(struct ata_port *ap, struct ata_device *adev) argument
176 cmd64x_set_timing(ap, adev, adev
187 cmd64x_set_dmamode(struct ata_port *ap, struct ata_device *adev) argument
[all...]
H A Dpata_cs5535.c95 * @adev: device on the interface
100 static void cs5535_set_piomode(struct ata_port *ap, struct ata_device *adev) argument
109 struct ata_device *pair = ata_dev_pair(adev);
111 int mode = adev->pio_mode - XFER_PIO_0;
124 wrmsr(ATAC_CH0D0_PIO + 2 * adev->devno,
128 rdmsr(ATAC_CH0D0_DMA + 2 * adev->devno, reg, dummy);
129 wrmsr(ATAC_CH0D0_DMA + 2 * adev->devno, reg | 0x80000000UL, 0);
135 * @adev: Device being configured
139 static void cs5535_set_dmamode(struct ata_port *ap, struct ata_device *adev) argument
148 int mode = adev
[all...]
H A Dpata_ns87410.c58 * @adev: ATA device
64 static void ns87410_set_piomode(struct ata_port *ap, struct ata_device *adev) argument
83 if (ata_pio_need_iordy(adev))
88 if (ata_timing_compute(adev, adev->pio_mode, &at, 30303, 1) < 0) {
89 dev_printk(KERN_ERR, &pdev->dev, "unknown mode %d.\n", adev->pio_mode);
103 ap->private_data = adev;
118 struct ata_device *adev = qc->dev; local
122 does not set adev->pio_mode to XFER_PIO_0 while probing as would be
125 if (adev
[all...]
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/media/video/em28xx/
H A Dem28xx-audio.c66 usb_kill_urb(dev->adev.urb[i]);
68 usb_unlink_urb(dev->adev.urb[i]);
70 usb_free_urb(dev->adev.urb[i]);
71 dev->adev.urb[i] = NULL;
73 kfree(dev->adev.transfer_buffer[i]);
74 dev->adev.transfer_buffer[i] = NULL;
105 if (dev->adev.capture_pcm_substream) {
106 substream = dev->adev.capture_pcm_substream;
119 oldptr = dev->adev.hwptr_done_capture;
134 dev->adev
458 struct em28xx_audio *adev = &dev->adev; local
[all...]
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/staging/dream/qdsp5/
H A Dadsp_driver.c248 static long adsp_write_cmd(struct adsp_device *adev, void __user *arg) argument
271 mutex_lock(&adev->module->pmem_regions_lock);
272 if (adsp_verify_cmd(adev->module, cmd.queue, cmd_data, cmd.len)) {
274 adev->module->name);
278 rc = msm_adsp_write(adev->module, cmd.queue, cmd_data, cmd.len);
280 mutex_unlock(&adev->module->pmem_regions_lock);
288 static int adsp_events_pending(struct adsp_device *adev) argument
292 spin_lock_irqsave(&adev->event_queue_lock, flags);
293 yes = !list_empty(&adev->event_queue);
294 spin_unlock_irqrestore(&adev
342 adsp_get_event(struct adsp_device *adev, void __user *arg) argument
418 struct adsp_device *adev = filp->private_data; local
469 struct adsp_device *adev = filp->private_data; local
496 struct adsp_device *adev = driver_data; local
538 struct adsp_device *adev; local
587 adsp_create(struct adsp_device *adev, const char *name, struct device *parent, dev_t devt) argument
[all...]
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/watchdog/
H A Dsp805_wdt.c71 struct amba_device *adev; member in struct:sp805_wdt
235 dev_err(&wdt->adev->dev, "clock enable fail");
254 dev_warn(&wdt->adev->dev, "Device closed unexpectedly\n");
281 sp805_wdt_probe(struct amba_device *adev, struct amba_id *id) argument
285 if (!request_mem_region(adev->res.start, resource_size(&adev->res),
287 dev_warn(&adev->dev, "Failed to get memory region resource\n");
294 dev_warn(&adev->dev, "Kzalloc failed\n");
299 wdt->clk = clk_get(&adev->dev, NULL);
301 dev_warn(&adev
340 sp805_wdt_remove(struct amba_device *adev) argument
[all...]
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/arch/x86/kernel/
H A Dapb_timer.c236 static void apbt_setup_irq(struct apbt_dev *adev) argument
242 if (adev->irq == 0)
244 desc = irq_to_desc(adev->irq);
245 chip = get_irq_chip(adev->irq);
246 disable_irq(adev->irq);
248 irq_set_affinity(adev->irq, cpumask_of(adev->cpu));
250 set_irq_chip_and_handler_name(adev->irq, chip, handle_edge_irq, "edge");
251 enable_irq(adev->irq);
253 if (request_irq(adev
283 struct apbt_dev *adev = &__get_cpu_var(cpu_apbt_dev); local
340 struct apbt_dev *adev; local
388 struct apbt_dev *adev = &per_cpu(cpu_apbt_dev, cpu); local
428 struct apbt_dev *adev = EVT_TO_APBT_DEV(evt); local
500 struct apbt_dev *adev = EVT_TO_APBT_DEV(evt); local
626 struct apbt_dev *adev; local
[all...]

Completed in 207 milliseconds

1234