fu 1199 drivers/net/fddi/skfp/fplustm.c u_char *fu ; fu 1211 drivers/net/fddi/skfp/fplustm.c fu = (u_char *) &smc->hw.fp.func_addr ; fu 1213 drivers/net/fddi/skfp/fplustm.c outpw(FM_A(FM_AFMASK1),(u_short) ~((fu[0] << 8) + fu[1])) ; fu 1214 drivers/net/fddi/skfp/fplustm.c outpw(FM_A(FM_AFMASK0),(u_short) ~((fu[2] << 8) + fu[3])) ; fu 46 drivers/usb/gadget/function/f_tcm.c static int bot_enqueue_cmd_cbw(struct f_uas *fu) fu 50 drivers/usb/gadget/function/f_tcm.c if (fu->flags & USBG_BOT_CMD_PEND) fu 53 drivers/usb/gadget/function/f_tcm.c ret = usb_ep_queue(fu->ep_out, fu->cmd.req, GFP_ATOMIC); fu 55 drivers/usb/gadget/function/f_tcm.c fu->flags |= USBG_BOT_CMD_PEND; fu 62 drivers/usb/gadget/function/f_tcm.c struct f_uas *fu = cmd->fu; fu 71 drivers/usb/gadget/function/f_tcm.c bot_enqueue_cmd_cbw(fu); fu 74 drivers/usb/gadget/function/f_tcm.c static void bot_enqueue_sense_code(struct f_uas *fu, struct usbg_cmd *cmd) fu 76 drivers/usb/gadget/function/f_tcm.c struct bulk_cs_wrap *csw = &fu->bot_status.csw; fu 83 drivers/usb/gadget/function/f_tcm.c fu->bot_status.req->context = cmd; fu 84 drivers/usb/gadget/function/f_tcm.c ret = usb_ep_queue(fu->ep_in, fu->bot_status.req, GFP_ATOMIC); fu 92 drivers/usb/gadget/function/f_tcm.c struct f_uas *fu = cmd->fu; fu 109 drivers/usb/gadget/function/f_tcm.c bot_enqueue_sense_code(fu, cmd); fu 114 drivers/usb/gadget/function/f_tcm.c struct f_uas *fu = cmd->fu; fu 115 drivers/usb/gadget/function/f_tcm.c struct bulk_cs_wrap *csw = &fu->bot_status.csw; fu 123 drivers/usb/gadget/function/f_tcm.c ep = fu->ep_in; fu 124 drivers/usb/gadget/function/f_tcm.c req = fu->bot_req_in; fu 126 drivers/usb/gadget/function/f_tcm.c ep = fu->ep_out; fu 127 drivers/usb/gadget/function/f_tcm.c req = fu->bot_req_out; fu 130 drivers/usb/gadget/function/f_tcm.c if (cmd->data_len > fu->ep_in->maxpacket) { fu 139 drivers/usb/gadget/function/f_tcm.c req->buf = fu->cmd.buf; fu 142 drivers/usb/gadget/function/f_tcm.c bot_enqueue_sense_code(fu, cmd); fu 148 drivers/usb/gadget/function/f_tcm.c struct f_uas *fu = cmd->fu; fu 149 drivers/usb/gadget/function/f_tcm.c struct bulk_cs_wrap *csw = &fu->bot_status.csw; fu 166 drivers/usb/gadget/function/f_tcm.c fu->bot_status.req->context = cmd; fu 168 drivers/usb/gadget/function/f_tcm.c ret = usb_ep_queue(fu->ep_in, fu->bot_status.req, GFP_KERNEL); fu 204 drivers/usb/gadget/function/f_tcm.c struct f_uas *fu = cmd->fu; fu 206 drivers/usb/gadget/function/f_tcm.c struct usb_gadget *gadget = fuas_to_gadget(fu); fu 225 drivers/usb/gadget/function/f_tcm.c fu->bot_req_in->buf = cmd->data_buf; fu 227 drivers/usb/gadget/function/f_tcm.c fu->bot_req_in->buf = NULL; fu 228 drivers/usb/gadget/function/f_tcm.c fu->bot_req_in->num_sgs = se_cmd->t_data_nents; fu 229 drivers/usb/gadget/function/f_tcm.c fu->bot_req_in->sg = se_cmd->t_data_sg; fu 232 drivers/usb/gadget/function/f_tcm.c fu->bot_req_in->complete = bot_read_compl; fu 233 drivers/usb/gadget/function/f_tcm.c fu->bot_req_in->length = se_cmd->data_length; fu 234 drivers/usb/gadget/function/f_tcm.c fu->bot_req_in->context = cmd; fu 235 drivers/usb/gadget/function/f_tcm.c ret = usb_ep_queue(fu->ep_in, fu->bot_req_in, GFP_ATOMIC); fu 246 drivers/usb/gadget/function/f_tcm.c struct f_uas *fu = cmd->fu; fu 248 drivers/usb/gadget/function/f_tcm.c struct usb_gadget *gadget = fuas_to_gadget(fu); fu 252 drivers/usb/gadget/function/f_tcm.c cmd->fu = fu; fu 264 drivers/usb/gadget/function/f_tcm.c fu->bot_req_out->buf = cmd->data_buf; fu 266 drivers/usb/gadget/function/f_tcm.c fu->bot_req_out->buf = NULL; fu 267 drivers/usb/gadget/function/f_tcm.c fu->bot_req_out->num_sgs = se_cmd->t_data_nents; fu 268 drivers/usb/gadget/function/f_tcm.c fu->bot_req_out->sg = se_cmd->t_data_sg; fu 271 drivers/usb/gadget/function/f_tcm.c fu->bot_req_out->complete = usbg_data_write_cmpl; fu 272 drivers/usb/gadget/function/f_tcm.c fu->bot_req_out->length = se_cmd->data_length; fu 273 drivers/usb/gadget/function/f_tcm.c fu->bot_req_out->context = cmd; fu 275 drivers/usb/gadget/function/f_tcm.c ret = usbg_prepare_w_request(cmd, fu->bot_req_out); fu 278 drivers/usb/gadget/function/f_tcm.c ret = usb_ep_queue(fu->ep_out, fu->bot_req_out, GFP_KERNEL); fu 292 drivers/usb/gadget/function/f_tcm.c struct f_uas *fu = req->context; fu 295 drivers/usb/gadget/function/f_tcm.c fu->flags &= ~USBG_BOT_CMD_PEND; fu 300 drivers/usb/gadget/function/f_tcm.c ret = bot_submit_command(fu, req->buf, req->actual); fu 305 drivers/usb/gadget/function/f_tcm.c static int bot_prepare_reqs(struct f_uas *fu) fu 309 drivers/usb/gadget/function/f_tcm.c fu->bot_req_in = usb_ep_alloc_request(fu->ep_in, GFP_KERNEL); fu 310 drivers/usb/gadget/function/f_tcm.c if (!fu->bot_req_in) fu 313 drivers/usb/gadget/function/f_tcm.c fu->bot_req_out = usb_ep_alloc_request(fu->ep_out, GFP_KERNEL); fu 314 drivers/usb/gadget/function/f_tcm.c if (!fu->bot_req_out) fu 317 drivers/usb/gadget/function/f_tcm.c fu->cmd.req = usb_ep_alloc_request(fu->ep_out, GFP_KERNEL); fu 318 drivers/usb/gadget/function/f_tcm.c if (!fu->cmd.req) fu 321 drivers/usb/gadget/function/f_tcm.c fu->bot_status.req = usb_ep_alloc_request(fu->ep_in, GFP_KERNEL); fu 322 drivers/usb/gadget/function/f_tcm.c if (!fu->bot_status.req) fu 325 drivers/usb/gadget/function/f_tcm.c fu->bot_status.req->buf = &fu->bot_status.csw; fu 326 drivers/usb/gadget/function/f_tcm.c fu->bot_status.req->length = US_BULK_CS_WRAP_LEN; fu 327 drivers/usb/gadget/function/f_tcm.c fu->bot_status.req->complete = bot_status_complete; fu 328 drivers/usb/gadget/function/f_tcm.c fu->bot_status.csw.Signature = cpu_to_le32(US_BULK_CS_SIGN); fu 330 drivers/usb/gadget/function/f_tcm.c fu->cmd.buf = kmalloc(fu->ep_out->maxpacket, GFP_KERNEL); fu 331 drivers/usb/gadget/function/f_tcm.c if (!fu->cmd.buf) fu 334 drivers/usb/gadget/function/f_tcm.c fu->cmd.req->complete = bot_cmd_complete; fu 335 drivers/usb/gadget/function/f_tcm.c fu->cmd.req->buf = fu->cmd.buf; fu 336 drivers/usb/gadget/function/f_tcm.c fu->cmd.req->length = fu->ep_out->maxpacket; fu 337 drivers/usb/gadget/function/f_tcm.c fu->cmd.req->context = fu; fu 339 drivers/usb/gadget/function/f_tcm.c ret = bot_enqueue_cmd_cbw(fu); fu 344 drivers/usb/gadget/function/f_tcm.c kfree(fu->cmd.buf); fu 345 drivers/usb/gadget/function/f_tcm.c fu->cmd.buf = NULL; fu 347 drivers/usb/gadget/function/f_tcm.c usb_ep_free_request(fu->ep_in, fu->bot_status.req); fu 349 drivers/usb/gadget/function/f_tcm.c usb_ep_free_request(fu->ep_out, fu->cmd.req); fu 350 drivers/usb/gadget/function/f_tcm.c fu->cmd.req = NULL; fu 352 drivers/usb/gadget/function/f_tcm.c usb_ep_free_request(fu->ep_out, fu->bot_req_out); fu 353 drivers/usb/gadget/function/f_tcm.c fu->bot_req_out = NULL; fu 355 drivers/usb/gadget/function/f_tcm.c usb_ep_free_request(fu->ep_in, fu->bot_req_in); fu 356 drivers/usb/gadget/function/f_tcm.c fu->bot_req_in = NULL; fu 362 drivers/usb/gadget/function/f_tcm.c static void bot_cleanup_old_alt(struct f_uas *fu) fu 364 drivers/usb/gadget/function/f_tcm.c if (!(fu->flags & USBG_ENABLED)) fu 367 drivers/usb/gadget/function/f_tcm.c usb_ep_disable(fu->ep_in); fu 368 drivers/usb/gadget/function/f_tcm.c usb_ep_disable(fu->ep_out); fu 370 drivers/usb/gadget/function/f_tcm.c if (!fu->bot_req_in) fu 373 drivers/usb/gadget/function/f_tcm.c usb_ep_free_request(fu->ep_in, fu->bot_req_in); fu 374 drivers/usb/gadget/function/f_tcm.c usb_ep_free_request(fu->ep_out, fu->bot_req_out); fu 375 drivers/usb/gadget/function/f_tcm.c usb_ep_free_request(fu->ep_out, fu->cmd.req); fu 376 drivers/usb/gadget/function/f_tcm.c usb_ep_free_request(fu->ep_in, fu->bot_status.req); fu 378 drivers/usb/gadget/function/f_tcm.c kfree(fu->cmd.buf); fu 380 drivers/usb/gadget/function/f_tcm.c fu->bot_req_in = NULL; fu 381 drivers/usb/gadget/function/f_tcm.c fu->bot_req_out = NULL; fu 382 drivers/usb/gadget/function/f_tcm.c fu->cmd.req = NULL; fu 383 drivers/usb/gadget/function/f_tcm.c fu->bot_status.req = NULL; fu 384 drivers/usb/gadget/function/f_tcm.c fu->cmd.buf = NULL; fu 387 drivers/usb/gadget/function/f_tcm.c static void bot_set_alt(struct f_uas *fu) fu 389 drivers/usb/gadget/function/f_tcm.c struct usb_function *f = &fu->function; fu 393 drivers/usb/gadget/function/f_tcm.c fu->flags = USBG_IS_BOT; fu 395 drivers/usb/gadget/function/f_tcm.c config_ep_by_speed(gadget, f, fu->ep_in); fu 396 drivers/usb/gadget/function/f_tcm.c ret = usb_ep_enable(fu->ep_in); fu 400 drivers/usb/gadget/function/f_tcm.c config_ep_by_speed(gadget, f, fu->ep_out); fu 401 drivers/usb/gadget/function/f_tcm.c ret = usb_ep_enable(fu->ep_out); fu 405 drivers/usb/gadget/function/f_tcm.c ret = bot_prepare_reqs(fu); fu 408 drivers/usb/gadget/function/f_tcm.c fu->flags |= USBG_ENABLED; fu 412 drivers/usb/gadget/function/f_tcm.c usb_ep_disable(fu->ep_out); fu 414 drivers/usb/gadget/function/f_tcm.c usb_ep_disable(fu->ep_in); fu 416 drivers/usb/gadget/function/f_tcm.c fu->flags = USBG_IS_BOT; fu 422 drivers/usb/gadget/function/f_tcm.c struct f_uas *fu = to_f_uas(f); fu 439 drivers/usb/gadget/function/f_tcm.c luns = atomic_read(&fu->tpg->tpg_port_count); fu 460 drivers/usb/gadget/function/f_tcm.c bot_enqueue_cmd_cbw(fu); fu 468 drivers/usb/gadget/function/f_tcm.c static void uasp_cleanup_one_stream(struct f_uas *fu, struct uas_stream *stream) fu 474 drivers/usb/gadget/function/f_tcm.c usb_ep_free_request(fu->ep_in, stream->req_in); fu 475 drivers/usb/gadget/function/f_tcm.c usb_ep_free_request(fu->ep_out, stream->req_out); fu 476 drivers/usb/gadget/function/f_tcm.c usb_ep_free_request(fu->ep_status, stream->req_status); fu 483 drivers/usb/gadget/function/f_tcm.c static void uasp_free_cmdreq(struct f_uas *fu) fu 485 drivers/usb/gadget/function/f_tcm.c usb_ep_free_request(fu->ep_cmd, fu->cmd.req); fu 486 drivers/usb/gadget/function/f_tcm.c kfree(fu->cmd.buf); fu 487 drivers/usb/gadget/function/f_tcm.c fu->cmd.req = NULL; fu 488 drivers/usb/gadget/function/f_tcm.c fu->cmd.buf = NULL; fu 491 drivers/usb/gadget/function/f_tcm.c static void uasp_cleanup_old_alt(struct f_uas *fu) fu 495 drivers/usb/gadget/function/f_tcm.c if (!(fu->flags & USBG_ENABLED)) fu 498 drivers/usb/gadget/function/f_tcm.c usb_ep_disable(fu->ep_in); fu 499 drivers/usb/gadget/function/f_tcm.c usb_ep_disable(fu->ep_out); fu 500 drivers/usb/gadget/function/f_tcm.c usb_ep_disable(fu->ep_status); fu 501 drivers/usb/gadget/function/f_tcm.c usb_ep_disable(fu->ep_cmd); fu 504 drivers/usb/gadget/function/f_tcm.c uasp_cleanup_one_stream(fu, &fu->stream[i]); fu 505 drivers/usb/gadget/function/f_tcm.c uasp_free_cmdreq(fu); fu 513 drivers/usb/gadget/function/f_tcm.c struct f_uas *fu = cmd->fu; fu 514 drivers/usb/gadget/function/f_tcm.c struct usb_gadget *gadget = fuas_to_gadget(fu); fu 567 drivers/usb/gadget/function/f_tcm.c struct f_uas *fu = cmd->fu; fu 578 drivers/usb/gadget/function/f_tcm.c ret = usb_ep_queue(fu->ep_in, stream->req_in, GFP_ATOMIC); fu 587 drivers/usb/gadget/function/f_tcm.c ret = usb_ep_queue(fu->ep_out, stream->req_out, GFP_ATOMIC); fu 594 drivers/usb/gadget/function/f_tcm.c ret = usb_ep_queue(fu->ep_status, stream->req_status, fu 602 drivers/usb/gadget/function/f_tcm.c usb_ep_queue(fu->ep_cmd, fu->cmd.req, GFP_ATOMIC); fu 616 drivers/usb/gadget/function/f_tcm.c struct f_uas *fu = cmd->fu; fu 623 drivers/usb/gadget/function/f_tcm.c cmd->fu = fu; fu 625 drivers/usb/gadget/function/f_tcm.c return usb_ep_queue(fu->ep_status, stream->req_status, GFP_ATOMIC); fu 630 drivers/usb/gadget/function/f_tcm.c struct f_uas *fu = cmd->fu; fu 635 drivers/usb/gadget/function/f_tcm.c cmd->fu = fu; fu 638 drivers/usb/gadget/function/f_tcm.c if (fu->flags & USBG_USE_STREAMS) { fu 643 drivers/usb/gadget/function/f_tcm.c ret = usb_ep_queue(fu->ep_in, stream->req_in, GFP_ATOMIC); fu 662 drivers/usb/gadget/function/f_tcm.c ret = usb_ep_queue(fu->ep_status, stream->req_status, fu 673 drivers/usb/gadget/function/f_tcm.c struct f_uas *fu = cmd->fu; fu 680 drivers/usb/gadget/function/f_tcm.c cmd->fu = fu; fu 684 drivers/usb/gadget/function/f_tcm.c if (fu->flags & USBG_USE_STREAMS) { fu 689 drivers/usb/gadget/function/f_tcm.c ret = usb_ep_queue(fu->ep_out, stream->req_out, GFP_ATOMIC); fu 705 drivers/usb/gadget/function/f_tcm.c ret = usb_ep_queue(fu->ep_status, stream->req_status, fu 721 drivers/usb/gadget/function/f_tcm.c struct f_uas *fu = req->context; fu 727 drivers/usb/gadget/function/f_tcm.c ret = usbg_submit_command(fu, req->buf, req->actual); fu 736 drivers/usb/gadget/function/f_tcm.c usb_ep_queue(fu->ep_cmd, fu->cmd.req, GFP_ATOMIC); fu 739 drivers/usb/gadget/function/f_tcm.c static int uasp_alloc_stream_res(struct f_uas *fu, struct uas_stream *stream) fu 741 drivers/usb/gadget/function/f_tcm.c stream->req_in = usb_ep_alloc_request(fu->ep_in, GFP_KERNEL); fu 745 drivers/usb/gadget/function/f_tcm.c stream->req_out = usb_ep_alloc_request(fu->ep_out, GFP_KERNEL); fu 749 drivers/usb/gadget/function/f_tcm.c stream->req_status = usb_ep_alloc_request(fu->ep_status, GFP_KERNEL); fu 755 drivers/usb/gadget/function/f_tcm.c usb_ep_free_request(fu->ep_status, stream->req_status); fu 758 drivers/usb/gadget/function/f_tcm.c usb_ep_free_request(fu->ep_out, stream->req_out); fu 764 drivers/usb/gadget/function/f_tcm.c static int uasp_alloc_cmd(struct f_uas *fu) fu 766 drivers/usb/gadget/function/f_tcm.c fu->cmd.req = usb_ep_alloc_request(fu->ep_cmd, GFP_KERNEL); fu 767 drivers/usb/gadget/function/f_tcm.c if (!fu->cmd.req) fu 770 drivers/usb/gadget/function/f_tcm.c fu->cmd.buf = kmalloc(fu->ep_cmd->maxpacket, GFP_KERNEL); fu 771 drivers/usb/gadget/function/f_tcm.c if (!fu->cmd.buf) fu 774 drivers/usb/gadget/function/f_tcm.c fu->cmd.req->complete = uasp_cmd_complete; fu 775 drivers/usb/gadget/function/f_tcm.c fu->cmd.req->buf = fu->cmd.buf; fu 776 drivers/usb/gadget/function/f_tcm.c fu->cmd.req->length = fu->ep_cmd->maxpacket; fu 777 drivers/usb/gadget/function/f_tcm.c fu->cmd.req->context = fu; fu 781 drivers/usb/gadget/function/f_tcm.c usb_ep_free_request(fu->ep_cmd, fu->cmd.req); fu 786 drivers/usb/gadget/function/f_tcm.c static void uasp_setup_stream_res(struct f_uas *fu, int max_streams) fu 791 drivers/usb/gadget/function/f_tcm.c struct uas_stream *s = &fu->stream[i]; fu 799 drivers/usb/gadget/function/f_tcm.c static int uasp_prepare_reqs(struct f_uas *fu) fu 805 drivers/usb/gadget/function/f_tcm.c if (fu->flags & USBG_USE_STREAMS) fu 811 drivers/usb/gadget/function/f_tcm.c ret = uasp_alloc_stream_res(fu, &fu->stream[i]); fu 816 drivers/usb/gadget/function/f_tcm.c ret = uasp_alloc_cmd(fu); fu 819 drivers/usb/gadget/function/f_tcm.c uasp_setup_stream_res(fu, max_streams); fu 821 drivers/usb/gadget/function/f_tcm.c ret = usb_ep_queue(fu->ep_cmd, fu->cmd.req, GFP_ATOMIC); fu 828 drivers/usb/gadget/function/f_tcm.c uasp_free_cmdreq(fu); fu 833 drivers/usb/gadget/function/f_tcm.c uasp_cleanup_one_stream(fu, &fu->stream[i - 1]); fu 841 drivers/usb/gadget/function/f_tcm.c static void uasp_set_alt(struct f_uas *fu) fu 843 drivers/usb/gadget/function/f_tcm.c struct usb_function *f = &fu->function; fu 847 drivers/usb/gadget/function/f_tcm.c fu->flags = USBG_IS_UAS; fu 850 drivers/usb/gadget/function/f_tcm.c fu->flags |= USBG_USE_STREAMS; fu 852 drivers/usb/gadget/function/f_tcm.c config_ep_by_speed(gadget, f, fu->ep_in); fu 853 drivers/usb/gadget/function/f_tcm.c ret = usb_ep_enable(fu->ep_in); fu 857 drivers/usb/gadget/function/f_tcm.c config_ep_by_speed(gadget, f, fu->ep_out); fu 858 drivers/usb/gadget/function/f_tcm.c ret = usb_ep_enable(fu->ep_out); fu 862 drivers/usb/gadget/function/f_tcm.c config_ep_by_speed(gadget, f, fu->ep_cmd); fu 863 drivers/usb/gadget/function/f_tcm.c ret = usb_ep_enable(fu->ep_cmd); fu 866 drivers/usb/gadget/function/f_tcm.c config_ep_by_speed(gadget, f, fu->ep_status); fu 867 drivers/usb/gadget/function/f_tcm.c ret = usb_ep_enable(fu->ep_status); fu 871 drivers/usb/gadget/function/f_tcm.c ret = uasp_prepare_reqs(fu); fu 874 drivers/usb/gadget/function/f_tcm.c fu->flags |= USBG_ENABLED; fu 879 drivers/usb/gadget/function/f_tcm.c usb_ep_disable(fu->ep_status); fu 881 drivers/usb/gadget/function/f_tcm.c usb_ep_disable(fu->ep_cmd); fu 883 drivers/usb/gadget/function/f_tcm.c usb_ep_disable(fu->ep_out); fu 885 drivers/usb/gadget/function/f_tcm.c usb_ep_disable(fu->ep_in); fu 887 drivers/usb/gadget/function/f_tcm.c fu->flags = 0; fu 979 drivers/usb/gadget/function/f_tcm.c struct f_uas *fu = cmd->fu; fu 980 drivers/usb/gadget/function/f_tcm.c struct usb_gadget *gadget = fuas_to_gadget(fu); fu 1004 drivers/usb/gadget/function/f_tcm.c struct f_uas *fu = cmd->fu; fu 1006 drivers/usb/gadget/function/f_tcm.c if (fu->flags & USBG_IS_BOT) fu 1016 drivers/usb/gadget/function/f_tcm.c struct f_uas *fu = cmd->fu; fu 1018 drivers/usb/gadget/function/f_tcm.c if (fu->flags & USBG_IS_BOT) fu 1028 drivers/usb/gadget/function/f_tcm.c struct f_uas *fu = cmd->fu; fu 1030 drivers/usb/gadget/function/f_tcm.c if (fu->flags & USBG_IS_BOT) fu 1045 drivers/usb/gadget/function/f_tcm.c tpg = cmd->fu->tpg; fu 1069 drivers/usb/gadget/function/f_tcm.c static struct usbg_cmd *usbg_get_cmd(struct f_uas *fu, fu 1085 drivers/usb/gadget/function/f_tcm.c cmd->fu = fu; fu 1092 drivers/usb/gadget/function/f_tcm.c static int usbg_submit_command(struct f_uas *fu, fu 1097 drivers/usb/gadget/function/f_tcm.c struct usbg_tpg *tpg = fu->tpg; fu 1118 drivers/usb/gadget/function/f_tcm.c cmd = usbg_get_cmd(fu, tv_nexus, scsi_tag); fu 1125 drivers/usb/gadget/function/f_tcm.c if (fu->flags & USBG_USE_STREAMS) { fu 1129 drivers/usb/gadget/function/f_tcm.c cmd->stream = &fu->stream[0]; fu 1131 drivers/usb/gadget/function/f_tcm.c cmd->stream = &fu->stream[cmd->tag - 1]; fu 1133 drivers/usb/gadget/function/f_tcm.c cmd->stream = &fu->stream[0]; fu 1175 drivers/usb/gadget/function/f_tcm.c tpg = cmd->fu->tpg; fu 1199 drivers/usb/gadget/function/f_tcm.c static int bot_submit_command(struct f_uas *fu, fu 1204 drivers/usb/gadget/function/f_tcm.c struct usbg_tpg *tpg = fu->tpg; fu 1227 drivers/usb/gadget/function/f_tcm.c cmd = usbg_get_cmd(fu, tv_nexus, cbw->Tag); fu 1989 drivers/usb/gadget/function/f_tcm.c struct f_uas *fu = to_f_uas(f); fu 2018 drivers/usb/gadget/function/f_tcm.c fu->iface = iface; fu 2024 drivers/usb/gadget/function/f_tcm.c fu->ep_in = ep; fu 2030 drivers/usb/gadget/function/f_tcm.c fu->ep_out = ep; fu 2036 drivers/usb/gadget/function/f_tcm.c fu->ep_status = ep; fu 2042 drivers/usb/gadget/function/f_tcm.c fu->ep_cmd = ep; fu 2071 drivers/usb/gadget/function/f_tcm.c struct f_uas *fu; fu 2079 drivers/usb/gadget/function/f_tcm.c struct f_uas *fu = work->fu; fu 2084 drivers/usb/gadget/function/f_tcm.c if (fu->flags & USBG_IS_BOT) fu 2085 drivers/usb/gadget/function/f_tcm.c bot_cleanup_old_alt(fu); fu 2086 drivers/usb/gadget/function/f_tcm.c if (fu->flags & USBG_IS_UAS) fu 2087 drivers/usb/gadget/function/f_tcm.c uasp_cleanup_old_alt(fu); fu 2090 drivers/usb/gadget/function/f_tcm.c bot_set_alt(fu); fu 2092 drivers/usb/gadget/function/f_tcm.c uasp_set_alt(fu); fu 2093 drivers/usb/gadget/function/f_tcm.c usb_composite_setup_continue(fu->function.config->cdev); fu 2098 drivers/usb/gadget/function/f_tcm.c struct f_uas *fu = to_f_uas(f); fu 2107 drivers/usb/gadget/function/f_tcm.c work->fu = fu; fu 2117 drivers/usb/gadget/function/f_tcm.c struct f_uas *fu = to_f_uas(f); fu 2119 drivers/usb/gadget/function/f_tcm.c if (fu->flags & USBG_IS_UAS) fu 2120 drivers/usb/gadget/function/f_tcm.c uasp_cleanup_old_alt(fu); fu 2121 drivers/usb/gadget/function/f_tcm.c else if (fu->flags & USBG_IS_BOT) fu 2122 drivers/usb/gadget/function/f_tcm.c bot_cleanup_old_alt(fu); fu 2123 drivers/usb/gadget/function/f_tcm.c fu->flags = 0; fu 2129 drivers/usb/gadget/function/f_tcm.c struct f_uas *fu = to_f_uas(f); fu 2131 drivers/usb/gadget/function/f_tcm.c if (!(fu->flags & USBG_IS_BOT)) fu 2281 drivers/usb/gadget/function/f_tcm.c struct f_uas *fu; fu 2293 drivers/usb/gadget/function/f_tcm.c fu = kzalloc(sizeof(*fu), GFP_KERNEL); fu 2294 drivers/usb/gadget/function/f_tcm.c if (!fu) { fu 2299 drivers/usb/gadget/function/f_tcm.c fu->function.name = "Target Function"; fu 2300 drivers/usb/gadget/function/f_tcm.c fu->function.bind = tcm_bind; fu 2301 drivers/usb/gadget/function/f_tcm.c fu->function.unbind = tcm_unbind; fu 2302 drivers/usb/gadget/function/f_tcm.c fu->function.set_alt = tcm_set_alt; fu 2303 drivers/usb/gadget/function/f_tcm.c fu->function.setup = tcm_setup; fu 2304 drivers/usb/gadget/function/f_tcm.c fu->function.disable = tcm_disable; fu 2305 drivers/usb/gadget/function/f_tcm.c fu->function.free_func = tcm_free; fu 2306 drivers/usb/gadget/function/f_tcm.c fu->tpg = tpg_instances[i].tpg; fu 2309 drivers/usb/gadget/function/f_tcm.c return &fu->function; fu 74 drivers/usb/gadget/function/tcm.h struct f_uas *fu; fu 157 drivers/virtio/virtio_input.c u32 mi, ma, re, fu, fl; fu 163 drivers/virtio/virtio_input.c virtio_cread(vi->vdev, struct virtio_input_config, u.abs.fuzz, &fu); fu 165 drivers/virtio/virtio_input.c input_set_abs_params(vi->idev, abs, mi, ma, fu, fl);