Home
last modified time | relevance | path

Searched refs:csw (Results 1 – 22 of 22) sorted by relevance

/openbmc/qemu/hw/usb/
H A Ddev-storage.c233 trace_usb_msd_send_status(s->csw.status, le32_to_cpu(s->csw.tag), 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()
274 s->csw.status = req->status != 0; in usb_msd_command_complete()
315 s->csw.tag = cpu_to_le32(req->tag); in usb_msd_request_cancelled()
316 s->csw.status = 1; /* error */ in usb_msd_request_cancelled()
339 memset(&s->csw, 0, sizeof(s->csw)); in usb_msd_handle_reset()
[all …]
/openbmc/u-boot/drivers/usb/emul/
H A Dsandbox_flash.c196 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 Dapm-xgene-pmu.txt16 - 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 Dapm-xgene-edac.txt15 - 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 Df_rockusb.c370 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()
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()
385 csw->status = status; in rockusb_tx_write_csw()
387 printcsw((char *)csw); in rockusb_tx_write_csw()
[all …]
H A Df_mass_storage.c1601 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 Dushc.c102 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 Dvt.c3608 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()
3725 if (!con_is_bound(csw)) in do_unbind_con_driver()
3733 module_put(csw->owner); in do_unbind_con_driver()
3750 if (!con_is_bound(csw)) in do_unbind_con_driver()
3770 csw = con->con; in vt_bind()
3821 csw = con->con; in vt_unbind()
4089 con_driver->con = csw; in do_register_con_driver()
4139 if (con_is_bound(csw)) in do_unregister_con_driver()
[all …]
/openbmc/u-boot/common/
H A Dusb_storage.c709 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/qemu/include/hw/usb/
H A Dmsd.h33 struct usb_msd_csw csw; member
/openbmc/linux/Documentation/admin-guide/perf/
H A Dxgene-pmu.rst42 mcb1/mcb-csw-stall/ [Kernel PMU event]
44 / # perf stat -a -e l3c0/read-miss/,mcb1/csw-write-request/ sleep 1
/openbmc/linux/include/linux/
H A Dconsole.h104 int con_is_bound(const struct consw *csw);
105 int do_unregister_con_driver(const struct consw *csw);
H A Dvt_kern.h119 int do_unbind_con_driver(const struct consw *csw, int first, int last,
/openbmc/u-boot/doc/
H A DREADME.440-DDR-performance47 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/linux/drivers/usb/gadget/function/
H A Df_tcm.c76 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()
325 fu->bot_status.req->buf = &fu->bot_status.csw; in bot_prepare_reqs()
[all …]
H A Dtcm.h105 struct bulk_cs_wrap csw; member
H A Df_mass_storage.c1667 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/openbmc/meta-arm/meta-arm-bsp/recipes-bsp/u-boot/u-boot/corstone1000/
H A D0012-arm-corstone1000-fix-unrecognized-filesystem-type.patch27 result = usb_bulk_msg(us->pusb_dev, pipein, csw, UMASS_BBB_CSW_SIZE,
/openbmc/linux/arch/arm64/boot/dts/apm/
H A Dapm-shadowcat.dtsi423 csw: csw@7e200000 { label
424 compatible = "apm,xgene-csw", "syscon";
448 regmap-csw = <&csw>;
521 regmap-csw = <&csw>;
H A Dapm-storm.dtsi461 csw: csw@7e200000 { label
462 compatible = "apm,xgene-csw", "syscon";
491 regmap-csw = <&csw>;
565 regmap-csw = <&csw>;
/openbmc/linux/drivers/perf/
H A Dxgene_pmu.c315 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 Dstallwarn.rst401 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