Searched refs:cond (Results 226 - 250 of 274) sorted by relevance

1234567891011

/linux-master/drivers/net/wireless/realtek/rtw89/
H A Dphy.h767 #define rtw89_rfk_parser_by_cond(dev, cond, tbl_t, tbl_f) \
770 if (cond) \
H A Dcore.c4022 int rtw89_wait_for_cond(struct rtw89_wait_info *wait, unsigned int cond) argument
4028 cur = atomic_cmpxchg(&wait->cond, RTW89_WAIT_COND_IDLE, cond);
4034 atomic_set(&wait->cond, RTW89_WAIT_COND_IDLE);
4044 void rtw89_complete_cond(struct rtw89_wait_info *wait, unsigned int cond, argument
4049 cur = atomic_cmpxchg(&wait->cond, cond, RTW89_WAIT_COND_IDLE);
4050 if (cur != cond)
/linux-master/drivers/media/platform/mediatek/vcodec/decoder/vdec/
H A Dvdec_hevc_req_multi_if.c23 #define GET_HEVC_VDEC_FLAG(cond, flag) \
24 { dst_param->cond = ((src_param->flags & (flag)) ? (1) : (0)); }
/linux-master/drivers/iommu/intel/
H A Diommu.h366 #define IOMMU_WAIT_OP(iommu, offset, op, cond, sts) \
371 if (cond) \
/linux-master/mm/kfence/
H A Dcore.c39 #define KFENCE_WARN_ON(cond) \
41 const bool __cond = WARN_ON(cond); \
/linux-master/mm/
H A Dinternal.h44 #define WARN_ON_ONCE_GFP(cond, gfp) ({ \
46 int __ret_warn_once = !!(cond); \
H A Dpercpu.c2598 #define PCPU_SETUP_BUG_ON(cond) do { \
2599 if (unlikely(cond)) { \
2600 pr_emerg("failed to initialize, %s\n", #cond); \
/linux-master/kernel/trace/
H A Dring_buffer.c863 int cpu, int full, ring_buffer_cond_fn cond, void *data)
868 if (cond(data))
921 * @cond: condition function to break out of wait (NULL to run once)
922 * @data: the data to pass to @cond.
929 ring_buffer_cond_fn cond, void *data)
959 if (!cond) {
960 cond = rb_wait_once;
967 rb_wait_cond(rbwork, buffer, cpu, full, cond, data));
1051 #define RB_WARN_ON(b, cond) \
1053 int _____ret = unlikely(cond); \
862 rb_wait_cond(struct rb_irq_work *rbwork, struct trace_buffer *buffer, int cpu, int full, ring_buffer_cond_fn cond, void *data) argument
928 ring_buffer_wait(struct trace_buffer *buffer, int cpu, int full, ring_buffer_cond_fn cond, void *data) argument
[all...]
/linux-master/drivers/net/phy/mscc/
H A Dmscc_ptp.c112 bool cond = (addr == MSCC_PHY_PTP_LTC_CTRL || local
139 if (!cond || upper)
154 if (cond && upper)
/linux-master/fs/jfs/
H A Djfs_logmgr.c116 #define LCACHE_SLEEP_COND(wq, cond, flags) \
118 if (cond) \
120 __SLEEP_COND(wq, cond, LCACHE_LOCK(flags), LCACHE_UNLOCK(flags)); \
/linux-master/drivers/net/ethernet/hisilicon/hns/
H A Dhnae.h583 #define assert(cond)
/linux-master/drivers/md/
H A Ddm-zoned-metadata.c1399 if (blkz->cond == BLK_ZONE_COND_OFFLINE)
1401 else if (blkz->cond == BLK_ZONE_COND_READONLY)
1566 if (blkz->cond == BLK_ZONE_COND_OFFLINE)
1568 else if (blkz->cond == BLK_ZONE_COND_READONLY)
/linux-master/arch/arm64/include/asm/
H A Dinsn.h463 /* b, bl, cb*, tb*, ret*, b.cond, br*, blr* */
565 enum aarch64_insn_condition cond);
/linux-master/drivers/net/wireless/realtek/rtlwifi/rtl8723be/
H A Dphy.c545 u8 cond; local
554 cond = (u8)((v1 & (BIT(29) | BIT(28))) >> 28);
555 if (cond == COND_ENDIF) { /*end*/
558 } else if (cond == COND_ELSE) { /*else*/
/linux-master/drivers/tty/serial/
H A Damba-pl011.c1581 static void pl011_maybe_set_bit(bool cond, unsigned int *ptr, unsigned int mask) argument
1583 if (cond)
1602 static void pl011_assign_bit(bool cond, unsigned int *ptr, unsigned int mask) argument
1604 if (cond)
/linux-master/drivers/net/wwan/t7xx/
H A Dt7xx_dpmaif.c31 #define ioread32_poll_timeout_atomic(addr, val, cond, delay_us, timeout_us) \
32 readx_poll_timeout_atomic(ioread32, addr, val, cond, delay_us, timeout_us)
/linux-master/drivers/phy/rockchip/
H A Dphy-rockchip-inno-hdmi.c550 #define inno_poll(inno, reg, val, cond, sleep_us, timeout_us) \
551 regmap_read_poll_timeout((inno)->regmap, (reg) * 4, val, cond, \
/linux-master/security/apparmor/
H A Dpolicy_unpack.c655 aa_unpack_u32(e, &perm->cond, NULL) &&
1187 if (perm->cond & (perm->allow | perm->deny))
/linux-master/drivers/s390/cio/
H A Dcss.c763 void css_schedule_eval_cond(enum css_eval_cond cond, unsigned long delay) argument
776 switch (cond) {
/linux-master/include/linux/
H A Dsched.h178 # define debug_normal_state_change(cond) do { } while (0)
179 # define debug_special_state_change(cond) do { } while (0)
217 * and our @cond test will save the day.
/linux-master/block/
H A Dblk-zoned.c185 switch (zone->cond) {
1356 switch (zone->cond) {
/linux-master/samples/bpf/
H A Dxdp_sample_user.c38 #define __sample_print(fmt, cond, ...) \
40 if (cond) \
/linux-master/drivers/net/can/spi/
H A Dmcp251x.c410 #define mcp251x_read_stat_poll_timeout(addr, val, cond, delay_us, timeout_us) \
411 readx_poll_timeout(mcp251x_read_stat, addr, val, cond, \
/linux-master/tools/perf/bench/
H A Dnuma.c140 struct cond startup_cond;
144 struct cond start_work_cond;
/linux-master/drivers/media/i2c/
H A Dthp7312.c355 #define thp7312_read_poll_timeout(dev, addr, val, cond, sleep_us, timeout_us) \
358 __ret = read_poll_timeout(cci_read, __err, __err || (cond), sleep_us, \

Completed in 884 milliseconds

1234567891011