/openbmc/openbmc/meta-ibm/meta-sbp1/recipes-phosphor/gpio/phosphor-gpio-monitor/ |
H A D | dependencies.conf | 4 Wants=mapper-wait@-xyz-openbmc_project-inventory-system-chassis-motherboard-dimm_c0a1.service 5 Wants=mapper-wait@-xyz-openbmc_project-inventory-system-chassis-motherboard-dimm_c0a2.service 6 Wants=mapper-wait@-xyz-openbmc_project-inventory-system-chassis-motherboard-dimm_c0b1.service 7 Wants=mapper-wait@-xyz-openbmc_project-inventory-system-chassis-motherboard-dimm_c0b2.service 8 Wants=mapper-wait@-xyz-openbmc_project-inventory-system-chassis-motherboard-dimm_c0c1.service 9 Wants=mapper-wait@-xyz-openbmc_project-inventory-system-chassis-motherboard-dimm_c0c2.service 10 Wants=mapper-wait@-xyz-openbmc_project-inventory-system-chassis-motherboard-dimm_c0d1.service 11 Wants=mapper-wait@-xyz-openbmc_project-inventory-system-chassis-motherboard-dimm_c0d2.service 12 Wants=mapper-wait@-xyz-openbmc_project-inventory-system-chassis-motherboard-dimm_c0e1.service 13 Wants=mapper-wait@-xyz-openbmc_project-inventory-system-chassis-motherboard-dimm_c0e2.service [all …]
|
/openbmc/openbmc/meta-ibm/meta-genesis3/recipes-phosphor/gpio/phosphor-gpio-monitor/ |
H A D | dependencies.conf | 4 Wants=mapper-wait@-xyz-openbmc_project-inventory-system-chassis-motherboard-dimm_a0.service 5 Wants=mapper-wait@-xyz-openbmc_project-inventory-system-chassis-motherboard-dimm_a1.service 6 Wants=mapper-wait@-xyz-openbmc_project-inventory-system-chassis-motherboard-dimm_b0.service 7 Wants=mapper-wait@-xyz-openbmc_project-inventory-system-chassis-motherboard-dimm_b1.service 8 Wants=mapper-wait@-xyz-openbmc_project-inventory-system-chassis-motherboard-dimm_c0.service 9 Wants=mapper-wait@-xyz-openbmc_project-inventory-system-chassis-motherboard-dimm_c1.service 10 Wants=mapper-wait@-xyz-openbmc_project-inventory-system-chassis-motherboard-dimm_d0.service 11 Wants=mapper-wait@-xyz-openbmc_project-inventory-system-chassis-motherboard-dimm_d1.service 12 Wants=mapper-wait@-xyz-openbmc_project-inventory-system-chassis-motherboard-dimm_e0.service 13 Wants=mapper-wait@-xyz-openbmc_project-inventory-system-chassis-motherboard-dimm_e1.service [all …]
|
/openbmc/linux/drivers/infiniband/hw/hfi1/ |
H A D | iowait.h | 11 #include <linux/wait.h> 57 * @list: used to add/insert into QP/PQ wait lists 63 * @lock: lock protected head of wait queue 65 * @wait_dma: wait for sdma_busy == 0 66 * @wait_pio: wait for pio_busy == 0 71 * @flags: wait flags (one per QP) 72 * @wait: SE array for multiple legs 102 struct iowait_work *wait, 107 void (*wakeup)(struct iowait *wait, int reason); 108 void (*sdma_drained)(struct iowait *wait); [all …]
|
H A D | iowait.c | 12 void iowait_set_flag(struct iowait *wait, u32 flag) in iowait_set_flag() argument 14 trace_hfi1_iowait_set(wait, flag); in iowait_set_flag() 15 set_bit(flag, &wait->flags); in iowait_set_flag() 18 bool iowait_flag_set(struct iowait *wait, u32 flag) in iowait_flag_set() argument 20 return test_bit(flag, &wait->flags); in iowait_flag_set() 23 inline void iowait_clear_flag(struct iowait *wait, u32 flag) in iowait_clear_flag() argument 25 trace_hfi1_iowait_clear(wait, flag); in iowait_clear_flag() 26 clear_bit(flag, &wait->flags); in iowait_clear_flag() 30 * iowait_init() - initialize wait structure 31 * @wait: wait struct to initialize [all …]
|
H A D | trace_iowait.h | 17 TP_PROTO(struct iowait *wait, u32 flag), 18 TP_ARGS(wait, flag), 26 __entry->addr = (unsigned long)wait; 27 __entry->flags = wait->flags; 29 __entry->qpn = iowait_to_qp(wait)->ibqp.qp_num; 41 TP_PROTO(struct iowait *wait, u32 flag), 42 TP_ARGS(wait, flag)); 45 TP_PROTO(struct iowait *wait, u32 flag), 46 TP_ARGS(wait, flag));
|
/openbmc/linux/drivers/gpu/drm/i915/display/ |
H A D | intel_display_rps.c | 15 struct wait_queue_entry wait; member 24 struct wait_rps_boost *wait = container_of(_wait, typeof(*wait), wait); in do_rps_boost() local 25 struct i915_request *rq = wait->request; in do_rps_boost() 36 drm_crtc_vblank_put(wait->crtc); in do_rps_boost() 38 list_del(&wait->wait.entry); in do_rps_boost() 39 kfree(wait); in do_rps_boost() 46 struct wait_rps_boost *wait; in intel_display_rps_boost_after_vblank() local 57 wait = kmalloc(sizeof(*wait), GFP_KERNEL); in intel_display_rps_boost_after_vblank() 58 if (!wait) { in intel_display_rps_boost_after_vblank() 63 wait->request = to_request(dma_fence_get(fence)); in intel_display_rps_boost_after_vblank() [all …]
|
/openbmc/phosphor-objmgr/libmapper/ |
H A D | mapper.c | 70 mapper_async_wait* wait; member 162 mapper_async_wait* wait = data->wait; in async_wait_timeout_callback() local 166 wait->conn, NULL, "xyz.openbmc_project.ObjectMapper", in async_wait_timeout_callback() 172 async_wait_done(r, wait); in async_wait_timeout_callback() 185 mapper_async_wait* wait = data->wait; in async_wait_getobject_callback() local 188 if (wait->finished) in async_wait_getobject_callback() 203 r = sd_event_now(wait->loop, CLOCK_MONOTONIC, &next_retry); in async_wait_getobject_callback() 206 async_wait_done(r, wait); in async_wait_getobject_callback() 211 r = sd_event_add_time(wait->loop, &data->event_source, CLOCK_MONOTONIC, in async_wait_getobject_callback() 216 async_wait_done(r, wait); in async_wait_getobject_callback() [all …]
|
/openbmc/linux/drivers/gpu/drm/nouveau/nvif/ |
H A D | timer.c | 26 nvif_timer_wait_test(struct nvif_timer_wait *wait) in nvif_timer_wait_test() argument 28 u64 time = nvif_device_time(wait->device); in nvif_timer_wait_test() 30 if (wait->reads == 0) { in nvif_timer_wait_test() 31 wait->time0 = time; in nvif_timer_wait_test() 32 wait->time1 = time; in nvif_timer_wait_test() 35 if (wait->time1 == time) { in nvif_timer_wait_test() 36 if (WARN_ON(wait->reads++ == 16)) in nvif_timer_wait_test() 39 wait->time1 = time; in nvif_timer_wait_test() 40 wait->reads = 1; in nvif_timer_wait_test() 43 if (wait->time1 - wait->time0 > wait->limit) in nvif_timer_wait_test() [all …]
|
/openbmc/openbmc-test-automation/lib/ |
H A D | state_manager.robot | 18 [Arguments] ${wait}=${1} 21 # wait Indicates that this keyword should wait for host running state. 27 # Does caller want to wait for status? 28 Run Keyword If '${wait}' == '${0}' Return From Keyword 30 Wait Until Keyword Succeeds 38 [Arguments] ${wait}=${1} 41 # wait Indicates that this keyword should wait for host off state. 47 # Does caller want to wait for status? 48 Run Keyword If '${wait}' == '${0}' Return From Keyword 50 ${status}= Run Keyword And Return Status Wait For PowerOff [all …]
|
/openbmc/linux/include/linux/ |
H A D | wait.h | 5 * Linux wait queue related types and methods 12 #include <uapi/linux/wait.h> 28 * A single wait-queue entry structure: 101 * returns true if the wait list is not empty 112 * @cond = true; prepare_to_wait(&wq_head, &wait, state); 118 * finish_wait(&wq_head, &wait); 122 * observe an empty wait list while the waiter might not observe @cond. 134 * @wq_head: wait queue head 147 * @wq_head: wait queue head 157 * add_wait_queue modifications to the wait queue. in wq_has_sleeper() [all …]
|
/openbmc/openbmc/meta-ibm/recipes-core/systemd/ |
H A D | systemd_%.bbappend | 11 SRC_URI:append:p10bmc = " file://systemd-networkd-only-wait-for-one.conf" 14 SRC_URI:append:genesis3 = " file://systemd-networkd-only-wait-for-one.conf" 15 SRC_URI:append:sbp1 = " file://systemd-networkd-only-wait-for-one.conf" 17 SRC_URI:append:system1 = " file://systemd-networkd-only-wait-for-one.conf" 31 …0bmc = " ${systemd_system_unitdir}/systemd-networkd-wait-online.service.d/systemd-networkd-only-wa… 35 …sis3 = " ${systemd_system_unitdir}/systemd-networkd-wait-online.service.d/systemd-networkd-only-wa… 36 …sbp1 = " ${systemd_system_unitdir}/systemd-networkd-wait-online.service.d/systemd-networkd-only-wa… 38 …tem1 = " ${systemd_system_unitdir}/systemd-networkd-wait-online.service.d/systemd-networkd-only-wa… 54 …stemd-networkd-only-wait-for-one.conf ${D}${systemd_system_unitdir}/systemd-networkd-wait-online.s… 59 # Genesis3 and SBP1 uses both BMC's RGMII MACs, so wait for only one to be online [all …]
|
/openbmc/linux/drivers/net/ethernet/cisco/enic/ |
H A D | vnic_dev.c | 217 int wait) in _vnic_dev_cmd() argument 246 for (delay = 0; delay < wait; delay++) { in _vnic_dev_cmd() 285 int wait) in _vnic_dev_cmd2() argument 336 for (delay = 0; delay < wait; delay++) { in _vnic_dev_cmd2() 444 u64 *a0, u64 *a1, int wait) in vnic_dev_cmd_proxy() argument 456 err = vdev->devcmd_rtn(vdev, proxy_cmd, wait); in vnic_dev_cmd_proxy() 477 enum vnic_devcmd_cmd cmd, u64 *a0, u64 *a1, int wait) in vnic_dev_cmd_no_proxy() argument 484 err = vdev->devcmd_rtn(vdev, cmd, wait); in vnic_dev_cmd_no_proxy() 505 u64 *a0, u64 *a1, int wait) in vnic_dev_cmd() argument 512 a0, a1, wait); in vnic_dev_cmd() [all …]
|
/openbmc/linux/arch/mips/kernel/ |
H A D | idle.c | 3 * MIPS idle loop and WAIT instruction support. 23 * Not all of the MIPS CPUs have the "wait" instruction available. Moreover, 24 * the implementation of the "wait" feature differs between CPU families. This 25 * points to the function that implements CPU specific wait. 26 * The wait instruction stops the pipeline and reduces the power consumption of 58 " wait \n" in r4k_wait_irqoff() 64 * have any pending stores when the WAIT instruction is executed. 76 " wait \n" in rm7k_wait_irqoff() 82 * Au1 'wait' is only useful when the 32kHz counter is used as timer, 97 " wait \n" in au1k_wait() [all …]
|
/openbmc/linux/fs/ |
H A D | fs_pin.c | 16 spin_lock_irq(&pin->wait.lock); in pin_remove() 18 wake_up_locked(&pin->wait); in pin_remove() 19 spin_unlock_irq(&pin->wait.lock); in pin_remove() 32 wait_queue_entry_t wait; in pin_kill() local 38 init_wait(&wait); in pin_kill() 39 spin_lock_irq(&p->wait.lock); in pin_kill() 42 spin_unlock_irq(&p->wait.lock); in pin_kill() 48 spin_unlock_irq(&p->wait.lock); in pin_kill() 52 __add_wait_queue(&p->wait, &wait); in pin_kill() 55 spin_unlock_irq(&p->wait.lock); in pin_kill() [all …]
|
/openbmc/linux/kernel/sched/ |
H A D | swait.c | 3 * <linux/swait.h> (simple wait queues ) implementation: 84 void __prepare_to_swait(struct swait_queue_head *q, struct swait_queue *wait) in __prepare_to_swait() argument 86 wait->task = current; in __prepare_to_swait() 87 if (list_empty(&wait->task_list)) in __prepare_to_swait() 88 list_add_tail(&wait->task_list, &q->task_list); in __prepare_to_swait() 91 void prepare_to_swait_exclusive(struct swait_queue_head *q, struct swait_queue *wait, int state) in prepare_to_swait_exclusive() argument 96 __prepare_to_swait(q, wait); in prepare_to_swait_exclusive() 102 long prepare_to_swait_event(struct swait_queue_head *q, struct swait_queue *wait, int state) in prepare_to_swait_event() argument 113 list_del_init(&wait->task_list); in prepare_to_swait_event() 116 __prepare_to_swait(q, wait); in prepare_to_swait_event() [all …]
|
/openbmc/openbmc/meta-ibm/meta-sbp1/recipes-phosphor/leds/phosphor-led-manager/ |
H A D | bmc_booted.conf | 3 After=mapper-wait@-xyz-openbmc_project-led-groups.service 4 After=mapper-wait@-xyz-openbmc_project-led-physical-led_bmc_ready.service 5 After=mapper-wait@-xyz-openbmc_project-led-physical-led_id_dwr_back_p.service 6 After=mapper-wait@-xyz-openbmc_project-led-physical-led_id_dwr_frnt_p.service 7 After=mapper-wait@-xyz-openbmc_project-led-groups-bmc_booted.service 10 Wants=mapper-wait@-xyz-openbmc_project-led-groups.service 11 Wants=mapper-wait@-xyz-openbmc_project-led-physical-led_bmc_ready.service 12 Wants=mapper-wait@-xyz-openbmc_project-led-physical-led_id_dwr_back_p.service 13 Wants=mapper-wait@-xyz-openbmc_project-led-physical-led_id_dwr_frnt_p.service 14 Wants=mapper-wait@-xyz-openbmc_project-led-groups-bmc_booted.service
|
/openbmc/linux/drivers/gpu/drm/nouveau/nvkm/subdev/timer/ |
H A D | base.c | 27 nvkm_timer_wait_test(struct nvkm_timer_wait *wait) in nvkm_timer_wait_test() argument 29 struct nvkm_subdev *subdev = &wait->tmr->subdev; in nvkm_timer_wait_test() 30 u64 time = nvkm_timer_read(wait->tmr); in nvkm_timer_wait_test() 32 if (wait->reads == 0) { in nvkm_timer_wait_test() 33 wait->time0 = time; in nvkm_timer_wait_test() 34 wait->time1 = time; in nvkm_timer_wait_test() 37 if (wait->time1 == time) { in nvkm_timer_wait_test() 38 if (wait->reads++ == 16) { in nvkm_timer_wait_test() 43 wait->time1 = time; in nvkm_timer_wait_test() 44 wait->reads = 1; in nvkm_timer_wait_test() [all …]
|
/openbmc/linux/net/core/ |
H A D | stream.c | 21 #include <linux/wait.h> 41 wake_up_interruptible_poll(&wq->wait, EPOLLOUT | in sk_stream_write_space() 50 * sk_stream_wait_connect - Wait for a socket to get into the connected state 51 * @sk: sock to wait on 52 * @timeo_p: for how long to wait 58 DEFINE_WAIT_FUNC(wait, woken_wake_function); in sk_stream_wait_connect() 73 add_wait_queue(sk_sleep(sk), &wait); in sk_stream_wait_connect() 78 ~(TCPF_ESTABLISHED | TCPF_CLOSE_WAIT)), &wait); in sk_stream_wait_connect() 79 remove_wait_queue(sk_sleep(sk), &wait); in sk_stream_wait_connect() 99 DEFINE_WAIT_FUNC(wait, woken_wake_function); in sk_stream_wait_close() [all …]
|
/openbmc/linux/drivers/gpu/drm/omapdrm/ |
H A D | omap_irq.c | 22 struct omap_irq_wait *wait; in omap_irq_update() local 27 list_for_each_entry(wait, &priv->wait_list, node) in omap_irq_update() 28 irqmask |= wait->irqmask; in omap_irq_update() 35 static void omap_irq_wait_handler(struct omap_irq_wait *wait) in omap_irq_wait_handler() argument 37 wait->count--; in omap_irq_wait_handler() 38 wake_up(&wait->wq); in omap_irq_wait_handler() 45 struct omap_irq_wait *wait = kzalloc(sizeof(*wait), GFP_KERNEL); in omap_irq_wait_init() local 48 init_waitqueue_head(&wait->wq); in omap_irq_wait_init() 49 wait->irqmask = irqmask; in omap_irq_wait_init() 50 wait->count = count; in omap_irq_wait_init() [all …]
|
/openbmc/linux/drivers/scsi/fnic/ |
H A D | vnic_dev.c | 62 int wait); 245 static int vnic_dev_cmd1(struct vnic_dev *vdev, enum vnic_devcmd_cmd cmd, int wait) in vnic_dev_cmd1() argument 279 for (delay = 0; delay < wait; delay++) { in vnic_dev_cmd1() 308 int wait) in vnic_dev_cmd2() argument 375 for (delay = 0; delay < wait; delay++) { in vnic_dev_cmd2() 497 enum vnic_devcmd_cmd cmd, u64 *a0, u64 *a1, int wait) in vnic_dev_cmd_no_proxy() argument 504 err = (*vdev->devcmd_rtn)(vdev, cmd, wait); in vnic_dev_cmd_no_proxy() 514 u64 *a0, u64 *a1, int wait) in vnic_dev_cmd() argument 521 return vnic_dev_cmd_no_proxy(vdev, cmd, a0, a1, wait); in vnic_dev_cmd() 530 int wait = 1000; in vnic_dev_fw_info() local [all …]
|
/openbmc/linux/fs/f2fs/ |
H A D | gc.h | 16 #define DEF_GC_THREAD_NOGC_SLEEP_TIME 300000 /* wait 5 min */ 51 * will wait on this wait queue. 126 unsigned int *wait) in increase_sleep_time() argument 131 if (*wait == gc_th->no_gc_sleep_time) in increase_sleep_time() 134 if ((long long)*wait + (long long)min_time > (long long)max_time) in increase_sleep_time() 135 *wait = max_time; in increase_sleep_time() 137 *wait += min_time; in increase_sleep_time() 141 unsigned int *wait) in decrease_sleep_time() argument 145 if (*wait == gc_th->no_gc_sleep_time) in decrease_sleep_time() 146 *wait = gc_th->max_sleep_time; in decrease_sleep_time() [all …]
|
/openbmc/qemu/python/qemu/qmp/ |
H A D | legacy.py | 220 wait: Union[bool, float] = False) -> Optional[QMPMessage]: 224 :param wait: 225 If False or 0, do not wait. Return None if no events ready. 226 If True, wait forever until the next event. 227 Otherwise, wait for the specified number of seconds. 234 if not wait: 235 # wait is False/0: "do not wait, do not except." 239 # If wait is 'True', wait forever. If wait is False/0, the events 243 if wait and isinstance(wait, float): 244 timeout = wait [all …]
|
/openbmc/openbmc-test-automation/gui/gui_test/settings_menu/ |
H A D | test_network_sub_menu.robot | 70 Wait Until Page Contains Element ${xpath_network_settings} timeout=1min 94 ... Wait Until Keyword Succeeds 10 sec 5 sec 98 Wait Until Page Contains Edit hostname timeout=1min 109 ... Wait Until Keyword Succeeds 10 sec 5 sec 112 …Wait Until Keyword Succeeds 30 sec 10 sec Click Element ${xpath_add_static_ipv4_address_button} 113 Wait Until Page Contains Add static IPv4 address timeout=15s 126 ... Wait Until Keyword Succeeds 10 sec 5 sec 129 Wait Until Keyword Succeeds 30 sec 10 sec Click Element ${xpath_add_dns_ip_address_button} 130 Wait Until Page Contains Add IP address timeout=11s 267 Wait Until Keyword Succeeds 1 min 15 sec [all …]
|
/openbmc/linux/kernel/ |
H A D | umh.c | 119 if (!(sub_info->wait & UMH_WAIT_PROC)) in call_usermodehelper_exec_async() 163 if (sub_info->wait & UMH_WAIT_PROC) { in call_usermodehelper_exec_work() 193 * Wait queue head used by usermodehelper_disable() to wait for all running 199 * Used by usermodehelper_read_lock_wait() to wait for usermodehelper_disabled 205 * Time to wait for running_helpers to become zero before the setting of 212 DEFINE_WAIT(wait); in usermodehelper_read_trylock() 217 prepare_to_wait(&usermodehelper_disabled_waitq, &wait, in usermodehelper_read_trylock() 235 finish_wait(&usermodehelper_disabled_waitq, &wait); in usermodehelper_read_trylock() 242 DEFINE_WAIT(wait); in usermodehelper_read_lock_wait() 249 prepare_to_wait(&usermodehelper_disabled_waitq, &wait, in usermodehelper_read_lock_wait() [all …]
|
/openbmc/openbmc-test-automation/gui/gui_test/overview_menu/ |
H A D | test_overview_menu.robot | 46 Wait Until Page Contains Network information timeout=10 101 Wait Until Page Contains Element ${xpath_network_heading} 113 Wait Until Element Is Not Visible ${xpath_page_loading_progress_bar} timeout=30 130 Wait Until Element Is Not Visible ${xpath_page_loading_progress_bar} timeout=30 143 Wait Until Page Contains Element ${xpath_event_logs_heading} timeout=30 151 Wait Until Page Contains Element ${xpath_host_console_heading} 207 Wait Until Page Contains Element ${xpath_dumps_view_more_button} timeout=30 209 Wait Until Page Contains Element ${xpath_dumps_header} timeout=30 216 Wait Until Page Contains Element ${xpath_server_information_view_more_button} timeout=30 218 Wait Until Page Contains Element ${xpath_inventory_and_leds_heading} timeout=30 [all …]
|