| /drivers/comedi/drivers/ |
| A D | ni_stc.h | 256 #define NISTC_RTSI_TRIG_DIR(_c, _m) ((_m) ? BIT(8 + (_c)) : BIT(7 + (_c))) argument 433 #define NISTC_RTSI_TRIG(_c, _s) (((_s) & 0xf) << (((_c) % 4) * 4)) argument 434 #define NISTC_RTSI_TRIG_MASK(_c) NISTC_RTSI_TRIG((_c), 0xf) argument 435 #define NISTC_RTSI_TRIG_TO_SRC(_c, _b) (((_b) >> (((_c) % 4) * 4)) & 0xf) argument 560 #define NI_E_DMA_G0_G1_SEL(_g, _c) (((_c) & 0xf) << ((_g) * 4)) argument 761 #define NI_M_PFI_FILTER_SEL(_c, _f) (((_f) & 0x3) << ((_c) * 2)) argument 762 #define NI_M_PFI_FILTER_SEL_MASK(_c) NI_M_PFI_FILTER_SEL((_c), 0x3) argument 805 #define NI_M_PFI_CHAN(_c) (((_c) % 3) * 5) argument 806 #define NI_M_PFI_OUT_SEL(_c, _s) (((_s) & 0x1f) << NI_M_PFI_CHAN(_c)) argument 807 #define NI_M_PFI_OUT_SEL_MASK(_c) (0x1f << NI_M_PFI_CHAN(_c)) argument [all …]
|
| A D | ni_660x.c | 81 #define NI660X_DMA_CFG_SEL(_c, _s) (((_s) & 0x1f) << (8 * (_c))) argument 82 #define NI660X_DMA_CFG_SEL_MASK(_c) NI660X_DMA_CFG_SEL((_c), 0x1f) argument 83 #define NI660X_DMA_CFG_SEL_NONE(_c) NI660X_DMA_CFG_SEL((_c), 0x1f) argument 84 #define NI660X_DMA_CFG_RESET(_c) NI660X_DMA_CFG_SEL((_c), 0x80) argument 87 #define NI660X_IO_CFG_OUT_SEL(_c, _s) (((_s) & 0x3) << (((_c) % 2) ? 0 : 8)) argument 88 #define NI660X_IO_CFG_OUT_SEL_MASK(_c) NI660X_IO_CFG_OUT_SEL((_c), 0x3) argument 89 #define NI660X_IO_CFG_IN_SEL(_c, _s) (((_s) & 0x7) << (((_c) % 2) ? 4 : 12)) argument 90 #define NI660X_IO_CFG_IN_SEL_MASK(_c) NI660X_IO_CFG_IN_SEL((_c), 0x7) argument
|
| /drivers/reset/sti/ |
| A D | reset-syscfg.h | 28 #define _SYSCFG_RST_CH(_c, _rr, _rb, _ar, _ab) \ argument 29 { .compatible = _c, \ 33 #define _SYSCFG_RST_CH_NO_ACK(_c, _rr, _rb) \ argument 34 { .compatible = _c, \
|
| /drivers/hid/bpf/progs/ |
| A D | hid_bpf_helpers.h | 178 …(_1, _2, _3, _4, _5, _6, _7, _8, _9, _a, _b, _c) _1; _2; _3; _4; _5; _6; _7; _8; _9; _… argument 179 …(_1, _2, _3, _4, _5, _6, _7, _8, _9, _a, _b, _c, _d) _1; _2; _3; _4; _5; _6; _7; _8; _9; _… argument 180 …(_1, _2, _3, _4, _5, _6, _7, _8, _9, _a, _b, _c, _d, _e) _1; _2; _3; _4; _5; _6; _7; _8; _9; _… argument 181 …(_1, _2, _3, _4, _5, _6, _7, _8, _9, _a, _b, _c, _d, _e, _f) _1; _2; _3; _4; _5; _6; _7; _8; _9; _… argument
|
| /drivers/net/wireless/ath/ath9k/ |
| A D | hw.h | 464 #define IS_CHAN_5GHZ(_c) (!!((_c)->channelFlags & CHANNEL_5GHZ)) argument 465 #define IS_CHAN_2GHZ(_c) (!IS_CHAN_5GHZ(_c)) argument 467 #define IS_CHAN_HALF_RATE(_c) (!!((_c)->channelFlags & CHANNEL_HALF)) argument 468 #define IS_CHAN_QUARTER_RATE(_c) (!!((_c)->channelFlags & CHANNEL_QUARTER)) argument 469 #define IS_CHAN_A_FAST_CLOCK(_ah, _c) \ argument 472 #define IS_CHAN_HT(_c) ((_c)->channelFlags & CHANNEL_HT) argument 474 #define IS_CHAN_HT20(_c) (IS_CHAN_HT(_c) && !IS_CHAN_HT40(_c)) argument 476 #define IS_CHAN_HT40(_c) \ argument 477 (!!((_c)->channelFlags & (CHANNEL_HT40PLUS | CHANNEL_HT40MINUS))) 479 #define IS_CHAN_HT40PLUS(_c) ((_c)->channelFlags & CHANNEL_HT40PLUS) argument [all …]
|
| /drivers/net/wireless/ath/ath5k/ |
| A D | desc.c | 174 #define _TX_FLAGS(_c, _flag) \ in ath5k_hw_setup_2word_tx_desc() argument 176 tx_ctl->tx_control_##_c |= \ in ath5k_hw_setup_2word_tx_desc() 177 AR5K_2W_TX_DESC_CTL##_c##_##_flag; \ in ath5k_hw_setup_2word_tx_desc() 179 #define _TX_FLAGS_5211(_c, _flag) \ in ath5k_hw_setup_2word_tx_desc() argument 181 tx_ctl->tx_control_##_c |= \ in ath5k_hw_setup_2word_tx_desc() 182 AR5K_2W_TX_DESC_CTL##_c##_##_flag##_5211; \ in ath5k_hw_setup_2word_tx_desc() 318 #define _TX_FLAGS(_c, _flag) \ in ath5k_hw_setup_4word_tx_desc() argument 320 txctl##_c |= AR5K_4W_TX_DESC_CTL##_c##_##_flag; \ in ath5k_hw_setup_4word_tx_desc()
|
| /drivers/gpu/drm/nouveau/include/nvkm/core/ |
| A D | memory.h | 107 u64 _a = (a), _c = (c), _d = (d), _o = _a >> s, _s = _c << s; \ 111 while (_c--) \ 117 for (; _c; _c--, _a += BIT(s)) \
|
| /drivers/net/wireless/intel/iwlwifi/fw/api/ |
| A D | rs.h | 721 #define LQ_FLAGS_COLOR_INC(_c) ((((_c) + 1) << LQ_FLAG_COLOR_POS) &\ argument 723 #define LQ_FLAG_COLOR_SET(_f, _c) ((_c) | ((_f) & ~LQ_FLAG_COLOR_MSK)) argument
|
| /drivers/scsi/fnic/ |
| A D | fnic_trace.h | 73 #define FNIC_TRACE(_fn, _hn, _t, _a, _b, _c, _d, _e) \ argument 88 trace_buf->data[2] = (u64)(unsigned long)_c; \
|
| /drivers/gpu/drm/msm/adreno/ |
| A D | adreno_gpu.h | 67 #define ADRENO_CHIPID_ARGS(_c) \ argument 68 (((_c) >> 24) & 0xff), \ 69 (((_c) >> 16) & 0xff), \ 70 (((_c) >> 8) & 0xff), \ 71 ((_c) & 0xff)
|
| /drivers/misc/sgi-xp/ |
| A D | xp.h | 256 #define XPC_CHANNEL_REGISTERED(_c) (xpc_registrations[_c].func != NULL) argument
|
| /drivers/dma/ |
| A D | pch_dma.c | 736 struct dma_chan *chan, *_c; in pch_dma_save_regs() local 744 list_for_each_entry_safe(chan, _c, &pd->dma.channels, device_node) { in pch_dma_save_regs() 759 struct dma_chan *chan, *_c; in pch_dma_restore_regs() local 767 list_for_each_entry_safe(chan, _c, &pd->dma.channels, device_node) { in pch_dma_restore_regs() 922 struct dma_chan *chan, *_c; in pch_dma_remove() local 929 list_for_each_entry_safe(chan, _c, &pd->dma.channels, in pch_dma_remove()
|
| /drivers/ptp/ |
| A D | ptp_vmclock.c | 54 #define VMCLOCK_FIELD_PRESENT(_c, _f) \ argument 55 (le32_to_cpu((_c)->size) >= (offsetof(struct vmclock_abi, _f) + \ 56 sizeof((_c)->_f)))
|
| /drivers/net/wireless/intel/iwlwifi/mvm/ |
| A D | rs.h | 389 #define RS_DRV_DATA_PACK(_c, _p) ((void *)(uintptr_t)\ argument 391 ((_c) << RS_DRV_DATA_LQ_COLOR_POS)))
|
| /drivers/s390/net/ |
| A D | qeth_core.h | 435 #define QETH_CARD_STAT_ADD(_c, _stat, _val) ((_c)->stats._stat += (_val)) argument 436 #define QETH_CARD_STAT_INC(_c, _stat) QETH_CARD_STAT_ADD(_c, _stat, 1) argument
|
| /drivers/rapidio/ |
| A D | rio_cm.c | 1495 struct rio_channel *ch, *_c; in riocm_cdev_release() local 1516 list_for_each_entry_safe(ch, _c, &list, ch_node) { in riocm_cdev_release() 1992 struct rio_channel *ch, *_c; in riocm_remove_dev() local 2051 list_for_each_entry_safe(ch, _c, &list, ch_node) { in riocm_remove_dev() 2176 struct rio_channel *ch, *_c; in riocm_remove_mport() local 2212 list_for_each_entry_safe(ch, _c, &list, ch_node) { in riocm_remove_mport()
|
| /drivers/rapidio/devices/ |
| A D | tsi721_dma.c | 1023 struct dma_chan *chan, *_c; in tsi721_unregister_dma() local 1029 list_for_each_entry_safe(chan, _c, &mport->dma.channels, in tsi721_unregister_dma()
|
| /drivers/dma/ti/ |
| A D | cppi41.c | 482 struct cppi41_channel *c, *_c; in cppi41_run_queue() local 484 list_for_each_entry_safe(c, _c, &cdd->pending, node) { in cppi41_run_queue()
|
| /drivers/usb/gadget/udc/ |
| A D | renesas_usbf.c | 203 #define USBF_EPN_SET_DMACNT(_c) ((_c) << 16) argument 248 #define USBF_SYS_EPN_SET_DMACNT(_c) ((_c) << 16) argument
|
| /drivers/soc/mediatek/ |
| A D | mtk-pmic-wrap.c | 77 #define HAS_CAP(_c, _x) (((_c) & (_x)) == (_x)) argument
|