Home
last modified time | relevance | path

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

12

/drivers/net/usb/
Drndis_host.c303 struct rndis_halt *halt; in generic_rndis_bind() member
448 memset(u.halt, 0, sizeof *u.halt); in generic_rndis_bind()
449 u.halt->msg_type = cpu_to_le32(RNDIS_MSG_HALT); in generic_rndis_bind()
450 u.halt->msg_len = cpu_to_le32(sizeof *u.halt); in generic_rndis_bind()
451 (void) rndis_command(dev, (void *)u.halt, CONTROL_BUFFER_SIZE); in generic_rndis_bind()
469 struct rndis_halt *halt; in rndis_unbind() local
472 halt = kzalloc(CONTROL_BUFFER_SIZE, GFP_KERNEL); in rndis_unbind()
473 if (halt) { in rndis_unbind()
474 halt->msg_type = cpu_to_le32(RNDIS_MSG_HALT); in rndis_unbind()
475 halt->msg_len = cpu_to_le32(sizeof *halt); in rndis_unbind()
[all …]
/drivers/staging/media/ipu3/
Dipu3-mmu.c101 static void imgu_mmu_set_halt(struct imgu_mmu *mmu, bool halt) in imgu_mmu_set_halt() argument
106 writel(halt, mmu->base + REG_GP_HALT); in imgu_mmu_set_halt()
108 val, (val & 1) == halt, 1000, 100000); in imgu_mmu_set_halt()
112 halt ? "set" : "clear"); in imgu_mmu_set_halt()
/drivers/usb/cdns3/
Dcdns3-trace.h28 TP_PROTO(struct cdns3_endpoint *ep_priv, u8 halt, u8 flush),
29 TP_ARGS(ep_priv, halt, flush),
32 __field(u8, halt)
37 __entry->halt = halt;
41 __get_str(name), __entry->halt ? "set" : "cleared")
/drivers/usb/gadget/udc/
Drenesas_usb3.c319 bool halt; member
1497 if (usb3_ep->halt || usb3_ep->started) in usb3_start_pipen()
1615 if (usb3_ep->halt) in usb3_std_req_get_status()
1664 static int usb3_set_halt_p0(struct renesas_usb3_ep *usb3_ep, bool halt) in usb3_set_halt_p0() argument
1671 usb3_ep->halt = halt; in usb3_set_halt_p0()
1672 if (halt) in usb3_set_halt_p0()
1680 static int usb3_set_halt_pn(struct renesas_usb3_ep *usb3_ep, bool halt, in usb3_set_halt_pn() argument
1688 usb3_ep->halt = halt; in usb3_set_halt_pn()
1689 if (halt) { in usb3_set_halt_pn()
1702 static int usb3_set_halt(struct renesas_usb3_ep *usb3_ep, bool halt, in usb3_set_halt() argument
[all …]
Dgr_udc.c704 static int gr_ep_halt_wedge(struct gr_ep *ep, int halt, int wedge, int fromhost) in gr_ep_halt_wedge() argument
717 if (halt && !fromhost) { in gr_ep_halt_wedge()
727 (halt ? (wedge ? "wedge" : "set") : "clear"), ep->ep.name); in gr_ep_halt_wedge()
730 if (halt) { in gr_ep_halt_wedge()
1743 static int gr_set_halt_wedge(struct usb_ep *_ep, int halt, int wedge) in gr_set_halt_wedge() argument
1755 if (halt && ep->is_in && !list_empty(&ep->queue)) { in gr_set_halt_wedge()
1760 ret = gr_ep_halt_wedge(ep, halt, wedge, 0); in gr_set_halt_wedge()
1769 static int gr_set_halt(struct usb_ep *_ep, int halt) in gr_set_halt() argument
1771 return gr_set_halt_wedge(_ep, halt, 0); in gr_set_halt()
Dmv_u3d_core.c941 static int mv_u3d_ep_set_halt_wedge(struct usb_ep *_ep, int halt, int wedge) in mv_u3d_ep_set_halt_wedge() argument
964 if (halt && (mv_u3d_ep_dir(ep) == MV_U3D_EP_DIR_IN) in mv_u3d_ep_set_halt_wedge()
971 mv_u3d_ep_set_stall(u3d, ep->ep_num, mv_u3d_ep_dir(ep), halt); in mv_u3d_ep_set_halt_wedge()
972 if (halt && wedge) in mv_u3d_ep_set_halt_wedge()
974 else if (!halt) in mv_u3d_ep_set_halt_wedge()
984 static int mv_u3d_ep_set_halt(struct usb_ep *_ep, int halt) in mv_u3d_ep_set_halt() argument
986 return mv_u3d_ep_set_halt_wedge(_ep, halt, 0); in mv_u3d_ep_set_halt()
Dmv_udc_core.c888 static int mv_ep_set_halt_wedge(struct usb_ep *_ep, int halt, int wedge) in mv_ep_set_halt_wedge() argument
911 if (halt && (ep_dir(ep) == EP_DIR_IN) && !list_empty(&ep->queue)) { in mv_ep_set_halt_wedge()
917 ep_set_stall(udc, ep->ep_num, ep_dir(ep), halt); in mv_ep_set_halt_wedge()
918 if (halt && wedge) in mv_ep_set_halt_wedge()
920 else if (!halt) in mv_ep_set_halt_wedge()
932 static int mv_ep_set_halt(struct usb_ep *_ep, int halt) in mv_ep_set_halt() argument
934 return mv_ep_set_halt_wedge(_ep, halt, 0); in mv_ep_set_halt()
Dudc-xilinx.c1605 u32 halt; in xudc_getstatus() local
1623 halt = epcfgreg & XUSB_EP_CFG_STALL_MASK; in xudc_getstatus()
1631 if (halt) in xudc_getstatus()
/drivers/block/rsxx/
Dcore.c293 if (unlikely(card->halt) || in rsxx_enable_ier()
313 if (unlikely(card->halt) || in rsxx_enable_ier_and_isr()
471 if (unlikely(card->halt)) in card_event_handler()
590 card->halt = 1; in rsxx_eeh_failure()
803 card->halt = 0; in rsxx_pci_probe()
1018 card->halt = 1; in rsxx_pci_remove()
Ddev.c141 if (unlikely(card->halt)) in rsxx_submit_bio()
162 if (!unlikely(card->halt)) in rsxx_submit_bio()
Drsxx_priv.h108 unsigned int halt; member
Ddma.c389 if (unlikely(ctrl->card->halt) || in rsxx_issue_dmas()
502 if (unlikely(ctrl->card->halt) || in rsxx_dma_done()
/drivers/dma/idxd/
Dirq.c67 goto halt; in process_misc_interrupts()
127 halt: in process_misc_interrupts()
/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/gadget/udc/aspeed-vhub/
Depn.c512 static int ast_vhub_set_halt_and_wedge(struct usb_ep* u_ep, bool halt, in ast_vhub_set_halt_and_wedge() argument
519 EPDBG(ep, "Set halt (%d) & wedge (%d)\n", halt, wedge); in ast_vhub_set_halt_and_wedge()
531 if (halt && ep->epn.is_in && !list_empty(&ep->queue)) { in ast_vhub_set_halt_and_wedge()
535 ep->epn.stalled = halt; in ast_vhub_set_halt_and_wedge()
/drivers/usb/isp1760/
Disp1760-udc.c456 static int __isp1760_udc_set_halt(struct isp1760_ep *ep, bool halt) in __isp1760_udc_set_halt() argument
461 halt ? "set" : "clear", ep->addr); in __isp1760_udc_set_halt()
471 if (halt) in __isp1760_udc_set_halt()
479 if (halt) in __isp1760_udc_set_halt()
483 } else if (!halt) { in __isp1760_udc_set_halt()
504 ep->halted = halt; in __isp1760_udc_set_halt()
/drivers/hwtracing/coresight/
DKconfig172 source and sink components. These can be used to halt trace or
174 control to trigger the same halt events. This can provide fast trace
175 halt compared to disabling sources and sinks normally in driver
/drivers/usb/renesas_usbhs/
Dmod_gadget.c723 static int __usbhsg_ep_set_halt_wedge(struct usb_ep *ep, int halt, int wedge) in __usbhsg_ep_set_halt_wedge() argument
734 halt, usbhs_pipe_number(pipe)); in __usbhsg_ep_set_halt_wedge()
751 if (halt) in __usbhsg_ep_set_halt_wedge()
756 if (halt && wedge) in __usbhsg_ep_set_halt_wedge()
/drivers/cpuidle/
DKconfig70 This option enables halt poll cpuidle driver, which allows to poll
/drivers/usb/gadget/legacy/
Draw_gadget.c921 unsigned long value, bool set, bool halt) in raw_ioctl_ep_set_clear_halt_wedge() argument
966 if (set && halt) { in raw_ioctl_ep_set_clear_halt_wedge()
971 } else if (!set && halt) { in raw_ioctl_ep_set_clear_halt_wedge()
976 } else if (set && !halt) { in raw_ioctl_ep_set_clear_halt_wedge()
/drivers/net/hyperv/
Drndis_filter.c1166 struct rndis_halt_request *halt; in rndis_filter_halt_device() local
1175 halt = &request->request_msg.msg.halt_req; in rndis_filter_halt_device()
1176 halt->req_id = atomic_inc_return(&dev->new_req_id); in rndis_filter_halt_device()
/drivers/usb/gadget/function/
Df_fs.c957 int halt; in ffs_epfile_io() local
976 halt = (!io_data->read == !epfile->in); in ffs_epfile_io()
977 if (halt && epfile->isoc) in ffs_epfile_io()
986 if (!halt) { in ffs_epfile_io()
1043 } else if (halt) { in ffs_epfile_io()
/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/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/ethernet/hisilicon/hns3/
Dhnae3.h577 int (*halt_autoneg)(struct hnae3_handle *handle, bool halt);

12