Home
last modified time | relevance | path

Searched refs:halt (Results 1 – 23 of 23) sorted by relevance

/drivers/net/usb/
Drndis_host.c313 struct rndis_halt *halt; in generic_rndis_bind() member
458 memset(u.halt, 0, sizeof *u.halt); in generic_rndis_bind()
459 u.halt->msg_type = cpu_to_le32(RNDIS_MSG_HALT); in generic_rndis_bind()
460 u.halt->msg_len = cpu_to_le32(sizeof *u.halt); in generic_rndis_bind()
461 (void) rndis_command(dev, (void *)u.halt, CONTROL_BUFFER_SIZE); in generic_rndis_bind()
479 struct rndis_halt *halt; in rndis_unbind() local
482 halt = kzalloc(CONTROL_BUFFER_SIZE, GFP_KERNEL); in rndis_unbind()
483 if (halt) { in rndis_unbind()
484 halt->msg_type = cpu_to_le32(RNDIS_MSG_HALT); in rndis_unbind()
485 halt->msg_len = cpu_to_le32(sizeof *halt); in rndis_unbind()
[all …]
/drivers/usb/gadget/udc/
Drenesas_usb3.c243 bool halt; member
1011 if (usb3_ep->halt || usb3_ep->started) in usb3_start_pipen()
1124 if (usb3_ep->halt) in usb3_std_req_get_status()
1173 static int usb3_set_halt_p0(struct renesas_usb3_ep *usb3_ep, bool halt) in usb3_set_halt_p0() argument
1180 usb3_ep->halt = halt; in usb3_set_halt_p0()
1181 if (halt) in usb3_set_halt_p0()
1189 static int usb3_set_halt_pn(struct renesas_usb3_ep *usb3_ep, bool halt, in usb3_set_halt_pn() argument
1197 usb3_ep->halt = halt; in usb3_set_halt_pn()
1198 if (halt) { in usb3_set_halt_pn()
1211 static int usb3_set_halt(struct renesas_usb3_ep *usb3_ep, bool halt, in usb3_set_halt() argument
[all …]
Dgr_udc.c723 static int gr_ep_halt_wedge(struct gr_ep *ep, int halt, int wedge, int fromhost) in gr_ep_halt_wedge() argument
736 if (halt && !fromhost) { in gr_ep_halt_wedge()
746 (halt ? (wedge ? "wedge" : "set") : "clear"), ep->ep.name); in gr_ep_halt_wedge()
749 if (halt) { in gr_ep_halt_wedge()
1762 static int gr_set_halt_wedge(struct usb_ep *_ep, int halt, int wedge) in gr_set_halt_wedge() argument
1774 if (halt && ep->is_in && !list_empty(&ep->queue)) { in gr_set_halt_wedge()
1779 ret = gr_ep_halt_wedge(ep, halt, wedge, 0); in gr_set_halt_wedge()
1788 static int gr_set_halt(struct usb_ep *_ep, int halt) in gr_set_halt() argument
1790 return gr_set_halt_wedge(_ep, halt, 0); in gr_set_halt()
Dmv_u3d_core.c937 static int mv_u3d_ep_set_halt_wedge(struct usb_ep *_ep, int halt, int wedge) in mv_u3d_ep_set_halt_wedge() argument
960 if (halt && (mv_u3d_ep_dir(ep) == MV_U3D_EP_DIR_IN) in mv_u3d_ep_set_halt_wedge()
967 mv_u3d_ep_set_stall(u3d, ep->ep_num, mv_u3d_ep_dir(ep), halt); in mv_u3d_ep_set_halt_wedge()
968 if (halt && wedge) in mv_u3d_ep_set_halt_wedge()
970 else if (!halt) in mv_u3d_ep_set_halt_wedge()
980 static int mv_u3d_ep_set_halt(struct usb_ep *_ep, int halt) in mv_u3d_ep_set_halt() argument
982 return mv_u3d_ep_set_halt_wedge(_ep, halt, 0); in mv_u3d_ep_set_halt()
Dmv_udc_core.c896 static int mv_ep_set_halt_wedge(struct usb_ep *_ep, int halt, int wedge) in mv_ep_set_halt_wedge() argument
919 if (halt && (ep_dir(ep) == EP_DIR_IN) && !list_empty(&ep->queue)) { in mv_ep_set_halt_wedge()
925 ep_set_stall(udc, ep->ep_num, ep_dir(ep), halt); in mv_ep_set_halt_wedge()
926 if (halt && wedge) in mv_ep_set_halt_wedge()
928 else if (!halt) in mv_ep_set_halt_wedge()
940 static int mv_ep_set_halt(struct usb_ep *_ep, int halt) in mv_ep_set_halt() argument
942 return mv_ep_set_halt_wedge(_ep, halt, 0); in mv_ep_set_halt()
Dudc-xilinx.c1609 u32 halt; in xudc_getstatus() local
1625 halt = epcfgreg & XUSB_EP_CFG_STALL_MASK; in xudc_getstatus()
1633 if (halt) in xudc_getstatus()
Damd5536udc.c1360 udc_set_halt(struct usb_ep *usbep, int halt) in udc_set_halt() argument
1370 pr_debug("set_halt %s: halt=%d\n", usbep->name, halt); in udc_set_halt()
1380 if (halt) { in udc_set_halt()
Dpch_udc.c1967 static int pch_udc_pcd_set_halt(struct usb_ep *usbep, int halt) in pch_udc_pcd_set_halt() argument
1982 if (halt) { in pch_udc_pcd_set_halt()
/drivers/block/rsxx/
Dcore.c306 if (unlikely(card->halt) || in rsxx_enable_ier()
326 if (unlikely(card->halt) || in rsxx_enable_ier_and_isr()
483 if (unlikely(card->halt)) in card_event_handler()
600 card->halt = 1; in rsxx_eeh_failure()
823 card->halt = 0; in rsxx_pci_probe()
1036 card->halt = 1; in rsxx_pci_remove()
Ddev.c164 if (unlikely(card->halt)) { in rsxx_make_request()
190 if (!unlikely(card->halt)) in rsxx_make_request()
Drsxx_priv.h123 unsigned int halt; member
Ddma.c406 if (unlikely(ctrl->card->halt) || in rsxx_issue_dmas()
519 if (unlikely(ctrl->card->halt) || in rsxx_dma_done()
Dcregs.c173 if (unlikely(card->halt)) in creg_queue_cmd()
/drivers/cpufreq/
Dlonghaul.c150 halt(); in do_longhaul1()
187 halt(); in do_powersaver()
205 halt(); in do_powersaver()
224 halt(); in do_powersaver()
/drivers/usb/isp1760/
Disp1760-udc.c401 static int __isp1760_udc_set_halt(struct isp1760_ep *ep, bool halt) in __isp1760_udc_set_halt() argument
406 halt ? "set" : "clear", ep->addr); in __isp1760_udc_set_halt()
415 isp1760_udc_write(udc, DC_CTRLFUNC, halt ? DC_STALL : 0); in __isp1760_udc_set_halt()
420 isp1760_udc_write(udc, DC_CTRLFUNC, halt ? DC_STALL : 0); in __isp1760_udc_set_halt()
421 } else if (!halt) { in __isp1760_udc_set_halt()
444 ep->halted = halt; in __isp1760_udc_set_halt()
/drivers/usb/renesas_usbhs/
Dmod_gadget.c727 static int __usbhsg_ep_set_halt_wedge(struct usb_ep *ep, int halt, int wedge) in __usbhsg_ep_set_halt_wedge() argument
739 halt, usbhs_pipe_number(pipe)); in __usbhsg_ep_set_halt_wedge()
744 if (halt) in __usbhsg_ep_set_halt_wedge()
749 if (halt && wedge) in __usbhsg_ep_set_halt_wedge()
/drivers/net/hyperv/
Drndis_filter.c870 struct rndis_halt_request *halt; in rndis_filter_halt_device() local
883 halt = &request->request_msg.msg.halt_req; in rndis_filter_halt_device()
884 halt->req_id = atomic_inc_return(&dev->new_req_id); in rndis_filter_halt_device()
/drivers/usb/gadget/function/
Df_fs.c880 int halt; in ffs_epfile_io() local
898 halt = (!io_data->read == !epfile->in); in ffs_epfile_io()
899 if (halt && epfile->isoc) in ffs_epfile_io()
908 if (!halt) { in ffs_epfile_io()
963 } else if (halt) { in ffs_epfile_io()
/drivers/scsi/csiostor/
Dcsio_mb.c163 int reset, int halt, in csio_mb_reset() argument
174 cmdp->halt_pkd = htonl(halt); in csio_mb_reset()
/drivers/net/wireless/ath/ath9k/
Dar9003_mci.c201 static void ar9003_mci_send_coex_halt_bt_gpm(struct ath_hw *ah, bool halt, in ar9003_mci_send_coex_halt_bt_gpm() argument
210 if (halt) { in ar9003_mci_send_coex_halt_bt_gpm()
/drivers/gpu/drm/nouveau/nvkm/subdev/pmu/fuc/
Dkernel.fuc334 // halt watchdog timer temporarily
/drivers/usb/host/
Doxu210hp-hcd.c1055 goto halt; in qh_completions()
1094 halt: in qh_completions()
/drivers/s390/net/
Dqeth_core_main.c1641 static int qeth_clear_halt_card(struct qeth_card *card, int halt) in qeth_clear_halt_card() argument
1647 if (halt) in qeth_clear_halt_card()