/openbmc/qemu/target/s390x/ |
H A D | cpu-sysemu.c | 177 return cpu->halted && !(S390_CPU(cpu)->env.psw.mask & in disabled_wait() 204 if (!cs->halted) { in s390_cpu_halt() 205 cs->halted = 1; in s390_cpu_halt() 217 if (cs->halted) { in s390_cpu_unhalt() 218 cs->halted = 0; in s390_cpu_unhalt()
|
H A D | sigp.c | 119 if (cs->halted) { in sigp_stop() 135 if (s390_cpu_get_state(cpu) == S390_CPU_STATE_OPERATING && cs->halted) { in sigp_stop_and_store_status() 314 idle = CPU(dst_cpu)->halted; in sigp_cond_emergency() 348 if (CPU(dst_cpu)->halted) { in sigp_sense_running()
|
/openbmc/linux/arch/m68k/q40/ |
H A D | config.c | 107 static int halted; variable 112 if (halted) in q40_heartbeat() 124 halted = 1; in q40_reset() 135 halted = 1; in q40_halt()
|
/openbmc/linux/drivers/usb/gadget/udc/ |
H A D | snps_udc_core.c | 345 ep->halted = 0; in udc_ep_enable() 965 unsigned halted; in complete_req() local 974 halted = ep->halted; in complete_req() 975 ep->halted = 1; in complete_req() 990 ep->halted = halted; in complete_req() 1239 ep->halted = 1; in empty_req_queue() 1254 unsigned halted; in udc_dequeue() local 1265 halted = ep->halted; in udc_dequeue() 1266 ep->halted = 1; in udc_dequeue() 1297 ep->halted = halted; in udc_dequeue() [all …]
|
H A D | pch_udc.c | 295 halted:1; member 1428 unsigned halted = ep->halted; in complete_req() local 1440 ep->halted = 1; in complete_req() 1446 ep->halted = halted; in complete_req() 1457 ep->halted = 1; in empty_req_queue() 1661 ep->halted = 0; in pch_udc_pcd_ep_enable() 1692 ep->halted = 1; in pch_udc_pcd_ep_disable() 1818 if (list_empty(&ep->queue) && !ep->halted) { in pch_udc_pcd_queue() 2324 dev->ep[UDC_EP0IN_IDX].halted = 0; in pch_udc_svc_control_out() 2325 dev->ep[UDC_EP0OUT_IDX].halted = 0; in pch_udc_svc_control_out() [all …]
|
H A D | dummy_hcd.c | 90 unsigned halted:1; member 633 ep->halted = ep->wedged = 0; in dummy_enable() 803 ep->halted = ep->wedged = 0; in dummy_set_halt_and_wedge() 808 ep->halted = 1; in dummy_set_halt_and_wedge() 1059 ep->halted = ep->wedged = ep->already_seen = in init_dummy_udc_hw() 1691 ep2->halted = 1; in handle_control_request() 1740 ep2->halted = 0; in handle_control_request() 1763 buf[0] = ep2->halted; in handle_control_request() 1879 if (ep->halted && !ep->setup_stage) { in dummy_timer() 1914 ep->halted = 0; in dummy_timer()
|
H A D | max3420_udc.c | 162 int halted; member 363 ep->halted = 1; in spi_max3420_stall() 368 ep->halted = 0; in spi_max3420_stall() 559 if (ep->halted) in max3420_getstatus() 1163 ep->halted = 0; in max3420_eps_init()
|
/openbmc/linux/drivers/usb/usbip/ |
H A D | vudc_transfer.c | 106 ep2->halted = 1; in handle_control_request() 140 ep2->halted = 0; in handle_control_request() 163 buf[0] = ep2->halted; in handle_control_request() 363 if (ep->halted && !ep->setup_stage) { in v_timer() 371 ep->halted = 0; in v_timer()
|
H A D | vudc_dev.c | 253 ep->halted = ep->wedged = 0; in vep_enable() 387 ep->halted = ep->wedged = 0; in vep_set_halt_and_wedge() 392 ep->halted = 1; in vep_set_halt_and_wedge()
|
H A D | vudc.h | 33 unsigned halted:1; member
|
/openbmc/qemu/target/arm/ |
H A D | arm-powerctl.c | 70 target_cpu_state->halted = 0; in arm_set_cpu_on_async_work() 197 target_cpu_state->halted = 0; in arm_set_cpu_on_and_reset_async_work() 253 target_cpu_state->halted = 1; in arm_set_cpu_off_async_work()
|
/openbmc/qemu/semihosting/ |
H A D | console.c | 54 cs->halted = 0; in console_wake_up() 86 cs->halted = 1; in qemu_semihosting_console_block_until_ready()
|
/openbmc/qemu/hw/usb/ |
H A D | core.c | 432 if (p->ep->halted) { in usb_handle_packet() 434 p->ep->halted = false; in usb_handle_packet() 475 ep->halted = true; in usb_packet_complete_one() 495 if (ep->halted) { in usb_packet_complete() 802 void usb_ep_set_halted(USBDevice *dev, int pid, int ep, bool halted) in usb_ep_set_halted() argument 805 uep->halted = halted; in usb_ep_set_halted()
|
/openbmc/u-boot/include/ |
H A D | usb.h | 118 unsigned int halted[2]; member 379 #define usb_endpoint_halt(dev, ep, out) ((dev)->halted[out] |= (1 << (ep))) 380 #define usb_endpoint_running(dev, ep, out) ((dev)->halted[out] &= ~(1 << (ep))) 381 #define usb_endpoint_halted(dev, ep, out) ((dev)->halted[out] & (1 << (ep)))
|
/openbmc/linux/arch/mips/kernel/ |
H A D | smp-cps.c | 510 unsigned halted; in wait_for_sibling_halt() local 516 halted = read_tc_c0_tchalt(); in wait_for_sibling_halt() 518 } while (!(halted & TCHALT_H)); in wait_for_sibling_halt()
|
/openbmc/qemu/hw/ppc/ |
H A D | spapr_rtas.c | 113 if (CPU(cpu)->halted) { in rtas_query_cpu_stopped_state() 156 if (!CPU(newcpu)->halted) { in rtas_start_cpu() 218 cs->halted = 1; in rtas_stop_self() 244 if (!cs->halted || (e->msr & (1ULL << MSR_EE))) { in rtas_ibm_suspend_me()
|
H A D | ppc.c | 121 cs->halted = 1; in ppc6xx_set_irq() 191 cs->halted = 1; in ppc970_set_irq() 194 cs->halted = 0; in ppc970_set_irq() 387 cs->halted = 1; in ppc40x_set_irq() 390 cs->halted = 0; in ppc40x_set_irq()
|
H A D | spapr_hcall.c | 507 cs->halted = 1; in h_cede() 529 cs->halted = 1; in h_confer_self() 561 if (!cs->halted || (e->msr & (1ULL << MSR_EE))) { in h_join() 644 cs->halted = 0; in h_prod() 1172 if (!cs->halted) { in do_client_architecture_support()
|
/openbmc/linux/drivers/usb/isp1760/ |
H A D | isp1760-udc.h | 47 bool halted; member
|
/openbmc/qemu/hw/sparc64/ |
H A D | sparc64.c | 43 cs->halted = 0; in cpu_kick_irq() 58 cs->halted = 0; in sparc64_cpu_set_ivec_irq()
|
/openbmc/linux/drivers/usb/host/ |
H A D | xhci-dbgcap.c | 662 handle_ep_halt_changes(struct xhci_dbc *dbc, struct dbc_ep *dep, bool halted) in handle_ep_halt_changes() argument 664 if (halted) { in handle_ep_halt_changes() 666 dep->halted = 1; in handle_ep_halt_changes() 668 } else if (dep->halted) { in handle_ep_halt_changes() 670 dep->halted = 0; in handle_ep_halt_changes() 757 dep->halted = 1; in dbc_handle_xfer_event()
|
/openbmc/qemu/target/mips/tcg/ |
H A D | exception.c | 71 cs->halted = 1; in helper_wait()
|
/openbmc/qemu/hw/sparc/ |
H A D | leon3.c | 159 cpu->halted = cpu->cpu_index != 0; in leon3_cpu_reset() 239 cpu->halted = 0; in leon3_start_cpu_async_work()
|
/openbmc/qemu/hw/misc/ |
H A D | mips_cpc.c | 41 cs->halted = 0; in mips_cpu_reset_async_work()
|
H A D | mips_itu.c | 175 if (cs->halted && (c->blocked_threads & (1ULL << cs->cpu_index))) { in wake_blocked_threads() 186 current_cpu->halted = 1; in block_thread_and_exit()
|