Searched refs:cmnd (Results 1 – 5 of 5) sorted by relevance
| /rk3399_rockchip-uboot/drivers/usb/gadget/ |
| H A D | f_rockusb.c | 133 if (common->cmnd[0] != SC_REQUEST_SENSE) { in rkusb_check_lun() 145 if (common->cmnd[0] != SC_INQUIRY && in rkusb_check_lun() 146 common->cmnd[0] != SC_REQUEST_SENSE) { in rkusb_check_lun() 173 common->data_size_from_cmnd = common->cmnd[4]; in rkusb_do_reset() 178 rkusb_rst_code = !common->cmnd[1] ? 0xff : common->cmnd[1]; in rkusb_do_reset() 190 g_dnl_set_serialnumber((char *)&common->cmnd[1]); in rkusb_do_switch_to_usb3() 207 else if (common->cmnd[1] == 0xf7 && FSG_BUFLEN >= 0x400000) in rkusb_do_test_unit_ready() 374 lba = get_unaligned_be32(&common->cmnd[2]); in rkusb_do_lba_erase() 382 amount = get_unaligned_be16(&common->cmnd[7]) << 9; in rkusb_do_lba_erase() 415 lba = get_unaligned_be32(&common->cmnd[2]); in rkusb_do_erase_force() [all …]
|
| H A D | f_mass_storage.c | 306 u8 cmnd[MAX_COMMAND_SIZE]; member 706 if (common->cmnd[0] == SC_READ_6) in do_read() 707 lba = get_unaligned_be24(&common->cmnd[1]); in do_read() 709 lba = get_unaligned_be32(&common->cmnd[2]); in do_read() 714 if ((common->cmnd[1] & ~0x18) != 0) { in do_read() 840 if (common->cmnd[0] == SC_WRITE_6) in do_write() 841 lba = get_unaligned_be24(&common->cmnd[1]); in do_write() 843 lba = get_unaligned_be32(&common->cmnd[2]); in do_write() 849 if (common->cmnd[1] & ~0x18) { in do_write() 1020 lba = get_unaligned_be32(&common->cmnd[2]); in do_verify() [all …]
|
| H A D | storage_common.c | 144 16, 1, (fsg)->cmnd, (fsg)->cmnd_size, 0) \
|
| /rk3399_rockchip-uboot/drivers/nvme/ |
| H A D | nvme.c | 833 struct nvme_command cmnd; in nvme_blk_erase() local 835 memset(&cmnd, 0, sizeof(cmnd)); in nvme_blk_erase() 841 cmnd.dsm.opcode = nvme_cmd_dsm; in nvme_blk_erase() 842 cmnd.dsm.command_id = nvme_get_cmd_id(); in nvme_blk_erase() 843 cmnd.dsm.nsid = cpu_to_le32(ns->ns_id); in nvme_blk_erase() 844 cmnd.dsm.prp1 = cpu_to_le64((ulong)range); in nvme_blk_erase() 845 cmnd.dsm.nr = 0; in nvme_blk_erase() 846 cmnd.dsm.attributes = cpu_to_le32(NVME_DSMGMT_AD); in nvme_blk_erase() 847 cmnd.common.nsid = cpu_to_le32(ns->ns_id); in nvme_blk_erase() 852 nvme_submit_cmd(dev->queues[NVME_IO_Q], &cmnd); in nvme_blk_erase() [all …]
|
| /rk3399_rockchip-uboot/drivers/video/sunxi/ |
| H A D | sunxi_display.c | 139 static int sunxi_hdmi_ddc_do_command(u32 cmnd, int offset, int n) in sunxi_hdmi_ddc_do_command() argument 151 writel(cmnd, &hdmi->ddc_cmnd); in sunxi_hdmi_ddc_do_command() 153 writel(n << 16 | cmnd, &hdmi->ddc_cmnd); in sunxi_hdmi_ddc_do_command()
|