Home
last modified time | relevance | path

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

/OK3568_Linux_fs/external/xserver/composite/
H A Dcompalloc.c343 CompSubwindowsPtr csw = GetCompSubwindows(pWin); in compRedirectSubwindows() local
350 if (csw && update == CompositeRedirectManual) in compRedirectSubwindows()
351 for (ccw = csw->clients; ccw; ccw = ccw->next) in compRedirectSubwindows()
367 if (!csw) { in compRedirectSubwindows()
368 csw = malloc(sizeof(CompSubwindowsRec)); in compRedirectSubwindows()
369 if (!csw) { in compRedirectSubwindows()
373 csw->update = CompositeRedirectAutomatic; in compRedirectSubwindows()
374 csw->clients = 0; in compRedirectSubwindows()
375 dixSetPrivate(&pWin->devPrivates, CompSubwindowsPrivateKey, csw); in compRedirectSubwindows()
386 if (!csw->clients) { in compRedirectSubwindows()
[all …]
H A Dcompwindow.c572 CompSubwindowsPtr csw = GetCompSubwindows(pWin->parent); in compCreateWindow() local
579 if (csw) in compCreateWindow()
580 for (ccw = csw->clients; ccw; ccw = ccw->next) in compCreateWindow()
598 CompSubwindowsPtr csw; in compDestroyWindow() local
604 while ((csw = GetCompSubwindows(pWin))) in compDestroyWindow()
605 FreeResource(csw->clients->id, RT_NONE); in compDestroyWindow()
/OK3568_Linux_fs/u-boot/drivers/usb/emul/
H A Dsandbox_flash.c199 struct umass_bbb_csw *csw = &priv->status; in setup_fail_response() local
201 csw->dCSWSignature = CSWSIGNATURE; in setup_fail_response()
202 csw->dCSWTag = priv->tag; in setup_fail_response()
203 csw->dCSWDataResidue = 0; in setup_fail_response()
204 csw->bCSWStatus = CSWSTATUS_FAILED; in setup_fail_response()
218 struct umass_bbb_csw *csw = &priv->status; in setup_response() local
220 csw->dCSWSignature = CSWSIGNATURE; in setup_response()
221 csw->dCSWTag = priv->tag; in setup_response()
222 csw->dCSWDataResidue = 0; in setup_response()
223 csw->bCSWStatus = CSWSTATUS_GOOD; in setup_response()
/OK3568_Linux_fs/kernel/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>;
/OK3568_Linux_fs/kernel/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>;
/OK3568_Linux_fs/kernel/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()
/OK3568_Linux_fs/kernel/drivers/tty/vt/
H A Dvt.c3639 static int do_bind_con_driver(const struct consw *csw, int first, int last, in do_bind_con_driver() argument
3642 struct module *owner = csw->owner; in do_bind_con_driver()
3656 if (con_driver->con == csw) { in do_bind_con_driver()
3667 csw->con_startup(); in do_bind_con_driver()
3676 conswitchp = csw; in do_bind_con_driver()
3689 con_driver_map[i] = csw; in do_bind_con_driver()
3742 int do_unbind_con_driver(const struct consw *csw, int first, int last, int deflt) in do_unbind_con_driver() argument
3744 struct module *owner = csw->owner; in do_unbind_con_driver()
3758 if (con_driver->con == csw && in do_unbind_con_driver()
3774 if (con_back->con && con_back->con != csw) { in do_unbind_con_driver()
[all …]
/OK3568_Linux_fs/external/rkupdate/
H A DRKComm.h152 #define UFI_CHECK_SIGN(cbw, csw) ((CSW_SIGN == (csw).dwCSWSignature) && ((csw).dwCSWTag == (cbw).dw… argument
/OK3568_Linux_fs/u-boot/common/
H A Dusb_storage.c713 ALLOC_CACHE_ALIGN_BUFFER(struct umass_bbb_csw, csw, 1); in usb_stor_BBB_transport()
773 result = usb_bulk_msg(us->pusb_dev, pipein, csw, UMASS_BBB_CSW_SIZE, in usb_stor_BBB_transport()
793 ptr = (unsigned char *)csw; in usb_stor_BBB_transport()
799 pipe = le32_to_cpu(csw->dCSWDataResidue); in usb_stor_BBB_transport()
802 if (CSWSIGNATURE != le32_to_cpu(csw->dCSWSignature)) { in usb_stor_BBB_transport()
806 } else if ((CBWTag - 1) != le32_to_cpu(csw->dCSWTag)) { in usb_stor_BBB_transport()
810 } else if (csw->bCSWStatus > CSWSTATUS_PHASE) { in usb_stor_BBB_transport()
814 } else if (csw->bCSWStatus == CSWSTATUS_PHASE) { in usb_stor_BBB_transport()
822 } else if (csw->bCSWStatus == CSWSTATUS_FAILED) { in usb_stor_BBB_transport()
/OK3568_Linux_fs/kernel/include/linux/
H A Dconsole.h102 int con_is_bound(const struct consw *csw);
103 int do_unregister_con_driver(const struct consw *csw);
H A Dvt_kern.h132 int do_unbind_con_driver(const struct consw *csw, int first, int last,
/OK3568_Linux_fs/kernel/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.c1649 struct bulk_cs_wrap *csw; in send_status() local
1681 csw = (void *)bh->buf; in send_status()
1683 csw->Signature = cpu_to_le32(US_BULK_CS_SIGN); in send_status()
1684 csw->Tag = common->tag; in send_status()
1685 csw->Residue = cpu_to_le32(common->residue); in send_status()
1686 csw->Status = status; in send_status()
/OK3568_Linux_fs/kernel/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
/OK3568_Linux_fs/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
/OK3568_Linux_fs/kernel/arch/arm64/boot/dts/apm/
H A Dapm-shadowcat.dtsi415 csw: csw@7e200000 { label
416 compatible = "apm,xgene-csw", "syscon";
440 regmap-csw = <&csw>;
513 regmap-csw = <&csw>;
H A Dapm-storm.dtsi453 csw: csw@7e200000 { label
454 compatible = "apm,xgene-csw", "syscon";
483 regmap-csw = <&csw>;
557 regmap-csw = <&csw>;
/OK3568_Linux_fs/kernel/drivers/perf/
H A Dxgene_pmu.c318 XGENE_PMU_EVENT_ATTR(csw-read-block, 0x06),
319 XGENE_PMU_EVENT_ATTR(csw-read-partial, 0x07),
324 XGENE_PMU_EVENT_ATTR(csw-inbound-dirty, 0x16),
331 XGENE_PMU_EVENT_ATTR(csw-read, 0x02),
332 XGENE_PMU_EVENT_ATTR(csw-write-request, 0x03),
333 XGENE_PMU_EVENT_ATTR(mcb-csw-stall, 0x04),
512 XGENE_PMU_EVENT_ATTR(mcb-csw-req-stall, 0x15),
515 XGENE_PMU_EVENT_ATTR(csw-rd-intf-blocked, 0x18),
516 XGENE_PMU_EVENT_ATTR(csw-local-ack-intf-blocked, 0x19),
/OK3568_Linux_fs/u-boot/drivers/usb/gadget/
H A Df_mass_storage.c1608 struct bulk_cs_wrap *csw; in send_status() local
1641 csw = (void *)bh->buf; in send_status()
1643 csw->Signature = cpu_to_le32(USB_BULK_CS_SIG); in send_status()
1644 csw->Tag = common->tag; in send_status()
1645 csw->Residue = cpu_to_le32(common->residue); in send_status()
1646 csw->Status = status; in send_status()