/linux-2.4.37.9/drivers/usb/ |
D | devio.c | 50 struct dev_state *ps; member 80 struct dev_state *ps = (struct dev_state *)file->private_data; in usbdev_read() local 87 down_read(&ps->devsem); in usbdev_read() 88 if (!ps->dev) { in usbdev_read() 100 if (copy_to_user(buf, ((char *)&ps->dev->descriptor) + pos, len)) { in usbdev_read() 112 for (i = 0; nbytes && i < ps->dev->descriptor.bNumConfigurations; i++) { in usbdev_read() 114 (struct usb_config_descriptor *)ps->dev->rawdescriptors[i]; in usbdev_read() 123 ps->dev->rawdescriptors[i] + (pos - last), len)) { in usbdev_read() 139 up_read(&ps->devsem); in usbdev_read() 195 struct dev_state *ps = as->ps; in async_newpending() local [all …]
|
/linux-2.4.37.9/arch/sparc64/lib/ |
D | PeeCeeI.c | 25 u16 *ps = (u16 *)src; in outsw() local 29 u16 val = le16_to_cpup(ps); in outsw() 31 ps++; in outsw() 34 pi = (u32 *)ps; in outsw() 43 ps = (u16 *)pi; in outsw() 45 u16 val = le16_to_cpup(ps); in outsw() 63 u16 *ps = (u16 *)src; in outsl() local 70 l = cpu_to_le16p(ps) << 16; in outsl() 71 ps++; in outsl() 72 pi = (u32 *)ps; in outsl() [all …]
|
/linux-2.4.37.9/include/linux/ |
D | coff.h | 25 #define COFF_SHORT_L(ps) ((short)(((unsigned short)((unsigned char)ps[1])<<8)|\ argument 26 ((unsigned short)((unsigned char)ps[0])))) 29 #define COFF_LONG_L(ps) (((long)(((unsigned long)((unsigned char)ps[3])<<24) |\ argument 30 ((unsigned long)((unsigned char)ps[2])<<16) |\ 31 ((unsigned long)((unsigned char)ps[1])<<8) |\ 32 ((unsigned long)((unsigned char)ps[0]))))) 35 #define COFF_SHORT_H(ps) ((short)(((unsigned short)((unsigned char)ps[0])<<8)|\ argument 36 ((unsigned short)((unsigned char)ps[1])))) 39 #define COFF_LONG_H(ps) (((long)(((unsigned long)((unsigned char)ps[0])<<24) |\ argument 40 ((unsigned long)((unsigned char)ps[1])<<16) |\ [all …]
|
/linux-2.4.37.9/fs/coda/ |
D | sysctl.c | 294 struct coda_vfs_stats * ps = & coda_vfs_stat; in coda_vfs_stats_get_info() local 319 ps->open, in coda_vfs_stats_get_info() 320 ps->flush, in coda_vfs_stats_get_info() 321 ps->release, in coda_vfs_stats_get_info() 322 ps->fsync, in coda_vfs_stats_get_info() 325 ps->readdir, in coda_vfs_stats_get_info() 328 ps->create, in coda_vfs_stats_get_info() 329 ps->lookup, in coda_vfs_stats_get_info() 330 ps->link, in coda_vfs_stats_get_info() 331 ps->unlink, in coda_vfs_stats_get_info() [all …]
|
/linux-2.4.37.9/include/asm-ia64/sn/pci/ |
D | pcibr_private.h | 292 #define IS_XBRIDGE_SOFT(ps) (ps->bs_bridge_type == PCIBR_BRIDGETYPE_XBRIDGE) argument 293 #define IS_PIC_SOFT(ps) (ps->bs_bridge_type == PCIBR_BRIDGETYPE_PIC) argument 294 #define IS_PIC_BUSNUM_SOFT(ps, bus) \ argument 295 (IS_PIC_SOFT(ps) && ((ps)->bs_busnum == (bus))) 296 #define IS_BRIDGE_SOFT(ps) (ps->bs_bridge_type == PCIBR_BRIDGETYPE_BRIDGE) argument 297 #define IS_XBRIDGE_OR_PIC_SOFT(ps) (IS_XBRIDGE_SOFT(ps) || IS_PIC_SOFT(ps)) argument 328 #define IS_PCI(ps) (!IS_PCIX(ps)) argument 329 #define IS_PCIX(ps) ((ps)->bs_bridge_mode & BUSTYPE_MASK) argument 331 #define IS_33MHZ(ps) ((ps)->bs_bridge_mode == PCIBR_BRIDGEMODE_PCI_33) argument 332 #define IS_66MHZ(ps) (((ps)->bs_bridge_mode == PCIBR_BRIDGEMODE_PCI_66) || \ argument [all …]
|
D | bridge.h | 912 #define PCIBR_BRIDGE_DEVIO0(ps) PCIBRIDGE_DEVIO0((ps)->bs_busnum) argument 913 #define PCIBR_BRIDGE_DEVIO1(ps) PCIBRIDGE_DEVIO1((ps)->bs_busnum) argument 914 #define PCIBR_BRIDGE_DEVIO2(ps) PCIBRIDGE_DEVIO2((ps)->bs_busnum) argument 915 #define PCIBR_BRIDGE_DEVIO(ps, s) PCIBRIDGE_DEVIO((ps)->bs_busnum, s) argument 917 #define PCIBR_TYPE1_CFG(ps) PCIBRIDGE_TYPE1_CFG((ps)->bs_busnum) argument 918 #define PCIBR_BUS_TYPE0_CFG_DEV0(ps) PCIBR_TYPE0_CFG_DEV(ps, 0) argument 919 #define PCIBR_TYPE0_CFG_DEV(ps, s) \ argument 920 ((IS_PIC_SOFT(ps)) ? PCIBRIDGE_TYPE0_CFG_DEV((ps)->bs_busnum, s+1) : \ 921 PCIBRIDGE_TYPE0_CFG_DEV((ps)->bs_busnum, s)) 922 #define PCIBR_BUS_TYPE0_CFG_DEVF(ps,s,f) \ argument [all …]
|
/linux-2.4.37.9/include/asm-sparc/ |
D | ide.h | 110 u16 *ps = dst; in ide_insw() local 115 if(((unsigned long)ps) & 0x2) { in ide_insw() 116 *ps++ = *data_port; in ide_insw() 119 pi = (u32 *)ps; in ide_insw() 128 ps = (u16 *)pi; in ide_insw() 130 *ps++ = *data_port; in ide_insw() 141 const u16 *ps = src; in ide_outsw() local 147 *data_port = *ps++; in ide_outsw() 150 pi = (const u32 *)ps; in ide_outsw() 159 ps = (const u16 *)pi; in ide_outsw() [all …]
|
/linux-2.4.37.9/include/asm-sparc64/ |
D | ide.h | 113 u16 *ps = dst; in __ide_insw() local 116 if(((u64)ps) & 0x2) { in __ide_insw() 117 *ps++ = inw_be(port); in __ide_insw() 120 pi = (u32 *)ps; in __ide_insw() 129 ps = (u16 *)pi; in __ide_insw() 131 *ps++ = inw_be(port); in __ide_insw() 152 const u16 *ps = src; in __ide_outsw() local 156 outw_be(*ps++, port); in __ide_outsw() 159 pi = (const u32 *)ps; in __ide_outsw() 168 ps = (const u16 *)pi; in __ide_outsw() [all …]
|
/linux-2.4.37.9/drivers/char/ |
D | selection.c | 119 int i, ps, pe; in set_selection() local 148 ps = ys * video_size_row + (xs << 1); in set_selection() 163 if (ps > pe) /* make sel_start <= sel_end */ in set_selection() 165 int tmp = ps; in set_selection() 166 ps = pe; in set_selection() 178 new_sel_start = ps; in set_selection() 182 spc = isspace(sel_pos(ps)); in set_selection() 183 for (new_sel_start = ps; ; ps -= 2) in set_selection() 185 if ((spc && !isspace(sel_pos(ps))) || in set_selection() 186 (!spc && !inword(sel_pos(ps)))) in set_selection() [all …]
|
/linux-2.4.37.9/arch/ppc64/boot/ |
D | addnote.c | 71 int ph, ps, np; in main() local 103 ps = GET_16BE(E_PHENTSIZE); in main() 105 if (ph < E_HSIZE || ps < PH_HSIZE || np < 1) in main() 107 if (ph + (np + 1) * ps + nnote > n) in main() 116 ph += ps; in main() 120 for (i = 0; i < ps + nnote; ++i) in main() 125 ns = ph + ps; in main()
|
/linux-2.4.37.9/arch/ppc/boot/utils/ |
D | addnote.c | 80 int ph, ps, np; in main() local 112 ps = GET_16BE(E_PHENTSIZE); in main() 114 if (ph < E_HSIZE || ps < PH_HSIZE || np < 1) in main() 116 if (ph + (np + 1) * ps + nnote > n) in main() 125 ph += ps; in main() 129 for (i = 0; i < ps + nnote; ++i) in main() 134 ns = ph + ps; in main()
|
/linux-2.4.37.9/Documentation/cdrom/ |
D | Makefile | 8 `dvips -q -t letter -o $(LATEXFILE).ps $(LATEXFILE).dvi` ;\ 9 `gv -antialias -media letter -nocenter $(LATEXFILE).ps` ;\ 16 rm -f $(LATEXFILE).ps $(LATEXFILE).dvi $(LATEXFILE).aux $(LATEXFILE).log
|
/linux-2.4.37.9/drivers/scsi/ |
D | osst.h | 139 unsigned ps :1; member 145 unsigned ps :1; 182 unsigned ps :1; member 188 unsigned ps :1; 308 unsigned ps :1; member 314 unsigned ps :1; 346 unsigned ps :1; member 352 unsigned ps :1; 568 ST_partstat ps[ST_NBR_PARTITIONS]; member
|
/linux-2.4.37.9/drivers/macintosh/ |
D | via-pmu68k.c | 842 struct pci_save *ps; 850 ps = (struct pci_save *) kmalloc(npci * sizeof(*ps), GFP_KERNEL); 851 pbook_pci_saves = ps; 852 if (ps == NULL) 856 pci_read_config_word(pd, PCI_COMMAND, &ps->command); 857 pci_read_config_word(pd, PCI_CACHE_LINE_SIZE, &ps->cache_lat); 858 pci_read_config_word(pd, PCI_INTERRUPT_LINE, &ps->intr); 859 ++ps; 868 struct pci_save *ps = pbook_pci_saves; 872 for (pd = pci_devices; pd != NULL; pd = pd->next, ++ps) { [all …]
|
D | via-pmu.c | 2024 struct pci_save *ps = pbook_pci_saves; in pbook_pci_save() local 2028 if (ps == NULL) in pbook_pci_save() 2035 pci_read_config_word(pd, PCI_COMMAND, &ps->command); in pbook_pci_save() 2036 pci_read_config_word(pd, PCI_CACHE_LINE_SIZE, &ps->cache_lat); in pbook_pci_save() 2037 pci_read_config_word(pd, PCI_INTERRUPT_LINE, &ps->intr); in pbook_pci_save() 2038 pci_read_config_dword(pd, PCI_ROM_ADDRESS, &ps->rom_address); in pbook_pci_save() 2042 pci_read_config_dword(pd, i<<4, &ps->config[i]); in pbook_pci_save() 2044 ++ps; in pbook_pci_save() 2056 struct pci_save *ps = pbook_pci_saves - 1; in pbook_pci_restore() local 2066 ps++; in pbook_pci_restore() [all …]
|
/linux-2.4.37.9/drivers/net/irda/ |
D | au1k_ir.c | 473 struct net_device_stats *ps = &aup->stats; in update_tx_stats() local 475 ps->tx_packets++; in update_tx_stats() 476 ps->tx_bytes += pkt_len; in update_tx_stats() 479 ps->tx_errors++; in update_tx_stats() 480 ps->tx_aborted_errors++; in update_tx_stats() 609 struct net_device_stats *ps = &aup->stats; in update_rx_stats() local 611 ps->rx_packets++; in update_rx_stats() 614 ps->rx_errors++; in update_rx_stats() 616 ps->rx_missed_errors++; in update_rx_stats() 618 ps->rx_length_errors++; in update_rx_stats() [all …]
|
/linux-2.4.37.9/include/asm-alpha/ |
D | ptrace.h | 45 unsigned long ps; member 70 #define user_mode(regs) (((regs)->ps & 8) != 0)
|
/linux-2.4.37.9/drivers/net/ |
D | au1000_eth.c | 1544 struct net_device_stats *ps = &aup->stats; in update_tx_stats() local 1551 ps->tx_errors++; in update_tx_stats() 1552 ps->tx_aborted_errors++; in update_tx_stats() 1556 ps->tx_errors++; in update_tx_stats() 1557 ps->tx_aborted_errors++; in update_tx_stats() 1559 ps->tx_carrier_errors++; in update_tx_stats() 1600 struct net_device_stats *ps = &aup->stats; in au1000_tx() local 1640 ps->tx_packets++; in au1000_tx() 1641 ps->tx_bytes += ptxd->len; in au1000_tx() 1654 struct net_device_stats *ps = &aup->stats; in update_rx_stats() local [all …]
|
/linux-2.4.37.9/Documentation/DocBook/ |
D | Makefile | 7 PS := $(patsubst %.sgml, %.ps, $(BOOKS)) 19 .PHONY: books ps pdf html clean mrproper 21 ps: $(PS) target 148 parportbook.ps: $(EPS-parportbook) 183 %.ps : %.sgml
|
/linux-2.4.37.9/fs/vfat/ |
D | namei.c | 791 struct msdos_dir_slot *ps; in vfat_fill_slots() local 837 for (ps = ds, slot = *slots; slot > 0; slot--, ps++) { in vfat_fill_slots() 838 ps->id = slot; in vfat_fill_slots() 839 ps->attr = ATTR_EXT; in vfat_fill_slots() 840 ps->reserved = 0; in vfat_fill_slots() 841 ps->alias_checksum = cksum; in vfat_fill_slots() 842 ps->start = 0; in vfat_fill_slots() 844 fatwchar_to16(ps->name0_4, uname + offset, 5); in vfat_fill_slots() 845 fatwchar_to16(ps->name5_10, uname + offset + 5, 6); in vfat_fill_slots() 846 fatwchar_to16(ps->name11_12, uname + offset + 11, 2); in vfat_fill_slots() [all …]
|
/linux-2.4.37.9/drivers/acpi/ |
D | bus.c | 533 struct acpi_device_power_state *ps = &device->power.states[i]; in acpi_bus_get_power_flags() local 538 &ps->resources); in acpi_bus_get_power_flags() 539 if (ps->resources.count) { in acpi_bus_get_power_flags() 541 ps->flags.valid = 1; in acpi_bus_get_power_flags() 548 ps->flags.explicit_set = 1; in acpi_bus_get_power_flags() 549 ps->flags.valid = 1; in acpi_bus_get_power_flags() 553 if (ps->resources.count || ps->flags.explicit_set) in acpi_bus_get_power_flags() 554 ps->flags.valid = 1; in acpi_bus_get_power_flags() 556 ps->power = -1; /* Unknown - driver assigned */ in acpi_bus_get_power_flags() 557 ps->latency = -1; /* Unknown - driver assigned */ in acpi_bus_get_power_flags()
|
/linux-2.4.37.9/arch/alpha/kernel/ |
D | srmcons.c | 194 srmcons_get_private_struct(struct srmcons_private **ps) in srmcons_get_private_struct() argument 205 *ps = srmconsp; in srmcons_get_private_struct() 219 *ps = srmconsp; in srmcons_get_private_struct()
|
D | process.c | 218 regs->ps, regs->pc, smp_processor_id(), print_tainted()); in show_regs() 242 regs->ps = 8; in start_thread() 317 if (!(regs->ps & 8)) in copy_thread() 390 dump->regs[EF_PS] = pt->ps; in dump_thread()
|
/linux-2.4.37.9/drivers/usb/host/ |
D | hc_sl811.c | 1225 portstat_t *ps; in hc_alloc_hci() local 1242 ps = (portstat_t *) kmalloc (sizeof (portstat_t), GFP_KERNEL); in hc_alloc_hci() 1244 if (!ps) in hc_alloc_hci() 1246 ps->portStatus = PORT_STAT_DEFAULT; in hc_alloc_hci() 1247 ps->portChange = PORT_CHANGE_DEFAULT; in hc_alloc_hci() 1248 hp->RHportStatus = ps; in hc_alloc_hci()
|
/linux-2.4.37.9/Documentation/arm/SA1100/ |
D | GraphicsMaster | 26 - ps/2 keyboard 32 and example user space code. ps/2 keybd is multiplexed through this driver
|