Searched refs:aliveness (Results 1 - 10 of 10) sorted by relevance

/linux-4.1.27/drivers/misc/mei/
H A Dhw-txe.h41 * @aliveness: aliveness (power gating) state of the hardware
44 * @wait_aliveness_resp: aliveness wait queue
49 u32 aliveness; member in struct:mei_txe_hw
H A Dhw-txe.c64 * Doesn't check for aliveness while Reads 32bit data from the SeC BAR
80 * Reads 32bit data from the SeC BAR and shout loud if aliveness is not set
87 WARN(!hw->aliveness, "sec read: aliveness not asserted\n"); mei_txe_sec_reg_read()
92 * doesn't check for aliveness
98 * Doesn't check for aliveness while writes 32bit data from to the SeC BAR
113 * Writes 32bit data from the SeC BAR and shout loud if aliveness is not set
118 WARN(!hw->aliveness, "sec write: aliveness not asserted\n"); mei_txe_sec_reg_write()
149 * mei_txe_aliveness_set - request for aliveness change
152 * @req: requested aliveness value
154 * Request for aliveness change and returns true if the change is
155 * really needed and false if aliveness is already
166 bool do_req = hw->aliveness != req; mei_txe_aliveness_set()
169 hw->aliveness, req); mei_txe_aliveness_set()
179 * mei_txe_aliveness_req_get - get aliveness requested register value
198 * mei_txe_aliveness_get - get aliveness response register value
215 * mei_txe_aliveness_poll - waits for aliveness to settle
218 * @expected: expected aliveness value
232 hw->aliveness = mei_txe_aliveness_get(dev); mei_txe_aliveness_poll()
233 if (hw->aliveness == expected) { mei_txe_aliveness_poll()
235 dev_dbg(dev->dev, "aliveness settled after %lld usecs\n", mei_txe_aliveness_poll()
243 dev_err(dev->dev, "aliveness timed out\n"); mei_txe_aliveness_poll()
248 * mei_txe_aliveness_wait - waits for aliveness to settle
251 * @expected: expected aliveness value
265 hw->aliveness = mei_txe_aliveness_get(dev); mei_txe_aliveness_wait()
266 if (hw->aliveness == expected) mei_txe_aliveness_wait()
274 hw->aliveness = mei_txe_aliveness_get(dev); mei_txe_aliveness_wait()
275 ret = hw->aliveness == expected ? 0 : -ETIME; mei_txe_aliveness_wait()
278 dev_warn(dev->dev, "aliveness timed out = %ld aliveness = %d event = %d\n", mei_txe_aliveness_wait()
279 err, hw->aliveness, dev->pg_event); mei_txe_aliveness_wait()
281 dev_dbg(dev->dev, "aliveness settled after = %d msec aliveness = %d event = %d\n", mei_txe_aliveness_wait()
283 hw->aliveness, dev->pg_event); mei_txe_aliveness_wait()
290 * mei_txe_aliveness_set_sync - sets an wait for aliveness to complete
293 * @req: requested aliveness value
329 * mei_txe_pg_state - translate aliveness register value
334 * Return: MEI_PG_OFF if aliveness is on and MEI_PG_ON otherwise
340 return hw->aliveness ? MEI_PG_OFF : MEI_PG_ON; mei_txe_pg_state()
668 hw->aliveness = mei_txe_aliveness_get(dev); mei_txe_hw_config()
672 hw->aliveness, hw->readiness); mei_txe_hw_config()
708 if (WARN(!hw->aliveness, "txe write: aliveness not asserted\n")) mei_txe_write()
858 hw->aliveness = mei_txe_aliveness_get(dev); mei_txe_hw_reset()
868 if (aliveness_req != hw->aliveness) mei_txe_hw_reset()
870 dev_err(dev->dev, "wait for aliveness settle failed ... bailing out\n"); mei_txe_hw_reset()
880 dev_err(dev->dev, "wait for aliveness failed ... bailing out\n"); mei_txe_hw_reset()
928 dev_err(dev->dev, "wait for aliveness failed ... bailing out\n"); mei_txe_hw_start()
963 u32 aliveness; mei_txe_check_and_ack_intrs() local
974 aliveness = mei_txe_aliveness_get(dev); mei_txe_check_and_ack_intrs()
975 if (hhisr & IPC_HHIER_SEC && aliveness) mei_txe_check_and_ack_intrs()
1056 hw->aliveness = mei_txe_aliveness_get(dev); mei_txe_irq_thread_handler()
1092 "Aliveness Interrupt: Status: %d\n", hw->aliveness); mei_txe_irq_thread_handler()
1120 if (hw->aliveness && dev->hbuf_is_ready) { mei_txe_irq_thread_handler()
H A Dhw-txe-regs.h194 * The register may be used by SeC to ACK a host request for aliveness.
251 * The register is used by host to request SeC aliveness.
H A Dhw-me.c193 * Return: MEI_PG_OFF if aliveness is on and MEI_PG_ON otherwise
/linux-4.1.27/drivers/staging/lustre/lnet/lnet/
H A Dpeer.c311 char *aliveness = "NA"; lnet_debug_peer() local
327 aliveness = lp->lp_alive ? "up" : "down"; lnet_debug_peer()
331 aliveness, lp->lp_ni->ni_peertxcredits, lnet_debug_peer()
H A Drouter_proc.c527 char *aliveness = "NA"; proc_lnet_peers() local
537 aliveness = peer->lp_alive ? "up" : "down"; proc_lnet_peers()
558 libcfs_nid2str(nid), nrefs, aliveness, proc_lnet_peers()
H A Dlib-move.c708 /* Trust lnet_notify() if it has more recent aliveness news, but lnet_peer_is_alive()
720 * initially, because router checker would update aliveness in this lnet_peer_is_alive()
755 CWARN("Unexpected aliveness of peer %s: %d < %d (%d/%d)\n", lnet_peer_alive_locked()
764 /* query NI for latest aliveness news */ lnet_peer_alive_locked()
/linux-4.1.27/drivers/staging/lustre/lnet/klnds/socklnd/
H A Dsocklnd_modparams.c42 MODULE_PARM_DESC(peer_timeout, "Seconds without aliveness news to declare peer dead (<=0 to disable)");
/linux-4.1.27/drivers/staging/lustre/lnet/klnds/o2iblnd/
H A Do2iblnd_modparams.c85 MODULE_PARM_DESC(peer_timeout, "Seconds without aliveness news to declare peer dead (<=0 to disable)");
/linux-4.1.27/drivers/staging/lustre/include/linux/lnet/
H A Dlib-types.h364 /* query of peer aliveness */
460 unsigned long lp_timestamp; /* time of last aliveness news */
489 /* peer aliveness is enabled only on routers for peers in a network where the

Completed in 464 milliseconds