Home
last modified time | relevance | path

Searched refs:_cond (Results 1 – 14 of 14) sorted by relevance

/linux/drivers/gpu/drm/i915/gt/uc/
H A Dintel_guc_print.h39 #define guc_WARN(_guc, _cond, _fmt, ...) \ argument
40 gt_WARN(guc_to_gt(_guc), _cond, "GUC: " _fmt, ##__VA_ARGS__)
42 #define guc_WARN_ONCE(_guc, _cond, _fmt, ...) \ argument
43 gt_WARN_ONCE(guc_to_gt(_guc), _cond, "GUC: " _fmt, ##__VA_ARGS__)
45 #define guc_WARN_ON(_guc, _cond) \ argument
46 gt_WARN(guc_to_gt(_guc), _cond, "%s(%s)", "guc_WARN_ON", __stringify(_cond))
48 #define guc_WARN_ON_ONCE(_guc, _cond) \ argument
49 gt_WARN_ONCE(guc_to_gt(_guc), _cond, "%s(%s)", "guc_WARN_ON_ONCE", __stringify(_cond))
/linux/include/linux/
H A Dclosure.h435 #define __closure_wait_event(waitlist, _cond) \ argument
443 if (_cond) \
451 #define closure_wait_event(waitlist, _cond) \ argument
453 if (!(_cond)) \
454 __closure_wait_event(waitlist, _cond); \
457 #define __closure_wait_event_timeout(waitlist, _cond, _until) \ argument
466 if (_cond) { \
484 #define closure_wait_event_timeout(waitlist, _cond, _timeout) \ argument
487 (_cond) \
489 : __closure_wait_event_timeout(waitlist, _cond, _until);\
/linux/fs/bcachefs/
H A Dmove.h41 #define move_ctxt_wait_event_timeout(_ctxt, _cond, _timeout) \ argument
48 if (_cond) \
53 (cond_finished = (_cond)), _timeout); \
60 #define move_ctxt_wait_event(_ctxt, _cond) \ argument
65 if (_cond) \
70 (cond_finished = (_cond))); \
H A Dextents.h655 #define bch2_bkey_drop_ptrs_noerror(_k, _ptr, _cond) \ argument
663 if (_cond) { \
669 #define bch2_bkey_drop_ptrs(_k, _ptr, _cond) \ argument
677 if (_cond) { \
/linux/drivers/gpu/drm/nouveau/include/nvif/
H A Dprintf.h22 int _cond = (c); \
23 if (_cond) { \
24 NVIF_ERROR(_object, f" (ret:%d)", ##a, _cond); \
/linux/drivers/gpu/drm/nouveau/include/nvkm/core/
H A Dfalcon.h90 ({ bool _cond = (c); _cond ? FLCN_ERR(f, fmt, ##a) : FLCN_DBG(f, fmt, ##a); _cond; })
/linux/drivers/gpu/drm/xe/
H A Dxe_guc_db_mgr.c46 #define dbm_assert(_dbm, _cond) xe_gt_assert(dbm_to_gt(_dbm), _cond) argument
/linux/drivers/net/wireless/intel/iwlwifi/fw/
H A Ddbg.h336 #define IWL_FW_CHECK(_obj, _cond, _fmt, ...) \ argument
338 bool __cond = (_cond); \
/linux/drivers/net/wireless/realtek/rtw89/
H A Drtw8852b.c675 #define __write_ctrl(_reg, _msk, _val, _en, _cond) \ in rtw8852b_btc_set_wl_txpwr_ctrl() argument
679 if (_cond) \ in rtw8852b_btc_set_wl_txpwr_ctrl()
H A Drtw8851b.c2157 #define __write_ctrl(_reg, _msk, _val, _en, _cond) \ in rtw8851b_btc_set_wl_txpwr_ctrl() argument
2161 if (_cond) \ in rtw8851b_btc_set_wl_txpwr_ctrl()
H A Drtw8852c.c2597 #define __write_ctrl(_reg, _msk, _val, _en, _cond) \ in rtw8852c_btc_set_wl_txpwr_ctrl() argument
2601 if (_cond) \ in rtw8852c_btc_set_wl_txpwr_ctrl()
H A Dfw.c652 #define __CFG_FW_FEAT(_chip, _cond, _maj, _min, _sub, _idx, _feat) \ argument
657 .cond = __fw_feat_cond_ ## _cond, \
/linux/net/mac80211/
H A Ddebugfs_sta.c475 #define PRINT_HT_CAP(_cond, _str) \ in link_sta_ht_capa_read() argument
477 if (_cond) \ in link_sta_ht_capa_read()
/linux/include/linux/platform_data/
H A Dcros_ec_commands.h19 #define BUILD_ASSERT(_cond) argument