/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/ata/ |
H A D | pata_sl82c105.c | 69 * @adev: ATA device 77 static void sl82c105_configure_piomode(struct ata_port *ap, struct ata_device *adev, int pio) argument 84 int timing = 0x44 + (8 * ap->port_no) + (4 * adev->devno); 94 * @adev: ATA device 100 static void sl82c105_set_piomode(struct ata_port *ap, struct ata_device *adev) argument 102 sl82c105_configure_piomode(ap, adev, adev->pio_mode - XFER_PIO_0); 108 * @adev: ATA device 114 static void sl82c105_configure_dmamode(struct ata_port *ap, struct ata_device *adev) argument 121 int timing = 0x44 + (8 * ap->port_no) + (4 * adev [all...] |
H A D | pata_triflex.c | 77 * @adev: Device on the bus 86 static void triflex_load_timing(struct ata_port *ap, struct ata_device *adev, int speed) argument 92 unsigned int is_slave = (adev->devno != 0); 133 * @adev: ATA device 139 static void triflex_set_piomode(struct ata_port *ap, struct ata_device *adev) argument 141 triflex_load_timing(ap, adev, adev->pio_mode); 164 * @adev: ATA device
|
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); 59 * @adev: Device being configured 68 static void hpt3x3_set_dmamode(struct ata_port *ap, struct ata_device *adev) argument 72 int dn = 2 * ap->port_no + adev->devno; 73 int mode_num = adev->dma_mode & 0x0F; 82 if (adev->dma_mode >= XFER_UDMA_0)
|
H A D | pata_opti.c | 100 * @adev: ATA device 107 static void opti_set_piomode(struct ata_port *ap, struct ata_device *adev) argument 109 struct ata_device *pair = ata_dev_pair(adev); 111 int pio = adev->pio_mode - XFER_PIO_0; 142 opti_write_reg(ap, adev->devno, MISC_REG);
|
H A D | pata_netcell.c | 23 static unsigned int netcell_read_id(struct ata_device *adev, argument 26 unsigned int err_mask = ata_do_dev_read_id(adev, tf, id);
|
H A D | pata_atp867x.c | 122 static void atp867x_set_dmamode(struct ata_port *ap, struct ata_device *adev) argument 126 u8 speed = adev->dma_mode; 143 if (adev->devno & 1) { 215 static void atp867x_set_piomode(struct ata_port *ap, struct ata_device *adev) argument 217 struct ata_device *peer = ata_dev_pair(adev); 219 u8 speed = adev->pio_mode; 227 ata_timing_compute(adev, speed, &t, T, UT); 234 if (adev->devno & 1) 243 if (adev->devno & 1)
|
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; 94 * @adev: ATA device 100 static void cs5520_set_piomode(struct ata_port *ap, struct ata_device *adev) argument 102 cs5520_set_timings(ap, adev, adev->pio_mode);
|
H A D | pata_hpt3x2n.c | 163 static void hpt3x2n_set_mode(struct ata_port *ap, struct ata_device *adev, argument 171 addr1 = 0x40 + 4 * (adev->devno + 2 * ap->port_no); 197 * @adev: device on the interface 202 static void hpt3x2n_set_piomode(struct ata_port *ap, struct ata_device *adev) argument 204 hpt3x2n_set_mode(ap, adev, adev->pio_mode); 210 * @adev: Device being configured 215 static void hpt3x2n_set_dmamode(struct ata_port *ap, struct ata_device *adev) argument 217 hpt3x2n_set_mode(ap, adev, adev [all...] |
H A D | pata_macio.c | 391 struct ata_device *adev) 397 adev->devno, 398 adev->pio_mode, 399 ata_mode_string(ata_xfer_mode2mask(adev->pio_mode)), 400 adev->dma_mode, 401 ata_mode_string(ata_xfer_mode2mask(adev->dma_mode))); 404 priv->treg[adev->devno][0] = priv->treg[adev->devno][1] = 0; 407 t = pata_macio_find_timing(priv, adev->pio_mode); 410 adev 390 pata_macio_set_timings(struct ata_port *ap, struct ata_device *adev) argument [all...] |
H A D | pata_via.c | 220 static void via_do_set_mode(struct ata_port *ap, struct ata_device *adev, argument 224 struct ata_device *peer = ata_dev_pair(adev); 230 int offset = 3 - (2*ap->port_no) - adev->devno; 242 ata_timing_compute(adev, mode, &t, T, UT); 305 static void via_set_piomode(struct ata_port *ap, struct ata_device *adev) argument 310 via_do_set_mode(ap, adev, adev->pio_mode, set_ast, config->udma_mask); 313 static void via_set_dmamode(struct ata_port *ap, struct ata_device *adev) argument 318 via_do_set_mode(ap, adev, adev [all...] |
H A D | ata_piix.c | 169 static void piix_set_piomode(struct ata_port *ap, struct ata_device *adev); 170 static void piix_set_dmamode(struct ata_port *ap, struct ata_device *adev); 171 static void ich_set_dmamode(struct ata_port *ap, struct ata_device *adev); 688 * @adev: um 696 static void piix_set_piomode(struct ata_port *ap, struct ata_device *adev) argument 700 unsigned int pio = adev->pio_mode - XFER_PIO_0; 701 unsigned int is_slave = (adev->devno != 0); 723 if (ata_pio_need_iordy(adev)) 727 if (adev->class == ATA_DEV_ATA) 768 udma_enable &= ~(1 << (2 * ap->port_no + adev 787 do_pata_set_dmamode(struct ata_port *ap, struct ata_device *adev, int isich) argument 911 piix_set_dmamode(struct ata_port *ap, struct ata_device *adev) argument 927 ich_set_dmamode(struct ata_port *ap, struct ata_device *adev) argument [all...] |
H A D | sata_via.c | 87 static void vt6421_set_pio_mode(struct ata_port *ap, struct ata_device *adev); 88 static void vt6421_set_dma_mode(struct ata_port *ap, struct ata_device *adev); 406 static void vt6421_set_pio_mode(struct ata_port *ap, struct ata_device *adev) argument 410 pci_write_config_byte(pdev, PATA_PIO_TIMING - adev->devno, 411 pio_bits[adev->pio_mode - XFER_PIO_0]); 414 static void vt6421_set_dma_mode(struct ata_port *ap, struct ata_device *adev) argument 418 pci_write_config_byte(pdev, PATA_UDMA_TIMING - adev->devno, 419 udma_bits[adev->dma_mode - XFER_UDMA_0]);
|
H A D | pata_mpc52xx.c | 390 mpc52xx_ata_set_piomode(struct ata_port *ap, struct ata_device *adev) argument 395 pio = adev->pio_mode - XFER_PIO_0; 397 rv = mpc52xx_ata_compute_pio_timings(priv, adev->devno, pio); 404 mpc52xx_ata_apply_timings(priv, adev->devno); 408 mpc52xx_ata_set_dmamode(struct ata_port *ap, struct ata_device *adev) argument 413 if (adev->dma_mode >= XFER_UDMA_0) { 414 int dma = adev->dma_mode - XFER_UDMA_0; 415 rv = mpc52xx_ata_compute_udma_timings(priv, adev->devno, dma); 417 int dma = adev->dma_mode - XFER_MW_DMA_0; 418 rv = mpc52xx_ata_compute_mdma_timings(priv, adev [all...] |
H A D | pata_at32.c | 150 static void pata_at32_set_piomode(struct ata_port *ap, struct ata_device *adev) argument 158 ret = ata_timing_compute(adev, adev->pio_mode, &timing, 1000, 0);
|
H A D | pata_at91.c | 148 static void pata_at91_set_piomode(struct ata_port *ap, struct ata_device *adev) argument 155 ret = ata_timing_compute(adev, adev->pio_mode, &timing, 1000, 0);
|
H A D | pata_icside.c | 187 static void pata_icside_set_dmamode(struct ata_port *ap, struct ata_device *adev) argument 197 if (ata_timing_compute(adev, adev->dma_mode, &t, 1000, 1)) 213 ata_dev_printk(adev, KERN_INFO, "timings: act %dns rec %dns cyc %dns (%c)\n", 216 state->port[ap->port_no].speed[adev->devno] = cycle;
|
H A D | pata_scc.c | 178 * @adev: um 186 static void scc_set_piomode (struct ata_port *ap, struct ata_device *adev) argument 188 unsigned int pio = adev->pio_mode - XFER_PIO_0; 211 * @adev: um 219 static void scc_set_dmamode (struct ata_port *ap, struct ata_device *adev) argument 221 unsigned int udma = adev->dma_mode; 222 unsigned int is_slave = (adev->devno != 0); 259 unsigned long scc_mode_filter(struct ata_device *adev, unsigned long mask) argument 261 if (adev->class == ATA_DEV_ATAPI &&
|
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/dma/ |
H A D | pl330.c | 660 pl330_probe(struct amba_device *adev, struct amba_id *id) argument 670 pdat = adev->dev.platform_data; 673 dev_err(&adev->dev, "platform data missing\n"); 681 dev_err(&adev->dev, "unable to allocate mem\n"); 686 pi->dev = &adev->dev; 690 res = &adev->res; 699 irq = adev->irq[0]; 701 dev_name(&adev->dev), pi); 714 dev_warn(&adev->dev, "unable to allocate desc\n"); 733 dev_err(&adev 791 pl330_remove(struct amba_device *adev) argument [all...] |
H A D | mv_xor.c | 1127 struct mv_xor_device *adev; local 1133 adev = devm_kzalloc(&pdev->dev, sizeof(*adev), GFP_KERNEL); 1134 if (!adev) 1137 dma_dev = &adev->common; 1143 adev->dma_desc_pool_virt = dma_alloc_writecombine(&pdev->dev, 1145 &adev->dma_desc_pool, 1147 if (!adev->dma_desc_pool_virt) 1150 adev->id = plat_data->hw_id; 1154 adev [all...] |
H A D | iop-adma.c | 1455 struct iop_adma_device *adev; local 1468 adev = kzalloc(sizeof(*adev), GFP_KERNEL); 1469 if (!adev) 1471 dma_dev = &adev->common; 1477 if ((adev->dma_desc_pool_virt = dma_alloc_writecombine(&pdev->dev, 1479 &adev->dma_desc_pool, 1486 __func__, adev->dma_desc_pool_virt, 1487 (void *) adev->dma_desc_pool); 1489 adev [all...] |
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/pnp/pnpacpi/ |
H A D | core.c | 290 struct device *adev; local 293 adev = bus_find_device(&acpi_bus_type, NULL, 295 if (!adev) 298 acpi = to_acpi_device(adev); 300 put_device(adev);
|
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/acpi/ |
H A D | sleep.c | 591 struct acpi_device *adev; local 595 if (!handle || ACPI_FAILURE(acpi_bus_get_device(handle, &adev))) { 627 (device_may_wakeup(dev) && adev->wakeup.state.enabled && 628 adev->wakeup.sleep_state <= acpi_target_sleep_state)) { 659 struct acpi_device *adev; local 666 if (!handle || ACPI_FAILURE(acpi_bus_get_device(handle, &adev))) { 672 acpi_enable_wakeup_device_power(adev, acpi_target_sleep_state) : 673 acpi_disable_wakeup_device_power(adev);
|
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/arch/arm/mach-u300/ |
H A D | mmc.c | 89 int __devinit mmc_init(struct amba_device *adev) argument 92 struct device *mmcsd_device = &adev->dev;
|
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/staging/tm6000/ |
H A D | tm6000-alsa.c | 209 struct snd_tm6000_card *chip = core->adev; 400 dev->adev = chip; 428 struct snd_tm6000_card *chip = dev->adev; 442 dev->adev = NULL;
|
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/include/linux/ |
H A D | libata.h | 1015 extern void ata_dev_disable(struct ata_device *adev); 1034 extern struct ata_device *ata_dev_pair(struct ata_device *adev); 1526 static inline int ata_using_mwdma(struct ata_device *adev) argument 1528 if (adev->dma_mode >= XFER_MW_DMA_0 && adev->dma_mode <= XFER_MW_DMA_4) 1533 static inline int ata_using_udma(struct ata_device *adev) argument 1535 if (adev->dma_mode >= XFER_UDMA_0 && adev->dma_mode <= XFER_UDMA_7) 1540 static inline int ata_dma_enabled(struct ata_device *adev) argument 1542 return (adev [all...] |