/linux-6.6.21/drivers/net/wireless/ath/ath5k/ |
D | eeprom.h | 75 #define AR5K_EEPROM_HDR_11A(_v) (((_v) >> AR5K_EEPROM_MODE_11A) & 0x1) argument 76 #define AR5K_EEPROM_HDR_11B(_v) (((_v) >> AR5K_EEPROM_MODE_11B) & 0x1) argument 77 #define AR5K_EEPROM_HDR_11G(_v) (((_v) >> AR5K_EEPROM_MODE_11G) & 0x1) argument 78 #define AR5K_EEPROM_HDR_T_2GHZ_DIS(_v) (((_v) >> 3) & 0x1) /* Disable turbo for 2GHz */ argument 79 #define AR5K_EEPROM_HDR_T_5GHZ_DBM(_v) (((_v) >> 4) & 0x7f) /* Max turbo power for < 2W power consu… argument 80 #define AR5K_EEPROM_HDR_DEVICE(_v) (((_v) >> 11) & 0x7) /* Device type (1 Cardbus, 2 PCI, 3 MiniPCI… argument 81 #define AR5K_EEPROM_HDR_RFKILL(_v) (((_v) >> 14) & 0x1) /* Device has RFKill support */ argument 82 #define AR5K_EEPROM_HDR_T_5GHZ_DIS(_v) (((_v) >> 15) & 0x1) /* Disable turbo for 5GHz */ argument 85 #define AR5K_EEPROM_OFF(_v, _v3_0, _v3_3) \ argument 86 (((_v) >= AR5K_EEPROM_VERSION_3_3) ? _v3_3 : _v3_0) [all …]
|
/linux-6.6.21/drivers/scsi/bfa/ |
D | bfi_reg.h | 37 #define __APP_PLL_LCLK_RESET_TIMER(_v) ((_v) << __APP_PLL_LCLK_RESET_TIMER_SH) argument 41 #define __APP_PLL_LCLK_CNTLMT0_1(_v) ((_v) << __APP_PLL_LCLK_CNTLMT0_1_SH) argument 44 #define __APP_PLL_LCLK_JITLMT0_1(_v) ((_v) << __APP_PLL_LCLK_JITLMT0_1_SH) argument 49 #define __APP_PLL_LCLK_P0_1(_v) ((_v) << __APP_PLL_LCLK_P0_1_SH) argument 52 #define __APP_PLL_LCLK_Z0_2(_v) ((_v) << __APP_PLL_LCLK_Z0_2_SH) argument 62 #define __APP_PLL_SCLK_RESET_TIMER(_v) ((_v) << __APP_PLL_SCLK_RESET_TIMER_SH) argument 66 #define __APP_PLL_SCLK_CNTLMT0_1(_v) ((_v) << __APP_PLL_SCLK_CNTLMT0_1_SH) argument 69 #define __APP_PLL_SCLK_JITLMT0_1(_v) ((_v) << __APP_PLL_SCLK_JITLMT0_1_SH) argument 74 #define __APP_PLL_SCLK_P0_1(_v) ((_v) << __APP_PLL_SCLK_P0_1_SH) argument 77 #define __APP_PLL_SCLK_Z0_2(_v) ((_v) << __APP_PLL_SCLK_Z0_2_SH) argument [all …]
|
/linux-6.6.21/drivers/net/ethernet/brocade/bna/ |
D | bfi_reg.h | 38 #define __APP_PLL_LCLK_RESET_TIMER(_v) ((_v) << __APP_PLL_LCLK_RESET_TIMER_SH) argument 42 #define __APP_PLL_LCLK_CNTLMT0_1(_v) ((_v) << __APP_PLL_LCLK_CNTLMT0_1_SH) argument 45 #define __APP_PLL_LCLK_JITLMT0_1(_v) ((_v) << __APP_PLL_LCLK_JITLMT0_1_SH) argument 50 #define __APP_PLL_LCLK_P0_1(_v) ((_v) << __APP_PLL_LCLK_P0_1_SH) argument 53 #define __APP_PLL_LCLK_Z0_2(_v) ((_v) << __APP_PLL_LCLK_Z0_2_SH) argument 63 #define __APP_PLL_SCLK_RESET_TIMER(_v) ((_v) << __APP_PLL_SCLK_RESET_TIMER_SH) argument 67 #define __APP_PLL_SCLK_CNTLMT0_1(_v) ((_v) << __APP_PLL_SCLK_CNTLMT0_1_SH) argument 70 #define __APP_PLL_SCLK_JITLMT0_1(_v) ((_v) << __APP_PLL_SCLK_JITLMT0_1_SH) argument 75 #define __APP_PLL_SCLK_P0_1(_v) ((_v) << __APP_PLL_SCLK_P0_1_SH) argument 78 #define __APP_PLL_SCLK_Z0_2(_v) ((_v) << __APP_PLL_SCLK_Z0_2_SH) argument [all …]
|
/linux-6.6.21/arch/ia64/include/asm/ |
D | page.h | 117 #define __pa(x) ({ia64_va _v; _v.l = (long) (x); _v.f.reg = 0; _v.l;}) 118 #define __va(x) ({ia64_va _v; _v.l = (long) (x); _v.f.reg = -1; _v.p;}) 120 #define REGION_NUMBER(x) ({ia64_va _v; _v.l = (long) (x); _v.f.reg;}) 121 #define REGION_OFFSET(x) ({ia64_va _v; _v.l = (long) (x); _v.f.off;})
|
/linux-6.6.21/arch/ia64/include/uapi/asm/ |
D | intrinsics.h | 55 volatile __typeof__(*(v)) *_v = (v); \ 58 IA64_FETCHADD(_tmp, _v, -16, sizeof(*(v)), sem); \ 60 IA64_FETCHADD(_tmp, _v, -8, sizeof(*(v)), sem); \ 62 IA64_FETCHADD(_tmp, _v, -4, sizeof(*(v)), sem); \ 64 IA64_FETCHADD(_tmp, _v, -1, sizeof(*(v)), sem); \ 66 IA64_FETCHADD(_tmp, _v, 1, sizeof(*(v)), sem); \ 68 IA64_FETCHADD(_tmp, _v, 4, sizeof(*(v)), sem); \ 70 IA64_FETCHADD(_tmp, _v, 8, sizeof(*(v)), sem); \ 72 IA64_FETCHADD(_tmp, _v, 16, sizeof(*(v)), sem); \
|
/linux-6.6.21/arch/s390/include/asm/ |
D | atomic.h | 48 #define arch_atomic_sub(_i, _v) arch_atomic_add(-(int)(_i), _v) argument 49 #define arch_atomic_sub_return(_i, _v) arch_atomic_add_return(-(int)(_i), _v) argument 50 #define arch_atomic_fetch_sub(_i, _v) arch_atomic_fetch_add(-(int)(_i), _v) argument 146 #define arch_atomic64_sub_return(_i, _v) arch_atomic64_add_return(-(s64)(_i), _v) argument 147 #define arch_atomic64_fetch_sub(_i, _v) arch_atomic64_fetch_add(-(s64)(_i), _v) argument 148 #define arch_atomic64_sub(_i, _v) arch_atomic64_add(-(s64)(_i), _v) argument
|
/linux-6.6.21/include/uapi/linux/ |
D | vm_sockets.h | 157 #define VM_SOCKETS_VERSION_EPOCH(_v) (((_v) & 0xFF000000) >> 24) argument 164 #define VM_SOCKETS_VERSION_MAJOR(_v) (((_v) & 0x00FF0000) >> 16) argument 170 #define VM_SOCKETS_VERSION_MINOR(_v) (((_v) & 0x0000FFFF)) argument
|
/linux-6.6.21/drivers/gpu/drm/exynos/ |
D | regs-decon7.h | 210 #define BLENDE_Q_FUNC(_v) ((_v) << 18) argument 211 #define BLENDE_P_FUNC(_v) ((_v) << 12) argument 212 #define BLENDE_B_FUNC(_v) ((_v) << 6) argument 213 #define BLENDE_A_FUNC(_v) ((_v) << 0) argument 258 #define VIDCON1_LINECNT_GET(_v) (((_v) >> 17) & 0x1fff) argument
|
/linux-6.6.21/drivers/net/ethernet/freescale/fs_enet/ |
D | mac-scc.c | 61 #define W32(_p, _m, _v) __fs_out32(&(_p)->_m, (_v)) argument 63 #define S32(_p, _m, _v) W32(_p, _m, R32(_p, _m) | (_v)) argument 64 #define C32(_p, _m, _v) W32(_p, _m, R32(_p, _m) & ~(_v)) argument 66 #define W16(_p, _m, _v) __fs_out16(&(_p)->_m, (_v)) argument 68 #define S16(_p, _m, _v) W16(_p, _m, R16(_p, _m) | (_v)) argument 69 #define C16(_p, _m, _v) W16(_p, _m, R16(_p, _m) & ~(_v)) argument 71 #define W8(_p, _m, _v) __fs_out8(&(_p)->_m, (_v)) argument 73 #define S8(_p, _m, _v) W8(_p, _m, R8(_p, _m) | (_v)) argument 74 #define C8(_p, _m, _v) W8(_p, _m, R8(_p, _m) & ~(_v)) argument
|
D | mac-fcc.c | 52 #define W32(_p, _m, _v) out_be32(&(_p)->_m, (_v)) argument 54 #define S32(_p, _m, _v) W32(_p, _m, R32(_p, _m) | (_v)) argument 55 #define C32(_p, _m, _v) W32(_p, _m, R32(_p, _m) & ~(_v)) argument 57 #define W16(_p, _m, _v) out_be16(&(_p)->_m, (_v)) argument 59 #define S16(_p, _m, _v) W16(_p, _m, R16(_p, _m) | (_v)) argument 60 #define C16(_p, _m, _v) W16(_p, _m, R16(_p, _m) & ~(_v)) argument 62 #define W8(_p, _m, _v) out_8(&(_p)->_m, (_v)) argument 64 #define S8(_p, _m, _v) W8(_p, _m, R8(_p, _m) | (_v)) argument 65 #define C8(_p, _m, _v) W8(_p, _m, R8(_p, _m) & ~(_v)) argument
|
D | mac-fec.c | 61 #define FW(_fecp, _reg, _v) __fs_out32(&(_fecp)->fec_ ## _reg, (_v)) argument 67 #define FS(_fecp, _reg, _v) FW(_fecp, _reg, FR(_fecp, _reg) | (_v)) argument 70 #define FC(_fecp, _reg, _v) FW(_fecp, _reg, FR(_fecp, _reg) & ~(_v)) argument
|
/linux-6.6.21/drivers/clk/x86/ |
D | clk-cgu.h | 204 _shift, _width, _cf, _v) \ argument 216 .mux_val = _v, \ 220 _shift_gate, _width_gate, _cf, _v, _dtable) \ argument 237 .div_val = _v, \ 242 _shift, _cf, _v) \ argument 256 .gate_val = _v, \ 260 _shift, _width, _cf, _freq, _v) \ argument 275 .div_val = _v, \ 280 _shift, _width, _cf, _v, _m, _d) \ argument 295 .div_val = _v, \
|
/linux-6.6.21/drivers/net/ethernet/micrel/ |
D | ks8851.h | 104 #define TXSR_TXFID_GET(_v) (((_v) >> 0) & 0x3f) argument 208 #define RXFCTR_RXFC_GET(_v) (((_v) >> 8) & 0xff) argument 227 #define CIDER_REV_GET(_v) (((_v) >> 1) & 0x7) argument 253 #define PMECR_WKEVT_GET(_v) (((_v) >> 2) & 0xf) argument
|
/linux-6.6.21/drivers/gpu/drm/armada/ |
D | armada_crtc.h | 18 #define armada_reg_queue_mod(_r, _i, _v, _m, _o) \ argument 23 __reg[_i].val = _v; \ 27 #define armada_reg_queue_set(_r, _i, _v, _o) \ argument 28 armada_reg_queue_mod(_r, _i, _v, ~0, _o)
|
/linux-6.6.21/include/soc/fsl/qe/ |
D | qe.h | 243 #define qe_setbits_be32(_addr, _v) iowrite32be(ioread32be(_addr) | (_v), (_addr)) argument 244 #define qe_clrbits_be32(_addr, _v) iowrite32be(ioread32be(_addr) & ~(_v), (_addr)) argument 246 #define qe_setbits_be16(_addr, _v) iowrite16be(ioread16be(_addr) | (_v), (_addr)) argument 247 #define qe_clrbits_be16(_addr, _v) iowrite16be(ioread16be(_addr) & ~(_v), (_addr)) argument 249 #define qe_setbits_8(_addr, _v) iowrite8(ioread8(_addr) | (_v), (_addr)) argument 250 #define qe_clrbits_8(_addr, _v) iowrite8(ioread8(_addr) & ~(_v), (_addr)) argument
|
/linux-6.6.21/drivers/net/ethernet/8390/ |
D | 8390p.c | 8 #define ei_outb(_v, _p) outb(_v, _p) argument 10 #define ei_outb_p(_v, _p) outb_p(_v, _p) argument
|
D | 8390.h | 158 #define ei_outb(_v, _p) outb(_v, _p) argument 160 #define ei_outb_p(_v, _p) outb(_v, _p) argument
|
D | xsurf100.c | 29 #define ei_outb(_v, _a) z_writeb(_v, ax_convert_addr(_a)) argument 32 #define ei_outw(_v, _a) z_writew(_v, ax_convert_addr(_a)) argument 35 #define ei_outb_p(_v, _a) ei_outb(_v, _a) argument
|
/linux-6.6.21/drivers/scsi/qla2xxx/ |
D | qla_edif.h | 47 #define DBELL_ACTIVE(_v) (_v->e_dbell.db_flags & EDB_ACTIVE) argument 48 #define DBELL_INACTIVE(_v) (!(_v->e_dbell.db_flags & EDB_ACTIVE)) argument
|
/linux-6.6.21/drivers/gpu/drm/nouveau/include/nvkm/core/ |
D | os.h | 20 u64 _v = (v); \ 21 iowrite32_native(lower_32_bits(_v), &_p[0]); \ 22 iowrite32_native(upper_32_bits(_v), &_p[1]); \
|
/linux-6.6.21/drivers/net/wireless/ath/ath9k/ |
D | hif_usb.h | 41 #define IS_AR7010_DEVICE(_v) (((_v) == AR9280_USB) || ((_v) == AR9287_USB)) argument
|
/linux-6.6.21/drivers/scsi/csiostor/ |
D | csio_hw.h | 566 #define csio_wr_reg8(_h, _v, _r) writeb((_v), \ argument 568 #define csio_wr_reg16(_h, _v, _r) writew((_v), \ argument 570 #define csio_wr_reg32(_h, _v, _r) writel((_v), \ argument 572 #define csio_wr_reg64(_h, _v, _r) writeq((_v), \ argument
|
/linux-6.6.21/arch/mips/include/asm/sn/ |
D | agent.h | 36 #define SET_MY_HUB_NIC(_v) \ argument 37 SET_HUB_NIC(cpuid(), (_v))
|
/linux-6.6.21/drivers/net/wireless/intel/iwlwifi/ |
D | iwl-prph.h | 193 #define SCD_QUEUE_CTX_REG1_VAL(_n, _v) FIELD_PREP(SCD_QUEUE_CTX_REG1_ ## _n, _v) argument 197 #define SCD_QUEUE_CTX_REG2_VAL(_n, _v) FIELD_PREP(SCD_QUEUE_CTX_REG2_ ## _n, _v) argument
|
/linux-6.6.21/drivers/md/bcache/ |
D | sysfs.h | 122 unsigned long _v; \ 123 int _r = kstrtoul(cp, 10, &_v); \ 126 _v; \
|