Home
last modified time | relevance | path

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

/linux-4.1.27/drivers/mmc/host/
Dushc.c106 struct ushc_csw *csw; member
225 status = ushc->csw->status; in csw_callback()
247 req->cmd->resp[0] = le32_to_cpu(ushc->csw->response); in csw_callback()
410 kfree(ushc->csw); in ushc_clean_up()
507 ushc->csw = kzalloc(sizeof(struct ushc_csw), GFP_KERNEL); in ushc_probe()
508 if (ushc->csw == NULL) { in ushc_probe()
513 ushc->csw, sizeof(struct ushc_csw), in ushc_probe()
/linux-4.1.27/drivers/tty/vt/
Dvt.c3093 static int do_bind_con_driver(const struct consw *csw, int first, int last, in do_bind_con_driver() argument
3096 struct module *owner = csw->owner; in do_bind_con_driver()
3110 if (con_driver->con == csw) { in do_bind_con_driver()
3121 csw->con_startup(); in do_bind_con_driver()
3130 conswitchp = csw; in do_bind_con_driver()
3143 con_driver_map[i] = csw; in do_bind_con_driver()
3195 static int con_is_graphics(const struct consw *csw, int first, int last) in con_is_graphics() argument
3212 int do_unbind_con_driver(const struct consw *csw, int first, int last, int deflt) in do_unbind_con_driver() argument
3214 struct module *owner = csw->owner; in do_unbind_con_driver()
3228 if (con_driver->con == csw && in do_unbind_con_driver()
[all …]
/linux-4.1.27/include/linux/
Dconsole.h77 int con_is_bound(const struct consw *csw);
78 int do_unregister_con_driver(const struct consw *csw);
Dvt_kern.h134 extern int do_unbind_con_driver(const struct consw *csw, int first, int last,
/linux-4.1.27/drivers/usb/gadget/legacy/
Dtcm_usb_gadget.c78 struct bulk_cs_wrap *csw = &fu->bot_status.csw; in bot_enqueue_sense_code() local
92 csw->Tag = cmd->bot_tag; in bot_enqueue_sense_code()
93 csw->Status = csw_stat; in bot_enqueue_sense_code()
126 struct bulk_cs_wrap *csw = &fu->bot_status.csw; in bot_send_bad_status() local
130 csw->Residue = cpu_to_le32(cmd->data_len); in bot_send_bad_status()
160 struct bulk_cs_wrap *csw = &fu->bot_status.csw; in bot_send_status() local
174 csw->Tag = cmd->bot_tag; in bot_send_status()
175 csw->Residue = cpu_to_le32(0); in bot_send_status()
176 csw->Status = US_BULK_STAT_OK; in bot_send_status()
336 fu->bot_status.req->buf = &fu->bot_status.csw; in bot_prepare_reqs()
[all …]
Dtcm_usb_gadget.h113 struct bulk_cs_wrap csw; member
/linux-4.1.27/drivers/usb/gadget/function/
Df_mass_storage.c1630 struct bulk_cs_wrap *csw; in send_status() local
1664 csw = (void *)bh->buf; in send_status()
1666 csw->Signature = cpu_to_le32(US_BULK_CS_SIGN); in send_status()
1667 csw->Tag = common->tag; in send_status()
1668 csw->Residue = cpu_to_le32(common->residue); in send_status()
1669 csw->Status = status; in send_status()