/asus-wl-520gu-7.0.1.45/src/linux/linux/drivers/scsi/ |
H A D | psi240i.c | 2 * Perceptive Solutions, Inc. PSI-240I device driver proc support for Linux. 75 UCHAR device; // device code member in struct:__anon2525 76 UCHAR byte6; // device select register image 81 USHORT cylinders; // number of cylinders for this device 83 ULONG blocks; // number of blocks on device 89 OUR_DEVICE device[8]; member in struct:__anon2526 110 * Description: Write data to device. 206 * Description: Decode and process device errors. 281 status = inb_p (padapter->ports[PORT_STAT_CMD]); // read the device statu [all...] |
H A D | sr_ioctl.c | 31 are emulating a SCSI device via the idescsi module, they need to have 83 SDev = scsi_CDs[target].device; 84 SRpnt = scsi_allocate_request(scsi_CDs[target].device); 124 scsi_CDs[target].device->changed = 1; 179 /* Wake up a process waiting for device */ 193 sr_cmd[1] = (scsi_CDs[minor].device->scsi_level <= SCSI_2) ? 194 ((scsi_CDs[minor].device->lun) << 5) : 0; 204 sr_cmd[1] = (scsi_CDs[MINOR(cdi->dev)].device->scsi_level <= SCSI_2) ? 205 ((scsi_CDs[MINOR(cdi->dev)].device->lun) << 5) : 0; 214 return scsi_ioctl(scsi_CDs[MINOR(cdi->dev)].device, [all...] |
/asus-wl-520gu-7.0.1.45/src/linux/linux/drivers/media/video/ |
H A D | saa7111.c | 126 static int saa7111_attach(struct i2c_device *device) argument 164 device->data = decoder = kmalloc(sizeof(struct saa7111), GFP_KERNEL); 172 strcpy(device->name, "saa7111"); 173 decoder->bus = device->bus; 174 decoder->addr = device->addr; 186 device->name, i); 189 device->name, saa7111_read(decoder, 0x00) >> 4); 195 static int saa7111_detach(struct i2c_device *device) argument 197 kfree(device->data); 202 static int saa7111_command(struct i2c_device *device, unsigne argument [all...] |
H A D | bt856.c | 101 static int bt856_attach(struct i2c_device *device) argument 106 //if (memcmp(device->bus->name, "buz", 3) == 0 || memcmp(device->bus->name, "zr36057", 6) == 0) 110 device->data = encoder = kmalloc(sizeof(struct bt856), GFP_KERNEL); 119 strcpy(device->name, "bt856"); 120 encoder->bus = device->bus; 121 encoder->addr = device->addr; 153 static int bt856_detach(struct i2c_device *device) argument 155 kfree(device->data); 160 static int bt856_command(struct i2c_device *device, unsigne argument [all...] |
H A D | saa7185.c | 226 static int saa7185_attach(struct i2c_device *device) argument 233 device->data = encoder = kmalloc(sizeof(struct saa7185), GFP_KERNEL); 241 strcpy(device->name, "saa7185"); 242 encoder->bus = device->bus; 243 encoder->addr = device->addr; 253 printk(KERN_ERR "%s_attach: init error %d\n", device->name, 257 device->name, saa7185_read(encoder) >> 5); 264 static int saa7185_detach(struct i2c_device *device) argument 266 struct saa7185 *encoder = device->data; 274 static int saa7185_command(struct i2c_device *device, unsigne argument [all...] |
/asus-wl-520gu-7.0.1.45/src/router/e2fsprogs-1.40.8/misc/ |
H A D | base_device.c | 4 * Return the "base device" given a particular device; this is used to 7 * place. If the base device can not be determined, return NULL. 41 char *base_device(const char *device) argument 47 str = malloc(strlen(device)+1); 50 strcpy(str, device);
|
H A D | fsck.c | 234 if (i->device) 235 free(i->device); 242 static struct fs_info *create_fs_device(const char *device, const char *mntpnt, argument 251 fs->device = string_copy(device); 273 char *dev, *device, *mntpnt, *type, *opts, *freq, *passno, *cp; local 280 device = parse_word(&cp); 281 if (!device || *device == '#') 292 parse_escape(device); 434 execute(const char *type, const char *device, const char *mntpt, int interactive) argument 912 device_already_active(char *device) argument [all...] |
/asus-wl-520gu-7.0.1.45/src/router/iproute2/reference/linux/ |
H A D | i2c-old.h | 13 * A device will be attached to one bus and one chip driver. Every chip 52 * callback the driver (i2c_attach) for every device it finds on a i2c 54 * the, device, it must return a struct i2c_device, and NULL 67 int id; /* device type ID */ 70 int (*attach)(struct i2c_device *device); 71 int (*detach)(struct i2c_device *device); 72 int (*command)(struct i2c_device *device,unsigned int cmd, void *arg); 123 * This holds per-device data for a i2c device
|
H A D | if_wanpipe_common.h | 25 #define netdevice_t struct device
|
/asus-wl-520gu-7.0.1.45/src/linux/linux/include/linux/ |
H A D | i2c-old.h | 13 * A device will be attached to one bus and one chip driver. Every chip 52 * callback the driver (i2c_attach) for every device it finds on a i2c 54 * the, device, it must return a struct i2c_device, and NULL 67 int id; /* device type ID */ 70 int (*attach)(struct i2c_device *device); 71 int (*detach)(struct i2c_device *device); 72 int (*command)(struct i2c_device *device,unsigned int cmd, void *arg); 123 * This holds per-device data for a i2c device
|
H A D | if_wanpipe_common.h | 25 #define netdevice_t struct device
|
/asus-wl-520gu-7.0.1.45/src/linux/linux/drivers/acpi/ospm/button/ |
H A D | bn.c | 124 BM_DEVICE *device = NULL; local 129 ACPI_DEBUG_PRINT ((ACPI_DB_INFO, "Adding button device [%02x].\n", device_handle)); 137 * Get information on this device. 139 status = bm_get_device_info( device_handle, &device ); 152 button->device_handle = device->handle; 153 button->acpi_handle = device->acpi_handle; 160 if (strncmp(device->id.hid, BN_HID_POWER_BUTTON, 163 if (device->id.type == BM_TYPE_FIXED_BUTTON) { 183 else if (strncmp( device->id.hid, BN_HID_SLEEP_BUTTON, 186 if (device [all...] |
/asus-wl-520gu-7.0.1.45/src/linux/linux/drivers/acpi/ospm/include/ |
H A D | ac.h | 78 u32 device,
|
H A D | sm.h | 67 u32 device,
|
/asus-wl-520gu-7.0.1.45/src/linux/linux/drivers/block/ |
H A D | z2ram.c | 3 ** as a block device, to be used as a RAM disk or swap space 164 int device; local 171 device = DEVICE_NR( inode->i_rdev ); 173 if ( current_device != -1 && current_device != device ) 187 if (device >= Z2MINOR_MEMLIST1 && device <= Z2MINOR_MEMLIST4) { 188 int index = device - Z2MINOR_MEMLIST1 + 1; 234 switch ( device ) 308 current_device = device; 310 z2_sizes[ device ] [all...] |
/asus-wl-520gu-7.0.1.45/src/cfe/cfe/dev/ |
H A D | dev_ht7520.c | 114 int port, bus, device, function; local 129 pci_break_tag(tag, &port, &bus, &device, &function); 132 br_tag = pci_make_tag(port, bus, device-2, 0); 134 br_tag = pci_make_tag(port, bus, device, function-1);
|
/asus-wl-520gu-7.0.1.45/src/router/busybox/libbb/ |
H A D | find_pid_by_name.c | 38 /* For Erik's nifty devps device driver */ 45 * by using the /dev/ps device driver. 52 char device[] = "/dev/ps"; local 57 /* open device */ 58 fd = open(device, O_RDONLY); 60 perror_msg_and_die("open failed for `%s'", device); 116 /* close device */ 118 perror_msg_and_die("close failed for `%s'", device);
|
/asus-wl-520gu-7.0.1.45/src/router/busybox/ |
H A D | umount.c | 51 char *device; member in struct:_mtab_entry_t 97 entry->device = strdup(e->mnt_fsname); 111 strcmp(cur->device, match) == 0) { 116 if (strcmp(cur->device, "/dev/root") == 0) { 117 /* Adjusts device to be the real root device, 118 * or leaves device alone if it can't find it */ 119 cur->device = find_real_root_device_name(cur->device); 122 return cur->device; [all...] |
/asus-wl-520gu-7.0.1.45/src/router/ov51x/test/ |
H A D | getjpeg.c | 44 " -d <device> video device (default: /dev/video)\n" 64 char *device = default_dev; local 78 case 'd': /* change default device */ 79 device = optarg; 96 // if ((ifid = open(device, O_RDWR)) < 0) { 97 // printf("Could not open device %s\n", device); 105 if ((ifid = open(device, O_RDWR)) < 0) { 106 printf("Could not open device [all...] |
/asus-wl-520gu-7.0.1.45/src/linux/linux/drivers/sgi/char/ |
H A D | shmiq.c | 7 * streams device and the and qcntl devices as a major device. 15 * STREAMS device. 39 * the /dev/qcntlN device. 41 * Until then, I just allow for 1 qcntl device. 82 int opened; /* if this device has been opened */ 96 int device = 0; local 99 if (!shmiqs [device].mapped) 101 s = shmiqs [device].shmiq_vaddr; 104 if (s->tail != shmiqs [device] 170 shmiq_sioc(int device, int cmd, struct strioctl *s) argument [all...] |
/asus-wl-520gu-7.0.1.45/src/linux/linux/arch/mips/gt64120/momenco_ocelot/ |
H A D | pci.c | 40 (devices->device != 0x1209) ) { 42 "unexpected PCI device in slot 1."); 51 (devices->device != 0x19) ) { 53 "found unexpected PCI device in slot 2."); 67 /* Assign an interrupt number for the device */
|
/asus-wl-520gu-7.0.1.45/src/linux/linux/arch/mips/vr41xx/casio-e55/ |
H A D | ide-e55.c | 63 unsigned long flags, const char *device, 66 return request_irq(irq, handler, flags, device, dev_id); 61 e55_ide_request_irq(unsigned int irq, void (*handler)(int,void *, struct pt_regs *), unsigned long flags, const char *device, void *dev_id) argument
|
/asus-wl-520gu-7.0.1.45/src/linux/linux/arch/mips/vr41xx/ibm-workpad/ |
H A D | ide-workpad.c | 62 unsigned long flags, const char *device, 65 return request_irq(irq, handler, SA_SHIRQ, device, dev_id); 60 workpad_ide_request_irq(unsigned int irq, void (*handler)(int,void *, struct pt_regs *), unsigned long flags, const char *device, void *dev_id) argument
|
/asus-wl-520gu-7.0.1.45/src/linux/linux/arch/mips/vr41xx/nec-eagle/ |
H A D | ide-eagle.c | 60 unsigned long flags, const char *device, 63 return request_irq(irq, handler, SA_SHIRQ, device, dev_id); 58 eagle_ide_request_irq(unsigned int irq, void (*handler)(int,void *, struct pt_regs *), unsigned long flags, const char *device, void *dev_id) argument
|
/asus-wl-520gu-7.0.1.45/src/linux/linux/arch/mips/vr41xx/victor-mpc30x/ |
H A D | ide-mpc30x.c | 55 unsigned long flags, const char *device, 58 return request_irq(irq, handler, flags, device, dev_id); 53 mpc30x_ide_request_irq(unsigned int irq, void (*handler)(int,void *, struct pt_regs *), unsigned long flags, const char *device, void *dev_id) argument
|