/asus-wl-520gu-7.0.1.45/src/linux/linux/include/linux/ |
H A D | devpts_fs.h | 50 devpts_pty_new(int line, kdev_t device) argument 53 return devpts_upcall_new(line,device); 67 devpts_pty_new(int line, kdev_t device) { } argument
|
H A D | netrom.h | 25 char device[16]; member in struct:nr_route_struct
|
/asus-wl-520gu-7.0.1.45/src/linux/linux/arch/mips/momentum/ocelot_c/ |
H A D | pci.c | 71 * Check if the pci device that are trying to access does really exists 76 * dev - number of device on the specific pci bus 83 /* Accessing device 31 crashes the MV-64340. */ 93 * of a device. 101 * dev - device number 111 static int marvell_pcibios_read_config_dword(struct pci_dev *device, argument 118 bus = device->bus->number; 119 dev = PCI_SLOT(device->devfn); 120 func = PCI_FUNC(device->devfn); 148 static int marvell_pcibios_read_config_word(struct pci_dev *device, argument 184 marvell_pcibios_read_config_byte(struct pci_dev *device, int offset, u8* val) argument 220 marvell_pcibios_write_config_dword(struct pci_dev *device, int offset, u32 val) argument 257 marvell_pcibios_write_config_word(struct pci_dev *device, int offset, u16 val) argument 293 marvell_pcibios_write_config_byte(struct pci_dev *device, int offset, u8 val) argument [all...] |
/asus-wl-520gu-7.0.1.45/src/linux/linux/arch/mips/momentum/ocelot_g/ |
H A D | pci.c | 74 * Check if the pci device that are trying to access does really exists 79 * dev - number of device on the specific pci bus 86 /* Accessing device 31 crashes the GT-64240. */ 96 * of a device. 104 * dev - device number 114 static int galileo_pcibios_read_config_dword(struct pci_dev *device, argument 121 bus = device->bus->number; 122 dev = PCI_SLOT(device->devfn); 123 func = PCI_FUNC(device->devfn); 155 static int galileo_pcibios_read_config_word(struct pci_dev *device, argument 195 galileo_pcibios_read_config_byte(struct pci_dev *device, int offset, u8* val) argument 233 galileo_pcibios_write_config_dword(struct pci_dev *device, int offset, u32 val) argument 272 galileo_pcibios_write_config_word(struct pci_dev *device, int offset, u16 val) argument 310 galileo_pcibios_write_config_byte(struct pci_dev *device, int offset, u8 val) argument [all...] |
/asus-wl-520gu-7.0.1.45/src/router/busybox/libbb/ |
H A D | loop.c | 35 #include "loop.h" /* Pull in loop device support */ 37 extern int del_loop(const char *device) argument 41 if ((fd = open(device, O_RDONLY)) < 0) { 42 perror_msg("%s", device); 53 extern int set_loop(const char *device, const char *file, int offset, argument 65 if ((fd = open(device, mode)) < 0) { 67 perror_msg("%s", device);
|
/asus-wl-520gu-7.0.1.45/src/linux/linux/drivers/media/video/ |
H A D | i2c-old.c | 68 struct i2c_device *device; local 73 /* probe for device */ 100 if (NULL == (device = kmalloc(sizeof(struct i2c_device),GFP_KERNEL))) 102 device->bus = bus; 103 device->driver = driver; 104 device->addr = addr; 108 if (driver->attach(device)!=0) 110 kfree(device); 113 driver->devices[i] = device; 115 bus->devices[j] = device; 123 i2c_detach_device(struct i2c_device *device) argument [all...] |
/asus-wl-520gu-7.0.1.45/src/router/e2fsprogs-1.40.8/misc/ |
H A D | ismounted.c | 82 char buf[1024], *device = 0, *mnt_dir = 0, *cp; local 103 device = mnt_dir = 0; 109 device = parse_word(&cp); 110 if (!device || *device == '#') 114 if (device[0] != '/') 117 if (strcmp(file, device) == 0) 119 if (stat(device, &st_buf) == 0) { 136 * Do an extra check to see if this is the root device. We 139 * check if the given device ha [all...] |
/asus-wl-520gu-7.0.1.45/src/linux/linux/drivers/char/ |
H A D | ite_gpio.c | 5 * API for ITE GPIO device. 6 * Driver for ITE GPIO device. 71 int ite_gpio_in(__u32 device, __u32 mask, volatile __u32 *data) argument 75 switch (device) { 96 int ite_gpio_out(__u32 device, __u32 mask, __u32 data) argument 98 switch (device) { 118 int ite_gpio_int_ctrl(__u32 device, __u32 mask, __u32 data) argument 120 switch (device) { 137 int ite_gpio_in_status(__u32 device, __u32 mask, volatile __u32 *data) argument 146 switch (device) { 163 ite_gpio_out_status(__u32 device, __u32 mask, __u32 data) argument 182 ite_gpio_gen_ctrl(__u32 device, __u32 mask, __u32 data) argument 189 ite_gpio_int_wait(__u32 device, __u32 mask, __u32 data) argument [all...] |
/asus-wl-520gu-7.0.1.45/src/linux/linux/drivers/scsi/ |
H A D | sr_vendor.c | 65 char *vendor = scsi_CDs[minor].device->vendor; 66 char *model = scsi_CDs[minor].device->model; 74 if (scsi_CDs[minor].device->type == TYPE_WORM) { 119 cmd[1] = (scsi_CDs[minor].device->scsi_level <= SCSI_2) ? 120 (scsi_CDs[minor].device->lun << 5) : 0; 130 scsi_CDs[minor].device->sector_size = blocklength; 170 cmd[1] = (scsi_CDs[minor].device->scsi_level <= SCSI_2) ? 171 (scsi_CDs[minor].device->lun << 5) : 0; 196 cmd[1] = (scsi_CDs[minor].device->scsi_level <= SCSI_2) ? 197 (scsi_CDs[minor].device [all...] |
H A D | sd.h | 28 Scsi_Device *device; member in struct:scsi_disk 39 * Used by pmac to find the device associated with a target.
|
/asus-wl-520gu-7.0.1.45/src/linux/linux/drivers/s390/net/ |
H A D | ctctty.h | 32 typedef struct device net_device;
|
/asus-wl-520gu-7.0.1.45/src/linux/linux/drivers/sgi/char/ |
H A D | graphics.h | 26 int (*g_ioctl)(int device, int cmd, unsigned long arg);
|
/asus-wl-520gu-7.0.1.45/src/router/iproute2/reference/asm-ppc/ |
H A D | mpc8260.h | 42 const char *device,
|
/asus-wl-520gu-7.0.1.45/src/linux/linux/include/asm-ppc/ |
H A D | mpc8260.h | 42 const char *device,
|
/asus-wl-520gu-7.0.1.45/src/router/iproute2/reference/linux/ |
H A D | netrom.h | 25 char device[16]; member in struct:nr_route_struct
|
/asus-wl-520gu-7.0.1.45/src/router/pppd/pppd/plugins/pptp/ |
H A D | pptp_quirks.h | 18 /* device defs */ 29 int device; /* which device? e.g. Orckit Atur3 */ member in struct:pptp_fixup
|
/asus-wl-520gu-7.0.1.45/src/router/pptp-client/ |
H A D | pptp_quirks.h | 18 /* device defs */ 29 int device; /* which device? e.g. Orckit Atur3 */ member in struct:pptp_fixup
|
/asus-wl-520gu-7.0.1.45/src/router/busybox/ |
H A D | df.c | 38 static int do_df(char *device, const char *mount_point) argument 57 if (strcmp(device, "/dev/root") == 0) { 58 /* Adjusts device to be the real root device, 59 * or leaves device alone if it can't find it */ 60 device = find_real_root_device_name(device); 61 if(device==NULL) 65 printf("%-20s %9s ", device, 76 device, [all...] |
/asus-wl-520gu-7.0.1.45/src/linux/linux/arch/mips/galileo-boards/ev64120/compressed/ |
H A D | pci.c | 27 * pci0ScanDevices - This function scan PCI0 bus, if found any device on 57 unsigned int device; /* device`s Counter. */ local 66 for (device = 6; device < 8; device++) { 67 id = pci0ReadConfigReg(PCI_0DEVICE_AND_VENDOR_ID, device); 75 (PCI_0CLASS_CODE_AND_REVISION_ID, device); 76 pci0ArrayPointer->deviceNum = device; 83 DBG("rr: device foun 338 unsigned int device; /* device`s Counter. */ local [all...] |
/asus-wl-520gu-7.0.1.45/src/linux/linux/drivers/acpi/events/ |
H A D | evxface.c | 167 * PARAMETERS: Device - The device for which notifies will be handled 176 * DESCRIPTION: Install a handler for notifies on an ACPI device 182 acpi_handle device, 205 /* Convert and validate the device handle */ 207 device_node = acpi_ns_map_handle_to_node (device); 219 if (device == ACPI_ROOT_OBJECT) { 269 obj_desc->device.sys_handler) || 271 obj_desc->device.drv_handler)) { 288 status = acpi_ns_attach_object (device, obj_desc, (u8) device_node->type); 308 obj_desc->device 181 acpi_install_notify_handler( acpi_handle device, u32 handler_type, acpi_notify_handler handler, void *context) argument 339 acpi_remove_notify_handler( acpi_handle device, u32 handler_type, acpi_notify_handler handler) argument [all...] |
/asus-wl-520gu-7.0.1.45/src/linux/linux/arch/mips/galileo-boards/ev64120/ |
H A D | pci_bios.c | 83 static unsigned int pci0ReadConfigReg(int offset, struct pci_dev *device); 85 struct pci_dev *device, unsigned int data); 86 static unsigned int pci1ReadConfigReg(int offset, struct pci_dev *device); 88 struct pci_dev *device, unsigned int data); 443 * Check if the pci device that are trying to access does really exists 448 * dev - number of device on the specific pci bus 464 * reading from another device on the PCI. 468 * pciDevNum: The device number needs to be addressed. 479 static unsigned int pci0ReadConfigReg(int offset, struct pci_dev *device) argument 484 DataForRegCf8 = ((PCI_SLOT(device 505 pci1ReadConfigReg(int offset, struct pci_dev *device) argument 556 pci0WriteConfigReg(unsigned int offset, struct pci_dev *device, unsigned int data) argument 573 pci1WriteConfigReg(unsigned int offset, struct pci_dev *device, unsigned int data) argument 621 galileo_pcibios_read_config_dword(struct pci_dev *device, int offset, u32 * val) argument 651 galileo_pcibios_read_config_word(struct pci_dev *device, int offset, u16 * val) argument 676 galileo_pcibios_read_config_byte(struct pci_dev *device, int offset, u8 * val) argument 714 galileo_pcibios_write_config_dword(struct pci_dev *device, int offset, u32 val) argument 736 galileo_pcibios_write_config_word(struct pci_dev *device, int offset, u16 val) argument 766 galileo_pcibios_write_config_byte(struct pci_dev *device, int offset, u8 val) argument 1026 struct pci_dev device; local 1104 struct pci_dev device; local [all...] |
/asus-wl-520gu-7.0.1.45/src/router/e2fsprogs-1.40.8/lib/ext2fs/ |
H A D | finddev.c | 2 * finddev.c -- this routine attempts to find a particular device in 77 static int scan_dir(char *dirname, dev_t device, struct dir_list **list, argument 102 if (S_ISBLK(st.st_mode) && st.st_rdev == device) { 121 * This function finds the pathname to a block device with a given 122 * device number. It returns a pointer to allocated memory to the 125 char *ext2fs_find_block_device(dev_t device) argument 144 scan_dir(current->name, device, &new_list, &ret_path); 169 dev_t device; local 178 device = strtoul(argv[1], &tmp, 0); 180 fprintf(stderr, errmsg, "device numbe [all...] |
/asus-wl-520gu-7.0.1.45/src/cfe/cfe/arch/mips/board/bcm947xx/src/ |
H A D | bcm947xx_pci_machdep.c | 53 1 /* initially one device on bus (i.e. us) */ 62 /* The following functions provide for device-specific setup required 126 * Called to reinitialise the bridge after we've scanned each PCI device 140 pci_make_tag(int port, int bus, int device, int function) argument 142 return (bus << 16) | (device << 11) | (function << 8); 167 int bus, device, function; local 170 pci_break_tag(tag, NULL, &bus, &device, &function); 172 if (sbpci_read_config(sbh, (uint32_t)bus, (uint32_t)device, 184 int bus, device, function; local 186 pci_break_tag(tag, NULL, &bus, &device, 203 int bus, device, function; local 219 int bus, device, function; local [all...] |
/asus-wl-520gu-7.0.1.45/src/linux/linux/drivers/hotplug/ |
H A D | pci_hotplug.h | 170 extern int pci_read_config_byte_nodev (struct pci_ops *ops, u8 bus, u8 device, 172 extern int pci_read_config_word_nodev (struct pci_ops *ops, u8 bus, u8 device, 174 extern int pci_read_config_dword_nodev (struct pci_ops *ops, u8 bus, u8 device, 177 extern int pci_write_config_byte_nodev (struct pci_ops *ops, u8 bus, u8 device, 179 extern int pci_write_config_word_nodev (struct pci_ops *ops, u8 bus, u8 device, 181 extern int pci_write_config_dword_nodev (struct pci_ops *ops, u8 bus, u8 device,
|
/asus-wl-520gu-7.0.1.45/src/linux/linux/drivers/block/ |
H A D | acsi_slm.c | 17 device, not block device. The minor number is the number of the printer (if 19 supported). The device can be opened for reading and writing. If reading it, 192 /* 0x15 */ "invalid device number", 245 static int slm_getstats( char *buffer, int device ); 248 static void start_print( int device ); 259 static int slm_req_sense( int device ); 260 static int slm_mode_sense( int device, char *buffer, int abs_flag ); 261 static int slm_get_pagesize( int device, int *w, int *h ); 295 static int slm_getstats( char *buffer, int device ) 621 int device = MINOR( node->i_rdev ); local 693 { int device = MINOR( inode->i_rdev ), err; local 764 { int device; local 791 { int device; local 832 slm_mode_sense( int device, char *buffer, int abs_flag ) argument 877 slm_get_pagesize( int device, int *w, int *h ) argument [all...] |