raw_cmd 81 arch/arm/include/asm/floppy.h raw_cmd = &default_raw_cmd; raw_cmd 82 arch/arm/include/asm/floppy.h raw_cmd->flags = FD_RAW_SPIN | FD_RAW_NEED_SEEK; raw_cmd 83 arch/arm/include/asm/floppy.h raw_cmd->track = 0; raw_cmd 84 arch/arm/include/asm/floppy.h raw_cmd->rate = ?; raw_cmd 100 drivers/ata/pata_ixp4xx_cf.c unsigned long raw_cmd = raw_cs0; raw_cmd 129 drivers/ata/pata_ixp4xx_cf.c raw_cmd ^= 0x03; raw_cmd 133 drivers/ata/pata_ixp4xx_cf.c ata_port_desc(ap, "cmd 0x%lx ctl 0x%lx", raw_cmd, raw_ctl); raw_cmd 323 drivers/block/floppy.c #define COMMAND (raw_cmd->cmd[0]) raw_cmd 324 drivers/block/floppy.c #define DR_SELECT (raw_cmd->cmd[1]) raw_cmd 325 drivers/block/floppy.c #define TRACK (raw_cmd->cmd[2]) raw_cmd 326 drivers/block/floppy.c #define HEAD (raw_cmd->cmd[3]) raw_cmd 327 drivers/block/floppy.c #define SECTOR (raw_cmd->cmd[4]) raw_cmd 328 drivers/block/floppy.c #define SIZECODE (raw_cmd->cmd[5]) raw_cmd 329 drivers/block/floppy.c #define SECT_PER_TRACK (raw_cmd->cmd[6]) raw_cmd 330 drivers/block/floppy.c #define GAP (raw_cmd->cmd[7]) raw_cmd 331 drivers/block/floppy.c #define SIZECODE2 (raw_cmd->cmd[8]) raw_cmd 335 drivers/block/floppy.c #define F_SIZECODE (raw_cmd->cmd[2]) raw_cmd 336 drivers/block/floppy.c #define F_SECT_PER_TRACK (raw_cmd->cmd[3]) raw_cmd 337 drivers/block/floppy.c #define F_GAP (raw_cmd->cmd[4]) raw_cmd 338 drivers/block/floppy.c #define F_FILL (raw_cmd->cmd[5]) raw_cmd 421 drivers/block/floppy.c static struct floppy_raw_cmd *raw_cmd, default_raw_cmd; raw_cmd 900 drivers/block/floppy.c raw_cmd = NULL; raw_cmd 1058 drivers/block/floppy.c if (raw_cmd->length == 0) { raw_cmd 1062 drivers/block/floppy.c for (i = 0; i < raw_cmd->cmd_count; i++) raw_cmd 1063 drivers/block/floppy.c pr_cont("%x,", raw_cmd->cmd[i]); raw_cmd 1069 drivers/block/floppy.c if (((unsigned long)raw_cmd->kernel_data) % 512) { raw_cmd 1070 drivers/block/floppy.c pr_info("non aligned address: %p\n", raw_cmd->kernel_data); raw_cmd 1078 drivers/block/floppy.c if (fd_dma_setup(raw_cmd->kernel_data, raw_cmd->length, raw_cmd 1079 drivers/block/floppy.c (raw_cmd->flags & FD_RAW_READ) ? raw_cmd 1089 drivers/block/floppy.c fd_cacheflush(raw_cmd->kernel_data, raw_cmd->length); raw_cmd 1090 drivers/block/floppy.c fd_set_dma_mode((raw_cmd->flags & FD_RAW_READ) ? raw_cmd 1092 drivers/block/floppy.c fd_set_dma_addr(raw_cmd->kernel_data); raw_cmd 1093 drivers/block/floppy.c fd_set_dma_count(raw_cmd->length); raw_cmd 1200 drivers/block/floppy.c if (raw_cmd->rate & 0x40) { raw_cmd 1201 drivers/block/floppy.c switch (raw_cmd->rate & 3) { raw_cmd 1287 drivers/block/floppy.c switch (raw_cmd->rate & 0x03) { raw_cmd 1353 drivers/block/floppy.c if ((raw_cmd->rate & 3) == FDCS->dtr) raw_cmd 1357 drivers/block/floppy.c fd_outb(raw_cmd->rate & 3, FD_DCR); raw_cmd 1364 drivers/block/floppy.c FDCS->dtr = raw_cmd->rate & 3; raw_cmd 1471 drivers/block/floppy.c flags = raw_cmd->flags; raw_cmd 1498 drivers/block/floppy.c for (i = 0; i < raw_cmd->cmd_count; i++) raw_cmd 1499 drivers/block/floppy.c r |= output_byte(raw_cmd->cmd[i]); raw_cmd 1575 drivers/block/floppy.c disk_change(current_drive) && (raw_cmd->flags & FD_RAW_NEED_DISK)) { raw_cmd 1589 drivers/block/floppy.c (raw_cmd->flags & FD_RAW_NEED_DISK) && raw_cmd 1590 drivers/block/floppy.c (DRS->track <= NO_TRACK || DRS->track == raw_cmd->track)) { raw_cmd 1593 drivers/block/floppy.c if (raw_cmd->track) raw_cmd 1594 drivers/block/floppy.c track = raw_cmd->track - 1; raw_cmd 1599 drivers/block/floppy.c raw_cmd->flags |= FD_RAW_NEED_SEEK; raw_cmd 1605 drivers/block/floppy.c if (raw_cmd->track != DRS->track && raw_cmd 1606 drivers/block/floppy.c (raw_cmd->flags & FD_RAW_NEED_SEEK)) raw_cmd 1607 drivers/block/floppy.c track = raw_cmd->track; raw_cmd 1872 drivers/block/floppy.c if (!(raw_cmd->flags & FD_RAW_NO_MOTOR)) { raw_cmd 1905 drivers/block/floppy.c if (!(raw_cmd->flags & FD_RAW_NO_MOTOR) && raw_cmd 1911 drivers/block/floppy.c if ((raw_cmd->flags & FD_RAW_READ) || (raw_cmd->flags & FD_RAW_WRITE)) { raw_cmd 1913 drivers/block/floppy.c fd_chose_dma_mode(raw_cmd->kernel_data, raw_cmd->length); raw_cmd 1918 drivers/block/floppy.c if (raw_cmd->flags & (FD_RAW_NEED_SEEK | FD_RAW_NEED_DISK)) { raw_cmd 1923 drivers/block/floppy.c if ((raw_cmd->flags & FD_RAW_READ) || raw_cmd 1924 drivers/block/floppy.c (raw_cmd->flags & FD_RAW_WRITE)) raw_cmd 2109 drivers/block/floppy.c raw_cmd = &default_raw_cmd; raw_cmd 2110 drivers/block/floppy.c raw_cmd->track = track; raw_cmd 2112 drivers/block/floppy.c raw_cmd->flags = (FD_RAW_WRITE | FD_RAW_INTR | FD_RAW_SPIN | raw_cmd 2114 drivers/block/floppy.c raw_cmd->rate = _floppy->rate & 0x43; raw_cmd 2115 drivers/block/floppy.c raw_cmd->cmd_count = NR_F; raw_cmd 2123 drivers/block/floppy.c raw_cmd->kernel_data = floppy_track_buffer; raw_cmd 2124 drivers/block/floppy.c raw_cmd->length = 4 * F_SECT_PER_TRACK; raw_cmd 2359 drivers/block/floppy.c raw_cmd->kernel_data == bio_data(current_req->bio)) { raw_cmd 2363 drivers/block/floppy.c buffer_track = raw_cmd->track; raw_cmd 2501 drivers/block/floppy.c hard_sectors = raw_cmd->length >> (7 + SIZECODE); raw_cmd 2537 drivers/block/floppy.c raw_cmd = &default_raw_cmd; raw_cmd 2538 drivers/block/floppy.c raw_cmd->flags = FD_RAW_SPIN | FD_RAW_NEED_DISK | FD_RAW_NEED_SEEK; raw_cmd 2539 drivers/block/floppy.c raw_cmd->cmd_count = NR_RW; raw_cmd 2541 drivers/block/floppy.c raw_cmd->flags |= FD_RAW_READ; raw_cmd 2544 drivers/block/floppy.c raw_cmd->flags |= FD_RAW_WRITE; raw_cmd 2581 drivers/block/floppy.c raw_cmd->rate = _floppy->rate & 0x43; raw_cmd 2582 drivers/block/floppy.c if ((_floppy->rate & FD_2M) && (TRACK || HEAD) && raw_cmd->rate == 2) raw_cmd 2583 drivers/block/floppy.c raw_cmd->rate = 1; raw_cmd 2589 drivers/block/floppy.c raw_cmd->track = TRACK << STRETCH(_floppy); raw_cmd 2627 drivers/block/floppy.c if ((raw_cmd->track == buffer_track) && raw_cmd 2645 drivers/block/floppy.c raw_cmd->flags &= ~FD_RAW_WRITE; raw_cmd 2646 drivers/block/floppy.c raw_cmd->flags |= FD_RAW_READ; raw_cmd 2685 drivers/block/floppy.c raw_cmd->kernel_data = bio_data(current_req->bio); raw_cmd 2686 drivers/block/floppy.c raw_cmd->length = current_count_sectors << 9; raw_cmd 2687 drivers/block/floppy.c if (raw_cmd->length == 0) { raw_cmd 2702 drivers/block/floppy.c if (buffer_track != raw_cmd->track || /* bad track */ raw_cmd 2715 drivers/block/floppy.c raw_cmd->kernel_data = floppy_track_buffer + raw_cmd 2725 drivers/block/floppy.c buffer_track = raw_cmd->track; raw_cmd 2735 drivers/block/floppy.c raw_cmd->length = in_sector_offset + current_count_sectors; raw_cmd 2736 drivers/block/floppy.c raw_cmd->length = ((raw_cmd->length - 1) | (ssize - 1)) + 1; raw_cmd 2737 drivers/block/floppy.c raw_cmd->length <<= 9; raw_cmd 2738 drivers/block/floppy.c if ((raw_cmd->length < current_count_sectors << 9) || raw_cmd 2739 drivers/block/floppy.c (raw_cmd->kernel_data != bio_data(current_req->bio) && raw_cmd 2741 drivers/block/floppy.c (aligned_sector_t + (raw_cmd->length >> 9) > buffer_max || raw_cmd 2743 drivers/block/floppy.c raw_cmd->length % (128 << SIZECODE) || raw_cmd 2744 drivers/block/floppy.c raw_cmd->length <= 0 || current_count_sectors <= 0) { raw_cmd 2746 drivers/block/floppy.c raw_cmd->length, current_count_sectors); raw_cmd 2747 drivers/block/floppy.c if (raw_cmd->kernel_data != bio_data(current_req->bio)) raw_cmd 2749 drivers/block/floppy.c (int)((raw_cmd->kernel_data - raw_cmd 2764 drivers/block/floppy.c if (raw_cmd->kernel_data != bio_data(current_req->bio)) { raw_cmd 2765 drivers/block/floppy.c if (raw_cmd->kernel_data < floppy_track_buffer || raw_cmd 2767 drivers/block/floppy.c raw_cmd->length < 0 || raw_cmd 2768 drivers/block/floppy.c raw_cmd->kernel_data + raw_cmd->length > raw_cmd 2772 drivers/block/floppy.c fsector_t, buffer_min, raw_cmd->length >> 9); raw_cmd 2781 drivers/block/floppy.c } else if (raw_cmd->length > blk_rq_bytes(current_req) || raw_cmd 2785 drivers/block/floppy.c } else if (raw_cmd->length < current_count_sectors << 9) { raw_cmd 2787 drivers/block/floppy.c pr_info("bytes=%ld\n", raw_cmd->length >> 9); raw_cmd 2790 drivers/block/floppy.c if (raw_cmd->length == 0) { raw_cmd 2837 drivers/block/floppy.c raw_cmd = &default_raw_cmd; raw_cmd 2838 drivers/block/floppy.c raw_cmd->flags = 0; raw_cmd 2934 drivers/block/floppy.c raw_cmd = &default_raw_cmd; raw_cmd 2935 drivers/block/floppy.c raw_cmd->flags = flag; raw_cmd 2936 drivers/block/floppy.c raw_cmd->track = 0; raw_cmd 2937 drivers/block/floppy.c raw_cmd->cmd_count = 0; raw_cmd 3021 drivers/block/floppy.c raw_cmd->flags |= FD_RAW_FAILURE; raw_cmd 3022 drivers/block/floppy.c raw_cmd->flags |= FD_RAW_HARDFAILURE; raw_cmd 3024 drivers/block/floppy.c raw_cmd->reply_count = inr; raw_cmd 3025 drivers/block/floppy.c if (raw_cmd->reply_count > MAX_REPLIES) raw_cmd 3026 drivers/block/floppy.c raw_cmd->reply_count = 0; raw_cmd 3027 drivers/block/floppy.c for (i = 0; i < raw_cmd->reply_count; i++) raw_cmd 3028 drivers/block/floppy.c raw_cmd->reply[i] = reply_buffer[i]; raw_cmd 3030 drivers/block/floppy.c if (raw_cmd->flags & (FD_RAW_READ | FD_RAW_WRITE)) { raw_cmd 3033 drivers/block/floppy.c raw_cmd->length = fd_get_dma_residue(); raw_cmd 3037 drivers/block/floppy.c if ((raw_cmd->flags & FD_RAW_SOFTFAILURE) && raw_cmd 3038 drivers/block/floppy.c (!raw_cmd->reply_count || (raw_cmd->reply[0] & 0xc0))) raw_cmd 3039 drivers/block/floppy.c raw_cmd->flags |= FD_RAW_FAILURE; raw_cmd 3042 drivers/block/floppy.c raw_cmd->flags |= FD_RAW_DISK_CHANGE; raw_cmd 3044 drivers/block/floppy.c raw_cmd->flags &= ~FD_RAW_DISK_CHANGE; raw_cmd 3045 drivers/block/floppy.c if (raw_cmd->flags & FD_RAW_NO_MOTOR_AFTER) raw_cmd 3048 drivers/block/floppy.c if (raw_cmd->next && raw_cmd 3049 drivers/block/floppy.c (!(raw_cmd->flags & FD_RAW_FAILURE) || raw_cmd 3050 drivers/block/floppy.c !(raw_cmd->flags & FD_RAW_STOP_IF_FAILURE)) && raw_cmd 3051 drivers/block/floppy.c ((raw_cmd->flags & FD_RAW_FAILURE) || raw_cmd 3052 drivers/block/floppy.c !(raw_cmd->flags & FD_RAW_STOP_IF_SUCCESS))) { raw_cmd 3053 drivers/block/floppy.c raw_cmd = raw_cmd->next; raw_cmd 3207 drivers/block/floppy.c raw_cmd = my_raw_cmd; raw_cmd 4550 drivers/block/floppy.c raw_cmd = NULL; raw_cmd 244 drivers/gpu/drm/i915/gvt/trace.h __dynamic_array(u32, raw_cmd, cmd_len) raw_cmd 257 drivers/gpu/drm/i915/gvt/trace.h memcpy(__get_dynamic_array(raw_cmd), cmd_va, cmd_len * sizeof(*cmd_va)); raw_cmd 269 drivers/gpu/drm/i915/gvt/trace.h __print_array(__get_dynamic_array(raw_cmd), raw_cmd 308 drivers/irqchip/irq-gic-v3-its.c u64 raw_cmd[4]; raw_cmd 322 drivers/irqchip/irq-gic-v3-its.c static void its_mask_encode(u64 *raw_cmd, u64 val, int h, int l) raw_cmd 325 drivers/irqchip/irq-gic-v3-its.c *raw_cmd &= ~mask; raw_cmd 326 drivers/irqchip/irq-gic-v3-its.c *raw_cmd |= (val << l) & mask; raw_cmd 331 drivers/irqchip/irq-gic-v3-its.c its_mask_encode(&cmd->raw_cmd[0], cmd_nr, 7, 0); raw_cmd 336 drivers/irqchip/irq-gic-v3-its.c its_mask_encode(&cmd->raw_cmd[0], devid, 63, 32); raw_cmd 341 drivers/irqchip/irq-gic-v3-its.c its_mask_encode(&cmd->raw_cmd[1], id, 31, 0); raw_cmd 346 drivers/irqchip/irq-gic-v3-its.c its_mask_encode(&cmd->raw_cmd[1], phys_id, 63, 32); raw_cmd 351 drivers/irqchip/irq-gic-v3-its.c its_mask_encode(&cmd->raw_cmd[1], size, 4, 0); raw_cmd 356 drivers/irqchip/irq-gic-v3-its.c its_mask_encode(&cmd->raw_cmd[2], itt_addr >> 8, 51, 8); raw_cmd 361 drivers/irqchip/irq-gic-v3-its.c its_mask_encode(&cmd->raw_cmd[2], !!valid, 63, 63); raw_cmd 366 drivers/irqchip/irq-gic-v3-its.c its_mask_encode(&cmd->raw_cmd[2], target_addr >> 16, 51, 16); raw_cmd 371 drivers/irqchip/irq-gic-v3-its.c its_mask_encode(&cmd->raw_cmd[2], col, 15, 0); raw_cmd 376 drivers/irqchip/irq-gic-v3-its.c its_mask_encode(&cmd->raw_cmd[1], vpeid, 47, 32); raw_cmd 381 drivers/irqchip/irq-gic-v3-its.c its_mask_encode(&cmd->raw_cmd[2], virt_id, 31, 0); raw_cmd 386 drivers/irqchip/irq-gic-v3-its.c its_mask_encode(&cmd->raw_cmd[2], db_phys_id, 63, 32); raw_cmd 391 drivers/irqchip/irq-gic-v3-its.c its_mask_encode(&cmd->raw_cmd[2], db_valid, 0, 0); raw_cmd 396 drivers/irqchip/irq-gic-v3-its.c its_mask_encode(&cmd->raw_cmd[0], seq_num, 47, 32); raw_cmd 401 drivers/irqchip/irq-gic-v3-its.c its_mask_encode(&cmd->raw_cmd[1], its_list, 15, 0); raw_cmd 406 drivers/irqchip/irq-gic-v3-its.c its_mask_encode(&cmd->raw_cmd[3], vpt_pa >> 16, 51, 16); raw_cmd 411 drivers/irqchip/irq-gic-v3-its.c its_mask_encode(&cmd->raw_cmd[3], vpt_size, 4, 0); raw_cmd 417 drivers/irqchip/irq-gic-v3-its.c cmd->raw_cmd[0] = cpu_to_le64(cmd->raw_cmd[0]); raw_cmd 418 drivers/irqchip/irq-gic-v3-its.c cmd->raw_cmd[1] = cpu_to_le64(cmd->raw_cmd[1]); raw_cmd 419 drivers/irqchip/irq-gic-v3-its.c cmd->raw_cmd[2] = cpu_to_le64(cmd->raw_cmd[2]); raw_cmd 420 drivers/irqchip/irq-gic-v3-its.c cmd->raw_cmd[3] = cpu_to_le64(cmd->raw_cmd[3]); raw_cmd 722 drivers/irqchip/irq-gic-v3-its.c cmd->raw_cmd[0] = 0; raw_cmd 723 drivers/irqchip/irq-gic-v3-its.c cmd->raw_cmd[1] = 0; raw_cmd 724 drivers/irqchip/irq-gic-v3-its.c cmd->raw_cmd[2] = 0; raw_cmd 725 drivers/irqchip/irq-gic-v3-its.c cmd->raw_cmd[3] = 0; raw_cmd 120 drivers/usb/typec/ucsi/displayport.c ctrl.raw_cmd = UCSI_CMD_SET_NEW_CAM(dp->con->num, 0, dp->offset, 0); raw_cmd 180 drivers/usb/typec/ucsi/displayport.c ctrl.raw_cmd = UCSI_CMD_SET_NEW_CAM(dp->con->num, 1, dp->offset, pins); raw_cmd 29 drivers/usb/typec/ucsi/trace.c const char *ucsi_cmd_str(u64 raw_cmd) raw_cmd 31 drivers/usb/typec/ucsi/trace.c u8 cmd = raw_cmd & GENMASK(7, 0); raw_cmd 12 drivers/usb/typec/ucsi/trace.h const char *ucsi_cmd_str(u64 raw_cmd); raw_cmd 41 drivers/usb/typec/ucsi/trace.h __entry->ctrl = ctrl->raw_cmd; raw_cmd 60 drivers/usb/typec/ucsi/trace.h __entry->ctrl = ctrl->raw_cmd; raw_cmd 140 drivers/usb/typec/ucsi/ucsi.c _ctrl.raw_cmd = 0; raw_cmd 653 drivers/usb/typec/ucsi/ucsi.c ctrl.raw_cmd = 0; raw_cmd 80 drivers/usb/typec/ucsi/ucsi.h u64 raw_cmd; raw_cmd 91 drivers/usb/typec/ucsi/ucsi.h (_ctrl_).raw_cmd = 0; \ raw_cmd 46 drivers/usb/typec/ucsi/ucsi_acpi.c ppm->data->ctrl.raw_cmd = ctrl->raw_cmd; raw_cmd 384 drivers/usb/typec/ucsi/ucsi_ccg.c ppm->data->ctrl.raw_cmd = ctrl->raw_cmd;