tag | line | file | source code |
operation | 279 | drivers/block/xd.c | static int xd_readwrite (u_char operation,u_char drive,char *buffer,u_int block,u_int count) |
operation | 286 | 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 | 302 | drivers/block/xd.c | mode = xd_setup_dma(operation == READ ? DMA_MODE_READ : DMA_MODE_WRITE,(u_char *)buffer,temp * 0x200); |
operation | 303 | drivers/block/xd.c | xd_build(cmdblk,operation == READ ? CMD_READ : CMD_WRITE,drive,head,cylinder,sector,temp & 0xFF,control); |
operation | 2331 | drivers/char/tpqic02.c | struct mtop operation; |
operation | 2363 | drivers/char/tpqic02.c | error = verify_area(VERIFY_READ, (char *) ioarg, sizeof(operation)); |
operation | 2368 | drivers/char/tpqic02.c | stp = (char *) &operation; |
operation | 2370 | drivers/char/tpqic02.c | for (i=0; i<sizeof(operation); i++) |
operation | 2382 | drivers/char/tpqic02.c | printk("OP op=%4x, count=%4x\n", operation.mt_op, operation.mt_count); |
operation | 2384 | drivers/char/tpqic02.c | if (operation.mt_count < 0) |
operation | 2387 | drivers/char/tpqic02.c | ioctl_status.mt_resid = operation.mt_count; |
operation | 2388 | drivers/char/tpqic02.c | if (operation.mt_op == MTSEEK) { |
operation | 2389 | drivers/char/tpqic02.c | seek_addr_buf[0] = (operation.mt_count>>16)&0xff; |
operation | 2390 | drivers/char/tpqic02.c | seek_addr_buf[1] = (operation.mt_count>>8)&0xff; |
operation | 2391 | drivers/char/tpqic02.c | seek_addr_buf[2] = (operation.mt_count)&0xff; |
operation | 2392 | drivers/char/tpqic02.c | if (operation.mt_count>>24) |
operation | 2395 | drivers/char/tpqic02.c | if ((error = do_ioctl_cmd(operation.mt_op)) != 0) |
operation | 2399 | drivers/char/tpqic02.c | while (operation.mt_count > 0) { |
operation | 2400 | drivers/char/tpqic02.c | operation.mt_count--; |
operation | 2401 | drivers/char/tpqic02.c | if ((error = do_ioctl_cmd(operation.mt_op)) != 0) |
operation | 2403 | drivers/char/tpqic02.c | ioctl_status.mt_resid = operation.mt_count; |
operation | 118 | include/linux/xd.h | static int xd_readwrite (u_char operation,u_char drive,char *buffer,u_int block,u_int count); |