tag | line | file | source code |
pc | 460 | arch/alpha/kernel/apecs.c | regs->pc, mchk_header->size, mchk_header->proc_offset, mchk_header->sys_offset)); |
pc | 285 | arch/alpha/kernel/irq.c | printk("PC = %016lx PS=%04lx\n", regs->pc, regs->ps); |
pc | 625 | arch/alpha/kernel/irq.c | printk("PC = %016lx PS=%04lx\n", regs.pc, regs.ps); |
pc | 60 | arch/alpha/kernel/process.c | printk("\nps: %04lx pc: [<%016lx>]\n", regs->ps, regs->pc); |
pc | 195 | arch/alpha/kernel/process.c | dump->regs[EF_PC] = pt->pc; |
pc | 103 | arch/alpha/kernel/ptrace.c | PT_REG( pc) |
pc | 419 | arch/alpha/kernel/ptrace.c | unsigned long pc; |
pc | 421 | arch/alpha/kernel/ptrace.c | pc = get_reg(child, REG_PC); |
pc | 422 | arch/alpha/kernel/ptrace.c | res = read_int(child, pc, &insn); |
pc | 437 | arch/alpha/kernel/ptrace.c | child->debugreg[nsaved++] = pc + 4; |
pc | 439 | arch/alpha/kernel/ptrace.c | child->debugreg[nsaved++] = pc + 4 + displ; |
pc | 446 | arch/alpha/kernel/ptrace.c | child->debugreg[nsaved++] = pc + 4; |
pc | 145 | arch/alpha/kernel/setup.c | unsigned long count, va, pc; |
pc | 186 | arch/alpha/kernel/setup.c | unaligned[0].count, unaligned[0].pc, unaligned[0].va, |
pc | 187 | arch/alpha/kernel/setup.c | unaligned[1].count, unaligned[1].pc, unaligned[1].va); |
pc | 89 | arch/alpha/kernel/signal.c | regs->pc = get_fs_quad(&sc->sc_pc); |
pc | 135 | arch/alpha/kernel/signal.c | unsigned long pc, struct pt_regs * regs, |
pc | 150 | arch/alpha/kernel/signal.c | put_fs_quad(pc, &sc->sc_pc); |
pc | 223 | arch/alpha/kernel/signal.c | unsigned long pc = 0; |
pc | 307 | arch/alpha/kernel/signal.c | regs->pc -= 4; |
pc | 315 | arch/alpha/kernel/signal.c | pc = regs->pc; |
pc | 324 | arch/alpha/kernel/signal.c | setup_frame(sa,&frame,pc,regs,sw,signr,oldmask); |
pc | 325 | arch/alpha/kernel/signal.c | pc = (unsigned long) sa->sa_handler; |
pc | 326 | arch/alpha/kernel/signal.c | regs->r27 = pc; |
pc | 334 | arch/alpha/kernel/signal.c | regs->pc = pc; /* "return" to the first handler */ |
pc | 22 | arch/alpha/kernel/traps.c | unsigned int * pc; |
pc | 28 | arch/alpha/kernel/traps.c | printk("pc = [<%lx>] ps = %04lx\n", regs->pc, regs->ps); |
pc | 42 | arch/alpha/kernel/traps.c | pc = (unsigned int *) regs->pc; |
pc | 44 | arch/alpha/kernel/traps.c | printk("%c%08x%c",i?' ':'<',pc[i],i?' ':'>'); |
pc | 68 | arch/alpha/kernel/traps.c | regs.pc -= 4; /* make pc point to former bpt */ |
pc | 137 | arch/alpha/kernel/traps.c | unsigned long ps, pc, gp, a0, a1, a2; |
pc | 141 | arch/alpha/kernel/traps.c | unsigned long count, va, pc; |
pc | 156 | arch/alpha/kernel/traps.c | regs.pc - 4, va, opcode, reg); |
pc | 162 | arch/alpha/kernel/traps.c | unaligned[0].pc = regs.pc; |
pc | 182 | arch/alpha/kernel/traps.c | regs.pc, va, opcode, reg); |
pc | 223 | arch/alpha/kernel/traps.c | unaligned[1].pc = *pc_addr; |
pc | 81 | arch/alpha/mm/fault.c | printk("memory violation at pc=%08lx (%08lx)\n", regs.pc, address); |
pc | 147 | arch/mips/kernel/signal.c | unsigned long pc, struct pt_regs *regs, |
pc | 245 | arch/mips/kernel/signal.c | unsigned long pc = 0; |
pc | 335 | arch/mips/kernel/signal.c | pc = regs->cp0_epc; |
pc | 344 | arch/mips/kernel/signal.c | setup_frame(sa, &frame, pc, regs, signr, oldmask); |
pc | 345 | arch/mips/kernel/signal.c | pc = (unsigned long) sa->sa_handler; |
pc | 353 | arch/mips/kernel/signal.c | regs->cp0_epc = pc; /* "return" to the first handler */ |
pc | 87 | arch/mips/kernel/traps.c | u32 *sp, *pc, addr, module_start, module_end; |
pc | 94 | arch/mips/kernel/traps.c | pc = (u32 *)regs->cp0_epc; |
pc | 144 | arch/mips/kernel/traps.c | if ((!verify_area(VERIFY_READ, pc, 5 * sizeof(*pc)) || |
pc | 145 | arch/mips/kernel/traps.c | KSEGX(pc) == KSEG0 || |
pc | 146 | arch/mips/kernel/traps.c | KSEGX(pc) == KSEG1) && |
pc | 147 | arch/mips/kernel/traps.c | (((unsigned long) pc & 3) == 0)) |
pc | 150 | arch/mips/kernel/traps.c | printk("%08x ", *pc++); |
pc | 181 | arch/mips/kernel/traps.c | unsigned long pc = regs->cp0_epc; |
pc | 194 | arch/mips/kernel/traps.c | dump_list_process(task[i], pc); |
pc | 211 | arch/sparc/kernel/irq.c | printk("PC = %08lx NPC = %08lx FP=%08lx\n", regs->pc, |
pc | 67 | arch/sparc/kernel/process.c | regs->pc, regs->npc, regs->y); |
pc | 211 | arch/sparc/kernel/process.c | void start_thread(struct pt_regs * regs, unsigned long pc, unsigned long sp) |
pc | 216 | arch/sparc/kernel/process.c | regs->pc = ((pc & (~3)) - 4); /* whee borken a.out header fields... */ |
pc | 217 | arch/sparc/kernel/process.c | regs->npc = regs->pc + 4; |
pc | 42 | arch/sparc/kernel/signal.c | regs->pc += 4; |
pc | 53 | arch/sparc/kernel/signal.c | regs->pc -= 4; |
pc | 106 | arch/sparc/kernel/signal.c | regs->pc = scptr->sigc_pc; |
pc | 175 | arch/sparc/kernel/signal.c | unsigned long pc, struct pt_regs *regs, int signr, |
pc | 192 | arch/sparc/kernel/signal.c | sframep, pc, signr); |
pc | 208 | arch/sparc/kernel/signal.c | sc->sigc_pc = regs->pc; |
pc | 263 | arch/sparc/kernel/signal.c | unsigned long pc = 0; |
pc | 330 | arch/sparc/kernel/signal.c | pc = regs->pc; |
pc | 339 | arch/sparc/kernel/signal.c | setup_frame(sa, &frame, pc, regs, signr, oldmask); |
pc | 340 | arch/sparc/kernel/signal.c | pc = (unsigned long) sa->sa_handler; |
pc | 347 | arch/sparc/kernel/signal.c | regs->npc = (regs->pc = pc) + 4; |
pc | 454 | arch/sparc/kernel/sys_sunos.c | current->tss.sig_address = regs->pc; |
pc | 711 | arch/sparc/kernel/sys_sunos.c | current->tss.sig_address = regs->pc; |
pc | 39 | arch/sparc/kernel/traps.c | regs->pc, regs->npc); |
pc | 53 | arch/sparc/kernel/traps.c | do_hw_interrupt(unsigned long type, unsigned long psr, unsigned long pc) |
pc | 57 | arch/sparc/kernel/traps.c | type, psr, pc); |
pc | 64 | arch/sparc/kernel/traps.c | do_illegal_instruction(struct pt_regs *regs, unsigned long pc, unsigned long npc, |
pc | 68 | arch/sparc/kernel/traps.c | pc, npc, psr); |
pc | 71 | arch/sparc/kernel/traps.c | current->tss.sig_address = pc; |
pc | 78 | arch/sparc/kernel/traps.c | do_priv_instruction(struct pt_regs *regs, unsigned long pc, unsigned long npc, |
pc | 82 | arch/sparc/kernel/traps.c | pc, npc, psr); |
pc | 83 | arch/sparc/kernel/traps.c | current->tss.sig_address = pc; |
pc | 92 | arch/sparc/kernel/traps.c | do_memaccess_unaligned(struct pt_regs *regs, unsigned long pc, unsigned long npc, |
pc | 96 | arch/sparc/kernel/traps.c | pc, npc, psr); |
pc | 99 | arch/sparc/kernel/traps.c | current->tss.sig_address = pc; |
pc | 106 | arch/sparc/kernel/traps.c | do_fpd_trap(struct pt_regs *regs, unsigned long pc, unsigned long npc, |
pc | 215 | arch/sparc/kernel/traps.c | do_fpe_trap(struct pt_regs *regs, unsigned long pc, unsigned long npc, |
pc | 223 | arch/sparc/kernel/traps.c | current->tss.sig_address = pc; |
pc | 230 | arch/sparc/kernel/traps.c | handle_tag_overflow(struct pt_regs *regs, unsigned long pc, unsigned long npc, |
pc | 234 | arch/sparc/kernel/traps.c | pc, npc, psr); |
pc | 237 | arch/sparc/kernel/traps.c | current->tss.sig_address = pc; |
pc | 244 | arch/sparc/kernel/traps.c | handle_watchpoint(struct pt_regs *regs, unsigned long pc, unsigned long npc, |
pc | 248 | arch/sparc/kernel/traps.c | pc, npc, psr); |
pc | 256 | arch/sparc/kernel/traps.c | handle_reg_access(struct pt_regs *regs, unsigned long pc, unsigned long npc, |
pc | 260 | arch/sparc/kernel/traps.c | pc, npc, psr); |
pc | 266 | arch/sparc/kernel/traps.c | handle_cp_disabled(struct pt_regs *regs, unsigned long pc, unsigned long npc, |
pc | 270 | arch/sparc/kernel/traps.c | pc, npc, psr); |
pc | 276 | arch/sparc/kernel/traps.c | handle_bad_flush(struct pt_regs *regs, unsigned long pc, unsigned long npc, |
pc | 280 | arch/sparc/kernel/traps.c | pc, npc, psr); |
pc | 286 | arch/sparc/kernel/traps.c | handle_cp_exception(struct pt_regs *regs, unsigned long pc, unsigned long npc, |
pc | 290 | arch/sparc/kernel/traps.c | pc, npc, psr); |
pc | 296 | arch/sparc/kernel/traps.c | handle_hw_divzero(struct pt_regs *regs, unsigned long pc, unsigned long npc, |
pc | 300 | arch/sparc/kernel/traps.c | pc, npc, psr); |
pc | 140 | arch/sparc/mm/fault.c | address = regs->pc; |
pc | 198 | arch/sparc/mm/fault.c | regs->pc = regs->npc; |
pc | 207 | arch/sparc/mm/fault.c | printk("At PC %08lx nPC %08lx\n", (unsigned long) regs->pc, |
pc | 297 | arch/sparc/mm/fault.c | current->comm, current->pid, regs->pc, regs->u_regs[UREG_FP]); |
pc | 298 | arch/sparc/mm/fault.c | tsp->sig_address = regs->pc; |
pc | 17 | arch/sparc/prom/mp.c | prom_startcpu(int cpunode, struct linux_prom_registers *ctable_reg, int ctx, char *pc) |
pc | 25 | arch/sparc/prom/mp.c | return (*(romvec->v3_cpustart))(cpunode, (int) ctable_reg, ctx, pc); |
pc | 504 | drivers/block/ide-cd.c | struct packet_command *pc; |
pc | 514 | drivers/block/ide-cd.c | pc = &HWIF(drive)->request_sense_pc; |
pc | 515 | drivers/block/ide-cd.c | memset (pc, 0, sizeof (*pc)); |
pc | 524 | drivers/block/ide-cd.c | pc->c[0] = REQUEST_SENSE; |
pc | 525 | drivers/block/ide-cd.c | pc->c[4] = len; |
pc | 526 | drivers/block/ide-cd.c | pc->buffer = (char *)reqbuf; |
pc | 527 | drivers/block/ide-cd.c | pc->buflen = len; |
pc | 528 | drivers/block/ide-cd.c | pc->sense_data = (struct atapi_request_sense *)failed_command; |
pc | 535 | drivers/block/ide-cd.c | rq->buffer = (char *)pc; |
pc | 556 | drivers/block/ide-cd.c | struct packet_command *pc = (struct packet_command *)rq->buffer; |
pc | 558 | drivers/block/ide-cd.c | (struct atapi_request_sense *)(pc->buffer - pc->c[4]), |
pc | 559 | drivers/block/ide-cd.c | (struct packet_command *)pc->sense_data); |
pc | 606 | drivers/block/ide-cd.c | struct packet_command *pc = (struct packet_command *)rq->buffer; |
pc | 607 | drivers/block/ide-cd.c | pc->stat = 1; |
pc | 617 | drivers/block/ide-cd.c | struct packet_command *pc = (struct packet_command *)rq->buffer; |
pc | 630 | drivers/block/ide-cd.c | if (pc->c[0] != SCMD_READ_SUBCHANNEL) |
pc | 661 | drivers/block/ide-cd.c | pc->stat = 1; |
pc | 665 | drivers/block/ide-cd.c | cdrom_queue_request_sense (drive, sem, pc->sense_data, pc); |
pc | 1079 | drivers/block/ide-cd.c | struct packet_command pc; |
pc | 1122 | drivers/block/ide-cd.c | memset (&pc.c, 0, sizeof (pc.c)); |
pc | 1123 | drivers/block/ide-cd.c | pc.c[0] = READ_10; |
pc | 1124 | drivers/block/ide-cd.c | pc.c[7] = (nframes >> 8); |
pc | 1125 | drivers/block/ide-cd.c | pc.c[8] = (nframes & 0xff); |
pc | 1134 | drivers/block/ide-cd.c | pc.c[2] = conv.b.b3; |
pc | 1135 | drivers/block/ide-cd.c | pc.c[3] = conv.b.b2; |
pc | 1136 | drivers/block/ide-cd.c | pc.c[4] = conv.b.b1; |
pc | 1137 | drivers/block/ide-cd.c | pc.c[5] = conv.b.b0; |
pc | 1141 | drivers/block/ide-cd.c | (void) cdrom_transfer_packet_command (drive, pc.c, sizeof (pc.c), |
pc | 1187 | drivers/block/ide-cd.c | struct packet_command *pc = (struct packet_command *)rq->buffer; |
pc | 1202 | drivers/block/ide-cd.c | if (pc->c[0] == REQUEST_SENSE && pc->buflen > 0 && pc->buflen <= 5) { |
pc | 1203 | drivers/block/ide-cd.c | while (pc->buflen > 0) { |
pc | 1204 | drivers/block/ide-cd.c | *pc->buffer++ = 0; |
pc | 1205 | drivers/block/ide-cd.c | --pc->buflen; |
pc | 1209 | drivers/block/ide-cd.c | if (pc->buflen == 0) |
pc | 1214 | drivers/block/ide-cd.c | drive->name, pc->buflen); |
pc | 1215 | drivers/block/ide-cd.c | pc->stat = 1; |
pc | 1222 | drivers/block/ide-cd.c | thislen = pc->buflen; |
pc | 1230 | drivers/block/ide-cd.c | if (pc->buflen > 0) |
pc | 1234 | drivers/block/ide-cd.c | pc->stat = 1; |
pc | 1239 | drivers/block/ide-cd.c | cdrom_out_bytes (drive, pc->buffer, thislen); |
pc | 1251 | drivers/block/ide-cd.c | pc->buffer += thislen; |
pc | 1252 | drivers/block/ide-cd.c | pc->buflen += thislen; |
pc | 1259 | drivers/block/ide-cd.c | if (pc->buflen < 0) |
pc | 1263 | drivers/block/ide-cd.c | pc->stat = 1; |
pc | 1268 | drivers/block/ide-cd.c | cdrom_in_bytes (drive, pc->buffer, thislen); |
pc | 1280 | drivers/block/ide-cd.c | pc->buffer += thislen; |
pc | 1281 | drivers/block/ide-cd.c | pc->buflen -= thislen; |
pc | 1288 | drivers/block/ide-cd.c | pc->stat = 1; |
pc | 1299 | drivers/block/ide-cd.c | struct packet_command *pc = (struct packet_command *)rq->buffer; |
pc | 1302 | drivers/block/ide-cd.c | cdrom_transfer_packet_command (drive, pc->c, sizeof (pc->c), &cdrom_pc_intr); |
pc | 1310 | drivers/block/ide-cd.c | struct packet_command *pc = (struct packet_command *)rq->buffer; |
pc | 1312 | drivers/block/ide-cd.c | len = pc->buflen; |
pc | 1315 | drivers/block/ide-cd.c | pc->stat = 0; |
pc | 1333 | drivers/block/ide-cd.c | int cdrom_queue_packet_command (ide_drive_t *drive, struct packet_command *pc) |
pc | 1341 | drivers/block/ide-cd.c | if (pc->sense_data == NULL) |
pc | 1342 | drivers/block/ide-cd.c | pc->sense_data = &my_reqbuf; |
pc | 1343 | drivers/block/ide-cd.c | pc->sense_data->sense_key = 0; |
pc | 1349 | drivers/block/ide-cd.c | req.buffer = (char *)pc; |
pc | 1352 | drivers/block/ide-cd.c | if (pc->stat != 0) |
pc | 1356 | drivers/block/ide-cd.c | struct atapi_request_sense *reqbuf = pc->sense_data; |
pc | 1377 | drivers/block/ide-cd.c | } while (pc->stat != 0 && retries >= 0); |
pc | 1381 | drivers/block/ide-cd.c | if (pc->stat != 0) |
pc | 1391 | drivers/block/ide-cd.c | (pc->c[0] != REQUEST_SENSE && |
pc | 1392 | drivers/block/ide-cd.c | pc->c[0] != ALLOW_MEDIUM_REMOVAL && |
pc | 1393 | drivers/block/ide-cd.c | pc->c[0] != START_STOP)) |
pc | 1495 | drivers/block/ide-cd.c | struct packet_command pc; |
pc | 1497 | drivers/block/ide-cd.c | memset (&pc, 0, sizeof (pc)); |
pc | 1499 | drivers/block/ide-cd.c | pc.sense_data = reqbuf; |
pc | 1500 | drivers/block/ide-cd.c | pc.c[0] = TEST_UNIT_READY; |
pc | 1502 | drivers/block/ide-cd.c | return cdrom_queue_packet_command (drive, &pc); |
pc | 1513 | drivers/block/ide-cd.c | struct packet_command pc; |
pc | 1523 | drivers/block/ide-cd.c | memset (&pc, 0, sizeof (pc)); |
pc | 1524 | drivers/block/ide-cd.c | pc.sense_data = reqbuf; |
pc | 1526 | drivers/block/ide-cd.c | pc.c[0] = ALLOW_MEDIUM_REMOVAL; |
pc | 1527 | drivers/block/ide-cd.c | pc.c[4] = (lockflag != 0); |
pc | 1528 | drivers/block/ide-cd.c | stat = cdrom_queue_packet_command (drive, &pc); |
pc | 1555 | drivers/block/ide-cd.c | struct packet_command pc; |
pc | 1557 | drivers/block/ide-cd.c | memset (&pc, 0, sizeof (pc)); |
pc | 1558 | drivers/block/ide-cd.c | pc.sense_data = reqbuf; |
pc | 1560 | drivers/block/ide-cd.c | pc.c[0] = START_STOP; |
pc | 1561 | drivers/block/ide-cd.c | pc.c[4] = 2 + (ejectflag != 0); |
pc | 1562 | drivers/block/ide-cd.c | return cdrom_queue_packet_command (drive, &pc); |
pc | 1570 | drivers/block/ide-cd.c | struct packet_command pc; |
pc | 1572 | drivers/block/ide-cd.c | memset (&pc, 0, sizeof (pc)); |
pc | 1573 | drivers/block/ide-cd.c | pc.sense_data = reqbuf; |
pc | 1575 | drivers/block/ide-cd.c | pc.c[0] = SCMD_PAUSE_RESUME; |
pc | 1576 | drivers/block/ide-cd.c | pc.c[8] = !pauseflag; |
pc | 1577 | drivers/block/ide-cd.c | return cdrom_queue_packet_command (drive, &pc); |
pc | 1585 | drivers/block/ide-cd.c | struct packet_command pc; |
pc | 1587 | drivers/block/ide-cd.c | memset (&pc, 0, sizeof (pc)); |
pc | 1588 | drivers/block/ide-cd.c | pc.sense_data = reqbuf; |
pc | 1590 | drivers/block/ide-cd.c | pc.c[0] = START_STOP; |
pc | 1591 | drivers/block/ide-cd.c | pc.c[1] = 1; |
pc | 1592 | drivers/block/ide-cd.c | pc.c[4] = startflag; |
pc | 1593 | drivers/block/ide-cd.c | return cdrom_queue_packet_command (drive, &pc); |
pc | 1607 | drivers/block/ide-cd.c | struct packet_command pc; |
pc | 1609 | drivers/block/ide-cd.c | memset (&pc, 0, sizeof (pc)); |
pc | 1610 | drivers/block/ide-cd.c | pc.sense_data = reqbuf; |
pc | 1612 | drivers/block/ide-cd.c | pc.c[0] = READ_CAPACITY; |
pc | 1613 | drivers/block/ide-cd.c | pc.buffer = (char *)&capbuf; |
pc | 1614 | drivers/block/ide-cd.c | pc.buflen = sizeof (capbuf); |
pc | 1616 | drivers/block/ide-cd.c | stat = cdrom_queue_packet_command (drive, &pc); |
pc | 1632 | drivers/block/ide-cd.c | struct packet_command pc; |
pc | 1634 | drivers/block/ide-cd.c | memset (&pc, 0, sizeof (pc)); |
pc | 1635 | drivers/block/ide-cd.c | pc.sense_data = reqbuf; |
pc | 1637 | drivers/block/ide-cd.c | pc.buffer = buf; |
pc | 1638 | drivers/block/ide-cd.c | pc.buflen = buflen; |
pc | 1639 | drivers/block/ide-cd.c | pc.c[0] = SCMD_READ_TOC; |
pc | 1640 | drivers/block/ide-cd.c | pc.c[6] = trackno; |
pc | 1641 | drivers/block/ide-cd.c | pc.c[7] = (buflen >> 8); |
pc | 1642 | drivers/block/ide-cd.c | pc.c[8] = (buflen & 0xff); |
pc | 1643 | drivers/block/ide-cd.c | pc.c[9] = (format << 6); |
pc | 1644 | drivers/block/ide-cd.c | if (msf_flag) pc.c[1] = 2; |
pc | 1645 | drivers/block/ide-cd.c | return cdrom_queue_packet_command (drive, &pc); |
pc | 1752 | drivers/block/ide-cd.c | struct packet_command pc; |
pc | 1754 | drivers/block/ide-cd.c | memset (&pc, 0, sizeof (pc)); |
pc | 1755 | drivers/block/ide-cd.c | pc.sense_data = reqbuf; |
pc | 1757 | drivers/block/ide-cd.c | pc.buffer = buf; |
pc | 1758 | drivers/block/ide-cd.c | pc.buflen = buflen; |
pc | 1759 | drivers/block/ide-cd.c | pc.c[0] = SCMD_READ_SUBCHANNEL; |
pc | 1760 | drivers/block/ide-cd.c | pc.c[2] = 0x40; /* request subQ data */ |
pc | 1761 | drivers/block/ide-cd.c | pc.c[3] = 0x01; /* Format 1: current position */ |
pc | 1762 | drivers/block/ide-cd.c | pc.c[7] = (buflen >> 8); |
pc | 1763 | drivers/block/ide-cd.c | pc.c[8] = (buflen & 0xff); |
pc | 1764 | drivers/block/ide-cd.c | return cdrom_queue_packet_command (drive, &pc); |
pc | 1774 | drivers/block/ide-cd.c | struct packet_command pc; |
pc | 1776 | drivers/block/ide-cd.c | memset (&pc, 0, sizeof (pc)); |
pc | 1777 | drivers/block/ide-cd.c | pc.sense_data = reqbuf; |
pc | 1779 | drivers/block/ide-cd.c | pc.buffer = buf; |
pc | 1780 | drivers/block/ide-cd.c | pc.buflen = buflen; |
pc | 1781 | drivers/block/ide-cd.c | pc.c[0] = MODE_SENSE_10; |
pc | 1782 | drivers/block/ide-cd.c | pc.c[2] = pageno | (modeflag << 6); |
pc | 1783 | drivers/block/ide-cd.c | pc.c[7] = (buflen >> 8); |
pc | 1784 | drivers/block/ide-cd.c | pc.c[8] = (buflen & 0xff); |
pc | 1785 | drivers/block/ide-cd.c | return cdrom_queue_packet_command (drive, &pc); |
pc | 1793 | drivers/block/ide-cd.c | struct packet_command pc; |
pc | 1795 | drivers/block/ide-cd.c | memset (&pc, 0, sizeof (pc)); |
pc | 1796 | drivers/block/ide-cd.c | pc.sense_data = reqbuf; |
pc | 1798 | drivers/block/ide-cd.c | pc.buffer = buf; |
pc | 1799 | drivers/block/ide-cd.c | pc.buflen = - buflen; |
pc | 1800 | drivers/block/ide-cd.c | pc.c[0] = MODE_SELECT_10; |
pc | 1801 | drivers/block/ide-cd.c | pc.c[1] = 0x10; |
pc | 1802 | drivers/block/ide-cd.c | pc.c[2] = pageno; |
pc | 1803 | drivers/block/ide-cd.c | pc.c[7] = (buflen >> 8); |
pc | 1804 | drivers/block/ide-cd.c | pc.c[8] = (buflen & 0xff); |
pc | 1805 | drivers/block/ide-cd.c | return cdrom_queue_packet_command (drive, &pc); |
pc | 1813 | drivers/block/ide-cd.c | struct packet_command pc; |
pc | 1815 | drivers/block/ide-cd.c | memset (&pc, 0, sizeof (pc)); |
pc | 1816 | drivers/block/ide-cd.c | pc.sense_data = reqbuf; |
pc | 1818 | drivers/block/ide-cd.c | pc.c[0] = SCMD_PLAYAUDIO12; |
pc | 1819 | drivers/block/ide-cd.c | *(int *)(&pc.c[2]) = lba_start; |
pc | 1820 | drivers/block/ide-cd.c | *(int *)(&pc.c[6]) = lba_end - lba_start; |
pc | 1821 | drivers/block/ide-cd.c | byte_swap_long ((int *)(&pc.c[2])); |
pc | 1822 | drivers/block/ide-cd.c | byte_swap_long ((int *)(&pc.c[6])); |
pc | 1824 | drivers/block/ide-cd.c | return cdrom_queue_packet_command (drive, &pc); |
pc | 1832 | drivers/block/ide-cd.c | struct packet_command pc; |
pc | 1834 | drivers/block/ide-cd.c | memset (&pc, 0, sizeof (pc)); |
pc | 1835 | drivers/block/ide-cd.c | pc.sense_data = reqbuf; |
pc | 1837 | drivers/block/ide-cd.c | pc.c[0] = SCMD_PLAYAUDIO_MSF; |
pc | 1838 | drivers/block/ide-cd.c | lba_to_msf (lba_start, &pc.c[3], &pc.c[4], &pc.c[5]); |
pc | 1839 | drivers/block/ide-cd.c | lba_to_msf (lba_end-1, &pc.c[6], &pc.c[7], &pc.c[8]); |
pc | 1843 | drivers/block/ide-cd.c | pc.c[3] = bin2bcd (pc.c[3]); |
pc | 1844 | drivers/block/ide-cd.c | pc.c[4] = bin2bcd (pc.c[4]); |
pc | 1845 | drivers/block/ide-cd.c | pc.c[5] = bin2bcd (pc.c[5]); |
pc | 1846 | drivers/block/ide-cd.c | pc.c[6] = bin2bcd (pc.c[6]); |
pc | 1847 | drivers/block/ide-cd.c | pc.c[7] = bin2bcd (pc.c[7]); |
pc | 1848 | drivers/block/ide-cd.c | pc.c[8] = bin2bcd (pc.c[8]); |
pc | 1851 | drivers/block/ide-cd.c | return cdrom_queue_packet_command (drive, &pc); |
pc | 1936 | drivers/block/ide-cd.c | struct packet_command pc; |
pc | 1943 | drivers/block/ide-cd.c | memset (&pc, 0, sizeof (pc)); |
pc | 1944 | drivers/block/ide-cd.c | pc.sense_data = reqbuf; |
pc | 1946 | drivers/block/ide-cd.c | pc.buffer = buf; |
pc | 1947 | drivers/block/ide-cd.c | pc.buflen = buflen; |
pc | 1950 | drivers/block/ide-cd.c | pc.c[0] = 0xd4; |
pc | 1952 | drivers/block/ide-cd.c | pc.c[0] = READ_CD; |
pc | 1954 | drivers/block/ide-cd.c | pc.c[1] = (format << 2); |
pc | 1955 | drivers/block/ide-cd.c | *(int *)(&pc.c[2]) = lba; |
pc | 1956 | drivers/block/ide-cd.c | byte_swap_long ((int *)(&pc.c[2])); |
pc | 1957 | drivers/block/ide-cd.c | pc.c[8] = 1; /* one block */ |
pc | 1958 | drivers/block/ide-cd.c | pc.c[9] = 0x10; |
pc | 1960 | drivers/block/ide-cd.c | stat = cdrom_queue_packet_command (drive, &pc); |
pc | 2371 | drivers/block/ide-cd.c | struct packet_command pc; |
pc | 2374 | drivers/block/ide-cd.c | memset (&pc, 0, sizeof (pc)); |
pc | 2376 | drivers/block/ide-cd.c | stat = verify_area (VERIFY_READ, (void *) arg, sizeof (pc.c)); |
pc | 2378 | drivers/block/ide-cd.c | memcpy_fromfs (&pc.c, (void *) arg, sizeof (pc.c)); |
pc | 2379 | drivers/block/ide-cd.c | arg += sizeof (pc.c); |
pc | 2397 | drivers/block/ide-cd.c | pc.buflen = len; |
pc | 2398 | drivers/block/ide-cd.c | pc.buffer = buf; |
pc | 2401 | drivers/block/ide-cd.c | stat = cdrom_queue_packet_command (drive, &pc); |
pc | 717 | drivers/block/ide-tape.c | void idetape_issue_packet_command (ide_drive_t *drive,idetape_packet_command_t *pc,ide_handler_t *handler); |
pc | 735 | drivers/block/ide-tape.c | void idetape_zero_packet_command (idetape_packet_command_t *pc); |
pc | 736 | drivers/block/ide-tape.c | void idetape_queue_pc_head (ide_drive_t *drive,idetape_packet_command_t *pc,struct request *rq); |
pc | 747 | drivers/block/ide-tape.c | void idetape_create_inquiry_cmd (idetape_packet_command_t *pc); |
pc | 749 | drivers/block/ide-tape.c | void idetape_create_locate_cmd (idetape_packet_command_t *pc,unsigned long block,byte partition); |
pc | 750 | drivers/block/ide-tape.c | void idetape_create_rewind_cmd (idetape_packet_command_t *pc); |
pc | 751 | drivers/block/ide-tape.c | void idetape_create_write_filemark_cmd (idetape_packet_command_t *pc,int write_filemark); |
pc | 752 | drivers/block/ide-tape.c | void idetape_create_space_cmd (idetape_packet_command_t *pc,long count,byte cmd); |
pc | 753 | drivers/block/ide-tape.c | void idetape_create_erase_cmd (idetape_packet_command_t *pc); |
pc | 754 | drivers/block/ide-tape.c | void idetape_create_test_unit_ready_cmd (idetape_packet_command_t *pc); |
pc | 755 | drivers/block/ide-tape.c | void idetape_create_read_position_cmd (idetape_packet_command_t *pc); |
pc | 757 | drivers/block/ide-tape.c | void idetape_create_read_cmd (idetape_packet_command_t *pc,unsigned long length); |
pc | 759 | drivers/block/ide-tape.c | void idetape_create_write_cmd (idetape_packet_command_t *pc,unsigned long length); |
pc | 761 | drivers/block/ide-tape.c | void idetape_create_request_sense_cmd (idetape_packet_command_t *pc); |
pc | 762 | drivers/block/ide-tape.c | void idetape_create_mode_sense_cmd (idetape_packet_command_t *pc,byte page_code); |
pc | 813 | drivers/block/ide-tape.c | int idetape_queue_pc_tail (ide_drive_t *drive,idetape_packet_command_t *pc); |
pc | 1173 | drivers/block/ide-tape.c | idetape_packet_command_t pc; |
pc | 1175 | drivers/block/ide-tape.c | idetape_create_mode_sense_cmd (&pc,IDETAPE_CAPABILITIES_PAGE); |
pc | 1176 | drivers/block/ide-tape.c | pc.buffer=pc.temp_buffer; |
pc | 1177 | drivers/block/ide-tape.c | pc.buffer_size=IDETAPE_TEMP_BUFFER_SIZE; |
pc | 1178 | drivers/block/ide-tape.c | pc.current_position=pc.temp_buffer; |
pc | 1179 | drivers/block/ide-tape.c | retval=idetape_queue_pc_tail (drive,&pc); |
pc | 1181 | drivers/block/ide-tape.c | header=(idetape_mode_parameter_header_t *) pc.buffer; |
pc | 1182 | drivers/block/ide-tape.c | capabilities=(idetape_capabilities_page_t *) (pc.buffer+sizeof (idetape_mode_parameter_header_t)); |
pc | 1274 | drivers/block/ide-tape.c | void idetape_issue_packet_command (ide_drive_t *drive,idetape_packet_command_t *pc,ide_handler_t *handler) |
pc | 1284 | drivers/block/ide-tape.c | if (tape->pc->c[0] == IDETAPE_REQUEST_SENSE_CMD && pc->c[0] == IDETAPE_REQUEST_SENSE_CMD) { |
pc | 1290 | drivers/block/ide-tape.c | if (tape->failed_pc == NULL && pc->c[0] != IDETAPE_REQUEST_SENSE_CMD) |
pc | 1291 | drivers/block/ide-tape.c | tape->failed_pc=pc; |
pc | 1292 | drivers/block/ide-tape.c | tape->pc=pc; /* Set the current packet command */ |
pc | 1294 | drivers/block/ide-tape.c | if (pc->retries > IDETAPE_MAX_PC_RETRIES) { |
pc | 1296 | drivers/block/ide-tape.c | printk ("pc = %x, key = %x, asc = %x, ascq = %x\n",pc->c[0],tape->sense_key,tape->asc,tape->ascq); |
pc | 1298 | drivers/block/ide-tape.c | pc->error=1; /* Giving up */ |
pc | 1299 | drivers/block/ide-tape.c | pc->active=0; |
pc | 1302 | drivers/block/ide-tape.c | if (pc->callback==NULL) |
pc | 1306 | drivers/block/ide-tape.c | (*pc->callback)(drive); |
pc | 1311 | drivers/block/ide-tape.c | printk ("Retry number - %d\n",pc->retries); |
pc | 1314 | drivers/block/ide-tape.c | pc->retries++; |
pc | 1321 | drivers/block/ide-tape.c | pc->actually_transferred=0; /* We haven't transferred any data yet */ |
pc | 1322 | drivers/block/ide-tape.c | pc->active=1; /* Packet command started */ |
pc | 1323 | drivers/block/ide-tape.c | bcount.all=pc->request_transfer; /* Request to transfer the entire buffer at once */ |
pc | 1353 | drivers/block/ide-tape.c | ide_output_data (drive,pc->c,12/4); /* Send the actual packet */ |
pc | 1373 | drivers/block/ide-tape.c | idetape_packet_command_t *pc; |
pc | 1385 | drivers/block/ide-tape.c | pc=tape->pc; /* Current packet command */ |
pc | 1390 | drivers/block/ide-tape.c | printk ("Total bytes transferred: %lu\n",pc->actually_transferred); |
pc | 1403 | drivers/block/ide-tape.c | pc->error=0; |
pc | 1404 | drivers/block/ide-tape.c | if (pc->wait_for_dsc && !status.b.dsc) { /* Media access command */ |
pc | 1409 | drivers/block/ide-tape.c | pc->active=0; |
pc | 1410 | drivers/block/ide-tape.c | if (tape->failed_pc == pc) |
pc | 1413 | drivers/block/ide-tape.c | if (pc->callback==NULL) |
pc | 1417 | drivers/block/ide-tape.c | (*pc->callback)(drive); /* Command finished - Call the callback function */ |
pc | 1429 | drivers/block/ide-tape.c | if (ireason.b.io != !(pc->writing)) { /* Hopefully, we will never get here */ |
pc | 1430 | drivers/block/ide-tape.c | printk ("ide-tape: We wanted to %s, ",pc->writing ? "Write":"Read"); |
pc | 1435 | drivers/block/ide-tape.c | if (!pc->writing) { /* Reading - Check that we have enough space */ |
pc | 1436 | drivers/block/ide-tape.c | temp=(unsigned long) pc->actually_transferred + bcount.all; |
pc | 1437 | drivers/block/ide-tape.c | if ( temp > pc->request_transfer) { |
pc | 1439 | drivers/block/ide-tape.c | if (temp > pc->buffer_size) { |
pc | 1450 | drivers/block/ide-tape.c | if (bcount.all && !pc->buffer) { |
pc | 1453 | drivers/block/ide-tape.c | if (!pc->writing) { |
pc | 1463 | drivers/block/ide-tape.c | if (pc->writing) |
pc | 1464 | drivers/block/ide-tape.c | idetape_output_data (drive,pc->current_position,bcount.all); /* Write the current buffer */ |
pc | 1466 | drivers/block/ide-tape.c | idetape_input_data (drive,pc->current_position,bcount.all); /* Read the current buffer */ |
pc | 1468 | drivers/block/ide-tape.c | printk ("ide-tape: %s %d bytes\n",pc->writing ? "Wrote":"Received",bcount.all); |
pc | 1470 | drivers/block/ide-tape.c | pc->actually_transferred+=bcount.all; /* Update the current position */ |
pc | 1471 | drivers/block/ide-tape.c | pc->current_position+=bcount.all; |
pc | 1719 | drivers/block/ide-tape.c | idetape_packet_command_t *pc; |
pc | 1721 | drivers/block/ide-tape.c | pc=tape->pc; |
pc | 1729 | drivers/block/ide-tape.c | pc->active=0; |
pc | 1735 | drivers/block/ide-tape.c | pc->error=0; |
pc | 1736 | drivers/block/ide-tape.c | if (tape->failed_pc == pc) |
pc | 1739 | drivers/block/ide-tape.c | if (pc->callback==NULL) |
pc | 1743 | drivers/block/ide-tape.c | (*pc->callback)(drive); |
pc | 1748 | drivers/block/ide-tape.c | pc->active=0; |
pc | 1751 | drivers/block/ide-tape.c | pc->error=1; |
pc | 1754 | drivers/block/ide-tape.c | if (pc->callback==NULL) |
pc | 1758 | drivers/block/ide-tape.c | (*pc->callback)(drive); |
pc | 1773 | drivers/block/ide-tape.c | idetape_packet_command_t *pc; |
pc | 1778 | drivers/block/ide-tape.c | pc=idetape_next_pc_storage (drive); |
pc | 1780 | drivers/block/ide-tape.c | idetape_create_request_sense_cmd (pc); |
pc | 1781 | drivers/block/ide-tape.c | pc->buffer=pc->temp_buffer; |
pc | 1782 | drivers/block/ide-tape.c | pc->buffer_size=IDETAPE_TEMP_BUFFER_SIZE; |
pc | 1783 | drivers/block/ide-tape.c | pc->current_position=pc->temp_buffer; |
pc | 1784 | drivers/block/ide-tape.c | idetape_queue_pc_head (drive,pc,new_rq); |
pc | 1803 | drivers/block/ide-tape.c | if (!tape->pc->error) { |
pc | 1828 | drivers/block/ide-tape.c | tape->block_address+=tape->pc->actually_transferred/tape->tape_block_size; |
pc | 1829 | drivers/block/ide-tape.c | if (!tape->pc->error) { |
pc | 1856 | drivers/block/ide-tape.c | tape->block_address+=tape->pc->actually_transferred/tape->tape_block_size; |
pc | 1857 | drivers/block/ide-tape.c | if (!tape->pc->error) { |
pc | 1880 | drivers/block/ide-tape.c | idetape_display_inquiry_result (tape->pc->buffer); |
pc | 1948 | drivers/block/ide-tape.c | void idetape_create_inquiry_cmd (idetape_packet_command_t *pc) |
pc | 1954 | drivers/block/ide-tape.c | pc->request_transfer=36; |
pc | 1955 | drivers/block/ide-tape.c | pc->callback=&idetape_inquiry_callback; |
pc | 1956 | drivers/block/ide-tape.c | pc->writing=0; |
pc | 1958 | drivers/block/ide-tape.c | idetape_zero_packet_command (pc); |
pc | 1959 | drivers/block/ide-tape.c | pc->c[0]=IDETAPE_INQUIRY_CMD; |
pc | 1960 | drivers/block/ide-tape.c | pc->c[4]=255; |
pc | 2048 | drivers/block/ide-tape.c | void idetape_create_request_sense_cmd (idetape_packet_command_t *pc) |
pc | 2054 | drivers/block/ide-tape.c | pc->request_transfer=18; |
pc | 2055 | drivers/block/ide-tape.c | pc->callback=&idetape_request_sense_callback; |
pc | 2056 | drivers/block/ide-tape.c | pc->writing=0; |
pc | 2058 | drivers/block/ide-tape.c | idetape_zero_packet_command (pc); |
pc | 2059 | drivers/block/ide-tape.c | pc->c[0]=IDETAPE_REQUEST_SENSE_CMD; |
pc | 2060 | drivers/block/ide-tape.c | pc->c[4]=255; |
pc | 2075 | drivers/block/ide-tape.c | if (!tape->pc->error) { |
pc | 2079 | drivers/block/ide-tape.c | idetape_analyze_error (drive,(idetape_request_sense_result_t *) tape->pc->buffer); |
pc | 2114 | drivers/block/ide-tape.c | void idetape_create_test_unit_ready_cmd (idetape_packet_command_t *pc) |
pc | 2120 | drivers/block/ide-tape.c | pc->request_transfer=0; |
pc | 2121 | drivers/block/ide-tape.c | pc->buffer=NULL; |
pc | 2122 | drivers/block/ide-tape.c | pc->current_position=NULL; |
pc | 2123 | drivers/block/ide-tape.c | pc->callback=&idetape_pc_callback; |
pc | 2124 | drivers/block/ide-tape.c | pc->writing=0; |
pc | 2126 | drivers/block/ide-tape.c | idetape_zero_packet_command (pc); |
pc | 2127 | drivers/block/ide-tape.c | pc->c[0]=IDETAPE_TEST_UNIT_READY_CMD; |
pc | 2130 | drivers/block/ide-tape.c | void idetape_create_locate_cmd (idetape_packet_command_t *pc,unsigned long block,byte partition) |
pc | 2138 | drivers/block/ide-tape.c | pc->request_transfer=0; |
pc | 2139 | drivers/block/ide-tape.c | pc->buffer=NULL; |
pc | 2140 | drivers/block/ide-tape.c | pc->current_position=NULL; |
pc | 2141 | drivers/block/ide-tape.c | pc->buffer_size=0; |
pc | 2142 | drivers/block/ide-tape.c | pc->wait_for_dsc=1; |
pc | 2143 | drivers/block/ide-tape.c | pc->callback=&idetape_pc_callback; |
pc | 2144 | drivers/block/ide-tape.c | pc->writing=0; |
pc | 2146 | drivers/block/ide-tape.c | idetape_zero_packet_command (pc); |
pc | 2147 | drivers/block/ide-tape.c | pc->c [0]=IDETAPE_LOCATE_CMD; |
pc | 2148 | drivers/block/ide-tape.c | pc->c [1]=2; |
pc | 2149 | drivers/block/ide-tape.c | ptr=(unsigned long *) &(pc->c[3]); |
pc | 2151 | drivers/block/ide-tape.c | pc->c[8]=partition; |
pc | 2154 | drivers/block/ide-tape.c | void idetape_create_rewind_cmd (idetape_packet_command_t *pc) |
pc | 2160 | drivers/block/ide-tape.c | pc->request_transfer=0; |
pc | 2161 | drivers/block/ide-tape.c | pc->buffer=NULL; |
pc | 2162 | drivers/block/ide-tape.c | pc->current_position=NULL; |
pc | 2163 | drivers/block/ide-tape.c | pc->buffer_size=0; |
pc | 2164 | drivers/block/ide-tape.c | pc->wait_for_dsc=1; |
pc | 2165 | drivers/block/ide-tape.c | pc->callback=&idetape_pc_callback; |
pc | 2166 | drivers/block/ide-tape.c | pc->writing=0; |
pc | 2168 | drivers/block/ide-tape.c | idetape_zero_packet_command (pc); |
pc | 2169 | drivers/block/ide-tape.c | pc->c [0]=IDETAPE_REWIND_CMD; |
pc | 2176 | drivers/block/ide-tape.c | void idetape_create_mode_sense_cmd (idetape_packet_command_t *pc,byte page_code) |
pc | 2183 | drivers/block/ide-tape.c | pc->wait_for_dsc=0; |
pc | 2184 | drivers/block/ide-tape.c | pc->callback=&idetape_pc_callback; |
pc | 2185 | drivers/block/ide-tape.c | pc->writing=0; |
pc | 2189 | drivers/block/ide-tape.c | pc->request_transfer=24; |
pc | 2192 | drivers/block/ide-tape.c | idetape_zero_packet_command (pc); |
pc | 2193 | drivers/block/ide-tape.c | pc->c [0]=IDETAPE_MODE_SENSE_CMD; |
pc | 2194 | drivers/block/ide-tape.c | pc->c [1]=8; /* DBD = 1 - Don't return block descriptors for now */ |
pc | 2195 | drivers/block/ide-tape.c | pc->c [2]=page_code; |
pc | 2196 | drivers/block/ide-tape.c | pc->c [3]=255; /* Don't limit the returned information */ |
pc | 2197 | drivers/block/ide-tape.c | pc->c [4]=255; /* (We will just discard data in that case) */ |
pc | 2209 | drivers/block/ide-tape.c | void idetape_create_write_filemark_cmd (idetape_packet_command_t *pc,int write_filemark) |
pc | 2217 | drivers/block/ide-tape.c | pc->request_transfer=0; |
pc | 2218 | drivers/block/ide-tape.c | pc->buffer=NULL; |
pc | 2219 | drivers/block/ide-tape.c | pc->current_position=NULL; |
pc | 2220 | drivers/block/ide-tape.c | pc->buffer_size=0; |
pc | 2221 | drivers/block/ide-tape.c | pc->wait_for_dsc=1; |
pc | 2222 | drivers/block/ide-tape.c | pc->callback=&idetape_pc_callback; |
pc | 2223 | drivers/block/ide-tape.c | pc->writing=0; |
pc | 2225 | drivers/block/ide-tape.c | idetape_zero_packet_command (pc); |
pc | 2226 | drivers/block/ide-tape.c | pc->c [0]=IDETAPE_WRITE_FILEMARK_CMD; |
pc | 2228 | drivers/block/ide-tape.c | pc->c [4]=1; |
pc | 2231 | drivers/block/ide-tape.c | void idetape_create_erase_cmd (idetape_packet_command_t *pc) |
pc | 2239 | drivers/block/ide-tape.c | pc->request_transfer=0; |
pc | 2240 | drivers/block/ide-tape.c | pc->buffer=NULL; |
pc | 2241 | drivers/block/ide-tape.c | pc->current_position=NULL; |
pc | 2242 | drivers/block/ide-tape.c | pc->buffer_size=0; |
pc | 2243 | drivers/block/ide-tape.c | pc->wait_for_dsc=1; |
pc | 2244 | drivers/block/ide-tape.c | pc->callback=&idetape_pc_callback; |
pc | 2245 | drivers/block/ide-tape.c | pc->writing=0; |
pc | 2247 | drivers/block/ide-tape.c | idetape_zero_packet_command (pc); |
pc | 2248 | drivers/block/ide-tape.c | pc->c [0]=IDETAPE_ERASE_CMD; |
pc | 2249 | drivers/block/ide-tape.c | pc->c [1]=1; |
pc | 2252 | drivers/block/ide-tape.c | void idetape_create_read_cmd (idetape_packet_command_t *pc,unsigned long length) |
pc | 2271 | drivers/block/ide-tape.c | pc->wait_for_dsc=0; |
pc | 2272 | drivers/block/ide-tape.c | pc->callback=&idetape_read_callback; |
pc | 2273 | drivers/block/ide-tape.c | pc->writing=0; |
pc | 2275 | drivers/block/ide-tape.c | idetape_zero_packet_command (pc); |
pc | 2276 | drivers/block/ide-tape.c | pc->c [0]=IDETAPE_READ_CMD; |
pc | 2277 | drivers/block/ide-tape.c | pc->c [1]=1; |
pc | 2278 | drivers/block/ide-tape.c | pc->c [4]=original.b.b1; |
pc | 2279 | drivers/block/ide-tape.c | pc->c [3]=original.b.b2; |
pc | 2280 | drivers/block/ide-tape.c | pc->c [2]=original.b.b3; |
pc | 2285 | drivers/block/ide-tape.c | void idetape_create_space_cmd (idetape_packet_command_t *pc,long count,byte cmd) |
pc | 2304 | drivers/block/ide-tape.c | pc->request_transfer=0; |
pc | 2305 | drivers/block/ide-tape.c | pc->buffer=NULL; |
pc | 2306 | drivers/block/ide-tape.c | pc->current_position=NULL; |
pc | 2307 | drivers/block/ide-tape.c | pc->buffer_size=0; |
pc | 2308 | drivers/block/ide-tape.c | pc->wait_for_dsc=1; |
pc | 2309 | drivers/block/ide-tape.c | pc->callback=&idetape_pc_callback; |
pc | 2310 | drivers/block/ide-tape.c | pc->writing=0; |
pc | 2312 | drivers/block/ide-tape.c | idetape_zero_packet_command (pc); |
pc | 2313 | drivers/block/ide-tape.c | pc->c [0]=IDETAPE_SPACE_CMD; |
pc | 2314 | drivers/block/ide-tape.c | pc->c [1]=cmd; |
pc | 2315 | drivers/block/ide-tape.c | pc->c [4]=original.b.b1; |
pc | 2316 | drivers/block/ide-tape.c | pc->c [3]=original.b.b2; |
pc | 2317 | drivers/block/ide-tape.c | pc->c [2]=original.b.b3; |
pc | 2322 | drivers/block/ide-tape.c | void idetape_create_write_cmd (idetape_packet_command_t *pc,unsigned long length) |
pc | 2341 | drivers/block/ide-tape.c | pc->wait_for_dsc=0; |
pc | 2342 | drivers/block/ide-tape.c | pc->callback=&idetape_write_callback; |
pc | 2343 | drivers/block/ide-tape.c | pc->writing=1; |
pc | 2345 | drivers/block/ide-tape.c | idetape_zero_packet_command (pc); |
pc | 2346 | drivers/block/ide-tape.c | pc->c [0]=IDETAPE_WRITE_CMD; |
pc | 2347 | drivers/block/ide-tape.c | pc->c [1]=1; |
pc | 2348 | drivers/block/ide-tape.c | pc->c [4]=original.b.b1; |
pc | 2349 | drivers/block/ide-tape.c | pc->c [3]=original.b.b2; |
pc | 2350 | drivers/block/ide-tape.c | pc->c [2]=original.b.b3; |
pc | 2355 | drivers/block/ide-tape.c | void idetape_create_read_position_cmd (idetape_packet_command_t *pc) |
pc | 2362 | drivers/block/ide-tape.c | pc->request_transfer=20; |
pc | 2363 | drivers/block/ide-tape.c | pc->wait_for_dsc=0; |
pc | 2364 | drivers/block/ide-tape.c | pc->callback=&idetape_read_position_callback; |
pc | 2365 | drivers/block/ide-tape.c | pc->writing=0; |
pc | 2367 | drivers/block/ide-tape.c | idetape_zero_packet_command (pc); |
pc | 2368 | drivers/block/ide-tape.c | pc->c [0]=IDETAPE_READ_POSITION_CMD; |
pc | 2369 | drivers/block/ide-tape.c | pc->c [1]=0; |
pc | 2387 | drivers/block/ide-tape.c | if (!tape->pc->error) { |
pc | 2388 | drivers/block/ide-tape.c | result=(idetape_read_position_result_t *) tape->pc->buffer; |
pc | 2428 | drivers/block/ide-tape.c | idetape_packet_command_t pc; |
pc | 2431 | drivers/block/ide-tape.c | pc.buffer=pc.temp_buffer; |
pc | 2432 | drivers/block/ide-tape.c | pc.buffer_size=IDETAPE_TEMP_BUFFER_SIZE; |
pc | 2433 | drivers/block/ide-tape.c | pc.current_position=pc.temp_buffer; |
pc | 2443 | drivers/block/ide-tape.c | idetape_create_inquiry_cmd (&pc); |
pc | 2444 | drivers/block/ide-tape.c | pc.buffer=pc.temp_buffer; |
pc | 2445 | drivers/block/ide-tape.c | pc.buffer_size=IDETAPE_TEMP_BUFFER_SIZE; |
pc | 2446 | drivers/block/ide-tape.c | pc.current_position=pc.temp_buffer; |
pc | 2447 | drivers/block/ide-tape.c | return (idetape_queue_pc_tail (drive,&pc)); |
pc | 2452 | drivers/block/ide-tape.c | idetape_create_locate_cmd (&pc,arg,0); |
pc | 2453 | drivers/block/ide-tape.c | retval=idetape_queue_pc_tail (drive,&pc); |
pc | 2456 | drivers/block/ide-tape.c | idetape_create_read_position_cmd (&pc); |
pc | 2457 | drivers/block/ide-tape.c | pc.buffer=pc.temp_buffer; |
pc | 2458 | drivers/block/ide-tape.c | pc.buffer_size=IDETAPE_TEMP_BUFFER_SIZE; |
pc | 2459 | drivers/block/ide-tape.c | pc.current_position=pc.temp_buffer; |
pc | 2460 | drivers/block/ide-tape.c | return (idetape_queue_pc_tail (drive,&pc)); |
pc | 2546 | drivers/block/ide-tape.c | idetape_packet_command_t *pc; |
pc | 2574 | drivers/block/ide-tape.c | if (tape->failed_pc != NULL && tape->pc->c[0] == IDETAPE_REQUEST_SENSE_CMD) { |
pc | 2622 | drivers/block/ide-tape.c | pc=idetape_next_pc_storage (drive); |
pc | 2624 | drivers/block/ide-tape.c | idetape_create_read_cmd (pc,rq->current_nr_sectors); |
pc | 2626 | drivers/block/ide-tape.c | pc->buffer=rq->buffer; |
pc | 2627 | drivers/block/ide-tape.c | pc->buffer_size=rq->current_nr_sectors*tape->tape_block_size; |
pc | 2628 | drivers/block/ide-tape.c | pc->current_position=rq->buffer; |
pc | 2629 | drivers/block/ide-tape.c | pc->request_transfer=rq->current_nr_sectors*tape->tape_block_size; |
pc | 2631 | drivers/block/ide-tape.c | idetape_issue_packet_command (drive,pc,&idetape_pc_intr); |
pc | 2649 | drivers/block/ide-tape.c | pc=idetape_next_pc_storage (drive); |
pc | 2651 | drivers/block/ide-tape.c | idetape_create_write_cmd (pc,rq->current_nr_sectors); |
pc | 2653 | drivers/block/ide-tape.c | pc->buffer=rq->buffer; |
pc | 2654 | drivers/block/ide-tape.c | pc->buffer_size=rq->current_nr_sectors*tape->tape_block_size; |
pc | 2655 | drivers/block/ide-tape.c | pc->current_position=rq->buffer; |
pc | 2656 | drivers/block/ide-tape.c | pc->request_transfer=rq->current_nr_sectors*tape->tape_block_size; |
pc | 2658 | drivers/block/ide-tape.c | idetape_issue_packet_command (drive,pc,&idetape_pc_intr); |
pc | 2680 | drivers/block/ide-tape.c | pc=(idetape_packet_command_t *) rq->buffer; |
pc | 2681 | drivers/block/ide-tape.c | idetape_issue_packet_command (drive,pc,&idetape_pc_intr); |
pc | 2712 | drivers/block/ide-tape.c | int idetape_queue_pc_tail (ide_drive_t *drive,idetape_packet_command_t *pc) |
pc | 2717 | drivers/block/ide-tape.c | rq.buffer = (char *) pc; |
pc | 2742 | drivers/block/ide-tape.c | void idetape_queue_pc_head (ide_drive_t *drive,idetape_packet_command_t *pc,struct request *rq) |
pc | 2746 | drivers/block/ide-tape.c | rq->buffer = (char *) pc; |
pc | 2923 | drivers/block/ide-tape.c | void idetape_zero_packet_command (idetape_packet_command_t *pc) |
pc | 2929 | drivers/block/ide-tape.c | pc->c[i]=0; |
pc | 2930 | drivers/block/ide-tape.c | pc->retries=0; |
pc | 3406 | drivers/block/ide-tape.c | idetape_packet_command_t pc; |
pc | 3408 | drivers/block/ide-tape.c | pc.buffer=pc.temp_buffer; |
pc | 3409 | drivers/block/ide-tape.c | pc.buffer_size=IDETAPE_TEMP_BUFFER_SIZE; |
pc | 3410 | drivers/block/ide-tape.c | pc.current_position=pc.temp_buffer; |
pc | 3412 | drivers/block/ide-tape.c | idetape_create_write_filemark_cmd (&pc,0); /* Flush buffers */ |
pc | 3413 | drivers/block/ide-tape.c | retval=idetape_queue_pc_tail (drive,&pc); |
pc | 3421 | drivers/block/ide-tape.c | idetape_create_space_cmd (&pc,mt_count,IDETAPE_SPACE_OVER_FILEMARK); |
pc | 3422 | drivers/block/ide-tape.c | return (idetape_queue_pc_tail (drive,&pc)); |
pc | 3434 | drivers/block/ide-tape.c | idetape_create_space_cmd (&pc,-mt_count,IDETAPE_SPACE_OVER_FILEMARK); |
pc | 3435 | drivers/block/ide-tape.c | return (idetape_queue_pc_tail (drive,&pc)); |
pc | 3449 | drivers/block/ide-tape.c | idetape_create_write_filemark_cmd (&pc,1); |
pc | 3450 | drivers/block/ide-tape.c | retval=idetape_queue_pc_tail (drive,&pc); |
pc | 3463 | drivers/block/ide-tape.c | idetape_create_write_filemark_cmd (&pc,0); |
pc | 3464 | drivers/block/ide-tape.c | return (idetape_queue_pc_tail (drive,&pc)); |
pc | 3470 | drivers/block/ide-tape.c | idetape_create_space_cmd (&pc,0,IDETAPE_SPACE_TO_EOD); |
pc | 3471 | drivers/block/ide-tape.c | return (idetape_queue_pc_tail (drive,&pc)); |
pc | 3478 | drivers/block/ide-tape.c | idetape_create_erase_cmd (&pc); |
pc | 3479 | drivers/block/ide-tape.c | return (idetape_queue_pc_tail (drive,&pc)); |
pc | 3546 | drivers/block/ide-tape.c | idetape_packet_command_t pc; |
pc | 3560 | drivers/block/ide-tape.c | idetape_create_write_filemark_cmd (&pc,1); /* Write a filemark */ |
pc | 3561 | drivers/block/ide-tape.c | if (idetape_queue_pc_tail (drive,&pc)) { |
pc | 3567 | drivers/block/ide-tape.c | idetape_create_write_filemark_cmd (&pc,0); /* Flush buffers */ |
pc | 3568 | drivers/block/ide-tape.c | if (idetape_queue_pc_tail (drive,&pc)) { |
pc | 3602 | drivers/block/ide-tape.c | idetape_packet_command_t pc; |
pc | 3604 | drivers/block/ide-tape.c | idetape_create_locate_cmd (&pc,block,0); |
pc | 3605 | drivers/block/ide-tape.c | retval=idetape_queue_pc_tail (drive,&pc); |
pc | 3608 | drivers/block/ide-tape.c | idetape_create_read_position_cmd (&pc); |
pc | 3609 | drivers/block/ide-tape.c | pc.buffer=pc.temp_buffer; |
pc | 3610 | drivers/block/ide-tape.c | pc.buffer_size=IDETAPE_TEMP_BUFFER_SIZE; |
pc | 3611 | drivers/block/ide-tape.c | pc.current_position=pc.temp_buffer; |
pc | 3612 | drivers/block/ide-tape.c | return (idetape_queue_pc_tail (drive,&pc)); |
pc | 3625 | drivers/block/ide-tape.c | idetape_packet_command_t pc; |
pc | 3630 | drivers/block/ide-tape.c | idetape_create_write_filemark_cmd (&pc,0); /* Flush buffers */ |
pc | 3631 | drivers/block/ide-tape.c | retval=idetape_queue_pc_tail (drive,&pc); |
pc | 3634 | drivers/block/ide-tape.c | idetape_create_rewind_cmd (&pc); |
pc | 3635 | drivers/block/ide-tape.c | retval=idetape_queue_pc_tail (drive,&pc); |
pc | 3638 | drivers/block/ide-tape.c | idetape_create_read_position_cmd (&pc); |
pc | 3639 | drivers/block/ide-tape.c | pc.buffer=pc.temp_buffer; |
pc | 3640 | drivers/block/ide-tape.c | pc.buffer_size=IDETAPE_TEMP_BUFFER_SIZE; |
pc | 3641 | drivers/block/ide-tape.c | pc.current_position=pc.temp_buffer; |
pc | 3642 | drivers/block/ide-tape.c | return (idetape_queue_pc_tail (drive,&pc)); |
pc | 314 | drivers/block/ide-tape.h | idetape_packet_command_t *pc; /* Current packet command */ |
pc | 1039 | drivers/net/plip.c | struct plipconf *pc = (struct plipconf *) &rq->ifr_data; |
pc | 1041 | drivers/net/plip.c | switch(pc->pcmd) { |
pc | 1043 | drivers/net/plip.c | pc->trigger = nl->trigger; |
pc | 1044 | drivers/net/plip.c | pc->nibble = nl->nibble; |
pc | 1047 | drivers/net/plip.c | nl->trigger = pc->trigger; |
pc | 1048 | drivers/net/plip.c | nl->nibble = pc->nibble; |
pc | 423 | fs/proc/array.c | unsigned long pc; |
pc | 425 | fs/proc/array.c | pc = thread_saved_pc(&p->tss); |
pc | 426 | fs/proc/array.c | if (pc >= (unsigned long) interruptible_sleep_on && pc < (unsigned long) add_timer) { |
pc | 430 | fs/proc/array.c | return pc; |
pc | 445 | fs/proc/array.c | # define KSTK_EIP(tsk) (*(unsigned long *)(tsk->kernel_stack_page + PT_REG(pc))) |
pc | 73 | include/asm-alpha/processor.h | static inline void start_thread(struct pt_regs * regs, unsigned long pc, unsigned long sp) |
pc | 75 | include/asm-alpha/processor.h | regs->pc = pc; |
pc | 42 | include/asm-alpha/ptrace.h | unsigned long pc; |
pc | 67 | include/asm-alpha/ptrace.h | #define instruction_pointer(regs) ((regs)->pc) |
pc | 172 | include/asm-mips/processor.h | void start_thread(struct pt_regs * regs, unsigned long pc, unsigned long sp) |
pc | 179 | include/asm-mips/processor.h | regs->cp0_epc = pc; |
pc | 30 | include/asm-sparc/kgdb.h | unsigned long pc; |
pc | 102 | include/asm-sparc/processor.h | ((t->ksp&(~0xfff))+(0x1000-TRACEREG_SZ)))->pc; |
pc | 108 | include/asm-sparc/processor.h | extern void start_thread(struct pt_regs * regs, unsigned long pc, unsigned long sp); |
pc | 15 | include/asm-sparc/ptrace.h | unsigned long pc; |
pc | 65 | include/asm-sparc/ptrace.h | #define instruction_pointer(regs) ((regs)->pc) |
pc | 355 | include/linux/sched.h | unsigned long pc; |
pc | 356 | include/linux/sched.h | pc = (unsigned long) &&here; |
pc | 358 | include/linux/sched.h | printk("add_wait_queue (%08lx): wait->next = %08lx\n",pc,(unsigned long) wait->next); |