/openbmc/qemu/hw/usb/ |
H A D | dev-storage.c | 233 trace_usb_msd_send_status(s->csw.status, le32_to_cpu(s->csw.tag), in usb_msd_send_status() 236 assert(s->csw.sig == cpu_to_le32(0x53425355)); in usb_msd_send_status() 237 len = MIN(sizeof(s->csw), p->iov.size); in usb_msd_send_status() 238 usb_packet_copy(p, &s->csw, len); in usb_msd_send_status() 239 memset(&s->csw, 0, sizeof(s->csw)); in usb_msd_send_status() 271 s->csw.sig = cpu_to_le32(0x53425355); in usb_msd_command_complete() 272 s->csw.tag = cpu_to_le32(req->tag); in usb_msd_command_complete() 273 s->csw.residue = cpu_to_le32(s->data_len); in usb_msd_command_complete() 274 s->csw.status = req->status != 0; in usb_msd_command_complete() 314 s->csw.sig = cpu_to_le32(0x53425355); in usb_msd_request_cancelled() [all …]
|
/openbmc/u-boot/drivers/usb/emul/ |
H A D | sandbox_flash.c | 196 struct umass_bbb_csw *csw = &priv->status; in setup_fail_response() local 198 csw->dCSWSignature = CSWSIGNATURE; in setup_fail_response() 199 csw->dCSWTag = priv->tag; in setup_fail_response() 200 csw->dCSWDataResidue = 0; in setup_fail_response() 201 csw->bCSWStatus = CSWSTATUS_FAILED; in setup_fail_response() 215 struct umass_bbb_csw *csw = &priv->status; in setup_response() local 217 csw->dCSWSignature = CSWSIGNATURE; in setup_response() 218 csw->dCSWTag = priv->tag; in setup_response() 219 csw->dCSWDataResidue = 0; in setup_response() 220 csw->bCSWStatus = CSWSTATUS_GOOD; in setup_response()
|
/openbmc/linux/Documentation/devicetree/bindings/perf/ |
H A D | apm-xgene-pmu.txt | 16 - regmap-csw : Regmap of the CPU switch fabric (CSW) resource. 41 csw: csw@7e200000 { 42 compatible = "apm,xgene-csw", "syscon"; 61 regmap-csw = <&csw>;
|
/openbmc/linux/Documentation/devicetree/bindings/edac/ |
H A D | apm-xgene-edac.txt | 15 - regmap-csw : Regmap of the CPU switch fabric (CSW) resource. 51 csw: csw@7e200000 { 52 compatible = "apm,xgene-csw", "syscon"; 81 regmap-csw = <&csw>;
|
/openbmc/u-boot/drivers/usb/gadget/ |
H A D | f_rockusb.c | 368 ALLOC_CACHE_ALIGN_BUFFER(struct bulk_cs_wrap, csw, in printcsw() 370 memcpy((char *)csw, buf, USB_BULK_CS_WRAP_LEN); in printcsw() 371 debug("csw: signature:%x\n", csw->signature); in printcsw() 372 debug("csw: tag:%x\n", csw->tag); in printcsw() 373 debug("csw: residue:%x\n", csw->residue); in printcsw() 374 debug("csw: status:%x\n", csw->status); in printcsw() 380 ALLOC_CACHE_ALIGN_BUFFER(struct bulk_cs_wrap, csw, in rockusb_tx_write_csw() 382 csw->signature = cpu_to_le32(USB_BULK_CS_SIG); in rockusb_tx_write_csw() 383 csw->tag = tag; in rockusb_tx_write_csw() 384 csw->residue = cpu_to_be32(residue); in rockusb_tx_write_csw() [all …]
|
H A D | f_mass_storage.c | 1601 struct bulk_cs_wrap *csw; in send_status() local 1634 csw = (void *)bh->buf; in send_status() 1636 csw->Signature = cpu_to_le32(USB_BULK_CS_SIG); in send_status() 1637 csw->Tag = common->tag; in send_status() 1638 csw->Residue = cpu_to_le32(common->residue); in send_status() 1639 csw->Status = status; in send_status()
|
/openbmc/linux/drivers/mmc/host/ |
H A D | ushc.c | 102 struct ushc_csw *csw; member 221 status = ushc->csw->status; in csw_callback() 243 req->cmd->resp[0] = le32_to_cpu(ushc->csw->response); in csw_callback() 406 kfree(ushc->csw); in ushc_clean_up() 506 ushc->csw = kzalloc(sizeof(struct ushc_csw), GFP_KERNEL); in ushc_probe() 507 if (ushc->csw == NULL) { in ushc_probe() 512 ushc->csw, sizeof(struct ushc_csw), in ushc_probe()
|
/openbmc/linux/drivers/tty/vt/ |
H A D | vt.c | 3580 static int do_bind_con_driver(const struct consw *csw, int first, int last, in do_bind_con_driver() argument 3583 struct module *owner = csw->owner; in do_bind_con_driver() 3597 if (con_driver->con == csw) { in do_bind_con_driver() 3608 csw->con_startup(); in do_bind_con_driver() 3617 conswitchp = csw; in do_bind_con_driver() 3630 con_driver_map[i] = csw; in do_bind_con_driver() 3683 int do_unbind_con_driver(const struct consw *csw, int first, int last, int deflt) in do_unbind_con_driver() argument 3685 struct module *owner = csw->owner; in do_unbind_con_driver() 3699 if (con_driver->con == csw && in do_unbind_con_driver() 3715 if (con_back->con && con_back->con != csw) { in do_unbind_con_driver() [all …]
|
/openbmc/u-boot/common/ |
H A D | usb_storage.c | 709 ALLOC_CACHE_ALIGN_BUFFER(struct umass_bbb_csw, csw, 1); in usb_stor_BBB_transport() 769 result = usb_bulk_msg(us->pusb_dev, pipein, csw, UMASS_BBB_CSW_SIZE, in usb_stor_BBB_transport() 789 ptr = (unsigned char *)csw; in usb_stor_BBB_transport() 795 pipe = le32_to_cpu(csw->dCSWDataResidue); in usb_stor_BBB_transport() 798 if (CSWSIGNATURE != le32_to_cpu(csw->dCSWSignature)) { in usb_stor_BBB_transport() 802 } else if ((CBWTag - 1) != le32_to_cpu(csw->dCSWTag)) { in usb_stor_BBB_transport() 806 } else if (csw->bCSWStatus > CSWSTATUS_PHASE) { in usb_stor_BBB_transport() 810 } else if (csw->bCSWStatus == CSWSTATUS_PHASE) { in usb_stor_BBB_transport() 818 } else if (csw->bCSWStatus == CSWSTATUS_FAILED) { in usb_stor_BBB_transport()
|
/openbmc/linux/include/linux/ |
H A D | console.h | 104 int con_is_bound(const struct consw *csw); 105 int do_unregister_con_driver(const struct consw *csw);
|
H A D | vt_kern.h | 119 int do_unbind_con_driver(const struct consw *csw, int first, int last,
|
/openbmc/linux/Documentation/admin-guide/perf/ |
H A D | xgene-pmu.rst | 42 mcb1/mcb-csw-stall/ [Kernel PMU event] 44 / # perf stat -a -e l3c0/read-miss/,mcb1/csw-write-request/ sleep 1
|
/openbmc/linux/drivers/usb/gadget/function/ |
H A D | f_tcm.c | 76 struct bulk_cs_wrap *csw = &fu->bot_status.csw; in bot_enqueue_sense_code() local 81 csw->Tag = cmd->bot_tag; in bot_enqueue_sense_code() 82 csw->Status = csw_stat; in bot_enqueue_sense_code() 115 struct bulk_cs_wrap *csw = &fu->bot_status.csw; in bot_send_bad_status() local 119 csw->Residue = cpu_to_le32(cmd->data_len); in bot_send_bad_status() 149 struct bulk_cs_wrap *csw = &fu->bot_status.csw; in bot_send_status() local 163 csw->Tag = cmd->bot_tag; in bot_send_status() 164 csw->Residue = cpu_to_le32(0); in bot_send_status() 165 csw->Status = US_BULK_STAT_OK; in bot_send_status() 308 fu->bot_status.req->buf = &fu->bot_status.csw; in bot_prepare_reqs() [all …]
|
H A D | tcm.h | 105 struct bulk_cs_wrap csw; member
|
H A D | f_mass_storage.c | 1667 struct bulk_cs_wrap *csw; in send_status() local 1699 csw = (void *)bh->buf; in send_status() 1701 csw->Signature = cpu_to_le32(US_BULK_CS_SIGN); in send_status() 1702 csw->Tag = common->tag; in send_status() 1703 csw->Residue = cpu_to_le32(common->residue); in send_status() 1704 csw->Status = status; in send_status()
|
/openbmc/u-boot/doc/ |
H A D | README.440-DDR-performance | 47 ttcp-t: 0.0user 0.1sys 0:00real 60% 0i+0d 0maxrss 0+2pf 3+1506csw 87 ttcp-t: 0.0user 0.0sys 0:00real 46% 0i+0d 0maxrss 0+2pf 120+1csw
|
/openbmc/qemu/include/hw/usb/ |
H A D | msd.h | 33 struct usb_msd_csw csw; member
|
/openbmc/linux/arch/arm64/boot/dts/apm/ |
H A D | apm-shadowcat.dtsi | 423 csw: csw@7e200000 { label 424 compatible = "apm,xgene-csw", "syscon"; 448 regmap-csw = <&csw>; 521 regmap-csw = <&csw>;
|
H A D | apm-storm.dtsi | 461 csw: csw@7e200000 { label 462 compatible = "apm,xgene-csw", "syscon"; 491 regmap-csw = <&csw>; 565 regmap-csw = <&csw>;
|
/openbmc/openbmc/meta-arm/meta-arm-bsp/recipes-bsp/u-boot/u-boot/corstone1000/ |
H A D | 0012-arm-corstone1000-fix-unrecognized-filesystem-type.patch | 27 result = usb_bulk_msg(us->pusb_dev, pipein, csw, UMASS_BBB_CSW_SIZE,
|
/openbmc/linux/drivers/perf/ |
H A D | xgene_pmu.c | 315 XGENE_PMU_EVENT_ATTR(csw-read-block, 0x06), 316 XGENE_PMU_EVENT_ATTR(csw-read-partial, 0x07), 321 XGENE_PMU_EVENT_ATTR(csw-inbound-dirty, 0x16), 328 XGENE_PMU_EVENT_ATTR(csw-read, 0x02), 329 XGENE_PMU_EVENT_ATTR(csw-write-request, 0x03), 330 XGENE_PMU_EVENT_ATTR(mcb-csw-stall, 0x04), 509 XGENE_PMU_EVENT_ATTR(mcb-csw-req-stall, 0x15), 512 XGENE_PMU_EVENT_ATTR(csw-rd-intf-blocked, 0x18), 513 XGENE_PMU_EVENT_ATTR(csw-local-ack-intf-blocked, 0x19),
|
/openbmc/linux/Documentation/RCU/ |
H A D | stallwarn.rst | 401 rcu: hardirqs softirqs csw/system 430 rcu: hardirqs softirqs csw/system 447 rcu: hardirqs softirqs csw/system 461 rcu: hardirqs softirqs csw/system 472 rcu: hardirqs softirqs csw/system
|