Lines Matching refs:cmd

281 	      unsigned int totrk, int cmd, struct dasd_device *device,  in define_extent()  argument
297 switch (cmd) { in define_extent()
353 "0x%x is not a known command\n", cmd); in define_extent()
389 int count, int cmd, struct dasd_device *device, in locate_record_ext() argument
399 if (cmd == DASD_ECKD_CCW_WRITE_FULL_TRACK) in locate_record_ext()
427 switch (cmd) { in locate_record_ext()
518 "fill LRE unknown opcode 0x%x", cmd); in locate_record_ext()
530 unsigned int trk, unsigned int totrk, int cmd, in prefix_LRE() argument
547 if (cmd == DASD_ECKD_CCW_WRITE_FULL_TRACK) { in prefix_LRE()
578 rc = define_extent(NULL, dedata, trk, totrk, cmd, basedev, blksize); in prefix_LRE()
589 locate_record_ext(NULL, lredata, trk, rec_on_trk, count, cmd, in prefix_LRE()
597 unsigned int trk, unsigned int totrk, int cmd, in prefix() argument
600 return prefix_LRE(ccw, pfxdata, trk, totrk, cmd, basedev, startdev, in prefix()
606 unsigned int rec_on_trk, int no_rec, int cmd, in locate_record() argument
615 trk, rec_on_trk, no_rec, cmd, reclen); in locate_record()
639 switch (cmd) { in locate_record()
696 "opcode 0x%x", cmd); in locate_record()
886 if (!ciw || ciw->cmd != DASD_ECKD_CCW_RCD) in dasd_eckd_read_conf_immediately()
912 if (!ciw || ciw->cmd != DASD_ECKD_CCW_RCD) { in dasd_eckd_read_conf_lpm()
3989 unsigned char cmd, rcmd; in dasd_eckd_build_cp_cmd_single() local
3996 cmd = DASD_ECKD_CCW_READ_MT; in dasd_eckd_build_cp_cmd_single()
3998 cmd = DASD_ECKD_CCW_WRITE_MT; in dasd_eckd_build_cp_cmd_single()
4050 last_trk, cmd, basedev, startdev) == -EAGAIN) { in dasd_eckd_build_cp_cmd_single()
4061 last_trk, cmd, basedev, 0) == -EAGAIN) { in dasd_eckd_build_cp_cmd_single()
4078 last_rec - recid + 1, cmd, basedev, blksize); in dasd_eckd_build_cp_cmd_single()
4093 rcmd = cmd; in dasd_eckd_build_cp_cmd_single()
4116 cmd, basedev, count); in dasd_eckd_build_cp_cmd_single()
4177 unsigned char cmd; in dasd_eckd_build_cp_cmd_track() local
4187 cmd = DASD_ECKD_CCW_READ_TRACK_DATA; in dasd_eckd_build_cp_cmd_track()
4189 cmd = DASD_ECKD_CCW_WRITE_TRACK_DATA; in dasd_eckd_build_cp_cmd_track()
4220 last_trk, cmd, basedev, startdev, in dasd_eckd_build_cp_cmd_track()
4257 ccw->cmd_code = cmd; in dasd_eckd_build_cp_cmd_track()
4332 unsigned int trk, unsigned int totrk, int cmd, in prepare_itcw() argument
4377 switch (cmd) { in prepare_itcw()
4419 "prepare itcw, unknown opcode 0x%x", cmd); in prepare_itcw()
4464 if (cmd == DASD_ECKD_CCW_READ_COUNT_MT) { in prepare_itcw()
4475 lredata->imbedded_ccw = cmd; in prepare_itcw()
4505 unsigned char cmd; in dasd_eckd_build_cp_tpm_track() local
4522 cmd = DASD_ECKD_CCW_READ_TRACK_DATA; in dasd_eckd_build_cp_tpm_track()
4525 cmd = DASD_ECKD_CCW_WRITE_TRACK_DATA; in dasd_eckd_build_cp_tpm_track()
4565 cmd, basedev, startdev, in dasd_eckd_build_cp_tpm_track()
4755 unsigned char cmd; in dasd_eckd_build_cp_raw() local
4787 cmd = DASD_ECKD_CCW_READ_TRACK; in dasd_eckd_build_cp_raw()
4789 cmd = DASD_ECKD_CCW_WRITE_FULL_TRACK; in dasd_eckd_build_cp_raw()
4827 prefix_LRE(ccw++, data, first_trk, last_trk, cmd, basedev, in dasd_eckd_build_cp_raw()
4830 define_extent(ccw++, data, first_trk, last_trk, cmd, basedev, 0); in dasd_eckd_build_cp_raw()
4835 trkcount, cmd, basedev, 0, 0); in dasd_eckd_build_cp_raw()
4842 ccw->cmd_code = cmd; in dasd_eckd_build_cp_raw()
4857 if (cmd == DASD_ECKD_CCW_READ_TRACK) in dasd_eckd_build_cp_raw()
4861 ccw->cmd_code = cmd; in dasd_eckd_build_cp_raw()
5498 dasd_eckd_ioctl(struct dasd_block *block, unsigned int cmd, void __user *argp) in dasd_eckd_ioctl() argument
5502 switch (cmd) { in dasd_eckd_ioctl()
5615 phys_to_virt(irb->scsw.cmd.cpa)); in dasd_eckd_dump_sense_ccw()
5662 fail = phys_to_virt(irb->scsw.cmd.cpa); /* failing CCW */ in dasd_eckd_dump_sense_ccw()