tag | line | file | source code |
operation | 324 | drivers/block/xd.c | static int xd_readwrite (u_char operation,u_char drive,char *buffer,u_int block,u_int count) |
operation | 331 | drivers/block/xd.c | printk("xd_readwrite: operation = %s, drive = %d, buffer = 0x%X, block = %d, count = %d\n",operation == READ ? "read" : "write",drive,buffer,block,count); |
operation | 347 | drivers/block/xd.c | mode = xd_setup_dma(operation == READ ? DMA_MODE_READ : DMA_MODE_WRITE,(u_char *)buffer,temp * 0x200); |
operation | 348 | drivers/block/xd.c | xd_build(cmdblk,operation == READ ? CMD_READ : CMD_WRITE,drive,head,cylinder,sector,temp & 0xFF,control); |
operation | 2558 | drivers/char/tpqic02.c | struct mtop operation; |
operation | 2669 | drivers/char/tpqic02.c | error = verify_area(VERIFY_READ, (char *) ioarg, sizeof(operation)); |
operation | 2674 | drivers/char/tpqic02.c | stp = (char *) &operation; |
operation | 2676 | drivers/char/tpqic02.c | for (i=0; i<sizeof(operation); i++) |
operation | 2688 | drivers/char/tpqic02.c | printk("OP op=%4x, count=%4x\n", operation.mt_op, operation.mt_count); |
operation | 2690 | drivers/char/tpqic02.c | if (operation.mt_count < 0) |
operation | 2693 | drivers/char/tpqic02.c | ioctl_status.mt_resid = operation.mt_count; |
operation | 2694 | drivers/char/tpqic02.c | if (operation.mt_op == MTSEEK) { |
operation | 2697 | drivers/char/tpqic02.c | seek_addr_buf[0] = (operation.mt_count>>16)&0xff; |
operation | 2698 | drivers/char/tpqic02.c | seek_addr_buf[1] = (operation.mt_count>>8)&0xff; |
operation | 2699 | drivers/char/tpqic02.c | seek_addr_buf[2] = (operation.mt_count)&0xff; |
operation | 2700 | drivers/char/tpqic02.c | if (operation.mt_count>>24) |
operation | 2702 | drivers/char/tpqic02.c | if ((error = do_ioctl_cmd(operation.mt_op)) != 0) |
operation | 2706 | drivers/char/tpqic02.c | while (operation.mt_count > 0) { |
operation | 2707 | drivers/char/tpqic02.c | operation.mt_count--; |
operation | 2708 | drivers/char/tpqic02.c | if ((error = do_ioctl_cmd(operation.mt_op)) != 0) |
operation | 2710 | drivers/char/tpqic02.c | ioctl_status.mt_resid = operation.mt_count; |
operation | 117 | include/linux/xd.h | static int xd_readwrite (u_char operation,u_char drive,char *buffer,u_int block,u_int count); |