/linux-2.4.37.9/drivers/s390/block/ |
D | dasd_3990_erp.c | 40 dasd_device_t *device = cqr->device; in log_erp_chain() local 51 if (device->discipline && in log_erp_chain() 52 device->discipline->dump_sense ) { in log_erp_chain() 54 device->discipline->dump_sense (device, in log_erp_chain() 61 DEV_MESSAGE (KERN_ERR, device, in log_erp_chain() 82 DEV_MESSAGE (KERN_ERR, device, "%s", in log_erp_chain() 88 DEV_MESSAGE (KERN_ERR, device, in log_erp_chain() 108 DEV_MESSAGE (KERN_ERR, device, "%s", in log_erp_chain() 118 DEV_MESSAGE (KERN_ERR, device, "%s", in log_erp_chain() 134 DEV_MESSAGE (KERN_ERR, device, "%s", in log_erp_chain() [all …]
|
D | dasd.c | 149 static void dasd_plug_device (dasd_device_t * device); 160 static void dasd_flush_chanq ( dasd_device_t * device, int destroy ); 161 static void dasd_flush_request_queues ( dasd_device_t * device, int destroy ); 164 static void dasd_process_queues (dasd_device_t * device); 941 dasd_device_t *device; in dasd_device_from_kdev() local 945 device = NULL; in dasd_device_from_kdev() 950 device = major_info->dasd_device[MINOR (kdev) >> in dasd_device_from_kdev() 956 return device; in dasd_device_from_kdev() 969 dasd_device_t **device; in dasd_device_from_devno() local 981 device = NULL; in dasd_device_from_devno() [all …]
|
D | dasd_diag.c | 92 mdsk_init_io (dasd_device_t * device, int blocksize, int offset, int size) in mdsk_init_io() argument 94 dasd_diag_private_t *private = (dasd_diag_private_t *) device->private; in mdsk_init_io() 100 iib->dev_nr = device->devinfo.devno; in mdsk_init_io() 112 mdsk_term_io (dasd_device_t * device) in mdsk_term_io() argument 114 dasd_diag_private_t *private = (dasd_diag_private_t *) device->private; in mdsk_term_io() 119 iib->dev_nr = device->devinfo.devno; in mdsk_term_io() 128 dasd_device_t *device = cqr->device; in dasd_start_diag() local 132 private = (dasd_diag_private_t *) device->private; in dasd_start_diag() 135 iob->dev_nr = device->devinfo.devno; in dasd_start_diag() 156 dasd_schedule_bh (device); in dasd_start_diag() [all …]
|
D | dasd_eckd.c | 207 dasd_device_t *device) in check_XRC() argument 210 dasd_eckd_private_t *private = (dasd_eckd_private_t *) device->private; in check_XRC() 232 int cmd, dasd_device_t * device, ccw_req_t* cqr) in define_extent() argument 236 dasd_eckd_private_t *private = (dasd_eckd_private_t *) device->private; in define_extent() 250 if ((rc=dasd_set_normalized_cda (de_ccw, __pa (data), cqr, device))) in define_extent() 276 device); in define_extent() 284 device); in define_extent() 295 device); in define_extent() 322 DBF_DEV_EVENT (DBF_NOTICE, device, in define_extent() 331 DBF_DEV_EVENT (DBF_NOTICE, device, in define_extent() [all …]
|
D | dasd_fba.c | 77 dasd_device_t* device) in define_extent() argument 83 if ((rc=dasd_set_normalized_cda (ccw, __pa (DE_data), cqr, device))) in define_extent() 99 int block_ct, ccw_req_t* cqr, dasd_device_t* device) in locate_record() argument 104 dasd_set_normalized_cda (ccw, __pa (LO_data), cqr, device); in locate_record() 128 dasd_fba_check_characteristics (struct dasd_device_t *device) in dasd_fba_check_characteristics() argument 134 if (device == NULL) { in dasd_fba_check_characteristics() 142 device->private = kmalloc (sizeof (dasd_fba_private_t), GFP_KERNEL); in dasd_fba_check_characteristics() 144 if (device->private == NULL) { in dasd_fba_check_characteristics() 152 private = (dasd_fba_private_t *) device->private; in dasd_fba_check_characteristics() 154 rc = read_dev_chars (device->devinfo.irq, &rdc_data, 32); in dasd_fba_check_characteristics() [all …]
|
/linux-2.4.37.9/drivers/acpi/ |
D | bus.c | 67 static int acpi_device_probe(struct device *dev); 68 static int acpi_device_remove(struct device *dev); 69 static int acpi_device_suspend(struct device *dev, u32 state, u32 stage); 70 static int acpi_device_resume(struct device *dev, u32 stage); 82 struct device *dev) in acpi_device_probe() 97 struct device *dev) in acpi_device_remove() 112 struct device *dev, in acpi_device_suspend() 129 struct device *dev, in acpi_device_resume() 145 struct device *dev) 163 struct device *dev) [all …]
|
D | button.c | 46 static int acpi_button_add (struct acpi_device *device); 47 static int acpi_button_remove (struct acpi_device *device, int type); 61 struct acpi_device *device; /* Fixed button kludge */ member 88 if (!button || !button->device || (off != 0)) in acpi_button_read_info() 92 acpi_device_name(button->device)); in acpi_button_read_info() 122 if (!button || !button->device || (off != 0)) in acpi_button_lid_read_state() 146 struct acpi_device *device) in acpi_button_add_fs() argument 153 if (!device || !acpi_driver_data(device)) in acpi_button_add_fs() 156 button = acpi_driver_data(device); in acpi_button_add_fs() 179 acpi_device_dir(device) = proc_mkdir(acpi_device_bid(device), entry); in acpi_button_add_fs() [all …]
|
D | power.c | 42 int acpi_power_add (struct acpi_device *device); 43 int acpi_power_remove (struct acpi_device *device, int type); 78 struct acpi_device *device = NULL; in acpi_power_get_context() local 85 result = acpi_bus_get_device(handle, &device); in acpi_power_get_context() 92 *resource = (struct acpi_power_resource *) acpi_driver_data(device); in acpi_power_get_context() 171 struct acpi_device *device = NULL; in acpi_power_on() local 200 result = acpi_bus_get_device(resource->handle, &device); in acpi_power_on() 203 device->power.state = ACPI_STATE_D0; in acpi_power_on() 218 struct acpi_device *device = NULL; in acpi_power_off_device() local 233 device->pnp.bus_id)); in acpi_power_off_device() [all …]
|
D | ac.c | 46 int acpi_ac_add (struct acpi_device *device); 47 int acpi_ac_remove (struct acpi_device *device, int type); 148 struct acpi_device *device) in acpi_ac_add_fs() argument 154 if (!acpi_device_dir(device)) { in acpi_ac_add_fs() 155 acpi_device_dir(device) = proc_mkdir(acpi_device_bid(device), in acpi_ac_add_fs() 157 if (!acpi_device_dir(device)) in acpi_ac_add_fs() 159 acpi_device_dir(device)->owner = THIS_MODULE; in acpi_ac_add_fs() 164 S_IRUGO, acpi_device_dir(device)); in acpi_ac_add_fs() 171 entry->data = acpi_driver_data(device); in acpi_ac_add_fs() 181 struct acpi_device *device) in acpi_ac_remove_fs() argument [all …]
|
D | fan.c | 46 int acpi_fan_add (struct acpi_device *device); 47 int acpi_fan_remove (struct acpi_device *device, int type); 140 struct acpi_device *device) in acpi_fan_add_fs() argument 146 if (!device) in acpi_fan_add_fs() 149 if (!acpi_device_dir(device)) { in acpi_fan_add_fs() 150 acpi_device_dir(device) = proc_mkdir(acpi_device_bid(device), in acpi_fan_add_fs() 152 if (!acpi_device_dir(device)) in acpi_fan_add_fs() 154 acpi_device_dir(device)->owner = THIS_MODULE; in acpi_fan_add_fs() 159 S_IFREG|S_IRUGO|S_IWUSR, acpi_device_dir(device)); in acpi_fan_add_fs() 167 entry->data = acpi_driver_data(device); in acpi_fan_add_fs() [all …]
|
D | pci_bind.c | 80 struct acpi_device *device = NULL; in acpi_os_get_pci_id() local 88 result = acpi_bus_get_device(handle, &device); in acpi_os_get_pci_id() 92 acpi_device_bid(device))); in acpi_os_get_pci_id() 100 acpi_device_bid(device))); in acpi_os_get_pci_id() 115 acpi_device_bid(device), id->segment, id->bus, in acpi_os_get_pci_id() 116 id->device, id->function)); in acpi_os_get_pci_id() 124 struct acpi_device *device) in acpi_pci_bind() argument 136 if (!device || !device->parent) in acpi_pci_bind() 144 acpi_get_name(device->handle, ACPI_FULL_PATHNAME, &buffer); in acpi_pci_bind() 153 status = acpi_get_data(device->parent->handle, acpi_pci_data_handler, in acpi_pci_bind() [all …]
|
/linux-2.4.37.9/include/linux/ |
D | blk.h | 106 #define DEVICE_NR(device) (MINOR(device) >> PARTN_BITS) argument 113 #define DEVICE_NR(device) (MINOR(device)) argument 121 #define DEVICE_NR(device) (MINOR(device)) argument 130 #define DEVICE_NR(device) ( (MINOR(device) & 3) | ((MINOR(device) & 0x80 ) >> 5 )) argument 131 #define DEVICE_OFF(device) floppy_off(DEVICE_NR(device)) argument 140 #define DEVICE_NR(device) (MINOR(device)>>6) argument 146 #define DEVICE_NR(device) (((MAJOR(device) & SD_MAJOR_MASK) << (8 - 4)) + (MINOR(device) >> 4)) argument 153 #define DEVICE_NR(device) (MINOR(device)) argument 159 #define DEVICE_NR(device) (MINOR(device) & 0x7f) argument 165 #define DEVICE_NR(device) (MINOR(device) & 0x7f) argument [all …]
|
/linux-2.4.37.9/drivers/ide/raid/ |
D | hptraid.c | 78 kdev_t device; /* disk-ID/raid 0+1 volume-ID */ member 102 int device; member 234 int device; in hptraidspan_make_request() local 239 device = (bh->b_rdev >> SHIFT)&MAJOR_MASK; in hptraidspan_make_request() 240 thisraid = &raid[device]; in hptraidspan_make_request() 267 bh->b_rdev = thisraid->disk[disk].device; in hptraidspan_make_request() 354 bh->b_rdev = thisraid->disk[disk].device; in hptraid0_compute_request() 365 int device; in hptraid0_make_request() local 380 device = (bh->b_rdev >> SHIFT)&MAJOR_MASK; in hptraid0_make_request() 381 if( hptraid0_compute_request(raid+device, q, rw, bh) != 1 ) { in hptraid0_make_request() [all …]
|
D | pdcraid.c | 43 int device; member 65 kdev_t device; member 167 int device; in pdcraid0_make_request() local 184 device = (bh->b_rdev >> SHIFT)&MAJOR_MASK; in pdcraid0_make_request() 185 thisraid = &raid[device]; in pdcraid0_make_request() 233 bh->b_rdev = thisraid->disk[disk].device; in pdcraid0_make_request() 246 int device; in pdcraid1_write_request() local 249 device = (bh->b_rdev >> SHIFT)&MAJOR_MASK; in pdcraid1_write_request() 256 atomic_set(&private->count,raid[device].disks); in pdcraid1_write_request() 259 for (i = 0; i< raid[device].disks; i++) { in pdcraid1_write_request() [all …]
|
D | silraid.c | 48 int device; member 70 kdev_t device; member 172 int device; in silraid0_make_request() local 189 device = (bh->b_rdev >> SHIFT)&MAJOR_MASK; in silraid0_make_request() 190 thisraid = &raid[device]; in silraid0_make_request() 238 bh->b_rdev = thisraid->disk[disk].device; in silraid0_make_request() 326 static void __init probedisk(int devindex,int device, int raidlevel) in probedisk() argument 334 if (devlist[devindex].device!=-1) /* already assigned to another array */ in probedisk() 362 raid[device].disk[i].bdev = bdev; in probedisk() 364 raid[device].disk[i].device = MKDEV(major,minor); in probedisk() [all …]
|
/linux-2.4.37.9/drivers/net/ |
D | wavelan.p.h | 465 typedef struct net_device device; typedef 488 device * dev; /* reverse link */ 548 wv_ints_off(device *), 549 wv_ints_on(device *); 598 wv_ack(device *); 600 wv_synchronous_cmd(device *, 602 wv_config_complete(device *, 606 wv_complete(device *, 610 wv_82586_reconfig(device *); 617 wv_init_info(device *); /* display startup info */ [all …]
|
/linux-2.4.37.9/drivers/hotplug/ |
D | ibmphp_pci.c | 86 u8 hdr_type, device, sec_number; in ibmphp_configure_card() local 97 device = func->device; in ibmphp_configure_card() 109 …->busno = %x, cur_func->device = %x, cur_func->funcion = %x\n", cur_func->busno, device, function); in ibmphp_configure_card() 111 …pci_read_config_word_nodev (ibmphp_pci_root_ops, cur_func->busno, device, function, PCI_VENDOR_ID,… in ibmphp_configure_card() 125 …pci_read_config_byte_nodev (ibmphp_pci_root_ops, cur_func->busno, device, function, PCI_HEADER_TYP… in ibmphp_configure_card() 126 …pci_read_config_dword_nodev (ibmphp_pci_root_ops, cur_func->busno, device, function, PCI_CLASS_REV… in ibmphp_configure_card() 133 "Please choose another device.\n", cur_func->device); in ibmphp_configure_card() 137 "Please choose another device.\n", cur_func->device); in ibmphp_configure_card() 147 cur_func->device, cur_func->busno); in ibmphp_configure_card() 159 cur_func->device, cur_func->busno); in ibmphp_configure_card() [all …]
|
/linux-2.4.37.9/drivers/net/pcmcia/ |
D | wavelan_cs.h | 590 typedef struct net_device device; typedef 613 device * dev; /* Reverse link... */ 689 psa_read(device *, /* Read the Parameter Storage Area */ 693 psa_write(device *, /* Write to the PSA */ 723 wv_82593_cmd(device *, /* synchronously send a command to i82593 */ 728 wv_diag(device *); /* Diagnostique the i82593 */ 730 read_ringbuf(device *, /* Read a receive buffer */ 735 wv_82593_reconfig(device *); /* Reconfigure the controller */ 738 wv_init_info(device *); /* display startup info */ 741 wavelan_get_stats(device *); /* Give stats /proc/net/dev */ [all …]
|
/linux-2.4.37.9/arch/mips/momentum/ocelot_c/ |
D | pci.c | 110 static int marvell_pcibios_read_config_dword(struct pci_dev *device, in marvell_pcibios_read_config_dword() argument 117 bus = device->bus->number; in marvell_pcibios_read_config_dword() 118 dev = PCI_SLOT(device->devfn); in marvell_pcibios_read_config_dword() 119 func = PCI_FUNC(device->devfn); in marvell_pcibios_read_config_dword() 147 static int marvell_pcibios_read_config_word(struct pci_dev *device, in marvell_pcibios_read_config_word() argument 154 bus = device->bus->number; in marvell_pcibios_read_config_word() 155 dev = PCI_SLOT(device->devfn); in marvell_pcibios_read_config_word() 156 func = PCI_FUNC(device->devfn); in marvell_pcibios_read_config_word() 183 static int marvell_pcibios_read_config_byte(struct pci_dev *device, in marvell_pcibios_read_config_byte() argument 190 bus = device->bus->number; in marvell_pcibios_read_config_byte() [all …]
|
/linux-2.4.37.9/drivers/ide/pci/ |
D | amd74xx.h | 34 .device = PCI_DEVICE_ID_AMD_COBRA_7401, 45 .device = PCI_DEVICE_ID_AMD_VIPER_7409, 56 .device = PCI_DEVICE_ID_AMD_VIPER_7411, 67 .device = PCI_DEVICE_ID_AMD_OPUS_7441, 78 .device = PCI_DEVICE_ID_AMD_8111_IDE, 90 .device = PCI_DEVICE_ID_NVIDIA_NFORCE_IDE, 102 .device = PCI_DEVICE_ID_NVIDIA_NFORCE2_IDE, 114 .device = PCI_DEVICE_ID_NVIDIA_NFORCE2S_IDE, 125 .device = PCI_DEVICE_ID_NVIDIA_NFORCE2S_SATA, 136 .device = PCI_DEVICE_ID_NVIDIA_NFORCE3_IDE, [all …]
|
/linux-2.4.37.9/drivers/media/video/ |
D | i2c-old.c | 51 struct i2c_device *device; in i2c_attach_device() local 83 if (NULL == (device = kmalloc(sizeof(struct i2c_device),GFP_KERNEL))) in i2c_attach_device() 85 device->bus = bus; in i2c_attach_device() 86 device->driver = driver; in i2c_attach_device() 87 device->addr = addr; in i2c_attach_device() 91 if (driver->attach(device)!=0) in i2c_attach_device() 93 kfree(device); in i2c_attach_device() 96 driver->devices[i] = device; in i2c_attach_device() 98 bus->devices[j] = device; in i2c_attach_device() 103 …REGPRINT(printk("i2c: device attached: %s (addr=0x%02x, bus=%s, driver=%s)\n",device->name,addr,bu… in i2c_attach_device() [all …]
|
/linux-2.4.37.9/drivers/mtd/maps/ |
D | Config.in | 9 dep_tristate ' CFI Flash device in physical memory map' CONFIG_MTD_PHYSMAP $CONFIG_MTD_GEN_PROBE 21 …dep_tristate ' CFI Flash device mapped on Photron PNC-2000' CONFIG_MTD_PNC2000 $CONFIG_MTD_CFI $C… 22 dep_tristate ' CFI Flash device mapped on AMD SC520 CDP' CONFIG_MTD_SC520CDP $CONFIG_MTD_CFI 23 …dep_tristate ' CFI Flash device mapped on AMD NetSc520' CONFIG_MTD_NETSC520 $CONFIG_MTD_CFI $CON… 24 …dep_tristate ' CFI Flash device mapped on Arcom SBC-GXx boards' CONFIG_MTD_SBC_GXX $CONFIG_MTD_CF… 25 …dep_tristate ' CFI Flash device mapped on Arcom ELAN-104NC' CONFIG_MTD_ELAN_104NC $CONFIG_MTD_CFI… 26 …dep_tristate ' CFI Flash device mapped on DIL/Net PC' CONFIG_MTD_DILNETPC $CONFIG_MTD_CFI_INTELEX… 30 …dep_tristate ' JEDEC Flash device mapped on Mixcom piggyback card' CONFIG_MTD_MIXMEM $CONFIG_MTD_… 31 …dep_tristate ' JEDEC Flash device mapped on Octagon 5066 SBC' CONFIG_MTD_OCTAGON $CONFIG_MTD_JEDEC 32 …dep_tristate ' JEDEC Flash device mapped on Tempustech VMAX SBC301' CONFIG_MTD_VMAX $CONFIG_MTD_J… [all …]
|
/linux-2.4.37.9/arch/mips/pmc-sierra/stretch/ |
D | pci.c | 43 static int pmc_stretch_read_config_dword(struct pci_dev *device, in pmc_stretch_read_config_dword() argument 49 bus = device->bus->number; in pmc_stretch_read_config_dword() 50 dev = PCI_SLOT(device->devfn); in pmc_stretch_read_config_dword() 51 func = PCI_FUNC(device->devfn); in pmc_stretch_read_config_dword() 62 static int pmc_stretch_read_config_word(struct pci_dev *device, in pmc_stretch_read_config_word() argument 68 bus = device->bus->number; in pmc_stretch_read_config_word() 69 dev = PCI_SLOT(device->devfn); in pmc_stretch_read_config_word() 70 func = PCI_FUNC(device->devfn); in pmc_stretch_read_config_word() 81 static int pmc_stretch_read_config_byte(struct pci_dev *device, in pmc_stretch_read_config_byte() argument 87 bus = device->bus->number; in pmc_stretch_read_config_byte() [all …]
|
/linux-2.4.37.9/Documentation/s390/ |
D | cds.txt | 14 This document describes the common device support routines for Linux/390. 16 I/O access method. This gives relief to the device drivers as they don't 20 either every single device driver needs to implement the hardware I/O 23 every single device driver would have to provide itself. 29 In order to build common device support for ESA/390 I/O interfaces, a 33 The common device support layer comprises the I/O support routines defined 34 below. Some of them implement common Linux device driver interfaces, while 38 allow a device driver to determine the devices attached (visible) to the 42 get irq (subchannel) from device number and vice versa. 45 read device characteristics [all …]
|
/linux-2.4.37.9/arch/mips/pmc-sierra/yosemite/ |
D | ht.c | 56 static int titan_ht_config_read_dword(struct pci_dev *device, in titan_ht_config_read_dword() argument 63 bus = device->bus->number; in titan_ht_config_read_dword() 64 dev = PCI_SLOT(device->devfn); in titan_ht_config_read_dword() 65 func = PCI_FUNC(device->devfn); in titan_ht_config_read_dword() 100 static int titan_ht_config_read_word(struct pci_dev *device, in titan_ht_config_read_word() argument 107 bus = device->bus->number; in titan_ht_config_read_word() 108 dev = PCI_SLOT(device->devfn); in titan_ht_config_read_word() 109 func = PCI_FUNC(device->devfn); in titan_ht_config_read_word() 117 titan_ht_config_read_dword(device, offset, val1); in titan_ht_config_read_word() 141 static int titan_ht_config_read_byte(struct pci_dev *device, in titan_ht_config_read_byte() argument [all …]
|