Home
last modified time | relevance | path

Searched refs:number (Results 1 – 25 of 797) sorted by relevance

12345678910>>...32

/linux-2.4.37.9/arch/ia64/sn/io/machvec/
Dpci.c59 device_vertex = devfn_to_vertex(dev->bus->number, dev->devfn); in snia64_read_config_byte()
62 __FUNCTION__, dev->bus->number, PCI_SLOT(dev->devfn), PCI_FUNC(dev->devfn)); in snia64_read_config_byte()
83 device_vertex = devfn_to_vertex(dev->bus->number, dev->devfn); in snia64_read_config_word()
86 __FUNCTION__, dev->bus->number, PCI_SLOT(dev->devfn), PCI_FUNC(dev->devfn)); in snia64_read_config_word()
111 device_vertex = devfn_to_vertex(dev->bus->number, dev->devfn); in snia64_read_config_dword()
114 __FUNCTION__, dev->bus->number, PCI_SLOT(dev->devfn), PCI_FUNC(dev->devfn)); in snia64_read_config_dword()
134 device_vertex = devfn_to_vertex(dev->bus->number, dev->devfn); in snia64_write_config_byte()
137 __FUNCTION__, dev->bus->number, PCI_SLOT(dev->devfn), PCI_FUNC(dev->devfn)); in snia64_write_config_byte()
160 device_vertex = devfn_to_vertex(dev->bus->number, dev->devfn); in snia64_write_config_word()
163 __FUNCTION__, dev->bus->number, PCI_SLOT(dev->devfn), PCI_FUNC(dev->devfn)); in snia64_write_config_word()
[all …]
/linux-2.4.37.9/net/atm/
Dresources.c48 static struct atm_dev *__atm_dev_lookup(int number) in __atm_dev_lookup() argument
55 if ((dev->ops) && (dev->number == number)) { in __atm_dev_lookup()
63 struct atm_dev *atm_dev_lookup(int number) in atm_dev_lookup() argument
68 dev = __atm_dev_lookup(number); in atm_dev_lookup()
74 int number, atm_dev_flags_t *flags) in atm_dev_register() argument
86 if (number != -1) { in atm_dev_register()
87 if ((inuse = __atm_dev_lookup(number))) { in atm_dev_register()
93 dev->number = number; in atm_dev_register()
95 dev->number = 0; in atm_dev_register()
96 while ((inuse = __atm_dev_lookup(dev->number))) { in atm_dev_register()
[all …]
Dclip.c266 to_atmarpd(act_need,PRIV(neigh->dev)->number,NEIGH2ENTRY(neigh)->ip); in clip_neigh_solicit()
404 to_atmarpd(act_need,PRIV(dev)->number,entry->ip); in clip_start_xmit()
574 static int clip_create(int number) in clip_create() argument
580 if (number != -1) { in clip_create()
582 if (PRIV(dev)->number == number) return -EEXIST; in clip_create()
585 number = 0; in clip_create()
587 if (PRIV(dev)->number >= number) in clip_create()
588 number = PRIV(dev)->number+1; in clip_create()
595 sprintf(dev->name,"atm%d",number); in clip_create()
598 clip_priv->number = number; in clip_create()
[all …]
/linux-2.4.37.9/drivers/usb/serial/
Dkobil_sct.c195 dbg("%s - port %d", __FUNCTION__, serial->port->number); in kobil_shutdown()
216 dbg("%s - port %d", __FUNCTION__, port->number); in kobil_open()
259 dbg("%s - port %d Allocating port->write_urb", __FUNCTION__, port->number); in kobil_open()
262 dbg("%s - port %d usb_alloc_urb failed", __FUNCTION__, port->number); in kobil_open()
286 dbg("%s - port %d Send get_HW_version URB returns: %i", __FUNCTION__, port->number, result); in kobil_open()
300 dbg("%s - port %d Send get_FW_version URB returns: %i", __FUNCTION__, port->number, result); in kobil_open()
315 dbg("%s - port %d Send set_baudrate URB returns: %i", __FUNCTION__, port->number, result); in kobil_open()
328 dbg("%s - port %d Send reset_all_queues URB returns: %i", __FUNCTION__, port->number, result); in kobil_open()
335 dbg("%s - port %d Send read URB returns: %i", __FUNCTION__, port->number, result); in kobil_open()
345 dbg("%s - port %d", __FUNCTION__, port->number); in kobil_close()
[all …]
Dempeg.c155 dbg("%s - port %d", __FUNCTION__, port->number); in empeg_open()
192 dbg("%s - port %d", __FUNCTION__, port->number); in empeg_close()
218 dbg("%s - port %d", __FUNCTION__, port->number); in empeg_write()
302 dbg("%s - port %d", __FUNCTION__, port->number); in empeg_write_room()
328 dbg("%s - port %d", __FUNCTION__, port->number); in empeg_chars_in_buffer()
355 dbg("%s - port %d", __FUNCTION__, port->number); in empeg_write_bulk_callback()
382 dbg("%s - port %d", __FUNCTION__, port->number); in empeg_read_bulk_callback()
441 dbg("%s - port %d", __FUNCTION__, port->number); in empeg_throttle()
450 dbg("%s - port %d", __FUNCTION__, port->number); in empeg_unthrottle()
485 dbg("%s - port %d, cmd 0x%.4x", __FUNCTION__, port->number, cmd); in empeg_ioctl()
[all …]
/linux-2.4.37.9/arch/mips/momentum/jaguar_atx/
Dpci-irq.c39 if ((current_bus->number == 0) && in mv64340_board_pcibios_fixup_bus()
43 } else if ((current_bus->number == 0) && in mv64340_board_pcibios_fixup_bus()
47 } else if ((current_bus->number == 1) && in mv64340_board_pcibios_fixup_bus()
51 } else if ((current_bus->number == 1) && in mv64340_board_pcibios_fixup_bus()
64 if (((current_bus->number != 0) && (current_bus->number != 1)) in mv64340_board_pcibios_fixup_bus()
/linux-2.4.37.9/arch/mips/momentum/ocelot_g/
Dpci-irq.c39 if ((current_bus->number == 0) && in gt64240_board_pcibios_fixup_bus()
43 } else if ((current_bus->number == 0) && in gt64240_board_pcibios_fixup_bus()
47 } else if ((current_bus->number == 1) && in gt64240_board_pcibios_fixup_bus()
51 } else if ((current_bus->number == 1) && in gt64240_board_pcibios_fixup_bus()
64 if (((current_bus->number != 0) && (current_bus->number != 1)) in gt64240_board_pcibios_fixup_bus()
/linux-2.4.37.9/arch/mips/momentum/ocelot_c/
Dpci-irq.c39 if ((current_bus->number == 0) && in mv64340_board_pcibios_fixup_bus()
44 } else if ((current_bus->number == 0) && in mv64340_board_pcibios_fixup_bus()
49 } else if ((current_bus->number == 1) && in mv64340_board_pcibios_fixup_bus()
53 } else if ((current_bus->number == 1) && in mv64340_board_pcibios_fixup_bus()
66 if (((current_bus->number != 0) && (current_bus->number != 1)) in mv64340_board_pcibios_fixup_bus()
/linux-2.4.37.9/arch/m68k/kernel/
Dbios32.c107 pcibios_read_config_word(bus->number, dev->devfn, PCI_COMMAND, &cmd); in disable_dev()
110 pcibios_write_config_word(bus->number, dev->devfn, PCI_COMMAND, cmd); in disable_dev()
141 pcibios_read_config_word(bus->number, dev->devfn, PCI_COMMAND, &cmd); in layout_dev()
150 pcibios_write_config_dword(bus->number, dev->devfn, reg, in layout_dev()
152 pcibios_read_config_dword(bus->number, dev->devfn, reg, &base); in layout_dev()
187 pcibios_write_config_dword(bus->number, dev->devfn, in layout_dev()
231 pcibios_write_config_dword(bus->number, dev->devfn, in layout_dev()
246 pcibios_write_config_dword(bus->number, dev->devfn, in layout_dev()
275 pcibios_write_config_word(bus->number, dev->devfn, PCI_COMMAND, in layout_dev()
278 pcibios_write_config_byte(bus->number, dev->devfn, PCI_LATENCY_TIMER, in layout_dev()
[all …]
/linux-2.4.37.9/drivers/md/
Dmultipath.c314 mark_disk_faulty(sb->disks+multipath->number); in mark_disk_bad()
315 mark_disk_nonsync(sb->disks+multipath->number); in mark_disk_bad()
316 mark_disk_inactive(sb->disks+multipath->number); in mark_disk_bad()
411 if (tmp->spare || tmp->operational || tmp->number || in print_multipath_conf()
415 tmp->number,tmp->raid_disk,tmp->used_slot, in print_multipath_conf()
471 if (tmp->spare && tmp->number == (*d)->number) { in multipath_diskop()
487 if (tmp->used_slot && (tmp->number == (*d)->number)) { in multipath_diskop()
489 …is identified to be the requested disk (number %d), but is still operational!\n", i, (*d)->number); in multipath_diskop()
547 spare_desc = &sb->disks[sdisk->number]; in multipath_diskop()
548 failed_desc = &sb->disks[fdisk->number]; in multipath_diskop()
[all …]
/linux-2.4.37.9/Documentation/sysctl/
Dfs.txt62 The file dquot-max shows the maximum number of cached disk
65 The file dquot-nr shows the number of allocated disk quota
66 entries and the number of free disk quota entries.
68 If the number of free cached disk quotas is very low and
69 you have some awesome number of simultaneous system users,
79 The value in file-max denotes the maximum number of file-
84 The three values in file-nr denote the number of allocated
85 file handles, the number of used file handles and the maximum
86 number of file handles. When the allocated file handles come
87 close to the maximum, but the number of actually used ones is
[all …]
/linux-2.4.37.9/drivers/sound/
Dnm256_coeff.h4654 nm256_loadCoefficient (struct nm256_info *card, int which, int number) in nm256_loadCoefficient() argument
4667 number += 8; in nm256_loadCoefficient()
4670 nm256_loadOneCoefficient (card, which, addrs[which], number); in nm256_loadCoefficient()
4673 u32 offset = nm256_getStartOffset (number); in nm256_loadCoefficient()
4674 u32 endOffset = offset + CoefficientSizes[number]; in nm256_loadCoefficient()
4678 number, addrs[which], offset, base + offset, in nm256_loadCoefficient()
/linux-2.4.37.9/arch/mips/sgi-ip27/
Dip27-pci.c53 unsigned int bus_id = (unsigned) dev->bus->number; \
98 unsigned int bus_id = (unsigned) dev->bus->number; \
189 if ((dev->bus->number >= MAX_PCI_BUSSES) in pci_map_irq()
193 dev->bus->number, slot, pin); in pci_map_irq()
198 if (irqstore[dev->bus->number][slot]) in pci_map_irq()
199 return irqstore[dev->bus->number][slot]; in pci_map_irq()
201 irq_to_bus[lastirq] = dev->bus->number; in pci_map_irq()
203 irqstore[dev->bus->number][slot] = lastirq; in pci_map_irq()
241 unsigned int bus_id = (unsigned) dev->bus->number; in pci_disable_swapping()
253 unsigned int bus_id = (unsigned) dev->bus->number; in pci_enable_swapping()
[all …]
/linux-2.4.37.9/arch/x86_64/kernel/
Dpci-pc.c54 #define CONFIG_CMD(dev, where) (0x80000000 | (dev->bus->number << 16) | (dev->devfn << 8) | (wher…
124 result = pci_conf1_read(0, dev->bus->number, PCI_SLOT(dev->devfn), in pci_conf1_read_config_byte()
140 result = pci_conf1_read(0, dev->bus->number, PCI_SLOT(dev->devfn), in pci_conf1_read_config_word()
150 return pci_conf1_read(0, dev->bus->number, PCI_SLOT(dev->devfn), in pci_conf1_read_config_dword()
157 return pci_conf1_write(0, dev->bus->number, PCI_SLOT(dev->devfn), in pci_conf1_write_config_byte()
163 return pci_conf1_write(0, dev->bus->number, PCI_SLOT(dev->devfn), in pci_conf1_write_config_word()
169 return pci_conf1_write(0, dev->bus->number, PCI_SLOT(dev->devfn), in pci_conf1_write_config_dword()
192 outb(dev->bus->number, 0xCFA);
272 result = pci_conf2_read(0, dev->bus->number, PCI_SLOT(dev->devfn), in pci_conf2_read_config_byte()
288 result = pci_conf2_read(0, dev->bus->number, PCI_SLOT(dev->devfn), in pci_conf2_read_config_word()
[all …]
/linux-2.4.37.9/arch/ppc/platforms/
Dgemini_pci.c21 reg = grackle_read(pci_config_addr(dev->bus->number, dev->devfn, in gemini_pcibios_read_config_byte()
31 reg = grackle_read(pci_config_addr(dev->bus->number, dev->devfn, in gemini_pcibios_read_config_word()
40 *val = grackle_read(pci_config_addr(dev->bus->number, dev->devfn, in gemini_pcibios_read_config_dword()
50 unsigned int addr = pci_config_addr(dev->bus->number, dev->devfn, in gemini_pcibios_write_config_byte()
64 unsigned int addr = pci_config_addr(dev->bus->number, dev->devfn, in gemini_pcibios_write_config_word()
76 grackle_write(pci_config_addr(dev->bus->number, dev->devfn, in gemini_pcibios_write_config_dword()
/linux-2.4.37.9/arch/ppc64/kernel/
DpacaData.c37 #define PACAINITDATA(number,start,lpq,asrr,asrv) \ argument
39 xLpPacaPtr: &paca[number].xLpPaca, \
40 xLpRegSavePtr: &paca[number].xRegSav, \
41 xPacaIndex: (number), /* Paca Index */ \
66 (&paca[number].exception_stack[0]) - EXC_FRAME_SIZE, \
/linux-2.4.37.9/arch/mips/pmc-sierra/yosemite/
Dpci-irq.c47 if ((current_bus->number == 0) && in titan_pcibios_fixup_bus()
51 } else if ((current_bus->number == 0) && in titan_pcibios_fixup_bus()
55 } else if ((current_bus->number == 1) && in titan_pcibios_fixup_bus()
59 } else if ((current_bus->number == 1) && in titan_pcibios_fixup_bus()
/linux-2.4.37.9/arch/i386/kernel/
Dpci-pc.c122 result = pci_conf1_mq_read(0, dev->bus->number, PCI_SLOT(dev->devfn), in pci_conf1_read_mq_config_byte()
135 result = pci_conf1_mq_read(0, dev->bus->number, PCI_SLOT(dev->devfn), in pci_conf1_read_mq_config_word()
148 return pci_conf1_mq_read(0, dev->bus->number, PCI_SLOT(dev->devfn), in pci_conf1_read_mq_config_dword()
154 return pci_conf1_mq_write(0, dev->bus->number, PCI_SLOT(dev->devfn), in pci_conf1_write_mq_config_byte()
160 return pci_conf1_mq_write(0, dev->bus->number, PCI_SLOT(dev->devfn), in pci_conf1_write_mq_config_word()
166 return pci_conf1_mq_write(0, dev->bus->number, PCI_SLOT(dev->devfn), in pci_conf1_write_mq_config_dword()
247 result = pci_conf1_read(0, dev->bus->number, PCI_SLOT(dev->devfn), in pci_conf1_read_config_byte()
260 result = pci_conf1_read(0, dev->bus->number, PCI_SLOT(dev->devfn), in pci_conf1_read_config_word()
270 return pci_conf1_read(0, dev->bus->number, PCI_SLOT(dev->devfn), in pci_conf1_read_config_dword()
276 return pci_conf1_write(0, dev->bus->number, PCI_SLOT(dev->devfn), in pci_conf1_write_config_byte()
[all …]
/linux-2.4.37.9/arch/s390/boot/
Diplfba.S23 l %r1,0xb8 # load ipl subchannel number
30 l %r3,0(%r12) # get first block number
41 l %r3,0(%r12) # get next block number
55 # %r3: number of first block (unsigned long)
56 # %r4: number of blocks to load (unsigned short)
62 st %r3,4(%r5) # initialize block number
80 c %r1,0(%r4) # compare subchannel number
104 # offset 6 in read CCW: number of bytes (16 bit)
109 # offset 4 in .Llo: block number (unsigned long)
/linux-2.4.37.9/arch/s390x/boot/
Diplfba.S23 l %r1,0xb8 # load ipl subchannel number
30 l %r3,0(%r12) # get first block number
41 l %r3,0(%r12) # get next block number
55 # %r3: number of first block (unsigned long)
56 # %r4: number of blocks to load (unsigned short)
62 st %r3,4(%r5) # initialize block number
80 c %r1,0(%r4) # compare subchannel number
104 # offset 6 in read CCW: number of bytes (16 bit)
109 # offset 4 in .Llo: block number (unsigned long)
/linux-2.4.37.9/Documentation/isdn/
DINTERFACE20 had a unique version number. The last version, distributed separately
22 got a separate version number. These numbers are shown at initialization,
37 the version number. If that number starts with 0, it refers to the old,
40 ***CHANGEIx refers to the revision number of the isdnif.h
46 This field has to be set by the HL-driver to the number of channels
87 int Channel-number locally to the driver. (starting with 0)
138 int channel-number locally to the HL-driver. (starts with 0)
167 int channel-number locally to the HL-driver. (starts with 0)
169 ***CHANGEI1.14: The driver-Id and channel-number are new since this revision.
191 int channel-number locally to the HL-driver. (starts with 0)
[all …]
/linux-2.4.37.9/drivers/hotplug/
Dibmphp_core.c120 slot_count = max (slot_count, slot_cur->number); in get_max_slots()
149 if ((*cur_slot)->number == rtable->slots[loop].slot) { in ibmphp_init_devno()
574 debug ("BEFORE GETTING SLOT STATUS, slot # %x\n", slot_cur->number); in init_ops()
596 ops[ADD][slot_cur->number] = 1; in init_ops()
598 ops[ADD][slot_cur->number] = 0; in init_ops()
600 ops[DETAIL][slot_cur->number] = 1; in init_ops()
604 ops[REMOVE][slot_cur->number] = 1; in init_ops()
606 ops[REMOVE][slot_cur->number] = 0; in init_ops()
632 int number; in validate() local
637 number = slot_cur->number; in validate()
[all …]
/linux-2.4.37.9/fs/devpts/
Dinode.c185 void devpts_pty_new(int number, kdev_t device) in devpts_pty_new() argument
191 if ( sbi->inodes[number] ) in devpts_pty_new()
197 inode->i_ino = number+2; in devpts_pty_new()
205 if ( sbi->inodes[number] ) { in devpts_pty_new()
209 sbi->inodes[number] = inode; in devpts_pty_new()
212 void devpts_pty_kill(int number) in devpts_pty_kill() argument
216 struct inode *inode = sbi->inodes[number]; in devpts_pty_kill()
219 sbi->inodes[number] = NULL; in devpts_pty_kill()
/linux-2.4.37.9/fs/fat/
Dmisc.c390 ) == *number;
401 (*number)++; \
405 const char *name, int *number, loff_t *i_pos, in raw_scan_sector() argument
424 if (number) RSS_START in raw_scan_sector()
456 int *number, loff_t *i_pos, in raw_scan_root() argument
466 name, number, i_pos, res_bh, res_de); in raw_scan_root()
480 int *number, loff_t *i_pos, in raw_scan_nonroot() argument
494 cluster = raw_scan_sector(sb, sector, name, number, in raw_scan_nonroot()
536 int number; in fat_subdirs() local
538 number = 0; in fat_subdirs()
[all …]
/linux-2.4.37.9/fs/devfs/
Dutil.c365 int number; in devfs_alloc_unique_number() local
398 number = find_first_zero_bit (space->bits, space->length << 3); in devfs_alloc_unique_number()
400 __set_bit (number, space->bits); in devfs_alloc_unique_number()
402 return number; in devfs_alloc_unique_number()
415 void devfs_dealloc_unique_number (struct unique_numspace *space, int number) in devfs_dealloc_unique_number() argument
419 if (number < 0) return; in devfs_dealloc_unique_number()
421 was_set = __test_and_clear_bit (number, space->bits); in devfs_dealloc_unique_number()
424 if (!was_set) PRINTK ("(): number %d was already free\n", number); in devfs_dealloc_unique_number()

12345678910>>...32