Searched refs:csw (Results 1 - 8 of 8) sorted by relevance

/linux-4.4.14/drivers/mmc/host/
H A Dushc.c106 struct ushc_csw *csw; member in struct:ushc_data
225 status = ushc->csw->status; csw_callback()
247 req->cmd->resp[0] = le32_to_cpu(ushc->csw->response); csw_callback()
410 kfree(ushc->csw); ushc_clean_up()
507 ushc->csw = kzalloc(sizeof(struct ushc_csw), GFP_KERNEL); ushc_probe()
508 if (ushc->csw == NULL) { ushc_probe()
513 ushc->csw, sizeof(struct ushc_csw), ushc_probe()
/linux-4.4.14/drivers/usb/gadget/legacy/
H A Dtcm_usb_gadget.h101 struct bulk_cs_wrap csw; member in struct:bot_status
H A Dtcm_usb_gadget.c72 struct bulk_cs_wrap *csw = &fu->bot_status.csw; bot_enqueue_sense_code() local
86 csw->Tag = cmd->bot_tag; bot_enqueue_sense_code()
87 csw->Status = csw_stat; bot_enqueue_sense_code()
120 struct bulk_cs_wrap *csw = &fu->bot_status.csw; bot_send_bad_status() local
124 csw->Residue = cpu_to_le32(cmd->data_len); bot_send_bad_status()
154 struct bulk_cs_wrap *csw = &fu->bot_status.csw; bot_send_status() local
161 * the pipe and then send the csw with reside set. bot_send_status()
168 csw->Tag = cmd->bot_tag; bot_send_status()
169 csw->Residue = cpu_to_le32(0); bot_send_status()
170 csw->Status = US_BULK_STAT_OK; bot_send_status()
330 fu->bot_status.req->buf = &fu->bot_status.csw; bot_prepare_reqs()
333 fu->bot_status.csw.Signature = cpu_to_le32(US_BULK_CS_SIGN); bot_prepare_reqs()
/linux-4.4.14/drivers/tty/vt/
H A Dvt.c3107 static int do_bind_con_driver(const struct consw *csw, int first, int last, do_bind_con_driver() argument
3110 struct module *owner = csw->owner; do_bind_con_driver()
3124 if (con_driver->con == csw) { do_bind_con_driver()
3135 csw->con_startup(); do_bind_con_driver()
3144 conswitchp = csw; do_bind_con_driver()
3157 con_driver_map[i] = csw; do_bind_con_driver()
3210 int do_unbind_con_driver(const struct consw *csw, int first, int last, int deflt) do_unbind_con_driver() argument
3212 struct module *owner = csw->owner; do_unbind_con_driver()
3226 if (con_driver->con == csw && do_unbind_con_driver()
3242 if (con_back->con && con_back->con != csw) { do_unbind_con_driver()
3252 if (!con_is_bound(csw)) do_unbind_con_driver()
3259 if (con_driver_map[i] == csw) { do_unbind_con_driver()
3260 module_put(csw->owner); do_unbind_con_driver()
3277 if (!con_is_bound(csw)) do_unbind_con_driver()
3291 const struct consw *defcsw = NULL, *csw = NULL; vt_bind() local
3297 csw = con->con; vt_bind()
3328 do_bind_con_driver(csw, first, last, deflt); vt_bind()
3341 const struct consw *csw = NULL; vt_unbind() local
3348 csw = con->con; vt_unbind()
3354 if (con_driver_map[i] == csw) { vt_unbind()
3367 ret = do_unbind_con_driver(csw, first, last, deflt); vt_unbind()
3453 * @csw: console driver
3460 int con_is_bound(const struct consw *csw) con_is_bound() argument
3465 if (con_driver_map[i] == csw) { con_is_bound()
3562 static int do_register_con_driver(const struct consw *csw, int first, int last) do_register_con_driver() argument
3564 struct module *owner = csw->owner; do_register_con_driver()
3578 if (con_driver->con == csw) do_register_con_driver()
3585 desc = csw->con_startup(); do_register_con_driver()
3598 con_driver->con = csw; do_register_con_driver()
3635 * @csw: console driver
3644 int do_unregister_con_driver(const struct consw *csw) do_unregister_con_driver() argument
3649 if (con_is_bound(csw)) do_unregister_con_driver()
3652 if (csw == conswitchp) do_unregister_con_driver()
3658 if (con_driver->con == csw) { do_unregister_con_driver()
3721 int do_take_over_console(const struct consw *csw, int first, int last, int deflt) do_take_over_console() argument
3725 err = do_register_con_driver(csw, first, last); do_take_over_console()
3734 do_bind_con_driver(csw, first, last, deflt); do_take_over_console()
3745 void give_up_console(const struct consw *csw) give_up_console() argument
3748 do_unregister_con_driver(csw); give_up_console()
/linux-4.4.14/include/linux/
H A Dconsole.h77 int con_is_bound(const struct consw *csw);
78 int do_unregister_con_driver(const struct consw *csw);
H A Dvt_kern.h134 extern int do_unbind_con_driver(const struct consw *csw, int first, int last,
/linux-4.4.14/drivers/usb/gadget/function/
H A Df_mass_storage.c1630 struct bulk_cs_wrap *csw; send_status() local
1664 csw = (void *)bh->buf; send_status()
1666 csw->Signature = cpu_to_le32(US_BULK_CS_SIGN); send_status()
1667 csw->Tag = common->tag; send_status()
1668 csw->Residue = cpu_to_le32(common->residue); send_status()
1669 csw->Status = status; send_status()
/linux-4.4.14/drivers/edac/
H A Dxgene_edac.c1825 "regmap-csw"); xgene_edac_probe()
1827 dev_err(edac->dev, "unable to get syscon regmap csw\n"); xgene_edac_probe()

Completed in 490 milliseconds