device 94 arch/x86/boot/edd.c ei->device = devno; device 1056 arch/x86/kernel/apm_32.c if ((enable == 0) && (device == APM_DEVICE_ALL) device 1059 arch/x86/kernel/apm_32.c if (apm_bios_call_simple(APM_FUNC_ENGAGE_PM, device, enable, &eax)) device 1061 arch/x86/kernel/apm_32.c if (device == APM_DEVICE_ALL) { device 270 arch/x86/kernel/cpu/cpufreq/gx-suspmod.c switch (gx_params->cs55x0->device) { device 258 arch/x86/kernel/cpu/cyrix.c u32 vendor, device; device 279 arch/x86/kernel/cpu/cyrix.c device = read_pci_config_16(0, 0, 0x12, PCI_DEVICE_ID); device 285 arch/x86/kernel/cpu/cyrix.c (device == PCI_DEVICE_ID_CYRIX_5510 || device == PCI_DEVICE_ID_CYRIX_5520)) device 80 arch/x86/kernel/cpu/mtrr/main.c dev->device == PCI_DEVICE_ID_SERVERWORKS_LE) { device 91 arch/x86/kernel/cpu/mtrr/main.c dev->device == PCI_DEVICE_ID_INTEL_82451NX) { device 148 arch/x86/kernel/cpuid.c struct device *dev; device 163 arch/x86/kernel/early-quirks.c u32 device; device 201 arch/x86/kernel/early-quirks.c u16 device; device 212 arch/x86/kernel/early-quirks.c device = read_pci_config_16(num, slot, func, PCI_DEVICE_ID); device 217 arch/x86/kernel/early-quirks.c ((early_qrk[i].device == PCI_ANY_ID) || device 218 arch/x86/kernel/early-quirks.c (early_qrk[i].device == device)) && device 83 arch/x86/kernel/k8.c u32 vendor = device & 0xffff; device 84 arch/x86/kernel/k8.c device >>= 16; device 86 arch/x86/kernel/k8.c if (vendor == id->vendor && device == id->device) device 395 arch/x86/kernel/microcode_amd.c ret = request_firmware(&firmware, fw_name, device); device 433 arch/x86/kernel/microcode_intel.c ret = request_firmware(&firmware, name, device); device 23 arch/x86/kernel/mmconf-fam10h_64.c u32 device; device 81 arch/x86/kernel/mmconf-fam10h_64.c u16 device; device 89 arch/x86/kernel/mmconf-fam10h_64.c device = (id>>16) & 0xffff; device 91 arch/x86/kernel/mmconf-fam10h_64.c pci_probes[i].device == device) { device 164 arch/x86/kernel/msr.c struct device *dev; device 576 arch/x86/kernel/pci-calgary_64.c return (device == PCI_DEVICE_ID_IBM_CALIOC2); device 581 arch/x86/kernel/pci-calgary_64.c return (device == PCI_DEVICE_ID_IBM_CALGARY); device 586 arch/x86/kernel/pci-calgary_64.c return (is_calgary(device) || is_calioc2(device)); device 789 arch/x86/kernel/pci-calgary_64.c if (is_calgary(dev->device)) { device 824 arch/x86/kernel/pci-calgary_64.c if (is_calgary(dev->device)) device 826 arch/x86/kernel/pci-calgary_64.c else if (is_calioc2(dev->device)) device 1030 arch/x86/kernel/pci-calgary_64.c if (is_calgary(dev->device) && (busnum == 1)) device 1053 arch/x86/kernel/pci-calgary_64.c (dev->device == PCI_DEVICE_ID_IBM_CALGARY) ? device 1209 arch/x86/kernel/pci-calgary_64.c if (!is_cal_pci_dev(dev->device)) device 1243 arch/x86/kernel/pci-calgary_64.c if (!is_cal_pci_dev(dev->device)) device 1642 arch/x86/kernel/pci-calgary_64.c if (!is_cal_pci_dev(dev->device)) device 44 arch/x86/kernel/pci-dma.c struct device x86_dma_fallback_dev = { device 48 arch/x86/kernel/reboot_fixups_32.c unsigned int device; device 78 arch/x86/kernel/reboot_fixups_32.c dev = pci_get_device(cur->vendor, cur->device, NULL); device 63 arch/x86/kernel/scx200_32.c if (pdev->device == PCI_DEVICE_ID_NS_SCx200_BRIDGE || device 64 arch/x86/kernel/scx200_32.c pdev->device == PCI_DEVICE_ID_NS_SC1100_BRIDGE) { device 122 arch/x86/pci/acpi.c acpi_walk_resources(device->handle, METHOD_NAME__CRS, count_resource, device 138 arch/x86/pci/acpi.c acpi_walk_resources(device->handle, METHOD_NAME__CRS, setup_resource, device 168 arch/x86/pci/acpi.c pxm = acpi_get_pxm(device->handle); device 222 arch/x86/pci/acpi.c get_current_resources(device, busnum, domain, bus); device 232 arch/x86/pci/amd_bus.c u32 device; device 307 arch/x86/pci/amd_bus.c u16 device; device 315 arch/x86/pci/amd_bus.c device = (id>>16) & 0xffff; device 317 arch/x86/pci/amd_bus.c pci_probes[i].device == device) { device 125 arch/x86/pci/fixup.c if (d->device == PCI_DEVICE_ID_VIA_8367_0) { device 133 arch/x86/pci/fixup.c } else if (d->device == PCI_DEVICE_ID_VIA_8363_0 && device 143 arch/x86/pci/fixup.c d->device, d->revision, where, v, mask, v & mask); device 169 arch/x86/pci/fixup.c (dev->device & 0xff00) == 0x2400) device 231 arch/x86/pci/fixup.c offset = quirk_aspm_offset[GET_INDEX(bus->self->device, devfn)]; device 267 arch/x86/pci/fixup.c if ((pdev->device < PCI_DEVICE_ID_INTEL_MCH_PA) || device 268 arch/x86/pci/fixup.c (pdev->device > PCI_DEVICE_ID_INTEL_MCH_PC1)) device 278 arch/x86/pci/fixup.c for (i = GET_INDEX(pdev->device, 0); i <= GET_INDEX(pdev->device, 7); ++i) device 292 arch/x86/pci/fixup.c quirk_aspm_offset[GET_INDEX(pdev->device, dev->devfn)] = cap_base + 0x10; device 46 arch/x86/pci/irq.c u16 vendor, device; device 54 arch/x86/pci/irq.c int (*probe)(struct irq_router *r, struct pci_dev *router, u16 device); device 497 arch/x86/pci/irq.c dev->vendor, dev->device, pirq, irq); device 505 arch/x86/pci/irq.c dev->vendor, dev->device, pirq, irq); device 554 arch/x86/pci/irq.c switch (device) { device 611 arch/x86/pci/irq.c if (device == PCI_DEVICE_ID_VIA_82C586_0) { device 612 arch/x86/pci/irq.c switch (router->device) { device 618 arch/x86/pci/irq.c device = PCI_DEVICE_ID_VIA_82C686; device 625 arch/x86/pci/irq.c device = PCI_DEVICE_ID_VIA_8235; device 632 arch/x86/pci/irq.c device = PCI_DEVICE_ID_VIA_8237; device 637 arch/x86/pci/irq.c switch (device) { device 660 arch/x86/pci/irq.c switch (device) { device 674 arch/x86/pci/irq.c switch (device) { device 687 arch/x86/pci/irq.c if (device != PCI_DEVICE_ID_SI_503) device 698 arch/x86/pci/irq.c switch (device) { device 710 arch/x86/pci/irq.c switch (device) { device 722 arch/x86/pci/irq.c switch (device) { device 734 arch/x86/pci/irq.c switch (device) { device 747 arch/x86/pci/irq.c switch (device) { device 767 arch/x86/pci/irq.c switch (device) { device 843 arch/x86/pci/irq.c h->probe(r, pirq_router_dev, pirq_router_dev->device)) device 848 arch/x86/pci/irq.c pirq_router_dev->vendor, pirq_router_dev->device); device 162 arch/x86/pci/mmconfig-shared.c u32 device; device 181 arch/x86/pci/mmconfig-shared.c u16 vendor, device; device 197 arch/x86/pci/mmconfig-shared.c device = (l >> 16) & 0xffff; device 200 arch/x86/pci/mmconfig-shared.c pci_mmcfg_probes[i].device == device) device 14 arch/x86/video/fbdev.c struct device *device = info->device; device 19 arch/x86/video/fbdev.c if (device) device 20 arch/x86/video/fbdev.c pci_dev = to_pci_dev(device); device 44 block/blktrace.c t->device = bt->dev; device 168 block/blktrace.c t->device = bt->dev; device 708 block/bsg.c struct device *parent = bcd->parent; device 986 block/bsg.c struct device *class_dev = NULL; device 603 block/genhd.c struct device *dev; device 655 block/genhd.c struct device *dev; device 674 block/genhd.c struct device *dev; device 1031 block/genhd.c struct device *dev; device 51 crypto/async_tx/async_memcpy.c struct dma_device *device = chan ? chan->device : NULL; device 54 crypto/async_tx/async_memcpy.c if (device) { device 58 crypto/async_tx/async_memcpy.c dma_dest = dma_map_page(device->dev, dest, dest_offset, len, device 61 crypto/async_tx/async_memcpy.c dma_src = dma_map_page(device->dev, src, src_offset, len, device 64 crypto/async_tx/async_memcpy.c tx = device->device_prep_dma_memcpy(chan, dma_dest, dma_src, device 51 crypto/async_tx/async_memset.c struct dma_device *device = chan ? chan->device : NULL; device 54 crypto/async_tx/async_memset.c if (device) { device 58 crypto/async_tx/async_memset.c dma_dest = dma_map_page(device->dev, dest, offset, len, device 61 crypto/async_tx/async_memset.c tx = device->device_prep_dma_memset(chan, dma_dest, val, len, device 70 crypto/async_tx/async_tx.c ref->chan->device->device_issue_pending(ref->chan); device 148 crypto/async_tx/async_tx.c chan->device->device_issue_pending(chan); device 184 crypto/async_tx/async_tx.c if (dma_has_cap(cap, ref->chan->device->cap_mask)) { device 392 crypto/async_tx/async_tx.c dma_has_cap(tx_type, depend_tx->chan->device->cap_mask)) device 429 crypto/async_tx/async_tx.c struct dma_device *device; device 445 crypto/async_tx/async_tx.c device = chan->device; device 450 crypto/async_tx/async_tx.c if (dma_has_cap(DMA_INTERRUPT, device->cap_mask)) device 451 crypto/async_tx/async_tx.c intr_tx = device->device_prep_dma_interrupt(chan, 0); device 587 crypto/async_tx/async_tx.c struct dma_device *device; device 592 crypto/async_tx/async_tx.c device = chan->device; device 597 crypto/async_tx/async_tx.c if (device && !dma_has_cap(DMA_INTERRUPT, device->cap_mask)) device 598 crypto/async_tx/async_tx.c device = NULL; device 600 crypto/async_tx/async_tx.c tx = device ? device->device_prep_dma_interrupt(chan, 0) : NULL; device 44 crypto/async_tx/async_xor.c struct dma_device *dma = chan->device; device 244 crypto/async_tx/async_xor.c struct dma_device *device = chan ? chan->device : NULL; device 249 crypto/async_tx/async_xor.c if (device && src_cnt <= device->max_xor) { device 257 crypto/async_tx/async_xor.c dma_src[i] = dma_map_page(device->dev, src_list[i], device 260 crypto/async_tx/async_xor.c tx = device->device_prep_dma_zero_sum(chan, dma_src, src_cnt, device 268 crypto/async_tx/async_xor.c tx = device->device_prep_dma_zero_sum(chan, device 205 fs/cifs/cifsproto.h dev_t device; device 5167 fs/cifs/cifssmb.c data_offset->DevMajor = cpu_to_le64(MAJOR(args->device)); device 5168 fs/cifs/cifssmb.c data_offset->DevMinor = cpu_to_le64(MINOR(args->device)); device 234 fs/cifs/dir.c .device = 0, device 375 fs/cifs/dir.c .device = device_number, device 320 fs/cifs/file.c .device = 0, device 1099 fs/cifs/inode.c .device = 0, device 1733 fs/cifs/inode.c args->device = 0; device 212 fs/devpts/inode.c dev_t device = MKDEV(driver->major, driver->minor_start+number); device 228 fs/devpts/inode.c init_special_inode(inode, S_IFCHR|config.mode, device); device 51 fs/efs/inode.c dev_t device; device 120 fs/efs/inode.c device = 0; device 122 fs/efs/inode.c device = MKDEV(sysv_major(rdev), sysv_minor(rdev)); device 124 fs/efs/inode.c device = old_decode_dev(rdev); device 163 fs/efs/inode.c init_special_inode(inode, inode->i_mode, device); device 2269 fs/nfs/nfs4proc.c data->arg.u.device.specdata1 = MAJOR(rdev); device 2270 fs/nfs/nfs4proc.c data->arg.u.device.specdata2 = MINOR(rdev); device 2274 fs/nfs/nfs4proc.c data->arg.u.device.specdata1 = MAJOR(rdev); device 2275 fs/nfs/nfs4proc.c data->arg.u.device.specdata2 = MINOR(rdev); device 783 fs/nfs/nfs4xdr.c WRITE32(create->u.device.specdata1); device 784 fs/nfs/nfs4xdr.c WRITE32(create->u.device.specdata2); device 346 fs/partitions/check.c struct device *ddev = disk_to_dev(disk); device 347 fs/partitions/check.c struct device *pdev; device 434 fs/partitions/check.c struct device *ddev = disk_to_dev(disk); device 367 include/acpi/acobject.h struct acpi_object_device device; device 298 include/acpi/acpi_bus.h struct device dev; device 369 include/acpi/acpi_bus.h int (*find_device) (struct device *, acpi_handle *); device 371 include/acpi/acpi_bus.h int (*find_bridge) (struct device *, acpi_handle *); device 375 include/acpi/acpi_bus.h struct device *acpi_get_physical_device(acpi_handle); device 623 include/acpi/actbl1.h u16 device; device 876 include/acpi/actypes.h u16 device; device 65 include/asm-generic/gpio.h struct device *dev; device 10 include/asm-parisc/dma-mapping.h int (*dma_supported)(struct device *dev, u64 mask); device 11 include/asm-parisc/dma-mapping.h void *(*alloc_consistent)(struct device *dev, size_t size, dma_addr_t *iova, gfp_t flag); device 12 include/asm-parisc/dma-mapping.h void *(*alloc_noncoherent)(struct device *dev, size_t size, dma_addr_t *iova, gfp_t flag); device 13 include/asm-parisc/dma-mapping.h void (*free_consistent)(struct device *dev, size_t size, void *vaddr, dma_addr_t iova); device 14 include/asm-parisc/dma-mapping.h dma_addr_t (*map_single)(struct device *dev, void *addr, size_t size, enum dma_data_direction direction); device 15 include/asm-parisc/dma-mapping.h void (*unmap_single)(struct device *dev, dma_addr_t iova, size_t size, enum dma_data_direction direction); device 16 include/asm-parisc/dma-mapping.h int (*map_sg)(struct device *dev, struct scatterlist *sg, int nents, enum dma_data_direction direction); device 17 include/asm-parisc/dma-mapping.h void (*unmap_sg)(struct device *dev, struct scatterlist *sg, int nhwents, enum dma_data_direction direction); device 18 include/asm-parisc/dma-mapping.h void (*dma_sync_single_for_cpu)(struct device *dev, dma_addr_t iova, unsigned long offset, size_t size, enum dma_data_direction direction); device 19 include/asm-parisc/dma-mapping.h void (*dma_sync_single_for_device)(struct device *dev, dma_addr_t iova, unsigned long offset, size_t size, enum dma_data_direction direction); device 20 include/asm-parisc/dma-mapping.h void (*dma_sync_sg_for_cpu)(struct device *dev, struct scatterlist *sg, int nelems, enum dma_data_direction direction); device 21 include/asm-parisc/dma-mapping.h void (*dma_sync_sg_for_device)(struct device *dev, struct scatterlist *sg, int nelems, enum dma_data_direction direction); device 210 include/asm-parisc/dma-mapping.h struct device *otherdev; device 119 include/asm-parisc/hardware.h extern struct device *hwpath_to_device(struct hardware_path *modpath); device 28 include/asm-parisc/parisc-device.h struct device dev; device 79 include/asm-parisc/superio.h ( ((x)->device == PCI_DEVICE_ID_NS_87415) \ device 80 include/asm-parisc/superio.h || ((x)->device == PCI_DEVICE_ID_NS_87560_LIO) \ device 81 include/asm-parisc/superio.h || ((x)->device == PCI_DEVICE_ID_NS_87560_USB) ) ) device 16 include/asm-x86/dma-mapping.h extern struct device x86_dma_fallback_dev; device 20 include/asm-x86/dma-mapping.h int (*mapping_error)(struct device *dev, device 22 include/asm-x86/dma-mapping.h void* (*alloc_coherent)(struct device *dev, size_t size, device 24 include/asm-x86/dma-mapping.h void (*free_coherent)(struct device *dev, size_t size, device 26 include/asm-x86/dma-mapping.h dma_addr_t (*map_single)(struct device *hwdev, phys_addr_t ptr, device 28 include/asm-x86/dma-mapping.h void (*unmap_single)(struct device *dev, dma_addr_t addr, device 30 include/asm-x86/dma-mapping.h void (*sync_single_for_cpu)(struct device *hwdev, device 33 include/asm-x86/dma-mapping.h void (*sync_single_for_device)(struct device *hwdev, device 36 include/asm-x86/dma-mapping.h void (*sync_single_range_for_cpu)(struct device *hwdev, device 39 include/asm-x86/dma-mapping.h void (*sync_single_range_for_device)(struct device *hwdev, device 42 include/asm-x86/dma-mapping.h void (*sync_sg_for_cpu)(struct device *hwdev, device 45 include/asm-x86/dma-mapping.h void (*sync_sg_for_device)(struct device *hwdev, device 48 include/asm-x86/dma-mapping.h int (*map_sg)(struct device *hwdev, struct scatterlist *sg, device 50 include/asm-x86/dma-mapping.h void (*unmap_sg)(struct device *hwdev, device 53 include/asm-x86/dma-mapping.h int (*dma_supported)(struct device *hwdev, u64 mask); device 10 include/asm-x86/microcode.h struct device; device 14 include/asm-x86/microcode.h int (*request_microcode_fw) (int cpu, struct device *device); device 641 include/drm/drmP.h dev_t device; /**< Device number for mknod */ device 642 include/drm/drmP.h struct device kdev; /**< Linux device */ device 356 include/linux/ac97_codec.h unsigned short device; /* PCI device id */ device 47 include/linux/agp_backend.h struct pci_dev *device; device 16 include/linux/amba/bus.h struct device dev; device 444 include/linux/ata.h u8 device; device 362 include/linux/atmdev.h struct device class_dev; /* sysfs device */ device 22 include/linux/attribute_container.h int (*match)(struct attribute_container *, struct device *); device 68 include/linux/attribute_container.h struct device *attribute_container_find_class_device(struct attribute_container *, struct device *); device 19 include/linux/backing-dev.h struct device; device 59 include/linux/backing-dev.h struct device *dev; device 73 include/linux/backlight.h struct device dev; device 104 include/linux/blktrace_api.h __u32 device; /* device number */ device 114 include/linux/blktrace_api.h __be32 device; device 313 include/linux/blktrace_api.h r.device = cpu_to_be32(dev); device 58 include/linux/bsg.h struct device *class_dev; device 59 include/linux/bsg.h struct device *parent; device 63 include/linux/bsg.h void (*release)(struct device *); device 14 include/linux/clk.h struct device; device 100 include/linux/console.h struct tty_driver *(*device)(struct console *, int *); device 15 include/linux/dca.h struct device *cd; device 20 include/linux/dca.h int (*add_requester) (struct dca_provider *, struct device *); device 21 include/linux/dca.h int (*remove_requester) (struct dca_provider *, struct device *); device 22 include/linux/dca.h u8 (*get_tag) (struct dca_provider *, struct device *, device 24 include/linux/dca.h int (*dev_managed) (struct dca_provider *, struct device *); device 30 include/linux/device.h struct device; device 57 include/linux/device.h int (*match)(struct device *dev, struct device_driver *drv); device 58 include/linux/device.h int (*uevent)(struct device *dev, struct kobj_uevent_env *env); device 59 include/linux/device.h int (*probe)(struct device *dev); device 60 include/linux/device.h int (*remove)(struct device *dev); device 61 include/linux/device.h void (*shutdown)(struct device *dev); device 63 include/linux/device.h int (*suspend)(struct device *dev, pm_message_t state); device 64 include/linux/device.h int (*suspend_late)(struct device *dev, pm_message_t state); device 65 include/linux/device.h int (*resume_early)(struct device *dev); device 66 include/linux/device.h int (*resume)(struct device *dev); device 82 include/linux/device.h struct device *bus_find_device(struct bus_type *bus, struct device *start, device 85 include/linux/device.h struct device *bus_find_device_by_name(struct bus_type *bus, device 126 include/linux/device.h int (*probe) (struct device *dev); device 127 include/linux/device.h int (*remove) (struct device *dev); device 128 include/linux/device.h void (*shutdown) (struct device *dev); device 129 include/linux/device.h int (*suspend) (struct device *dev, pm_message_t state); device 130 include/linux/device.h int (*resume) (struct device *dev); device 175 include/linux/device.h struct device *driver_find_device(struct device_driver *drv, device 190 include/linux/device.h int (*dev_uevent)(struct device *dev, struct kobj_uevent_env *env); device 193 include/linux/device.h void (*dev_release)(struct device *dev); device 195 include/linux/device.h int (*suspend)(struct device *dev, pm_message_t state); device 196 include/linux/device.h int (*resume)(struct device *dev); device 225 include/linux/device.h extern struct device *class_dev_iter_next(struct class_dev_iter *iter); device 231 include/linux/device.h extern struct device *class_find_device(struct class *class, device 253 include/linux/device.h int (*add_dev) (struct device *, struct class_interface *); device 254 include/linux/device.h void (*remove_dev) (struct device *, struct class_interface *); device 285 include/linux/device.h int (*uevent)(struct device *dev, struct kobj_uevent_env *env); device 286 include/linux/device.h void (*release)(struct device *dev); device 288 include/linux/device.h int (*suspend)(struct device *dev, pm_message_t state); device 289 include/linux/device.h int (*resume)(struct device *dev); device 297 include/linux/device.h ssize_t (*show)(struct device *dev, struct device_attribute *attr, device 299 include/linux/device.h ssize_t (*store)(struct device *dev, struct device_attribute *attr, device 369 include/linux/device.h struct device *parent; device 416 include/linux/device.h void (*release)(struct device *dev); device 477 include/linux/device.h extern struct device *device_find_child(struct device *dev, void *data, device 495 include/linux/device.h extern struct device *device_create_vargs(struct class *cls, device 501 include/linux/device.h extern struct device *device_create(struct class *cls, struct device *parent, device 514 include/linux/device.h extern int (*platform_notify)(struct device *dev); device 516 include/linux/device.h extern int (*platform_notify_remove)(struct device *dev); device 523 include/linux/device.h extern struct device *get_device(struct device *dev); device 49 include/linux/dio.h struct device dev; /* Generic device interface */ device 65 include/linux/dio.h struct device dev; device 44 include/linux/display.h struct device *parent; /* This is the parent */ device 45 include/linux/display.h struct device *dev; /* This is this display device */ device 153 include/linux/dmaengine.h struct device *dev; device 154 include/linux/dmaengine.h struct device *dma_dev; device 188 include/linux/dmaengine.h struct dma_device *device; device 193 include/linux/dmaengine.h struct device dev; device 330 include/linux/dmaengine.h struct device *dev; device 430 include/linux/dmaengine.h chan->device->device_issue_pending(chan); device 449 include/linux/dmaengine.h return chan->device->device_is_tx_complete(chan, cookie, last, used); device 113 include/linux/edd.h __u8 device; device 120 include/linux/edd.h __u8 device; device 155 include/linux/edd.h __u8 device; device 171 include/linux/edd.h __u8 device; device 41 include/linux/eisa.h struct device dev; /* generic device */ device 93 include/linux/eisa.h struct device *dev; /* Pointer to bridge device */ device 85 include/linux/enclosure.h struct device cdev; device 86 include/linux/enclosure.h struct device *dev; device 98 include/linux/enclosure.h struct device edev; device 404 include/linux/fb.h struct device; device 837 include/linux/fb.h struct device *device; /* This is the parent */ device 838 include/linux/fb.h struct device *dev; /* This is this fb device */ device 73 include/linux/fd.h unsigned int device,head,track; device 17 include/linux/firmware.h struct device; device 47 include/linux/gameport.h struct device dev; device 18 include/linux/genhd.h #define kobj_to_dev(k) container_of((k), struct device, kobj) device 19 include/linux/genhd.h #define dev_to_disk(device) container_of((device), struct gendisk, part0.__dev) device 20 include/linux/genhd.h #define dev_to_part(device) container_of((device), struct hd_struct, __dev) device 96 include/linux/genhd.h struct device __dev; device 159 include/linux/genhd.h struct device *driverfs_dev; // FIXME: remove device 372 include/linux/hid.h struct hid_device *device; /* associated device */ device 437 include/linux/hid.h struct device dev; /* device */ device 490 include/linux/hid.h struct hid_device *device; device 52 include/linux/hidraw.h struct device *dev; device 293 include/linux/hp_sdc.h #error No support for device registration on this arch yet. device 19 include/linux/hwmon.h struct device *hwmon_device_register(struct device *dev); device 211 include/linux/i2c.h struct device dev; /* the device structure */ device 223 include/linux/i2c.h struct device * const dev = container_of(kobj, struct device, kobj); device 363 include/linux/i2c.h struct device dev; /* the adapter device */ device 426 include/linux/i2o.h struct device device; device 563 include/linux/i2o.h struct device device; device 1051 include/linux/i2o.h #define to_i2o_device(dev) container_of(dev, struct i2o_device, device) device 1052 include/linux/i2o.h #define to_i2o_controller(dev) container_of(dev, struct i2o_controller, device) device 1053 include/linux/i2o.h #define kobj_to_i2o_device(kobj) to_i2o_device(container_of(kobj, struct device, kobj)) device 195 include/linux/ide.h struct device *dev, *parent; device 372 include/linux/ide.h u8 device; /* 12: device select */ device 652 include/linux/ide.h struct device gendev; device 784 include/linux/ide.h struct device *dev; device 836 include/linux/ide.h struct device gendev; device 837 include/linux/ide.h struct device *portdev; device 853 include/linux/ide.h struct device *dev[2]; device 1088 include/linux/input.h struct device dev; device 76 include/linux/interrupt.h struct device; device 25 include/linux/io.h struct device; device 155 include/linux/ioport.h struct device; device 439 include/linux/ipmi.h void (*new_smi)(int if_num, struct device *dev); device 12 include/linux/isa.h int (*match)(struct device *, unsigned int); device 13 include/linux/isa.h int (*probe)(struct device *, unsigned int); device 14 include/linux/isa.h int (*remove)(struct device *, unsigned int); device 15 include/linux/isa.h void (*shutdown)(struct device *, unsigned int); device 16 include/linux/isa.h int (*suspend)(struct device *, unsigned int, pm_message_t); device 17 include/linux/isa.h int (*resume)(struct device *, unsigned int); device 20 include/linux/isa.h struct device *devices; device 69 include/linux/lcd.h struct device dev; device 19 include/linux/leds.h struct device; device 49 include/linux/leds.h struct device *dev; device 493 include/linux/libata.h struct device *dev; device 668 include/linux/libata.h struct ata_device device[ATA_MAX_DEVICES]; device 708 include/linux/libata.h struct device *dev; device 805 include/linux/libata.h void (*sff_dev_select)(struct ata_port *ap, unsigned int device); device 1294 include/linux/libata.h for ((dev) = (link)->device; \ device 1295 include/linux/libata.h (dev) < (link)->device + ata_link_max_devices(link) || ((dev) = NULL); \ device 1299 include/linux/libata.h for ((dev) = (link)->device + ata_link_max_devices(link) - 1; \ device 1300 include/linux/libata.h (dev) >= (link)->device || ((dev) = NULL); (dev)--) device 1357 include/linux/libata.h tf->device = ATA_DEVICE_OBS; device 1359 include/linux/libata.h tf->device = ATA_DEVICE_OBS | ATA_DEV1; device 433 include/linux/mISDNif.h struct device dev; device 60 include/linux/maple.h struct device dev; device 31 include/linux/mc146818rtc.h void (*wake_on)(struct device *dev); device 32 include/linux/mc146818rtc.h void (*wake_off)(struct device *dev); device 69 include/linux/mca.h struct device dev; device 89 include/linux/mca.h struct device dev; device 272 include/linux/memstick.h struct device dev; device 284 include/linux/memstick.h struct device dev; device 563 include/linux/mfd/wm8350/core.h struct device *dev; device 31 include/linux/mfd/wm8400-private.h struct device *dev; device 34 include/linux/mfd/wm8400.h int (*platform_init)(struct device *dev); device 34 include/linux/miscdevice.h struct device; device 41 include/linux/miscdevice.h struct device *parent; device 42 include/linux/miscdevice.h struct device *this_device; device 70 include/linux/mmc/card.h unsigned short device; device 86 include/linux/mmc/card.h struct device dev; /* the device */ device 82 include/linux/mmc/host.h struct device; device 85 include/linux/mmc/host.h struct device *parent; device 86 include/linux/mmc/host.h struct device class_dev; device 38 include/linux/mmc/sdio_func.h struct device dev; /* the device */ device 44 include/linux/mmc/sdio_func.h unsigned short device; /* device id */ device 94 include/linux/mmc/sdio_func.h .vendor = (vend), .device = (dev) device 106 include/linux/mmc/sdio_func.h .vendor = SDIO_ANY_ID, .device = SDIO_ANY_ID device 18 include/linux/mod_devicetable.h __u32 vendor, device; /* Vendor and device ID or PCI_ANY_ID*/ device 364 include/linux/mod_devicetable.h __u16 device; /* Device ID or SDIO_ANY_ID */ device 385 include/linux/mod_devicetable.h __u32 device; device 72 include/linux/mtd/partitions.h struct device; device 31 include/linux/mtd/plat-ram.h void (*set_rw)(struct device *dev, int to); device 745 include/linux/netdevice.h struct device dev; device 25 include/linux/netrom.h char device[16]; device 569 include/linux/nfs_xdr.h } device; /* NF4BLK, NF4CHR */ device 30 include/linux/nsc_gpio.h struct device* dev; /* for dev_dbg() support, set in init */ device 283 include/linux/parport.h struct device *dev; /* Physical device associated with IO/DMA. device 160 include/linux/pci.h unsigned short device; device 195 include/linux/pci.h struct device dev; /* Generic device interface */ device 305 include/linux/pci.h struct device *bridge; device 306 include/linux/pci.h struct device dev; device 440 include/linux/pci.h .vendor = (vend), .device = (dev), \ device 454 include/linux/pci.h .vendor = PCI_ANY_ID, .device = PCI_ANY_ID, \ device 469 include/linux/pci.h PCI_VENDOR_ID_##vendor, (device), \ device 1043 include/linux/pci.h u16 vendor, device; /* You can use PCI_ANY_ID here of course */ device 1060 include/linux/pci.h __attribute__((__section__(#section))) = { vendor, device, hook }; device 1063 include/linux/pci.h vendor##device##hook, vendor, device, hook) device 1066 include/linux/pci.h vendor##device##hook, vendor, device, hook) device 1069 include/linux/pci.h vendor##device##hook, vendor, device, hook) device 1072 include/linux/pci.h vendor##device##hook, vendor, device, hook) device 1075 include/linux/pci.h resume##vendor##device##hook, vendor, device, hook) device 1078 include/linux/pci.h resume_early##vendor##device##hook, vendor, device, hook) device 1081 include/linux/pci.h suspend##vendor##device##hook, vendor, device, hook) device 30 include/linux/pcieport_if.h __u32 vendor, device; /* Vendor and device ID or PCI_ANY_ID*/ device 43 include/linux/pcieport_if.h struct device device; /* Generic Device Interface */ device 45 include/linux/pcieport_if.h #define to_pcie_device(d) container_of(d, struct pcie_device, device) device 19 include/linux/pda_power.h struct device; device 22 include/linux/pda_power.h int (*init)(struct device *dev); device 26 include/linux/pda_power.h void (*exit)(struct device *dev); device 102 include/linux/phy.h struct device *parent; device 109 include/linux/phy.h struct device dev; device 269 include/linux/phy.h struct device dev; device 293 include/linux/pktcdvd.h struct device *dev; /* sysfs pktcdvd[0-7] dev */ device 19 include/linux/platform_device.h struct device dev; device 30 include/linux/platform_device.h extern struct device platform_bus; device 37 include/linux/pm.h struct device; device 146 include/linux/pm.h int (*prepare)(struct device *dev); device 147 include/linux/pm.h void (*complete)(struct device *dev); device 148 include/linux/pm.h int (*suspend)(struct device *dev); device 149 include/linux/pm.h int (*resume)(struct device *dev); device 150 include/linux/pm.h int (*freeze)(struct device *dev); device 151 include/linux/pm.h int (*thaw)(struct device *dev); device 152 include/linux/pm.h int (*poweroff)(struct device *dev); device 153 include/linux/pm.h int (*restore)(struct device *dev); device 205 include/linux/pm.h int (*suspend_noirq)(struct device *dev); device 206 include/linux/pm.h int (*resume_noirq)(struct device *dev); device 207 include/linux/pm.h int (*freeze_noirq)(struct device *dev); device 208 include/linux/pm.h int (*thaw_noirq)(struct device *dev); device 209 include/linux/pm.h int (*poweroff_noirq)(struct device *dev); device 210 include/linux/pm.h int (*restore_noirq)(struct device *dev); device 199 include/linux/pnp.h struct device dev; /* Driver Model device interface */ device 242 include/linux/pnp.h struct device dev; /* Driver Model device interface */ device 406 include/linux/pnp.h struct device dev; /* link to driver model */ device 131 include/linux/power_supply.h struct device *dev; device 12 include/linux/pwm_backlight.h int (*init)(struct device *dev); device 14 include/linux/pwm_backlight.h void (*exit)(struct device *dev); device 16 include/linux/raid_class.h int (*is_raid)(struct device *); device 17 include/linux/raid_class.h void (*get_resync)(struct device *); device 18 include/linux/raid_class.h void (*get_state)(struct device *); device 55 include/linux/raid_class.h raid_set_##attr(struct raid_template *r, struct device *dev, type value) { \ device 56 include/linux/raid_class.h struct device *device = \ device 59 include/linux/raid_class.h BUG_ON(!device); \ device 60 include/linux/raid_class.h rd = dev_get_drvdata(device); \ device 64 include/linux/raid_class.h raid_get_##attr(struct raid_template *r, struct device *dev) { \ device 65 include/linux/raid_class.h struct device *device = \ device 68 include/linux/raid_class.h BUG_ON(!device); \ device 69 include/linux/raid_class.h rd = dev_get_drvdata(device); \ device 96 include/linux/regulator/driver.h struct device *rdev_get_dev(struct regulator_dev *rdev); device 98 include/linux/regulator/machine.h struct device *dev; /* consumer */ device 108 include/linux/regulator/machine.h struct device *supply_regulator_dev; /* or NULL for LINE */ device 9 include/linux/resume-trace.h struct device; device 109 include/linux/rfkill.h struct device dev; device 113 include/linux/rio.h struct device dev; /* LDM device structure */ device 66 include/linux/rose.h char device[16]; device 136 include/linux/rtc.h int (*open)(struct device *); device 137 include/linux/rtc.h void (*release)(struct device *); device 138 include/linux/rtc.h int (*ioctl)(struct device *, unsigned int, unsigned long); device 139 include/linux/rtc.h int (*read_time)(struct device *, struct rtc_time *); device 140 include/linux/rtc.h int (*set_time)(struct device *, struct rtc_time *); device 141 include/linux/rtc.h int (*read_alarm)(struct device *, struct rtc_wkalrm *); device 142 include/linux/rtc.h int (*set_alarm)(struct device *, struct rtc_wkalrm *); device 143 include/linux/rtc.h int (*proc)(struct device *, struct seq_file *); device 144 include/linux/rtc.h int (*set_mmss)(struct device *, unsigned long secs); device 145 include/linux/rtc.h int (*irq_set_state)(struct device *, int enabled); device 146 include/linux/rtc.h int (*irq_set_freq)(struct device *, int freq); device 147 include/linux/rtc.h int (*read_callback)(struct device *, int data); device 158 include/linux/rtc.h struct device dev; device 53 include/linux/rtc/m48t59.h void (*write_byte)(struct device *dev, u32 ofs, u8 val); device 54 include/linux/rtc/m48t59.h unsigned char (*read_byte)(struct device *dev, u32 ofs); device 172 include/linux/serial_core.h struct device; device 306 include/linux/serial_core.h struct device *dev; /* parent device */ device 49 include/linux/serio.h struct device dev; device 169 include/linux/sm501.h int (*get_power)(struct device *dev); device 170 include/linux/sm501.h int (*set_power)(struct device *dev, unsigned int on); device 32 include/linux/sound.h struct device; device 483 include/linux/soundcard.h short device; /* Synth# (0-4) */ device 490 include/linux/soundcard.h int device; /* 0-N. INITIALIZE BEFORE CALLING */ device 525 include/linux/soundcard.h int device; /* 0-N. INITIALIZE BEFORE CALLING */ device 1296 include/linux/soundcard.h _seqbuf[_seqbufptr+2] = (device);\ device 6 include/linux/spi/mmc_spi.h struct device; device 18 include/linux/spi/mmc_spi.h int (*init)(struct device *, device 21 include/linux/spi/mmc_spi.h void (*exit)(struct device *, void *); device 24 include/linux/spi/mmc_spi.h int (*get_ro)(struct device *); device 30 include/linux/spi/mmc_spi.h int (*get_cd)(struct device *); device 41 include/linux/spi/mmc_spi.h void (*setpower)(struct device *, unsigned int maskval); device 66 include/linux/spi/spi.h struct device dev; device 225 include/linux/spi/spi.h struct device dev; device 131 include/linux/ssb/ssb.h struct device dev; device 140 include/linux/ssb/ssb.h struct device *dev; device 65 include/linux/superhyway.h struct device dev; device 68 include/linux/tc.h struct device dev; device 85 include/linux/tc.h struct device dev; /* Generic device interface. */ device 59 include/linux/thermal.h struct device device; device 73 include/linux/thermal.h struct device *device; device 88 include/linux/thermal.h struct device device; device 100 include/linux/tifm.h struct device dev; device 124 include/linux/tifm.h struct device dev; device 19 include/linux/transport_class.h int (*setup)(struct transport_container *, struct device *, device 20 include/linux/transport_class.h struct device *); device 21 include/linux/transport_class.h int (*configure)(struct transport_container *, struct device *, device 22 include/linux/transport_class.h struct device *); device 23 include/linux/transport_class.h int (*remove)(struct transport_container *, struct device *, device 24 include/linux/transport_class.h struct device *); device 169 include/linux/tty.h struct device; device 345 include/linux/tty.h extern struct device *tty_register_device(struct tty_driver *driver, device 170 include/linux/usb.h struct device dev; /* interface specific device info */ device 171 include/linux/usb.h struct device *usb_dev; device 300 include/linux/usb.h struct device *controller; /* host/master side hardware */ device 328 include/linux/usb.h struct device *dev; /* device for this bus */ device 429 include/linux/usb.h struct device dev; device 460 include/linux/usb.h struct device *usb_classdev; device 488 include/linux/usb/gadget.h struct device dev; device 30 include/linux/usb/isp116x.h void (*delay) (struct device *dev, int delay); device 60 include/linux/usb/musb.h int (*set_vbus)(struct device *dev, int is_on); device 43 include/linux/usb/otg.h struct device *dev; device 96 include/linux/usb/serial.h struct device dev; device 19 include/linux/usb/sl811.h void (*port_power)(struct device *dev, int is_on); device 22 include/linux/usb/sl811.h void (*reset)(struct device *dev); device 34 include/linux/video_output.h struct device dev; device 85 include/linux/virtio.h struct device dev; device 270 include/linux/wm97xx.h struct device *dev; /* ALSA device */ device 72 include/linux/x25.h char device[200-sizeof(unsigned long)]; device 94 include/linux/x25.h char device[200]; device 131 include/linux/zorro.h struct device dev; /* Generic device interface */ device 149 include/linux/zorro.h struct device dev; device 73 include/media/saa7146.h .device = PCI_DEVICE_ID_PHILIPS_SAA7146, \ device 21 include/media/soc_camera.h struct device dev; device 22 include/media/soc_camera.h struct device *control; device 56 include/media/soc_camera.h struct device dev; device 87 include/media/soc_camera.h int (*power)(struct device *, int); device 88 include/media/soc_camera.h int (*reset)(struct device *); device 41 include/media/v4l2-dev.h struct device dev; /* v4l device */ device 44 include/media/v4l2-dev.h struct device *parent; /* device parent */ device 158 include/media/videobuf-core.h struct device *dev; device 137 include/net/bluetooth/hci_core.h struct device *parent; device 138 include/net/bluetooth/hci_core.h struct device dev; device 184 include/net/bluetooth/hci_core.h struct device dev; device 21 include/net/dsa.h struct device *netdev; device 28 include/net/dsa.h struct device *mii_bus; device 82 include/net/iucv/iucv.h extern struct device *iucv_root; device 69 include/net/netrom.h struct net_device *device; device 127 include/net/rose.h struct net_device *device; device 210 include/net/wireless.h struct device dev; device 257 include/net/wireless.h static inline struct device *wiphy_dev(struct wiphy *wiphy) device 119 include/pcmcia/cistpl.h cistpl_device_t device; device 535 include/pcmcia/cistpl.h cistpl_device_t device; device 126 include/pcmcia/ds.h struct device dev; device 262 include/pcmcia/ss.h struct device dev; device 284 include/rdma/ib_cm.h struct ib_device *device; device 353 include/rdma/ib_mad.h struct ib_device *device; device 347 include/rdma/ib_verbs.h struct ib_device *device; device 358 include/rdma/ib_verbs.h struct ib_device *device; device 365 include/rdma/ib_verbs.h (_ptr)->device = _device; \ device 709 include/rdma/ib_verbs.h struct ib_device *device; device 809 include/rdma/ib_verbs.h struct ib_device *device; device 839 include/rdma/ib_verbs.h struct ib_device *device; device 845 include/rdma/ib_verbs.h struct ib_device *device; device 853 include/rdma/ib_verbs.h struct ib_device *device; device 863 include/rdma/ib_verbs.h struct ib_device *device; device 872 include/rdma/ib_verbs.h struct ib_device *device; device 885 include/rdma/ib_verbs.h struct ib_device *device; device 894 include/rdma/ib_verbs.h struct ib_device *device; device 901 include/rdma/ib_verbs.h struct ib_device *device; device 980 include/rdma/ib_verbs.h struct device *dma_device; device 999 include/rdma/ib_verbs.h int (*get_protocol_stats)(struct ib_device *device, device 1001 include/rdma/ib_verbs.h int (*query_device)(struct ib_device *device, device 1003 include/rdma/ib_verbs.h int (*query_port)(struct ib_device *device, device 1006 include/rdma/ib_verbs.h int (*query_gid)(struct ib_device *device, device 1009 include/rdma/ib_verbs.h int (*query_pkey)(struct ib_device *device, device 1011 include/rdma/ib_verbs.h int (*modify_device)(struct ib_device *device, device 1014 include/rdma/ib_verbs.h int (*modify_port)(struct ib_device *device, device 1017 include/rdma/ib_verbs.h struct ib_ucontext * (*alloc_ucontext)(struct ib_device *device, device 1022 include/rdma/ib_verbs.h struct ib_pd * (*alloc_pd)(struct ib_device *device, device 1064 include/rdma/ib_verbs.h struct ib_cq * (*create_cq)(struct ib_device *device, int cqe, device 1097 include/rdma/ib_verbs.h struct ib_fast_reg_page_list * (*alloc_fast_reg_page_list)(struct ib_device *device, device 1126 include/rdma/ib_verbs.h int (*process_mad)(struct ib_device *device, device 1137 include/rdma/ib_verbs.h struct device dev; device 1372 include/rdma/ib_verbs.h return srq->device->post_srq_recv(srq, recv_wr, bad_recv_wr); device 1433 include/rdma/ib_verbs.h return qp->device->post_send(qp, send_wr, bad_send_wr); device 1448 include/rdma/ib_verbs.h return qp->device->post_recv(qp, recv_wr, bad_recv_wr); device 1510 include/rdma/ib_verbs.h return cq->device->poll_cq(cq, num_entries, wc); device 1555 include/rdma/ib_verbs.h return cq->device->req_notify_cq(cq, flags); device 1567 include/rdma/ib_verbs.h return cq->device->req_ncomp_notif ? device 1568 include/rdma/ib_verbs.h cq->device->req_ncomp_notif(cq, wc_cnt) : device 1962 include/rdma/ib_verbs.h return mw->device->bind_mw ? device 1963 include/rdma/ib_verbs.h mw->device->bind_mw(qp, mw, mw_bind) : device 1997 include/rdma/ib_verbs.h return fmr->device->map_phys_fmr(fmr, page_list, list_len, iova); device 92 include/rdma/iw_cm.h struct ib_device *device; device 116 include/rdma/iw_cm.h struct ib_qp * (*get_qp)(struct ib_device *device, device 128 include/rdma/rdma_cm.h struct ib_device *device; device 45 include/scsi/libiscsi.h struct device; device 348 include/scsi/libsas.h struct device *dev; /* should be set */ device 388 include/scsi/libsas.h return sdev_to_domain_dev(cmd->device); device 30 include/scsi/libsrp.h struct device *dev; device 207 include/scsi/sas.h u8 device; device 231 include/scsi/sas.h u8 device; device 54 include/scsi/scsi_cmnd.h struct scsi_device *device; device 164 include/scsi/scsi_device.h struct device sdev_gendev, device 211 include/scsi/scsi_device.h sdev_printk(prefix, (scmd)->device, "[%s] " fmt, \ device 213 include/scsi/scsi_device.h sdev_printk(prefix, (scmd)->device, fmt, ##a) device 230 include/scsi/scsi_device.h struct device dev; device 386 include/scsi/scsi_device.h #define scmd_id(scmd) sdev_id((scmd)->device) device 387 include/scsi/scsi_device.h #define scmd_channel(scmd) sdev_channel((scmd)->device) device 17 include/scsi/scsi_driver.h void (*rescan)(struct device *); device 653 include/scsi/scsi_host.h struct device shost_gendev, shost_dev; device 725 include/scsi/scsi_host.h static inline struct device *scsi_get_device(struct Scsi_Host *shost) device 100 include/scsi/scsi_tcq.h struct scsi_device *sdev = cmd->device; device 244 include/scsi/scsi_transport_fc.h struct device dev; device 349 include/scsi/scsi_transport_fc.h struct device dev; device 149 include/scsi/scsi_transport_iscsi.h struct device dev; /* sysfs transport/container device */ device 185 include/scsi/scsi_transport_iscsi.h struct device dev; /* sysfs transport/container device */ device 209 include/scsi/scsi_transport_iscsi.h struct device dev; device 55 include/scsi/scsi_transport_sas.h struct device dev; device 90 include/scsi/scsi_transport_sas.h struct device dev; device 139 include/scsi/scsi_transport_sas.h struct device dev; device 17 include/scsi/scsi_transport_srp.h struct device dev; device 520 include/sound/ac97_codec.h struct device dev; device 103 include/sound/asound.h unsigned int device; /* WR: device number */ device 285 include/sound/asound.h unsigned int device; /* RO/WR (control): device number */ device 512 include/sound/asound.h unsigned int device; /* RO/WR (control): device number */ device 586 include/sound/asound.h int device; device 771 include/sound/asound.h unsigned int device; /* device/client number */ device 41 include/sound/control.h unsigned int device; /* device/client number */ device 144 include/sound/core.h struct device *dev; /* device assigned to this card */ device 146 include/sound/core.h struct device *card_dev; /* cardX object for sysfs */ device 199 include/sound/core.h int device; /* device number */ device 202 include/sound/core.h struct device *dev; /* device for sysfs */ device 206 include/sound/core.h static inline struct device *snd_card_get_device_link(struct snd_card *card) device 1655 include/sound/emu10k1.h u32 device; device 47 include/sound/hwdep.h int device; device 34 include/sound/i2c.h void (*private_free)(struct snd_i2c_device *device); device 49 include/sound/i2c.h int (*sendbytes)(struct snd_i2c_device *device, unsigned char *bytes, int count); device 50 include/sound/i2c.h int (*readbytes)(struct snd_i2c_device *device, unsigned char *bytes, int count); device 27 include/sound/memalloc.h struct device; device 34 include/sound/memalloc.h struct device *dev; /* generic device */ device 40 include/sound/memalloc.h #define snd_dma_continuous_data(x) ((struct device *)(unsigned long)(x)) device 82 include/sound/memalloc.h struct device *dev; device 120 include/sound/memalloc.h #define snd_dma_pci_buf_id(pci) (((unsigned int)(pci)->vendor << 16) | (pci)->device) device 424 include/sound/pcm.h int device; /* device number */ device 435 include/sound/pcm.h struct device *dev; /* actual hw device this belongs to */ device 120 include/sound/rawmidi.h unsigned int device; /* device number */ device 37 include/sound/seq_device.h int device; /* device number */ device 44 include/sound/seq_device.h void (*private_free)(struct snd_seq_device *device); device 58 include/sound/seq_virmidi.h int device; /* sequencer device */ device 511 include/sound/soc.h struct device *dev; device 358 include/sound/trident.h unsigned int device; /* device ID */ device 37 include/sound/vx_core.h struct device; device 181 include/sound/vx_core.h struct device *dev; device 200 include/video/tgafb.h struct device *dev; device 68 include/xen/xenbus.h struct device dev; device 1094 kernel/printk.c if (!c->device) device 1096 kernel/printk.c driver = c->device(c, index); device 1161 kernel/printk.c if (console->device) { device 73 kernel/trace/trace_mmiotrace.c dev->vendor, dev->device, dev->irq); device 107 mm/backing-dev.c static ssize_t name##_show(struct device *dev, \ device 177 mm/backing-dev.c struct device *dev; device 48 mm/dmapool.c struct device *dev; device 499 mm/dmapool.c struct device *dev = pool->dev; device 444 mm/swapfile.c if (device) device 445 mm/swapfile.c bdev = bdget(device); device 146 net/atm/atm_sysfs.c struct device *cdev = &adev->class_dev; device 174 net/atm/atm_sysfs.c struct device *cdev = &adev->class_dev; device 69 net/atm/br2684.c struct net_device *device; device 329 net/atm/br2684.c pr_debug("removing VCC %p from dev %p\n", brvcc, brvcc->device); device 343 net/atm/br2684.c struct net_device *net_dev = brvcc->device; device 507 net/atm/br2684.c brvcc->device = net_dev; device 120 net/bluetooth/bnep/bnep.h char device[16]; // Name of the Ethernet device device 133 net/bluetooth/bnep/bnep.h char device[16]; device 524 net/bluetooth/bnep/core.c static struct device *bnep_get_device(struct bnep_session *session) device 556 net/bluetooth/bnep/core.c (*req->device) ? req->device : "bnep%d", device 612 net/bluetooth/bnep/core.c strcpy(req->device, dev->name); device 649 net/bluetooth/bnep/core.c strcpy(ci->device, s->dev->name); device 144 net/bluetooth/hci_sysfs.c struct device *dev; device 415 net/bluetooth/hci_sysfs.c struct device *dev = &hdev->dev; device 605 net/bluetooth/hidp/core.c static struct device *hidp_get_device(struct hidp_session *session) device 75 net/bluetooth/rfcomm/tty.c struct device *tty_dev; device 172 net/bluetooth/rfcomm/tty.c static struct device *rfcomm_get_device(struct rfcomm_dev *dev) device 24 net/bridge/br_sysfs_br.c #define to_dev(obj) container_of(obj, struct device, kobj) device 384 net/bridge/br_sysfs_br.c struct device *dev = to_dev(kobj); device 89 net/bridge/netfilter/ebtables.c const char *devname = device->name; device 93 net/bridge/netfilter/ebtables.c if (!device) device 4792 net/core/dev.c const struct device *parent; device 56 net/core/net-sysfs.c static ssize_t show_##field(struct device *dev, \ device 291 net/core/net-sysfs.c static ssize_t show_##name(struct device *d, \ device 385 net/core/net-sysfs.c static ssize_t show_iw_##name(struct device *d, \ device 476 net/core/net-sysfs.c struct device *dev = &(net->dev); device 485 net/core/net-sysfs.c struct device *dev = &(net->dev); device 522 net/core/net-sysfs.c struct device *device = &(net->dev); device 523 net/core/net-sysfs.c device_initialize(device); device 256 net/dsa/dsa.c static struct device *dev_find_class(struct device *parent, char *class) device 268 net/dsa/dsa.c struct device *d; device 285 net/dsa/dsa.c struct device *d; device 82 net/iucv/iucv.c struct device *iucv_root; device 111 net/netrom/af_netrom.c if (nr_sk(s)->device == dev) device 514 net/netrom/af_netrom.c nr->device = onr->device; device 628 net/netrom/af_netrom.c nr->device = dev; device 700 net/netrom/af_netrom.c nr->device = dev; device 1055 net/netrom/af_netrom.c if (nr->device == NULL) { device 1309 net/netrom/af_netrom.c if ((dev = nr->device) == NULL) device 665 net/netrom/nr_route.c if ((dev = nr_ax25_dev_get(nr_route.device)) == NULL) device 694 net/netrom/nr_route.c if ((dev = nr_ax25_dev_get(nr_route.device)) == NULL) device 667 net/rfkill/rfkill.c struct device *dev; device 744 net/rfkill/rfkill.c struct device *dev = &rfkill->dev; device 197 net/rose/af_rose.c if (rose->device == dev) { device 200 net/rose/af_rose.c rose->device = NULL; device 600 net/rose/af_rose.c rose->device = orose->device; device 704 net/rose/af_rose.c rose->device = dev; device 802 net/rose/af_rose.c rose->device = dev; device 1031 net/rose/af_rose.c make_rose->device = dev; device 1086 net/rose/af_rose.c if (rose->neighbour == NULL || rose->device == NULL) device 1446 net/rose/af_rose.c const struct net_device *dev = rose->device; device 723 net/rose/rose_route.c if ((dev = rose_ax25_dev_get(rose_route.device)) == NULL) device 740 net/rose/rose_route.c if ((dev = rose_ax25_dev_get(rose_route.device)) == NULL) device 266 net/sunrpc/xprtrdma/svc_rdma_recvfrom.c ib_dma_map_single(xprt->sc_cm_id->device, device 269 net/sunrpc/xprtrdma/svc_rdma_recvfrom.c if (ib_dma_mapping_error(xprt->sc_cm_id->device, device 319 net/sunrpc/xprtrdma/svc_rdma_recvfrom.c ib_dma_map_single(xprt->sc_cm_id->device, device 323 net/sunrpc/xprtrdma/svc_rdma_recvfrom.c if (ib_dma_mapping_error(xprt->sc_cm_id->device, device 342 net/sunrpc/xprtrdma/svc_rdma_recvfrom.c device->node_type)) device 106 net/sunrpc/xprtrdma/svc_rdma_sendto.c ib_dma_map_single(xprt->sc_cm_id->device, device 109 net/sunrpc/xprtrdma/svc_rdma_sendto.c if (ib_dma_mapping_error(xprt->sc_cm_id->device, device 131 net/sunrpc/xprtrdma/svc_rdma_sendto.c ib_dma_map_page(xprt->sc_cm_id->device, page, 0, device 133 net/sunrpc/xprtrdma/svc_rdma_sendto.c if (ib_dma_mapping_error(xprt->sc_cm_id->device, device 168 net/sunrpc/xprtrdma/svc_rdma_sendto.c ib_dma_map_single(xprt->sc_cm_id->device, va, PAGE_SIZE, device 170 net/sunrpc/xprtrdma/svc_rdma_sendto.c if (ib_dma_mapping_error(xprt->sc_cm_id->device, device 291 net/sunrpc/xprtrdma/svc_rdma_sendto.c ib_dma_map_single(xprt->sc_cm_id->device, device 295 net/sunrpc/xprtrdma/svc_rdma_sendto.c if (ib_dma_mapping_error(xprt->sc_cm_id->device, device 531 net/sunrpc/xprtrdma/svc_rdma_sendto.c ib_dma_map_page(rdma->sc_cm_id->device, device 533 net/sunrpc/xprtrdma/svc_rdma_sendto.c if (ib_dma_mapping_error(rdma->sc_cm_id->device, ctxt->sge[0].addr)) device 548 net/sunrpc/xprtrdma/svc_rdma_sendto.c ib_dma_map_single(rdma->sc_cm_id->device, device 551 net/sunrpc/xprtrdma/svc_rdma_sendto.c if (ib_dma_mapping_error(rdma->sc_cm_id->device, device 121 net/sunrpc/xprtrdma/svc_rdma_transport.c ib_dma_unmap_single(xprt->sc_cm_id->device, device 503 net/sunrpc/xprtrdma/svc_rdma_transport.c pa = ib_dma_map_page(xprt->sc_cm_id->device, device 506 net/sunrpc/xprtrdma/svc_rdma_transport.c if (ib_dma_mapping_error(xprt->sc_cm_id->device, pa)) device 735 net/sunrpc/xprtrdma/svc_rdma_transport.c pl = ib_alloc_fast_reg_page_list(xprt->sc_cm_id->device, device 792 net/sunrpc/xprtrdma/svc_rdma_transport.c if (ib_dma_mapping_error(frmr->mr->device, addr)) device 795 net/sunrpc/xprtrdma/svc_rdma_transport.c ib_dma_unmap_single(frmr->mr->device, addr, PAGE_SIZE, device 853 net/sunrpc/xprtrdma/svc_rdma_transport.c ret = ib_query_device(newxprt->sc_cm_id->device, &devattr); device 856 net/sunrpc/xprtrdma/svc_rdma_transport.c "device %p, rc=%d\n", newxprt->sc_cm_id->device, ret); device 875 net/sunrpc/xprtrdma/svc_rdma_transport.c newxprt->sc_pd = ib_alloc_pd(newxprt->sc_cm_id->device); device 880 net/sunrpc/xprtrdma/svc_rdma_transport.c newxprt->sc_sq_cq = ib_create_cq(newxprt->sc_cm_id->device, device 890 net/sunrpc/xprtrdma/svc_rdma_transport.c newxprt->sc_rq_cq = ib_create_cq(newxprt->sc_cm_id->device, device 919 net/sunrpc/xprtrdma/svc_rdma_transport.c newxprt->sc_cm_id->device, newxprt->sc_pd->device, device 978 net/sunrpc/xprtrdma/svc_rdma_transport.c switch (rdma_node_get_transport(newxprt->sc_cm_id->device->node_type)) { device 1016 net/sunrpc/xprtrdma/svc_rdma_transport.c newxprt->sc_cm_id->device->local_dma_lkey; device 1317 net/sunrpc/xprtrdma/svc_rdma_transport.c sge.addr = ib_dma_map_page(xprt->sc_cm_id->device, device 1319 net/sunrpc/xprtrdma/svc_rdma_transport.c if (ib_dma_mapping_error(xprt->sc_cm_id->device, sge.addr)) { device 1345 net/sunrpc/xprtrdma/svc_rdma_transport.c ib_dma_unmap_page(xprt->sc_cm_id->device, device 121 net/sunrpc/xprtrdma/verbs.c __func__, event->event, event->device->name, context); device 135 net/sunrpc/xprtrdma/verbs.c __func__, event->event, event->device->name, context); device 168 net/sunrpc/xprtrdma/verbs.c rdmab_to_ia(rep->rr_buffer)->ri_id->device, device 437 net/sunrpc/xprtrdma/verbs.c ia->ri_pd = ib_alloc_pd(ia->ri_id->device); device 527 net/sunrpc/xprtrdma/verbs.c rc = ib_query_device(ia->ri_id->device, &devattr); device 592 net/sunrpc/xprtrdma/verbs.c ep->rep_cq = ib_create_cq(ia->ri_id->device, rpcrdma_cq_event_upcall, device 740 net/sunrpc/xprtrdma/verbs.c if (ia->ri_id->device != id->device) { device 760 net/sunrpc/xprtrdma/verbs.c if (strnicmp(ia->ri_id->device->dma_device->bus->name, "pci", 3) == 0) { device 761 net/sunrpc/xprtrdma/verbs.c struct pci_dev *pcid = to_pci_dev(ia->ri_id->device->dma_device); device 762 net/sunrpc/xprtrdma/verbs.c if (pcid->device == PCI_DEVICE_ID_MELLANOX_TAVOR && device 1251 net/sunrpc/xprtrdma/verbs.c iov->addr = ib_dma_map_single(ia->ri_id->device, device 1290 net/sunrpc/xprtrdma/verbs.c ib_dma_unmap_single(ia->ri_id->device, device 1312 net/sunrpc/xprtrdma/verbs.c seg->mr_dma = ib_dma_map_page(ia->ri_id->device, device 1316 net/sunrpc/xprtrdma/verbs.c seg->mr_dma = ib_dma_map_single(ia->ri_id->device, device 1325 net/sunrpc/xprtrdma/verbs.c ib_dma_unmap_page(ia->ri_id->device, device 1328 net/sunrpc/xprtrdma/verbs.c ib_dma_unmap_single(ia->ri_id->device, device 1577 net/sunrpc/xprtrdma/verbs.c ib_dma_sync_single_for_device(ia->ri_id->device, device 1580 net/sunrpc/xprtrdma/verbs.c ib_dma_sync_single_for_device(ia->ri_id->device, device 1583 net/sunrpc/xprtrdma/verbs.c ib_dma_sync_single_for_device(ia->ri_id->device, device 1618 net/sunrpc/xprtrdma/verbs.c ib_dma_sync_single_for_cpu(ia->ri_id->device, device 77 net/x25/af_x25.c char device[200-sizeof(compat_ulong_t)]; device 1481 net/x25/af_x25.c dev = x25_dev_get(x25_subscr.device); device 353 net/x25/x25_link.c if ((dev = x25_dev_get(x25_subscr.device)) == NULL) device 196 net/x25/x25_route.c dev = x25_dev_get(rt.device); device 17 samples/firmware_class/firmware_sample_driver.c static struct device ghost_device = { device 123 samples/firmware_class/firmware_sample_firmware_class.c strncpy(class_dev->class_id, device->bus_id, BUS_ID_SIZE); device 125 samples/firmware_class/firmware_sample_firmware_class.c class_dev->dev = device; device 173 samples/firmware_class/firmware_sample_firmware_class.c static struct device my_device = { device 256 scripts/mod/file2alias.c id->device = TO_NATIVE(id->device); device 264 scripts/mod/file2alias.c ADD(alias, "d", id->device != PCI_ANY_ID, id->device); device 596 scripts/mod/file2alias.c id->device = TO_NATIVE(id->device); device 601 scripts/mod/file2alias.c ADD(alias, "d", id->device != (__u16)SDIO_ANY_ID, id->device); device 626 scripts/mod/file2alias.c id->device = TO_NATIVE(id->device); device 630 scripts/mod/file2alias.c ADD(alias, "d", 1, id->device); device 506 security/device_cgroup.c dev_t device = inode->i_rdev; device 507 security/device_cgroup.c if (!device) device 934 sound/aoa/codecs/snd-aoa-codec-onyx.c ctl->id.device = \ device 935 sound/aoa/codecs/snd-aoa-codec-onyx.c onyx->codec.soundbus_dev->pcm->device; \ device 18 sound/aoa/soundbus/core.c struct device *tmp; device 8 sound/aoa/soundbus/sysfs.c field##_show (struct device *dev, struct device_attribute *attr, \ device 145 sound/arm/sa11xx-uda1341.c static struct platform_device *device; device 802 sound/arm/sa11xx-uda1341.c if ((err = snd_pcm_new(sa11xx_uda1341->card, "UDA1341 PCM", device, 1, 1, &pcm)) < 0) device 956 sound/arm/sa11xx-uda1341.c device = platform_device_register_simple(SA11XX_UDA1341_DRIVER, -1, NULL, 0); device 957 sound/arm/sa11xx-uda1341.c if (!IS_ERR(device)) { device 958 sound/arm/sa11xx-uda1341.c if (platform_get_drvdata(device)) device 960 sound/arm/sa11xx-uda1341.c platform_device_unregister(device); device 963 sound/arm/sa11xx-uda1341.c err = PTR_ERR(device); device 970 sound/arm/sa11xx-uda1341.c platform_device_unregister(device); device 226 sound/core/control.c kctl.id.device = ncontrol->device; device 327 sound/core/control.c id.device, device 527 sound/core/control.c if (kctl->id.device != id->device) device 1410 sound/core/control.c struct snd_card *card = device->device_data; device 1431 sound/core/control.c struct snd_card *card = device->device_data; device 1459 sound/core/control.c struct snd_card *card = device->device_data; device 51 sound/core/hwdep.c if (hwdep->card == card && hwdep->device == device) device 269 sound/core/hwdep.c int device; device 271 sound/core/hwdep.c if (get_user(device, (int __user *)arg)) device 274 sound/core/hwdep.c device = device < 0 ? 0 : device + 1; device 275 sound/core/hwdep.c while (device < SNDRV_MINOR_HWDEPS) { device 276 sound/core/hwdep.c if (snd_hwdep_search(card, device)) device 278 sound/core/hwdep.c device++; device 280 sound/core/hwdep.c if (device >= SNDRV_MINOR_HWDEPS) device 281 sound/core/hwdep.c device = -1; device 283 sound/core/hwdep.c if (put_user(device, (int __user *)arg)) device 290 sound/core/hwdep.c int device, err; device 293 sound/core/hwdep.c if (get_user(device, &info->device)) device 296 sound/core/hwdep.c hwdep = snd_hwdep_search(card, device); device 366 sound/core/hwdep.c hwdep->device = device; device 395 sound/core/hwdep.c struct snd_hwdep *hwdep = device->device_data; device 401 sound/core/hwdep.c struct snd_hwdep *hwdep = device->device_data; device 406 sound/core/hwdep.c if (snd_hwdep_search(hwdep->card, hwdep->device)) { device 411 sound/core/hwdep.c sprintf(name, "hwC%iD%i", hwdep->card->number, hwdep->device); device 413 sound/core/hwdep.c hwdep->card, hwdep->device, device 416 sound/core/hwdep.c hwdep->card->number, hwdep->device); device 424 sound/core/hwdep.c if ((hwdep->oss_type == SNDRV_OSS_DEVICE_TYPE_DMFM) && (hwdep->device != 0)) { device 428 sound/core/hwdep.c hwdep->card, hwdep->device, device 432 sound/core/hwdep.c hwdep->card->number, hwdep->device); device 444 sound/core/hwdep.c struct snd_hwdep *hwdep = device->device_data; device 449 sound/core/hwdep.c if (snd_hwdep_search(hwdep->card, hwdep->device) != hwdep) { device 455 sound/core/hwdep.c snd_unregister_oss_device(hwdep->oss_type, hwdep->card, hwdep->device); device 457 sound/core/hwdep.c snd_unregister_device(SNDRV_DEVICE_TYPE_HWDEP, hwdep->card, hwdep->device); device 476 sound/core/hwdep.c hwdep->card->number, hwdep->device, hwdep->name); device 865 sound/core/info.c struct snd_info_entry *entry = device->device_data; device 872 sound/core/info.c struct snd_info_entry *entry = device->device_data; device 28 sound/core/jack.c struct snd_jack *jack = device->device_data; device 44 sound/core/jack.c struct snd_jack *jack = device->device_data; device 45 sound/core/jack.c struct snd_card *card = device->card; device 191 sound/core/memalloc.c dmab->dev.dev = device; device 195 sound/core/memalloc.c dmab->area = snd_malloc_pages(size, (unsigned long)device); device 200 sound/core/memalloc.c dmab->area = snd_malloc_dev_pages(device, size, &dmab->addr); device 203 sound/core/memalloc.c snd_malloc_sgbuf_pages(device, size, dmab, NULL); device 238 sound/core/memalloc.c while ((err = snd_dma_alloc_pages(type, device, size, dmab)) < 0) { device 304 sound/core/memalloc.c struct device *dev = dmab->dev.dev; device 421 sound/core/memalloc.c int vendor, device, size, buffers; device 429 sound/core/memalloc.c (device = simple_strtol(token, NULL, 0)) <= 0 || device 442 sound/core/memalloc.c device &= 0xffff; device 446 sound/core/memalloc.c while ((pci = pci_get_device(vendor, device, pci)) != NULL) { device 450 sound/core/memalloc.c printk(KERN_ERR "snd-page-alloc: cannot set DMA mask %lx for pci %04x:%04x\n", mask, vendor, device); device 480 sound/core/memalloc.c snd_dma_reserve_buf(&dmab, (unsigned int)((vendor << 16) | device)); device 2956 sound/core/oss/pcm_oss.c sprintf(name, "dsp%i%i", pcm->card->number, pcm->device); device 2961 sound/core/oss/pcm_oss.c pcm->card->number, pcm->device); device 2968 sound/core/oss/pcm_oss.c if (dsp_map[pcm->card->number] == (int)pcm->device) { device 2984 sound/core/oss/pcm_oss.c if (adsp_map[pcm->card->number] == (int)pcm->device) { device 3009 sound/core/oss/pcm_oss.c if (dsp_map[pcm->card->number] == (int)pcm->device) { device 50 sound/core/pcm.c if (pcm->card == card && pcm->device == device) device 61 sound/core/pcm.c if (pcm->card == card && pcm->device > device) device 62 sound/core/pcm.c return pcm->device; device 74 sound/core/pcm.c if (pcm->card == newpcm->card && pcm->device == newpcm->device) device 78 sound/core/pcm.c pcm->device > newpcm->device)) { device 94 sound/core/pcm.c int device; device 96 sound/core/pcm.c if (get_user(device, (int __user *)arg)) device 99 sound/core/pcm.c device = snd_pcm_next(card, device); device 101 sound/core/pcm.c if (put_user(device, (int __user *)arg)) device 108 sound/core/pcm.c unsigned int device, subdevice; device 116 sound/core/pcm.c if (get_user(device, &info->device)) device 125 sound/core/pcm.c pcm = snd_pcm_get(card, device); device 336 sound/core/pcm.c snd_iprintf(buffer, "device: %d\n", info->device); device 472 sound/core/pcm.c sprintf(name, "pcm%i%c", pcm->device, device 649 sound/core/pcm.c "ALSA-PCM%d-%d%c%d", pcm->card->number, pcm->device, device 717 sound/core/pcm.c pcm->device = device; device 785 sound/core/pcm.c struct snd_pcm *pcm = device->device_data; device 955 sound/core/pcm.c struct snd_pcm *pcm = device->device_data; device 956 sound/core/pcm.c struct device *dev; device 958 sound/core/pcm.c if (snd_BUG_ON(!pcm || !device)) device 972 sound/core/pcm.c sprintf(str, "pcmC%iD%ip", pcm->card->number, pcm->device); device 976 sound/core/pcm.c sprintf(str, "pcmC%iD%ic", pcm->card->number, pcm->device); device 988 sound/core/pcm.c pcm->device, device 996 sound/core/pcm.c snd_add_device_sysfs_file(devtype, pcm->card, pcm->device, device 1011 sound/core/pcm.c struct snd_pcm *pcm = device->device_data; device 1038 sound/core/pcm.c snd_unregister_device(devtype, pcm->card, pcm->device); device 1083 sound/core/pcm.c pcm->card->number, pcm->device, pcm->id, pcm->name); device 135 sound/core/pcm_lib.c substream->pcm->device, device 100 sound/core/pcm_native.c info->device = pcm->device; device 138 sound/core/pcm_timer.c tid.device = substream->pcm->device; device 145 sound/core/pcm_timer.c tid.card, tid.device, tid.subdevice); device 64 sound/core/rawmidi.c if (rawmidi->card == card && rawmidi->device == device) device 235 sound/core/rawmidi.c rmidi = snd_rawmidi_search(card, device); device 430 sound/core/rawmidi.c err = snd_rawmidi_kernel_open(rmidi->card, rmidi->device, device 540 sound/core/rawmidi.c info->device = rmidi->device; device 572 sound/core/rawmidi.c rmidi = snd_rawmidi_search(card, info->device); device 595 sound/core/rawmidi.c if (get_user(info.device, &_info->device)) device 810 sound/core/rawmidi.c int device; device 812 sound/core/rawmidi.c if (get_user(device, (int __user *)argp)) device 815 sound/core/rawmidi.c device = device < 0 ? 0 : device + 1; device 816 sound/core/rawmidi.c while (device < SNDRV_RAWMIDI_DEVICES) { device 817 sound/core/rawmidi.c if (snd_rawmidi_search(card, device)) device 819 sound/core/rawmidi.c device++; device 821 sound/core/rawmidi.c if (device == SNDRV_RAWMIDI_DEVICES) device 822 sound/core/rawmidi.c device = -1; device 824 sound/core/rawmidi.c if (put_user(device, (int __user *)argp)) device 1435 sound/core/rawmidi.c rmidi->device = device; device 1499 sound/core/rawmidi.c struct snd_rawmidi *rmidi = device->device_data; device 1506 sound/core/rawmidi.c struct snd_rawmidi *rmidi = device->private_data; device 1516 sound/core/rawmidi.c struct snd_rawmidi *rmidi = device->device_data; device 1518 sound/core/rawmidi.c if (rmidi->device >= SNDRV_RAWMIDI_DEVICES) device 1521 sound/core/rawmidi.c if (snd_rawmidi_search(rmidi->card, rmidi->device)) { device 1526 sound/core/rawmidi.c sprintf(name, "midiC%iD%i", rmidi->card->number, rmidi->device); device 1528 sound/core/rawmidi.c rmidi->card, rmidi->device, device 1530 sound/core/rawmidi.c snd_printk(KERN_ERR "unable to register rawmidi device %i:%i\n", rmidi->card->number, rmidi->device); device 1537 sound/core/rawmidi.c snd_unregister_device(SNDRV_DEVICE_TYPE_RAWMIDI, rmidi->card, rmidi->device); device 1544 sound/core/rawmidi.c if ((int)rmidi->device == midi_map[rmidi->card->number]) { device 1556 sound/core/rawmidi.c if ((int)rmidi->device == amidi_map[rmidi->card->number]) { device 1567 sound/core/rawmidi.c sprintf(name, "midi%d", rmidi->device); device 1580 sound/core/rawmidi.c if (snd_seq_device_new(rmidi->card, rmidi->device, SNDRV_SEQ_DEV_ID_MIDISYNTH, 0, &rmidi->seq_dev) >= 0) { device 1583 sound/core/rawmidi.c sprintf(rmidi->seq_dev->name, "MIDI %d-%d", rmidi->card->number, rmidi->device); device 1593 sound/core/rawmidi.c struct snd_rawmidi *rmidi = device->device_data; device 1599 sound/core/rawmidi.c if ((int)rmidi->device == midi_map[rmidi->card->number]) { device 1605 sound/core/rawmidi.c if ((int)rmidi->device == amidi_map[rmidi->card->number]) device 1610 sound/core/rawmidi.c snd_unregister_device(SNDRV_DEVICE_TYPE_RAWMIDI, rmidi->card, rmidi->device); device 37 sound/core/seq/oss/seq_oss_ioctl.c if (snd_seq_oss_synth_make_info(dp, info.device, &info) < 0) device 50 sound/core/seq/oss/seq_oss_ioctl.c if (snd_seq_oss_midi_make_info(dp, info.device, &info) < 0) device 662 sound/core/seq/oss/seq_oss_midi.c inf->device = dev; device 618 sound/core/seq/oss/seq_oss_synth.c inf->device = dev; device 626 sound/core/seq/oss/seq_oss_synth.c inf->device = dev; device 205 sound/core/seq/seq_device.c dev->device = device; device 261 sound/core/seq/seq_device.c struct snd_seq_device *dev = device->device_data; device 270 sound/core/seq/seq_device.c struct snd_seq_device *dev = device->device_data; device 292 sound/core/seq/seq_device.c struct snd_seq_device *dev = device->device_data; device 55 sound/core/seq/seq_midi.c int device; device 173 sound/core/seq/seq_midi.c msynth->device = device; device 187 sound/core/seq/seq_midi.c if ((err = snd_rawmidi_kernel_open(msynth->card, msynth->device, device 229 sound/core/seq/seq_midi.c if ((err = snd_rawmidi_kernel_open(msynth->card, msynth->device, device 289 sound/core/seq/seq_midi.c int device = dev->device; device 292 sound/core/seq/seq_midi.c if (snd_BUG_ON(!card || device < 0 || device >= SNDRV_RAWMIDI_DEVICES)) device 297 sound/core/seq/seq_midi.c info->device = device; device 346 sound/core/seq/seq_midi.c if (snd_seq_midisynth_new(ms, card, device, p) < 0) device 352 sound/core/seq/seq_midi.c port->addr.port = device * (256 / SNDRV_RAWMIDI_DEVICES) + p; device 355 sound/core/seq/seq_midi.c info->device = device; device 372 sound/core/seq/seq_midi.c sprintf(port->name, "MIDI %d-%d-%d", card->number, device, p); device 374 sound/core/seq/seq_midi.c sprintf(port->name, "MIDI %d-%d", card->number, device); device 404 sound/core/seq/seq_midi.c client->ports_per_device[device] = ports; device 405 sound/core/seq/seq_midi.c client->ports[device] = msynth; device 437 sound/core/seq/seq_midi.c int device = dev->device, p, ports; device 441 sound/core/seq/seq_midi.c if (client == NULL || client->ports[device] == NULL) { device 445 sound/core/seq/seq_midi.c ports = client->ports_per_device[device]; device 446 sound/core/seq/seq_midi.c client->ports_per_device[device] = 0; device 447 sound/core/seq/seq_midi.c msynth = client->ports[device]; device 448 sound/core/seq/seq_midi.c client->ports[device] = NULL; device 106 sound/core/seq/seq_timer.c tmr->alsa_id.device = seq_default_timer_device; device 285 sound/core/seq/seq_timer.c tmr->alsa_id.device != SNDRV_TIMER_GLOBAL_SYSTEM) { device 291 sound/core/seq/seq_timer.c tid.device = SNDRV_TIMER_GLOBAL_SYSTEM; device 371 sound/core/seq/seq_virmidi.c client = snd_seq_create_kernel_client(rdev->card, rdev->device, device 374 sound/core/seq/seq_virmidi.c rdev->device); device 383 sound/core/seq/seq_virmidi.c sprintf(pinfo->name, "VirMIDI %d-%d", rdev->card->number, rdev->device); device 496 sound/core/seq/seq_virmidi.c if ((err = snd_rawmidi_new(card, "VirMidi", device, device 509 sound/core/seq/seq_virmidi.c rdev->device = device; device 80 sound/core/sgbuf.c sgbuf->dev = device; device 100 sound/core/sgbuf.c if (snd_dma_alloc_pages_fallback(SNDRV_DMA_TYPE_DEV, device, device 260 sound/core/sound.c preg->device = dev; device 277 sound/core/sound.c preg->dev = device_create_drvdata(sound_class, device, device 307 sound/core/sound.c mptr->device == dev) device 348 sound/core/sound.c struct device *d; device 400 sound/core/sound.c if (mptr->device >= 0) device 402 sound/core/sound.c minor, mptr->card, mptr->device, device 111 sound/core/sound_oss.c struct device *carddev = snd_card_get_device_link(card); device 122 sound/core/sound_oss.c preg->device = dev; device 245 sound/core/sound_oss.c mptr->card, mptr->device, device 140 sound/core/timer.c if (timer->tmr_device != tid->device) device 155 sound/core/timer.c if (tid->device < timer_limit) device 156 sound/core/timer.c request_module("snd-timer-%i", tid->device); device 250 sound/core/timer.c timeri->slave_id = tid->device; device 775 sound/core/timer.c timer->tmr_device = tid->device; device 827 sound/core/timer.c struct snd_timer *timer = device->device_data; device 873 sound/core/timer.c struct snd_timer *timer = device->device_data; device 920 sound/core/timer.c tid.device = device; device 1281 sound/core/timer.c id->device = -1; device 1290 sound/core/timer.c id->device = timer->tmr_device; device 1314 sound/core/timer.c id.device = id.device < 0 ? 0 : id.device + 1; device 1321 sound/core/timer.c if (timer->tmr_device >= id.device) { device 1337 sound/core/timer.c if (id.device < 0) { device 1338 sound/core/timer.c id.device = 0; device 1362 sound/core/timer.c if (timer->tmr_device > id.device) { device 1366 sound/core/timer.c if (timer->tmr_device < id.device) device 362 sound/drivers/dummy.c if (substream->pcm->device & 1) { device 366 sound/drivers/dummy.c if (substream->pcm->device & 2) device 387 sound/drivers/dummy.c if (substream->pcm->device == 1) { device 391 sound/drivers/dummy.c if (substream->pcm->device & 2) device 438 sound/drivers/dummy.c err = snd_pcm_new(dummy->card, "Dummy PCM", device, device 685 sound/drivers/dummy.c struct platform_device *device; device 688 sound/drivers/dummy.c device = platform_device_register_simple(SND_DUMMY_DRIVER, device 690 sound/drivers/dummy.c if (IS_ERR(device)) device 692 sound/drivers/dummy.c if (!platform_get_drvdata(device)) { device 693 sound/drivers/dummy.c platform_device_unregister(device); device 696 sound/drivers/dummy.c devices[i] = device; device 1248 sound/drivers/ml403-ac97cr.c err = snd_pcm_new(ml403_ac97cr->card, "ML403AC97CR/1", device, 1, 1, device 162 sound/drivers/mpu401/mpu401.c if (!pnp_port_valid(device, 0) || device 163 sound/drivers/mpu401/mpu401.c pnp_port_flags(device, 0) & IORESOURCE_DISABLED) { device 167 sound/drivers/mpu401/mpu401.c if (pnp_port_len(device, 0) < IO_EXTENT) { device 169 sound/drivers/mpu401/mpu401.c (unsigned long long)pnp_port_len(device, 0), device 173 sound/drivers/mpu401/mpu401.c port[dev] = pnp_port_start(device, 0); device 175 sound/drivers/mpu401/mpu401.c if (!pnp_irq_valid(device, 0) || device 176 sound/drivers/mpu401/mpu401.c pnp_irq_flags(device, 0) & IORESOURCE_DISABLED) { device 180 sound/drivers/mpu401/mpu401.c irq[dev] = pnp_irq(device, 0); device 251 sound/drivers/mpu401/mpu401.c struct platform_device *device; device 258 sound/drivers/mpu401/mpu401.c device = platform_device_register_simple(SND_MPU401_DRIVER, device 260 sound/drivers/mpu401/mpu401.c if (IS_ERR(device)) device 262 sound/drivers/mpu401/mpu401.c if (!platform_get_drvdata(device)) { device 263 sound/drivers/mpu401/mpu401.c platform_device_unregister(device); device 266 sound/drivers/mpu401/mpu401.c platform_devices[i] = device; device 542 sound/drivers/mpu401/mpu401_uart.c if ((err = snd_rawmidi_new(card, "MPU-401U", device, device 596 sound/drivers/mpu401/mpu401_uart.c sprintf(rmidi->name, "MPU-401 MIDI %d-%d",card->number, device); device 97 sound/drivers/mtpav.c static struct platform_device *device; device 771 sound/drivers/mtpav.c device = platform_device_register_simple(SND_MTPAV_DRIVER, -1, NULL, 0); device 772 sound/drivers/mtpav.c if (!IS_ERR(device)) { device 773 sound/drivers/mtpav.c if (platform_get_drvdata(device)) device 775 sound/drivers/mtpav.c platform_device_unregister(device); device 778 sound/drivers/mtpav.c err = PTR_ERR(device); device 785 sound/drivers/mtpav.c platform_device_unregister(device); device 887 sound/drivers/mts64.c struct platform_device *device; device 889 sound/drivers/mts64.c device = platform_device_alloc(PLATFORM_DRIVER, device_count); device 890 sound/drivers/mts64.c if (!device) device 894 sound/drivers/mts64.c platform_set_drvdata(device, p); device 896 sound/drivers/mts64.c if (platform_device_add(device) < 0) { device 897 sound/drivers/mts64.c platform_device_put(device); device 903 sound/drivers/mts64.c if (!platform_get_drvdata(device)) { device 904 sound/drivers/mts64.c platform_device_unregister(device); device 909 sound/drivers/mts64.c platform_devices[device_count] = device; device 258 sound/drivers/opl3/opl3_lib.c tid.device = timer_no; device 278 sound/drivers/opl3/opl3_lib.c tid.device = timer_no; device 341 sound/drivers/opl3/opl3_lib.c struct snd_opl3 *opl3 = device->device_data; device 496 sound/drivers/opl3/opl3_lib.c if ((err = snd_hwdep_new(card, "OPL2/OPL3", device, &hw)) < 0) { device 503 sound/drivers/opl3/opl3_lib.c if (device == 0) { device 187 sound/drivers/opl4/opl4_lib.c struct snd_opl4 *opl4 = device->device_data; device 675 sound/drivers/portman2x4.c struct platform_device *device; device 677 sound/drivers/portman2x4.c device = platform_device_alloc(PLATFORM_DRIVER, device_count); device 678 sound/drivers/portman2x4.c if (!device) device 682 sound/drivers/portman2x4.c platform_set_drvdata(device, p); device 684 sound/drivers/portman2x4.c if (platform_device_add(device) < 0) { device 685 sound/drivers/portman2x4.c platform_device_put(device); device 691 sound/drivers/portman2x4.c if (!platform_get_drvdata(device)) { device 692 sound/drivers/portman2x4.c platform_device_unregister(device); device 697 sound/drivers/portman2x4.c platform_devices[device_count] = device; device 780 sound/drivers/serial-u16550.c struct snd_uart16550 *uart = device->device_data; device 879 sound/drivers/serial-u16550.c err = snd_rawmidi_new(uart->card, "UART Serial MIDI", device, device 1019 sound/drivers/serial-u16550.c struct platform_device *device; device 1022 sound/drivers/serial-u16550.c device = platform_device_register_simple(SND_SERIAL_DRIVER, device 1024 sound/drivers/serial-u16550.c if (IS_ERR(device)) device 1026 sound/drivers/serial-u16550.c if (!platform_get_drvdata(device)) { device 1027 sound/drivers/serial-u16550.c platform_device_unregister(device); device 1030 sound/drivers/serial-u16550.c devices[i] = device; device 165 sound/drivers/virmidi.c struct platform_device *device; device 168 sound/drivers/virmidi.c device = platform_device_register_simple(SND_VIRMIDI_DRIVER, device 170 sound/drivers/virmidi.c if (IS_ERR(device)) device 172 sound/drivers/virmidi.c if (!platform_get_drvdata(device)) { device 173 sound/drivers/virmidi.c platform_device_unregister(device); device 176 sound/drivers/virmidi.c devices[i] = device; device 589 sound/drivers/vx/vx_pcm.c audio = subs->pcm->device * 2; device 999 sound/drivers/vx/vx_pcm.c audio = subs->pcm->device * 2; device 1288 sound/drivers/vx/vx_pcm.c chip->pcm[pcm->device] = NULL; device 78 sound/i2c/cs8427.c if ((err = snd_i2c_sendbytes(device, buf, 2)) != 2) { device 93 sound/i2c/cs8427.c if ((err = snd_i2c_sendbytes(device, ®, 1)) != 1) { device 98 sound/i2c/cs8427.c if ((err = snd_i2c_readbytes(device, &buf, 1)) != 1) { device 108 sound/i2c/cs8427.c struct cs8427 *chip = device->private_data; device 115 sound/i2c/cs8427.c err = snd_cs8427_reg_write(device, CS8427_REG_CSDATABUF, device 128 sound/i2c/cs8427.c struct cs8427 *chip = device->private_data; device 136 sound/i2c/cs8427.c if ((err = snd_cs8427_select_corudata(device, udata)) < 0) device 145 sound/i2c/cs8427.c err = snd_cs8427_reg_write(device, CS8427_REG_UDATABUF, device 153 sound/i2c/cs8427.c if (snd_i2c_sendbytes(device, data, count + 1) != count + 1) device 160 sound/i2c/cs8427.c kfree(device->private_data); device 215 sound/i2c/cs8427.c struct snd_i2c_device *device; device 220 sound/i2c/cs8427.c &device)) < 0) device 222 sound/i2c/cs8427.c chip = device->private_data = kzalloc(sizeof(*chip), GFP_KERNEL); device 224 sound/i2c/cs8427.c snd_i2c_device_free(device); device 227 sound/i2c/cs8427.c device->private_free = snd_cs8427_free; device 230 sound/i2c/cs8427.c err = snd_cs8427_reg_read(device, CS8427_REG_ID_AND_VER); device 235 sound/i2c/cs8427.c err = snd_cs8427_reg_read(device, CS8427_REG_ID_AND_VER); device 246 sound/i2c/cs8427.c err = snd_cs8427_reg_write(device, CS8427_REG_CLOCKSOURCE, 0x00); device 251 sound/i2c/cs8427.c if ((err = snd_i2c_sendbytes(device, initvals1, 7)) != 7) { device 259 sound/i2c/cs8427.c if ((err = snd_i2c_sendbytes(device, buf, 7)) != 7) device 263 sound/i2c/cs8427.c if ((err = snd_i2c_sendbytes(device, initvals2, 4)) != 4) { device 270 sound/i2c/cs8427.c if (snd_cs8427_send_corudata(device, 0, buf, 24) < 0) device 280 sound/i2c/cs8427.c snd_cs8427_reset(device); device 287 sound/i2c/cs8427.c snd_i2c_sendbytes(device, buf, 1); device 288 sound/i2c/cs8427.c snd_i2c_readbytes(device, buf, 127); device 295 sound/i2c/cs8427.c *r_cs8427 = device; device 300 sound/i2c/cs8427.c snd_i2c_device_free(device); device 364 sound/i2c/cs8427.c struct snd_i2c_device *device = snd_kcontrol_chip(kcontrol); device 367 sound/i2c/cs8427.c snd_i2c_lock(device->bus); device 368 sound/i2c/cs8427.c data = snd_cs8427_reg_read(device, kcontrol->private_value); device 369 sound/i2c/cs8427.c snd_i2c_unlock(device->bus); device 387 sound/i2c/cs8427.c struct snd_i2c_device *device = snd_kcontrol_chip(kcontrol); device 391 sound/i2c/cs8427.c snd_i2c_lock(device->bus); device 392 sound/i2c/cs8427.c if ((err = snd_i2c_sendbytes(device, ®, 1)) != 1) { device 395 sound/i2c/cs8427.c snd_i2c_unlock(device->bus); device 398 sound/i2c/cs8427.c err = snd_i2c_readbytes(device, ucontrol->value.bytes.data, 10); device 402 sound/i2c/cs8427.c snd_i2c_unlock(device->bus); device 405 sound/i2c/cs8427.c snd_i2c_unlock(device->bus); device 420 sound/i2c/cs8427.c struct snd_i2c_device *device = snd_kcontrol_chip(kcontrol); device 421 sound/i2c/cs8427.c struct cs8427 *chip = device->private_data; device 423 sound/i2c/cs8427.c snd_i2c_lock(device->bus); device 425 sound/i2c/cs8427.c snd_i2c_unlock(device->bus); device 432 sound/i2c/cs8427.c struct snd_i2c_device *device = snd_kcontrol_chip(kcontrol); device 433 sound/i2c/cs8427.c struct cs8427 *chip = device->private_data; device 440 sound/i2c/cs8427.c snd_i2c_lock(device->bus); device 445 sound/i2c/cs8427.c err = snd_cs8427_send_corudata(device, 0, status, 24); device 449 sound/i2c/cs8427.c snd_i2c_unlock(device->bus); device 536 sound/i2c/cs8427.c kctl->id.device = play_substream->pcm->device; device 50 sound/i2c/i2c.c struct snd_i2c_device *device; device 55 sound/i2c/i2c.c device = snd_i2c_device(bus->devices.next); device 56 sound/i2c/i2c.c snd_i2c_device_free(device); device 74 sound/i2c/i2c.c struct snd_i2c_bus *bus = device->device_data; device 114 sound/i2c/i2c.c struct snd_i2c_device *device; device 119 sound/i2c/i2c.c device = kzalloc(sizeof(*device), GFP_KERNEL); device 120 sound/i2c/i2c.c if (device == NULL) device 122 sound/i2c/i2c.c device->addr = addr; device 123 sound/i2c/i2c.c strlcpy(device->name, name, sizeof(device->name)); device 124 sound/i2c/i2c.c list_add_tail(&device->list, &bus->devices); device 125 sound/i2c/i2c.c device->bus = bus; device 126 sound/i2c/i2c.c *rdevice = device; device 134 sound/i2c/i2c.c if (device->bus) device 135 sound/i2c/i2c.c list_del(&device->list); device 136 sound/i2c/i2c.c if (device->private_free) device 137 sound/i2c/i2c.c device->private_free(device); device 138 sound/i2c/i2c.c kfree(device); device 146 sound/i2c/i2c.c return device->bus->ops->sendbytes(device, bytes, count); device 153 sound/i2c/i2c.c return device->bus->ops->readbytes(device, bytes, count); device 275 sound/i2c/i2c.c struct snd_i2c_bus *bus = device->bus; device 278 sound/i2c/i2c.c if (device->flags & SND_I2C_DEVICE_ADDRTEN) device 281 sound/i2c/i2c.c if ((err = snd_i2c_bit_sendbyte(bus, device->addr << 1)) < 0) { device 299 sound/i2c/i2c.c struct snd_i2c_bus *bus = device->bus; device 302 sound/i2c/i2c.c if (device->flags & SND_I2C_DEVICE_ADDRTEN) device 305 sound/i2c/i2c.c if ((err = snd_i2c_bit_sendbyte(bus, (device->addr << 1) | 1)) < 0) { device 761 sound/i2c/l3/uda1341.c struct l3_client *clnt = device->device_data; device 77 sound/i2c/other/ak4114.c struct ak4114 *chip = device->device_data; device 492 sound/i2c/other/ak4114.c kctl->id.device = ply_substream->pcm->device; device 495 sound/i2c/other/ak4114.c kctl->id.device = cap_substream->pcm->device; device 70 sound/i2c/other/ak4117.c struct ak4117 *chip = device->device_data; device 441 sound/i2c/other/ak4117.c kctl->id.device = cap_substream->pcm->device; device 48 sound/i2c/tea6330t.c struct snd_i2c_device *device; device 132 sound/i2c/tea6330t.c if ((err = snd_i2c_sendbytes(tea->device, bytes, count)) < 0) device 177 sound/i2c/tea6330t.c if ((err = snd_i2c_sendbytes(tea->device, bytes, 3)) < 0) device 224 sound/i2c/tea6330t.c if ((err = snd_i2c_sendbytes(tea->device, bytes, 2)) < 0) device 271 sound/i2c/tea6330t.c if ((err = snd_i2c_sendbytes(tea->device, bytes, 2)) < 0) device 286 sound/i2c/tea6330t.c kfree(device->private_data); device 293 sound/i2c/tea6330t.c struct snd_i2c_device *device; device 304 sound/i2c/tea6330t.c if ((err = snd_i2c_device_create(bus, "TEA6330T", TEA6330T_ADDR, &device)) < 0) { device 308 sound/i2c/tea6330t.c tea->device = device; device 312 sound/i2c/tea6330t.c device->private_data = tea; device 313 sound/i2c/tea6330t.c device->private_free = snd_tea6330_free; device 344 sound/i2c/tea6330t.c if ((err = snd_i2c_sendbytes(device, bytes, 7)) < 0) device 364 sound/i2c/tea6330t.c snd_i2c_device_free(device); device 560 sound/isa/ad1816a/ad1816a_lib.c struct snd_ad1816a *chip = device->device_data; device 668 sound/isa/ad1816a/ad1816a_lib.c if ((error = snd_pcm_new(chip->card, "AD1816A", device, 1, 1, &pcm))) device 700 sound/isa/ad1816a/ad1816a_lib.c tid.device = device; device 370 sound/isa/cs423x/cs4236_lib.c err = snd_wss_pcm(chip, device, &pcm); device 622 sound/isa/es1688/es1688_lib.c struct snd_es1688 *chip = device->device_data; device 731 sound/isa/es1688/es1688_lib.c if ((err = snd_pcm_new(chip->card, "ESx688", device, 1, 1, &pcm)) < 0) device 1704 sound/isa/es18xx.c err = snd_pcm_new(chip->card, str, device, 2, 1, &pcm); device 1706 sound/isa/es18xx.c err = snd_pcm_new(chip->card, str, device, 1, 1, &pcm); device 1787 sound/isa/es18xx.c struct snd_es18xx *chip = device->device_data; device 127 sound/isa/gus/gus_main.c struct snd_gus_card *gus = device->device_data; device 170 sound/isa/gus/gus_timer.c tid.device = gus->timer_dev; device 181 sound/isa/gus/gus_timer.c tid.device++; device 245 sound/isa/gus/gus_uart.c if ((err = snd_rawmidi_new(gus->card, "GF1", device, 1, 1, &rmidi)) < 0) device 1065 sound/isa/sb/emu8000.c struct snd_emu8000 *hw = device->device_data; device 128 sound/isa/sb/sb16_csp.c if ((err = snd_hwdep_new(chip->card, "SB16-CSP", device, &hw)) < 0) device 158 sound/isa/sb/sb16_csp.c init_proc_entry(p, device); device 1127 sound/isa/sb/sb16_csp.c sprintf(name, "cspD%d", device); device 876 sound/isa/sb/sb16_main.c if ((err = snd_pcm_new(card, "SB16 DSP", device, 1, 1, &pcm)) < 0) device 521 sound/isa/sb/sb8_main.c if ((err = snd_pcm_new(card, "SB8 DSP", device, 1, 1, &pcm)) < 0) device 273 sound/isa/sb/sb8_midi.c if ((err = snd_rawmidi_new(chip->card, "SB8 MIDI", device, 1, 1, &rmidi)) < 0) device 203 sound/isa/sb/sb_common.c struct snd_sb *chip = device->device_data; device 1657 sound/isa/wss/wss_lib.c struct snd_wss *chip = device->device_data; device 1872 sound/isa/wss/wss_lib.c err = snd_pcm_new(chip->card, "WSS", device, 1, 1, &pcm); device 1915 sound/isa/wss/wss_lib.c tid.device = device; device 761 sound/mips/hal2.c struct snd_hal2 *hal2 = device->device_data; device 844 sound/mips/sgio2audio.c struct snd_sgio2audio *chip = device->device_data; device 1560 sound/oss/msnd_pinnacle.c if (!(device[i].io0 && device[i].irq && device[i].mem)) device 1564 sound/oss/msnd_pinnacle.c if (!(device[i].io0 && device[i].irq)) device 1568 sound/oss/msnd_pinnacle.c device[i].io0, device[i].irq); device 1571 sound/oss/msnd_pinnacle.c if (!(device[i].io0 && device[i].io1 && device[i].irq)) device 1575 sound/oss/msnd_pinnacle.c device[i].io0, device[i].io1, device[i].irq); device 1578 sound/oss/msnd_pinnacle.c if (!(device[i].io0)) device 1582 sound/oss/msnd_pinnacle.c device[i].io0); device 1587 sound/oss/msnd_pinnacle.c if (msnd_write_cfg_logical(cfg, i, device[i].io0, device[i].io1, device[i].irq, device[i].mem)) device 1124 sound/oss/opl3.c devc->fm_info.device = 0; device 1461 sound/oss/sequencer.c if (get_user(dev, &((struct synth_info __user *)arg)->device)) device 1471 sound/oss/sequencer.c if (get_user(dev, &((struct synth_info __user *)arg)->device)) device 1479 sound/oss/sequencer.c inf.device = dev; device 1491 sound/oss/sequencer.c if (get_user(dev, &((struct midi_info __user *)arg)->device)) device 1495 sound/oss/sequencer.c midi_devs[dev]->info.device = dev; device 998 sound/pci/ac97/ac97_codec.c struct snd_ac97_bus *bus = device->device_data; device 1021 sound/pci/ac97/ac97_codec.c struct snd_ac97 *ac97 = device->device_data; device 1924 sound/pci/ac97/ac97_codec.c struct snd_ac97 *ac97 = device->device_data; device 1944 sound/pci/ac97/ac97_codec.c struct snd_ac97 *ac97 = device->device_data; device 635 sound/pci/ad1889.c err = snd_pcm_new(chip->card, chip->card->driver, device, 1, 1, &pcm); device 876 sound/pci/ad1889.c struct snd_ad1889 *chip = device->device_data; device 351 sound/pci/ak4531_codec.c struct snd_ak4531 *ak4531 = device->device_data; device 1736 sound/pci/ali5451/ali5451.c codec->pcm[pcm->device] = NULL; device 1746 sound/pci/ali5451/ali5451.c err = snd_pcm_new(codec->card, desc->name, device, device 2162 sound/pci/ali5451/ali5451.c struct snd_ali *codec = device->device_data; device 202 sound/pci/als300.c struct snd_als300 *chip = device->device_data; device 703 sound/pci/als4000.c err = snd_pcm_new(chip->card, "ALS4000 DSP", device, 1, 1, &pcm); device 1575 sound/pci/atiixp.c struct atiixp *chip = device->device_data; device 1218 sound/pci/atiixp_modem.c struct atiixp_modem *chip = device->device_data; device 124 sound/pci/au88x0/au88x0.c vortex_t *vortex = device->device_data; device 173 sound/pci/au88x0/au88x0.c chip->device = pci->device; device 334 sound/pci/au88x0/au88x0.c &(chip->device))) < 0) { device 91 sound/pci/au88x0/au88x0.h (x->rev == 0xfe && x->device == PCI_DEVICE_ID_AUREAL_VORTEX_2) || \ device 92 sound/pci/au88x0/au88x0.h (x->rev == 0xfe && x->device == PCI_DEVICE_ID_AUREAL_ADVANTAGE)) device 185 sound/pci/au88x0/au88x0.h u16 device; device 242 sound/pci/aw2/aw2-alsa.c struct aw2 *chip = device->device_data; device 1855 sound/pci/azt3328.c if ((err = snd_pcm_new(chip->card, "AZF3328 DSP", device, 1, 1, &pcm)) < 0) device 1960 sound/pci/azt3328.c tid.device = device; device 2017 sound/pci/azt3328.c struct snd_azf3328 *chip = device->device_data; device 420 sound/pci/bt87x.c if (substream->pcm->device == DEVICE_DIGITAL) device 699 sound/pci/bt87x.c struct snd_bt87x *chip = device->device_data; device 708 sound/pci/bt87x.c err = snd_pcm_new(chip->card, name, device, 0, 1, &pcm); device 792 sound/pci/bt87x.c .device = chip, \ device 856 sound/pci/bt87x.c pci->device, pci->subsystem_vendor, pci->subsystem_device); device 861 sound/pci/bt87x.c pci->device, pci->subsystem_vendor, pci->subsystem_device); device 935 sound/pci/bt87x.c sprintf(card->shortname, "Brooktree Bt%x", pci->device); device 1141 sound/pci/ca0106/ca0106_main.c struct snd_ca0106 *chip = device->device_data; device 1215 sound/pci/ca0106/ca0106_main.c if ((err = snd_pcm_new(emu->card, "ca0106", device, 1, 1, &pcm)) < 0) device 1220 sound/pci/ca0106/ca0106_main.c switch (device) { device 294 sound/pci/ca0106/ca_midi.c if ((err = snd_rawmidi_new(midi->get_dev_id_card(midi->dev_id), name, device, 1, 1, &rmidi)) < 0) device 462 sound/pci/cmipci.c unsigned int device; /* device ID */ device 1897 sound/pci/cmipci.c err = snd_pcm_new(cm->card, cm->card->driver, device, 1, 1, &pcm); device 1920 sound/pci/cmipci.c err = snd_pcm_new(cm->card, cm->card->driver, device, 1, 0, &pcm); device 1942 sound/pci/cmipci.c err = snd_pcm_new(cm->card, cm->card->driver, device, 1, 1, &pcm); device 2700 sound/pci/cmipci.c if (cm->device == PCI_DEVICE_ID_CMEDIA_CM8738 || device 2701 sound/pci/cmipci.c cm->device == PCI_DEVICE_ID_CMEDIA_CM8738B) { device 2711 sound/pci/cmipci.c kctl->id.device = pcm_spdif_device; device 2714 sound/pci/cmipci.c kctl->id.device = pcm_spdif_device; device 2717 sound/pci/cmipci.c kctl->id.device = pcm_spdif_device; device 2951 sound/pci/cmipci.c struct cmipci *cm = device->device_data; device 3039 sound/pci/cmipci.c cm->device = pci->device; device 3072 sound/pci/cmipci.c if (pci->device != PCI_DEVICE_ID_CMEDIA_CM8338A && device 3073 sound/pci/cmipci.c pci->device != PCI_DEVICE_ID_CMEDIA_CM8338B) device 3115 sound/pci/cmipci.c switch (pci->device) { device 3126 sound/pci/cmipci.c val = pci->device < 0x110 ? 8338 : 8738; device 3279 sound/pci/cmipci.c switch (pci->device) { device 976 sound/pci/cs4281.c err = snd_pcm_new(chip->card, "CS4281", device, 1, 1, &pcm); device 1340 sound/pci/cs4281.c struct cs4281 *chip = device->device_data; device 1798 sound/pci/cs4281.c if ((err = snd_rawmidi_new(chip->card, "CS4281", device, 1, 1, &rmidi)) < 0) device 1599 sound/pci/cs46xx/cs46xx_lib.c if ((err = snd_pcm_new(chip->card, "CS46xx", device, MAX_PLAYBACK_CHANNELS, 1, &pcm)) < 0) device 1631 sound/pci/cs46xx/cs46xx_lib.c if ((err = snd_pcm_new(chip->card, "CS46xx - Rear", device, MAX_PLAYBACK_CHANNELS, 0, &pcm)) < 0) device 1660 sound/pci/cs46xx/cs46xx_lib.c if ((err = snd_pcm_new(chip->card, "CS46xx - Center LFE", device, MAX_PLAYBACK_CHANNELS, 0, &pcm)) < 0) device 1689 sound/pci/cs46xx/cs46xx_lib.c if ((err = snd_pcm_new(chip->card, "CS46xx - IEC958", device, 1, 0, &pcm)) < 0) device 2350 sound/pci/cs46xx/cs46xx_lib.c kctl->id.device = spdif_device; device 2540 sound/pci/cs46xx/cs46xx_lib.c if ((err = snd_rawmidi_new(chip->card, "CS46XX", device, 1, 1, &rmidi)) < 0) device 2815 sound/pci/cs46xx/cs46xx_lib.c struct snd_cs46xx *chip = device->device_data; device 79 sound/pci/cs5530.c struct snd_cs5530 *chip = device->device_data; device 259 sound/pci/cs5535audio/cs5535audio.c struct cs5535audio *cs5535au = device->device_data; device 1881 sound/pci/echoaudio/echoaudio.c struct echoaudio *chip = device->device_data; device 1959 sound/pci/echoaudio/echoaudio.c err = init_hw(chip, chip->pci->device, chip->pci->subsystem_device); device 2015 sound/pci/echoaudio/echoaudio.c if (pci_id->device == 0x3410) device 1290 sound/pci/emu10k1/emu10k1_main.c struct snd_emu10k1 *emu = device->device_data; device 1303 sound/pci/emu10k1/emu10k1_main.c {.vendor = 0x1102, .device = 0x0008, .subsystem = 0x10011102, device 1348 sound/pci/emu10k1/emu10k1_main.c {.vendor = 0x1102, .device = 0x0008, .subsystem = 0x10211102, device 1388 sound/pci/emu10k1/emu10k1_main.c {.vendor = 0x1102, .device = 0x0008, .subsystem = 0x20011102, device 1398 sound/pci/emu10k1/emu10k1_main.c {.vendor = 0x1102, .device = 0x0008, .subsystem = 0x42011102, device 1407 sound/pci/emu10k1/emu10k1_main.c {.vendor = 0x1102, .device = 0x0008, .subsystem = 0x40041102, device 1415 sound/pci/emu10k1/emu10k1_main.c {.vendor = 0x1102, .device = 0x0004, .subsystem = 0x40011102, device 1423 sound/pci/emu10k1/emu10k1_main.c {.vendor = 0x1102, .device = 0x0008, .subsystem = 0x40021102, device 1431 sound/pci/emu10k1/emu10k1_main.c {.vendor = 0x1102, .device = 0x0004, .subsystem = 0x40021102, device 1439 sound/pci/emu10k1/emu10k1_main.c {.vendor = 0x1102, .device = 0x0008, device 1446 sound/pci/emu10k1/emu10k1_main.c {.vendor = 0x1102, .device = 0x0004, .subsystem = 0x20071102, device 1459 sound/pci/emu10k1/emu10k1_main.c {.vendor = 0x1102, .device = 0x0004, .subsystem = 0x20061102, device 1468 sound/pci/emu10k1/emu10k1_main.c {.vendor = 0x1102, .device = 0x0004, .subsystem = 0x20021102, device 1477 sound/pci/emu10k1/emu10k1_main.c {.vendor = 0x1102, .device = 0x0004, .subsystem = 0x20011102, device 1494 sound/pci/emu10k1/emu10k1_main.c {.vendor = 0x1102, .device = 0x0004, .subsystem = 0x10071102, device 1504 sound/pci/emu10k1/emu10k1_main.c {.vendor = 0x1102, .device = 0x0004, .subsystem = 0x10051102, device 1514 sound/pci/emu10k1/emu10k1_main.c {.vendor = 0x1102, .device = 0x0004, .subsystem = 0x10031102, device 1523 sound/pci/emu10k1/emu10k1_main.c {.vendor = 0x1102, .device = 0x0004, .subsystem = 0x10021102, device 1534 sound/pci/emu10k1/emu10k1_main.c {.vendor = 0x1102, .device = 0x0004, .revision = 0x04, device 1542 sound/pci/emu10k1/emu10k1_main.c {.vendor = 0x1102, .device = 0x0004, .subsystem = 0x00531102, device 1548 sound/pci/emu10k1/emu10k1_main.c {.vendor = 0x1102, .device = 0x0004, .subsystem = 0x00521102, device 1555 sound/pci/emu10k1/emu10k1_main.c {.vendor = 0x1102, .device = 0x0004, .subsystem = 0x00511102, device 1561 sound/pci/emu10k1/emu10k1_main.c {.vendor = 0x1102, .device = 0x0004, device 1567 sound/pci/emu10k1/emu10k1_main.c {.vendor = 0x1102, .device = 0x0002, .subsystem = 0x806B1102, device 1573 sound/pci/emu10k1/emu10k1_main.c {.vendor = 0x1102, .device = 0x0002, .subsystem = 0x806A1102, device 1579 sound/pci/emu10k1/emu10k1_main.c {.vendor = 0x1102, .device = 0x0002, .subsystem = 0x80691102, device 1587 sound/pci/emu10k1/emu10k1_main.c {.vendor = 0x1102, .device = 0x0002, .subsystem = 0x80661102, device 1594 sound/pci/emu10k1/emu10k1_main.c {.vendor = 0x1102, .device = 0x0002, .subsystem = 0x80651102, device 1600 sound/pci/emu10k1/emu10k1_main.c {.vendor = 0x1102, .device = 0x0002, .subsystem = 0x100a1102, device 1606 sound/pci/emu10k1/emu10k1_main.c {.vendor = 0x1102, .device = 0x0002, .subsystem = 0x80641102, device 1613 sound/pci/emu10k1/emu10k1_main.c {.vendor = 0x1102, .device = 0x0002, .subsystem = 0x80611102, device 1621 sound/pci/emu10k1/emu10k1_main.c {.vendor = 0x1102, .device = 0x0002, .subsystem = 0x80511102, device 1627 sound/pci/emu10k1/emu10k1_main.c {.vendor = 0x1102, .device = 0x0002, .subsystem = 0x80401102, device 1632 sound/pci/emu10k1/emu10k1_main.c {.vendor = 0x1102, .device = 0x0002, .subsystem = 0x80321102, device 1638 sound/pci/emu10k1/emu10k1_main.c {.vendor = 0x1102, .device = 0x0002, .subsystem = 0x80311102, device 1644 sound/pci/emu10k1/emu10k1_main.c {.vendor = 0x1102, .device = 0x0002, .subsystem = 0x80281102, device 1651 sound/pci/emu10k1/emu10k1_main.c {.vendor = 0x1102, .device = 0x0002, .subsystem = 0x80271102, device 1657 sound/pci/emu10k1/emu10k1_main.c {.vendor = 0x1102, .device = 0x0002, .subsystem = 0x80261102, device 1663 sound/pci/emu10k1/emu10k1_main.c {.vendor = 0x1102, .device = 0x0002, .subsystem = 0x80231102, device 1669 sound/pci/emu10k1/emu10k1_main.c {.vendor = 0x1102, .device = 0x0002, .subsystem = 0x80221102, device 1675 sound/pci/emu10k1/emu10k1_main.c {.vendor = 0x1102, .device = 0x0002, .subsystem = 0x40011102, device 1680 sound/pci/emu10k1/emu10k1_main.c {.vendor = 0x1102, .device = 0x0002, .subsystem = 0x00211102, device 1686 sound/pci/emu10k1/emu10k1_main.c {.vendor = 0x1102, .device = 0x0002, .subsystem = 0x00201102, device 1692 sound/pci/emu10k1/emu10k1_main.c {.vendor = 0x1102, .device = 0x0002, device 1749 sound/pci/emu10k1/emu10k1_main.c snd_printdd("vendor=0x%x, device=0x%x, subsystem_vendor_id=0x%x, subsystem_id=0x%x\n",pci->vendor, pci->device, emu->serial, emu->model); device 1752 sound/pci/emu10k1/emu10k1_main.c if (c->vendor == pci->vendor && c->device == pci->device) { device 1777 sound/pci/emu10k1/emu10k1_main.c c->name, pci->vendor, pci->device, emu->serial, c->subsystem); device 1780 sound/pci/emu10k1/emu10k1_main.c c->name, pci->vendor, pci->device, emu->serial); device 422 sound/pci/emu10k1/emu10k1x.c epcm->voice = &epcm->emu->voices[substream->pcm->device]; device 778 sound/pci/emu10k1/emu10k1x.c struct emu10k1x *chip = device->device_data; device 841 sound/pci/emu10k1/emu10k1x.c if (device == 0) device 844 sound/pci/emu10k1/emu10k1x.c if ((err = snd_pcm_new(emu->card, "emu10k1x", device, 1, capture, &pcm)) < 0) device 849 sound/pci/emu10k1/emu10k1x.c switch(device) { device 862 sound/pci/emu10k1/emu10k1x.c switch(device) { device 1497 sound/pci/emu10k1/emu10k1x.c if ((err = snd_rawmidi_new(emu->card, name, device, 1, 1, &rmidi)) < 0) device 813 sound/pci/emu10k1/emufx.c knew.device = gctl->id.device; device 911 sound/pci/emu10k1/emufx.c gctl->id.device = id->device; device 2623 sound/pci/emu10k1/emufx.c if ((err = snd_hwdep_new(emu->card, "FX8010", device, &hw)) < 0) device 1890 sound/pci/emu10k1/emumixer.c kctl->id.device = pcm_device; device 1895 sound/pci/emu10k1/emumixer.c kctl->id.device = pcm_device; device 1900 sound/pci/emu10k1/emumixer.c kctl->id.device = pcm_device; device 1906 sound/pci/emu10k1/emumixer.c kctl->id.device = multi_device; device 1912 sound/pci/emu10k1/emumixer.c kctl->id.device = multi_device; device 1918 sound/pci/emu10k1/emumixer.c kctl->id.device = multi_device; device 1969 sound/pci/emu10k1/emumixer.c kctl->id.device = emu->pcm_efx->device; device 1975 sound/pci/emu10k1/emumixer.c kctl->id.device = emu->pcm_efx->device; device 334 sound/pci/emu10k1/emumpu401.c if ((err = snd_rawmidi_new(emu->card, name, device, 1, 1, &rmidi)) < 0) device 1362 sound/pci/emu10k1/emupcm.c if ((err = snd_pcm_new(emu->card, "emu10k1", device, 32, 1, &pcm)) < 0) device 1397 sound/pci/emu10k1/emupcm.c if ((err = snd_pcm_new(emu->card, "emu10k1", device, 1, 0, &pcm)) < 0) device 1439 sound/pci/emu10k1/emupcm.c if ((err = snd_pcm_new(emu->card, "emu10k1 mic", device, 0, 1, &pcm)) < 0) device 1772 sound/pci/emu10k1/emupcm.c if ((err = snd_pcm_new(emu->card, "emu10k1 efx", device, 8, 1, &pcm)) < 0) device 1814 sound/pci/emu10k1/emupcm.c kctl->id.device = device; device 261 sound/pci/emu10k1/p16v.c emu->p16v_voices[substream->pcm->device - emu->p16v_device_offset].use = 0; device 331 sound/pci/emu10k1/p16v.c int channel = substream->pcm->device - emu->p16v_device_offset; device 380 sound/pci/emu10k1/p16v.c int channel = substream->pcm->device - emu->p16v_device_offset; device 461 sound/pci/emu10k1/p16v.c channel = substream->pcm->device-emu->p16v_device_offset; device 524 sound/pci/emu10k1/p16v.c int channel = substream->pcm->device - emu->p16v_device_offset; device 608 sound/pci/emu10k1/p16v.c emu->p16v_device_offset = device; device 612 sound/pci/emu10k1/p16v.c if ((err = snd_pcm_new(emu->card, "p16v", device, 1, capture, &pcm)) < 0) device 87 sound/pci/emu10k1/timer.c tid.device = device; device 1254 sound/pci/ens1370.c err = snd_pcm_new(ensoniq->card, "ES1370/1", device, 1, 1, &pcm); device 1256 sound/pci/ens1370.c err = snd_pcm_new(ensoniq->card, "ES1371/1", device, 1, 1, &pcm); device 1294 sound/pci/ens1370.c err = snd_pcm_new(ensoniq->card, "ES1370/2", device, 1, 0, &pcm); device 1296 sound/pci/ens1370.c err = snd_pcm_new(ensoniq->card, "ES1371/2", device, 1, 0, &pcm); device 1590 sound/pci/ens1370.c ensoniq->pci->device == list->did && device 1932 sound/pci/ens1370.c struct ensoniq *ensoniq = device->device_data; device 2340 sound/pci/ens1370.c if ((err = snd_rawmidi_new(ensoniq->card, "ES1370/1", device, 1, 1, &rmidi)) < 0) device 1035 sound/pci/es1938.c if ((err = snd_pcm_new(chip->card, "es-1938-1946", device, 2, 1, &pcm)) < 0) device 1591 sound/pci/es1938.c struct es1938 *chip = device->device_data; device 1813 sound/pci/es1968.c if ((err = snd_pcm_new(chip->card, "ESS Maestro", device, device 2499 sound/pci/es1968.c struct es1968 *chip = device->device_data; device 691 sound/pci/fm801.c if ((err = snd_pcm_new(chip->card, "FM801", device, 1, 1, &pcm)) < 0) device 1383 sound/pci/fm801.c struct fm801 *chip = device->device_data; device 392 sound/pci/hda/hda_codec.c struct hda_bus *bus = device->device_data; device 2399 sound/pci/hda/hda_codec.c kctl->id.device = codec->addr; device 683 sound/pci/hda/hda_codec.h int device; /* assigned device number */ device 1740 sound/pci/hda/hda_intel.c err = snd_pcm_new(chip->card, cpcm->name, cpcm->device, device 1763 sound/pci/hda/hda_intel.c chip->pcm[cpcm->device] = pcm; device 1802 sound/pci/hda/hda_intel.c cpcm->device = audio_idx[num_devs[type]]; device 1813 sound/pci/hda/hda_intel.c cpcm->device = dev_idx[type]; device 2021 sound/pci/hda/hda_intel.c return azx_free(device->device_data); device 2040 sound/pci/hda/hda_intel.c chip->pci->device == VIA_HDAC_DEVICE_ID) { device 1965 sound/pci/ice1712/aureon.c kctl->id.device = ice->pcm->device; device 132 sound/pci/ice1712/delta.c struct snd_ice1712 *ice = device->bus->private_data; device 138 sound/pci/ice1712/delta.c ap_cs8427_write_byte(ice, (device->addr << 1) | 0, tmp); /* address + write mode */ device 149 sound/pci/ice1712/delta.c struct snd_ice1712 *ice = device->bus->private_data; device 155 sound/pci/ice1712/delta.c ap_cs8427_write_byte(ice, (device->addr << 1) | 1, tmp); /* address + read mode */ device 879 sound/pci/ice1712/ice1712.c err = snd_pcm_new(ice->card, "ICE1712 consumer", device, 1, 1, &pcm); device 909 sound/pci/ice1712/ice1712.c err = snd_pcm_new(ice->card, "ICE1712 consumer (DS)", device, 6, 0, &pcm); device 1245 sound/pci/ice1712/ice1712.c err = snd_pcm_new(ice->card, "ICE1712 multi", device, 1, 1, &pcm); device 2312 sound/pci/ice1712/ice1712.c u16 vendor, device; device 2314 sound/pci/ice1712/ice1712.c pci_read_config_word(ice->pci, PCI_SUBSYSTEM_ID, &device); device 2315 sound/pci/ice1712/ice1712.c ice->eeprom.subvendor = ((unsigned int)swab16(vendor) << 16) | swab16(device); device 2427 sound/pci/ice1712/ice1712.c kctl->id.device = ice->pcm_pro->device; device 2431 sound/pci/ice1712/ice1712.c kctl->id.device = ice->pcm_pro->device; device 2435 sound/pci/ice1712/ice1712.c kctl->id.device = ice->pcm_pro->device; device 2439 sound/pci/ice1712/ice1712.c kctl->id.device = ice->pcm_pro->device; device 2511 sound/pci/ice1712/ice1712.c struct snd_ice1712 *ice = device->device_data; device 1035 sound/pci/ice1712/ice1724.c err = snd_pcm_new(ice->card, "ICE1724", device, 1, 1, &pcm); device 1241 sound/pci/ice1712/ice1724.c err = snd_pcm_new(ice->card, name, device, play, capt, &pcm); device 1359 sound/pci/ice1712/ice1724.c err = snd_pcm_new(ice->card, "ICE1724 Surrounds", device, play, 0, &pcm); device 2160 sound/pci/ice1712/ice1724.c u16 vendor, device; device 2163 sound/pci/ice1712/ice1724.c pci_read_config_word(ice->pci, PCI_SUBSYSTEM_ID, &device); device 2165 sound/pci/ice1712/ice1724.c ((unsigned int)swab16(vendor) << 16) | swab16(device); device 2267 sound/pci/ice1712/ice1724.c kctl->id.device = ice->pcm->device; device 2271 sound/pci/ice1712/ice1724.c kctl->id.device = ice->pcm->device; device 2275 sound/pci/ice1712/ice1724.c kctl->id.device = ice->pcm->device; device 2280 sound/pci/ice1712/ice1724.c kctl->id.device = ice->pcm->device; device 2343 sound/pci/ice1712/ice1724.c struct snd_ice1712 *ice = device->device_data; device 1484 sound/pci/intel8x0.c err = snd_pcm_new(chip->card, name, device, device 1501 sound/pci/intel8x0.c chip->pcm[device] = pcm; device 1604 sound/pci/intel8x0.c int i, tblsize, device, err; device 1630 sound/pci/intel8x0.c device = 0; device 1638 sound/pci/intel8x0.c err = snd_intel8x0_pcm1(chip, device, rec); device 1641 sound/pci/intel8x0.c device++; device 1644 sound/pci/intel8x0.c chip->pcm_devs = device; device 2771 sound/pci/intel8x0.c struct intel8x0 *chip = device->device_data; device 2855 sound/pci/intel8x0.c pci->device == PCI_DEVICE_ID_INTEL_440MX) device 3080 sound/pci/intel8x0.c if (pci->device == name->id) { device 718 sound/pci/intel8x0m.c err = snd_pcm_new(chip->card, name, device, device 736 sound/pci/intel8x0m.c chip->pcm[device] = pcm; device 758 sound/pci/intel8x0m.c int i, tblsize, device, err; device 780 sound/pci/intel8x0m.c device = 0; device 788 sound/pci/intel8x0m.c err = snd_intel8x0_pcm1(chip, device, rec); device 791 sound/pci/intel8x0m.c device++; device 794 sound/pci/intel8x0m.c chip->pcm_devs = device; device 1093 sound/pci/intel8x0m.c struct intel8x0m *chip = device->device_data; device 1279 sound/pci/intel8x0m.c if (pci->device == name->id) { device 424 sound/pci/korg1212/korg1212.c .device = 0x906d, device 2150 sound/pci/korg1212/korg1212.c struct snd_korg1212 *korg1212 = device->device_data; device 1893 sound/pci/maestro3.c err = snd_pcm_new(chip->card, chip->card->driver, device, device 2510 sound/pci/maestro3.c struct snd_m3 *chip = device->device_data; device 2549 sound/pci/maestro3.c switch (pci->device) { device 2698 sound/pci/maestro3.c switch (pci->device) { device 920 sound/pci/mixart/mixart.c subs->dma_device.id = subs->pcm->device << 16 | device 998 sound/pci/mixart/mixart.c struct snd_mixart *chip = device->device_data; device 943 sound/pci/nm256/nm256.c err = snd_pcm_new(chip->card, chip->card->driver, device, device 1464 sound/pci/nm256/nm256.c struct nm256 *chip = device->device_data; device 1675 sound/pci/nm256/nm256.c switch (pci->device) { device 1686 sound/pci/nm256/nm256.c snd_printk(KERN_ERR "invalid device id 0x%x\n", pci->device); device 48 sound/pci/oxygen/oxygen.h .device = 0x8788, \ device 233 sound/pci/oxygen/oxygen_io.c device | OXYGEN_2WIRE_DIR_WRITE); device 724 sound/pci/oxygen/oxygen_mixer.c .device = 1, device 732 sound/pci/oxygen/oxygen_mixer.c .device = 1, device 740 sound/pci/oxygen/oxygen_mixer.c .device = 1, device 753 sound/pci/oxygen/oxygen_mixer.c .device = 1, device 761 sound/pci/oxygen/oxygen_mixer.c .device = 1, device 1012 sound/pci/pcxhr/pcxhr.c struct snd_pcxhr *chip = device->device_data; device 511 sound/pci/riptide/riptide.c .vendor = 0x127a,.device = 0x4310, device 515 sound/pci/riptide/riptide.c .vendor = 0x127a,.device = 0x4320, device 519 sound/pci/riptide/riptide.c .vendor = 0x127a,.device = 0x4330, device 523 sound/pci/riptide/riptide.c .vendor = 0x127a,.device = 0x4340, device 532 sound/pci/riptide/riptide.c .vendor = 0x127a,.device = 0x4312, device 536 sound/pci/riptide/riptide.c .vendor = 0x127a,.device = 0x4322, device 539 sound/pci/riptide/riptide.c {.vendor = 0x127a,.device = 0x4332, device 542 sound/pci/riptide/riptide.c {.vendor = 0x127a,.device = 0x4342, device 1727 sound/pci/riptide/riptide.c snd_pcm_new(chip->card, "RIPTIDE", device, PLAYBACK_SUBSTREAMS, 1, device 1865 sound/pci/riptide/riptide.c struct snd_riptide *chip = device->device_data; device 1917 sound/pci/riptide/riptide.c chip->device_id = pci->device; device 242 sound/pci/rme32.c #define RME32_PRO_WITH_8414(rme32) ((rme32)->pci->device == PCI_DEVICE_ID_RME_DIGI32_PRO && (rme32)->rev == RME32_PRO_REVISION_WITH_8414) device 516 sound/pci/rme32.c if (rme32->pci->device != PCI_DEVICE_ID_RME_DIGI32_PRO) device 523 sound/pci/rme32.c if (rme32->pci->device != PCI_DEVICE_ID_RME_DIGI32_PRO) device 530 sound/pci/rme32.c if (rme32->pci->device != PCI_DEVICE_ID_RME_DIGI32_PRO) device 869 sound/pci/rme32.c if (rme32->pci->device == PCI_DEVICE_ID_RME_DIGI32_PRO) { device 1395 sound/pci/rme32.c if ((pci->device == PCI_DEVICE_ID_RME_DIGI32) || device 1396 sound/pci/rme32.c (pci->device == PCI_DEVICE_ID_RME_DIGI32_PRO)) { device 1617 sound/pci/rme32.c switch (rme32->pci->device) { device 1648 sound/pci/rme32.c switch (rme32->pci->device) { device 1675 sound/pci/rme32.c switch (rme32->pci->device) { device 1960 sound/pci/rme32.c switch (rme32->pci->device) { device 250 sound/pci/rme96.c #define RME96_HAS_ANALOG_IN(rme96) ((rme96)->pci->device == PCI_DEVICE_ID_RME_DIGI96_8_PAD_OR_PST) device 251 sound/pci/rme96.c #define RME96_HAS_ANALOG_OUT(rme96) ((rme96)->pci->device == PCI_DEVICE_ID_RME_DIGI96_8_PRO || \ device 252 sound/pci/rme96.c (rme96)->pci->device == PCI_DEVICE_ID_RME_DIGI96_8_PAD_OR_PST) device 254 sound/pci/rme96.c #define RME96_DAC_IS_1855(rme96) (((rme96)->pci->device == PCI_DEVICE_ID_RME_DIGI96_8_PAD_OR_PST && (rme96)->rev < 4) || \ device 255 sound/pci/rme96.c ((rme96)->pci->device == PCI_DEVICE_ID_RME_DIGI96_8_PRO && (rme96)->rev == 2)) device 818 sound/pci/rme96.c if ((rme96->pci->device != PCI_DEVICE_ID_RME_DIGI96_8_PAD_OR_PST && device 819 sound/pci/rme96.c rme96->pci->device != PCI_DEVICE_ID_RME_DIGI96_8_PRO) || device 820 sound/pci/rme96.c (rme96->pci->device == PCI_DEVICE_ID_RME_DIGI96_8_PAD_OR_PST && device 1593 sound/pci/rme96.c if (pci->device == PCI_DEVICE_ID_RME_DIGI96) { device 1845 sound/pci/rme96.c switch (rme96->pci->device) { device 1882 sound/pci/rme96.c switch (rme96->pci->device) { device 1919 sound/pci/rme96.c switch (rme96->pci->device) { device 1941 sound/pci/rme96.c if (rme96->pci->device == PCI_DEVICE_ID_RME_DIGI96_8_PAD_OR_PST && rme96->rev > 4) { device 2365 sound/pci/rme96.c switch (rme96->pci->device) { device 590 sound/pci/rme9652/hdsp.c .device = PCI_DEVICE_ID_XILINX_HAMMERFALL_DSP, device 2849 sound/pci/rme9652/hdsp.c .device = 0, \ device 517 sound/pci/rme9652/hdspm.c .device = PCI_DEVICE_ID_XILINX_HAMMERFALL_DSP_MADI, device 2489 sound/pci/rme9652/hdspm.c .device = 0, \ device 320 sound/pci/rme9652/rme9652.c .device = 0x3fc4, device 850 sound/pci/sonicvibes.c if ((err = snd_pcm_new(sonic->card, "s3_86c617", device, 1, 1, &pcm)) < 0) device 1210 sound/pci/sonicvibes.c struct sonicvibes *sonic = device->device_data; device 98 sound/pci/trident/trident.c ((pci->vendor << 16) | pci->device) == TRIDENT_DEVICE_ID_SI7018 ? 1 : 2, device 106 sound/pci/trident/trident.c switch (trident->device) { device 120 sound/pci/trident/trident.c if (trident->device == TRIDENT_DEVICE_ID_SI7018) { device 133 sound/pci/trident/trident.c switch (trident->device) { device 142 sound/pci/trident/trident.c if (trident->device == TRIDENT_DEVICE_ID_NX || trident->device == TRIDENT_DEVICE_ID_SI7018) { device 148 sound/pci/trident/trident.c if (trident->device != TRIDENT_DEVICE_ID_SI7018 && device 81 sound/pci/trident/trident_main.c if (trident->device != TRIDENT_DEVICE_ID_NX) { device 128 sound/pci/trident/trident_main.c if (trident->device == TRIDENT_DEVICE_ID_DX) { device 136 sound/pci/trident/trident_main.c } else if (trident->device == TRIDENT_DEVICE_ID_NX) { device 145 sound/pci/trident/trident_main.c } else if (trident->device == TRIDENT_DEVICE_ID_SI7018) { device 192 sound/pci/trident/trident_main.c if (trident->device == TRIDENT_DEVICE_ID_DX) { device 202 sound/pci/trident/trident_main.c } else if (trident->device == TRIDENT_DEVICE_ID_NX) { device 212 sound/pci/trident/trident_main.c } else if (trident->device == TRIDENT_DEVICE_ID_SI7018) { device 256 sound/pci/trident/trident_main.c if (trident->device == TRIDENT_DEVICE_ID_SI7018) device 458 sound/pci/trident/trident_main.c switch (trident->device) { device 528 sound/pci/trident/trident_main.c if (trident->device != TRIDENT_DEVICE_ID_NX) { device 554 sound/pci/trident/trident_main.c if (trident->device != TRIDENT_DEVICE_ID_NX) { device 580 sound/pci/trident/trident_main.c switch (trident->device) { device 635 sound/pci/trident/trident_main.c TRID_REG(trident, trident->device == TRIDENT_DEVICE_ID_NX ? device 659 sound/pci/trident/trident_main.c TRID_REG(trident, trident->device == TRIDENT_DEVICE_ID_NX ? device 991 sound/pci/trident/trident_main.c evoice->GVSel = trident->device == TRIDENT_DEVICE_ID_SI7018 ? 0 : 1; device 1303 sound/pci/trident/trident_main.c evoice->GVSel = trident->device == TRIDENT_DEVICE_ID_SI7018 ? 0 : 1; device 1344 sound/pci/trident/trident_main.c if (trident->device == TRIDENT_DEVICE_ID_SI7018) { device 1410 sound/pci/trident/trident_main.c if (trident->device != TRIDENT_DEVICE_ID_SI7018) { device 1497 sound/pci/trident/trident_main.c evoice->GVSel = trident->device == TRIDENT_DEVICE_ID_SI7018 ? 0 : 1; device 1591 sound/pci/trident/trident_main.c if (trident->device != TRIDENT_DEVICE_ID_SI7018) { device 1615 sound/pci/trident/trident_main.c if (capture_flag && trident->device != TRIDENT_DEVICE_ID_SI7018) device 1618 sound/pci/trident/trident_main.c if (capture_flag && trident->device != TRIDENT_DEVICE_ID_SI7018) device 1650 sound/pci/trident/trident_main.c if (trident->device != TRIDENT_DEVICE_ID_NX) { device 1916 sound/pci/trident/trident_main.c if (trident->device == TRIDENT_DEVICE_ID_SI7018) { device 1947 sound/pci/trident/trident_main.c if (trident->device != TRIDENT_DEVICE_ID_SI7018) { device 2176 sound/pci/trident/trident_main.c if ((err = snd_pcm_new(trident->card, "trident_dx_nx", device, trident->ChanPCM, 1, &pcm)) < 0) device 2187 sound/pci/trident/trident_main.c trident->device != TRIDENT_DEVICE_ID_SI7018 ? device 2236 sound/pci/trident/trident_main.c if (trident->device == TRIDENT_DEVICE_ID_NX) device 2238 sound/pci/trident/trident_main.c if ((err = snd_pcm_new(trident->card, "trident_dx_nx", device, 0, num_chan, &foldback)) < 0) device 2291 sound/pci/trident/trident_main.c if ((err = snd_pcm_new(trident->card, "trident_dx_nx IEC958", device, 1, 0, &spdif)) < 0) device 2295 sound/pci/trident/trident_main.c if (trident->device != TRIDENT_DEVICE_ID_SI7018) { device 2349 sound/pci/trident/trident_main.c if (trident->device != TRIDENT_DEVICE_ID_SI7018) { device 2420 sound/pci/trident/trident_main.c if (trident->device != TRIDENT_DEVICE_ID_SI7018) { device 2516 sound/pci/trident/trident_main.c if (trident->device != TRIDENT_DEVICE_ID_SI7018) { device 2671 sound/pci/trident/trident_main.c if (trident->device == TRIDENT_DEVICE_ID_SI7018) device 2682 sound/pci/trident/trident_main.c if (trident->device == TRIDENT_DEVICE_ID_SI7018) { device 2698 sound/pci/trident/trident_main.c if (trident->device == TRIDENT_DEVICE_ID_SI7018) { device 2994 sound/pci/trident/trident_main.c if (trident->device == TRIDENT_DEVICE_ID_SI7018) { device 3005 sound/pci/trident/trident_main.c if (trident->device == TRIDENT_DEVICE_ID_SI7018 && device 3023 sound/pci/trident/trident_main.c if (trident->device != TRIDENT_DEVICE_ID_SI7018) { device 3061 sound/pci/trident/trident_main.c if (trident->device == TRIDENT_DEVICE_ID_NX) { device 3066 sound/pci/trident/trident_main.c if (trident->device == TRIDENT_DEVICE_ID_NX || trident->device == TRIDENT_DEVICE_ID_SI7018) { device 3088 sound/pci/trident/trident_main.c kctl->id.device = pcm_spdif_device; device 3098 sound/pci/trident/trident_main.c kctl->id.device = pcm_spdif_device; device 3108 sound/pci/trident/trident_main.c kctl->id.device = pcm_spdif_device; device 3297 sound/pci/trident/trident_main.c switch (trident->device) { device 3313 sound/pci/trident/trident_main.c if (trident->device == TRIDENT_DEVICE_ID_NX || trident->device == TRIDENT_DEVICE_ID_SI7018) device 3315 sound/pci/trident/trident_main.c if (trident->device == TRIDENT_DEVICE_ID_NX) { device 3331 sound/pci/trident/trident_main.c if (trident->device == TRIDENT_DEVICE_ID_SI7018) device 3339 sound/pci/trident/trident_main.c struct snd_trident *trident = device->device_data; device 3569 sound/pci/trident/trident_main.c trident->device = (pci->vendor << 16) | pci->device; device 3606 sound/pci/trident/trident_main.c if (trident->device == TRIDENT_DEVICE_ID_NX) { device 3616 sound/pci/trident/trident_main.c switch (trident->device) { device 3683 sound/pci/trident/trident_main.c if (trident->device == TRIDENT_DEVICE_ID_NX) device 3685 sound/pci/trident/trident_main.c else if (trident->device == TRIDENT_DEVICE_ID_SI7018) { device 3952 sound/pci/trident/trident_main.c switch (trident->device) { device 1261 sound/pci/via82xx.c struct viadev *viadev = &chip->devs[chip->capture_devno + substream->pcm->device]; device 2258 sound/pci/via82xx.c struct via82xx *chip = device->device_data; device 781 sound/pci/via82xx_modem.c struct viadev *viadev = &chip->devs[chip->capture_devno + substream->pcm->device]; device 1092 sound/pci/via82xx_modem.c struct via82xx_modem *chip = device->device_data; device 132 sound/pci/vx222/vx222.c struct vx_core *chip = device->device_data; device 92 sound/pci/ymfpci/ymfpci.c if (chip->pci->device >= 0x0010) { /* YMF 744/754 */ device 143 sound/pci/ymfpci/ymfpci.c if (chip->pci->device >= 0x0010) /* YMF 744/754 */ device 194 sound/pci/ymfpci/ymfpci.c switch (pci_id->device) { device 207 sound/pci/ymfpci/ymfpci.c if (pci_id->device >= 0x0010) { /* YMF 744/754 */ device 1125 sound/pci/ymfpci/ymfpci_main.c if ((err = snd_pcm_new(chip->card, "YMFPCI", device, 32, 1, &pcm)) < 0) device 1163 sound/pci/ymfpci/ymfpci_main.c if ((err = snd_pcm_new(chip->card, "YMFPCI - PCM2", device, 0, 1, &pcm)) < 0) device 1201 sound/pci/ymfpci/ymfpci_main.c if ((err = snd_pcm_new(chip->card, "YMFPCI - IEC958", device, 1, 0, &pcm)) < 0) device 1238 sound/pci/ymfpci/ymfpci_main.c if ((err = snd_pcm_new(chip->card, "YMFPCI - Rear", device, 1, 0, &pcm)) < 0) device 1824 sound/pci/ymfpci/ymfpci_main.c kctl->id.device = chip->pcm_spdif->device; device 1827 sound/pci/ymfpci/ymfpci_main.c kctl->id.device = chip->pcm_spdif->device; device 1830 sound/pci/ymfpci/ymfpci_main.c kctl->id.device = chip->pcm_spdif->device; device 1852 sound/pci/ymfpci/ymfpci_main.c kctl->id.device = chip->pcm->device; device 1924 sound/pci/ymfpci/ymfpci_main.c tid.device = device; device 2231 sound/pci/ymfpci/ymfpci_main.c struct snd_ymfpci *chip = device->device_data; device 2356 sound/pci/ymfpci/ymfpci_main.c chip->device_id = pci->device; device 85 sound/pcmcia/pdaudiocf/pdaudiocf.c struct snd_pdacf *chip = device->device_data; device 72 sound/pcmcia/vx/vxpocket.c struct vx_core *chip = device->device_data; device 902 sound/ppc/pmac.c struct snd_pmac *chip = device->device_data; device 48 sound/ppc/powermac.c static struct platform_device *device; device 182 sound/ppc/powermac.c device = platform_device_register_simple(SND_PMAC_DRIVER, -1, NULL, 0); device 189 sound/ppc/powermac.c if (!IS_ERR(device)) device 190 sound/ppc/powermac.c platform_device_unregister(device); device 393 sound/ppc/snd_ps3.c pcm_index = substream->pcm->device; device 1102 sound/ppc/tumbler.c node = find_compatible_audio_device(device); device 1104 sound/ppc/tumbler.c node = find_audio_device(device); device 1106 sound/ppc/tumbler.c DBG("(W) cannot find audio device %s !\n", device); device 1107 sound/ppc/tumbler.c snd_printdd("cannot find device %s\n", device); device 1115 sound/ppc/tumbler.c DBG("(E) cannot find address for device %s !\n", device); device 1116 sound/ppc/tumbler.c snd_printd("cannot find address for device %s\n", device); device 1157 sound/ppc/tumbler.c device, gp->addr, gp->active_state); device 86 sound/soc/fsl/fsl_ssi.c struct device *dev; device 217 sound/soc/fsl/fsl_ssi.h struct device *dev; device 92 sound/soc/fsl/mpc5200_psc_i2s.c struct device *dev; device 33 sound/soc/fsl/soc-of-simple.c struct snd_soc_device device; device 63 sound/soc/fsl/soc-of-simple.c of_soc->device.machine = &of_soc->machine; device 77 sound/soc/fsl/soc-of-simple.c if ((!of_soc->device.codec_data) || (!of_soc->platform_node)) device 89 sound/soc/fsl/soc-of-simple.c platform_set_drvdata(pdev, &of_soc->device); device 90 sound/soc/fsl/soc-of-simple.c of_soc->device.dev = &pdev->dev; device 118 sound/soc/fsl/soc-of-simple.c of_soc->device.codec_data = codec_data; device 119 sound/soc/fsl/soc-of-simple.c of_soc->device.codec_dev = codec_dev; device 161 sound/soc/fsl/soc-of-simple.c of_soc->device.platform = platform; device 312 sound/soc/omap/n810.c struct device *dev; device 165 sound/soc/omap/osk5912.c struct device *dev; device 77 sound/soc/s3c24xx/s3c2412-i2s.c struct device *dev; device 927 sound/sparc/amd7930.c struct snd_amd7930 *amd = device->device_data; device 1262 sound/sparc/cs4231.c tid.device = 0; device 1787 sound/sparc/cs4231.c struct snd_cs4231 *cp = device->device_data; device 1953 sound/sparc/cs4231.c struct snd_cs4231 *cp = device->device_data; device 340 sound/spi/at73c213.c device, 1, 0, &pcm); device 872 sound/spi/at73c213.c struct snd_at73c213 *chip = device->device_data; device 113 sound/synth/emux/emux_proc.c sprintf(name, "wavetableD%d", device); device 442 sound/usb/caiaq/caiaq-device.c struct usb_device *device = interface_to_usbdev(intf); device 444 sound/usb/caiaq/caiaq-device.c card = create_card(device); device 131 sound/usb/caiaq/caiaq-midi.c ret = snd_rawmidi_new(device->chip.card, device->product_name, 0, device 132 sound/usb/caiaq/caiaq-midi.c device->spec.num_midi_out, device 133 sound/usb/caiaq/caiaq-midi.c device->spec.num_midi_in, device 139 sound/usb/caiaq/caiaq-midi.c strcpy(rmidi->name, device->product_name); device 142 sound/usb/caiaq/caiaq-midi.c rmidi->private_data = device; device 144 sound/usb/caiaq/caiaq-midi.c if (device->spec.num_midi_out > 0) { device 150 sound/usb/caiaq/caiaq-midi.c if (device->spec.num_midi_in > 0) { device 156 sound/usb/caiaq/caiaq-midi.c device->rmidi = rmidi; device 3437 sound/usb/usbaudio.c struct snd_usb_audio *chip = device->device_data; device 1631 sound/usb/usbmixer.c struct usb_mixer_interface *mixer = device->device_data; device 495 sound/usb/usx2y/us122l.c US122L(card)->chip.dev = device; device 504 sound/usb/usx2y/us122l.c le16_to_cpu(device->descriptor.idVendor), device 505 sound/usb/usx2y/us122l.c le16_to_cpu(device->descriptor.idProduct), device 510 sound/usb/usx2y/us122l.c snd_card_set_dev(card, &device->dev); device 517 sound/usb/usx2y/us122l.c struct usb_device *device = interface_to_usbdev(intf); device 518 sound/usb/usx2y/us122l.c struct snd_card *card = usx2y_create_card(device); device 529 sound/usb/usx2y/us122l.c usb_get_dev(device); device 277 sound/usb/usx2y/usX2Yhwdep.c sprintf(hw->name, "/proc/bus/usb/%03d/%03d", device->bus->busnum, device->devnum); device 350 sound/usb/usx2y/usbusx2y.c usX2Y(card)->chip.dev = device; device 359 sound/usb/usx2y/usbusx2y.c le16_to_cpu(device->descriptor.idVendor), device 360 sound/usb/usx2y/usbusx2y.c le16_to_cpu(device->descriptor.idProduct), device 364 sound/usb/usx2y/usbusx2y.c snd_card_set_dev(card, &device->dev); device 373 sound/usb/usx2y/usbusx2y.c if (le16_to_cpu(device->descriptor.idVendor) != 0x1604 || device 374 sound/usb/usx2y/usbusx2y.c (le16_to_cpu(device->descriptor.idProduct) != USB_ID_US122 && device 375 sound/usb/usx2y/usbusx2y.c le16_to_cpu(device->descriptor.idProduct) != USB_ID_US224 && device 376 sound/usb/usx2y/usbusx2y.c le16_to_cpu(device->descriptor.idProduct) != USB_ID_US428) || device 377 sound/usb/usx2y/usbusx2y.c !(card = usX2Y_create_card(device))) device 379 sound/usb/usx2y/usbusx2y.c if ((err = usX2Y_hwdep_new(card, device)) < 0 ||