/linux-6.14.4/arch/alpha/include/uapi/asm/ |
D | compiler.h | 14 # define __kernel_insbl(val, shift) __builtin_alpha_insbl(val, shift) argument 15 # define __kernel_inswl(val, shift) __builtin_alpha_inswl(val, shift) argument 16 # define __kernel_insql(val, shift) __builtin_alpha_insql(val, shift) argument 17 # define __kernel_inslh(val, shift) __builtin_alpha_inslh(val, shift) argument 18 # define __kernel_extbl(val, shift) __builtin_alpha_extbl(val, shift) argument 19 # define __kernel_extwl(val, shift) __builtin_alpha_extwl(val, shift) argument 22 # define __kernel_insbl(val, shift) \ argument 26 # define __kernel_inswl(val, shift) \ argument 30 # define __kernel_insql(val, shift) \ argument 34 # define __kernel_inslh(val, shift) \ argument [all …]
|
/linux-6.14.4/drivers/power/supply/ |
D | adp5061.c | 40 #define ADP5061_VINX_SET_ILIM_MODE(x) (((x) & 0x0F) << 0) argument 44 #define ADP5061_TERM_SET_VTRM_MODE(x) (((x) & 0x3F) << 2) argument 46 #define ADP5061_TERM_SET_CHG_VLIM_MODE(x) (((x) & 0x03) << 0) argument 50 #define ADP5061_CHG_CURR_ICHG_MODE(x) (((x) & 0x1F) << 2) argument 52 #define ADP5061_CHG_CURR_ITRK_DEAD_MODE(x) (((x) & 0x03) << 0) argument 56 #define ADP5061_VOLTAGE_TH_DIS_RCH_MODE(x) (((x) & 0x01) << 7) argument 58 #define ADP5061_VOLTAGE_TH_VRCH_MODE(x) (((x) & 0x03) << 5) argument 60 #define ADP5061_VOLTAGE_TH_VTRK_DEAD_MODE(x) (((x) & 0x03) << 3) argument 62 #define ADP5061_VOLTAGE_TH_VWEAK_MODE(x) (((x) & 0x07) << 0) argument 65 #define ADP5061_CHG_STATUS_1_VIN_OV(x) (((x) >> 7) & 0x1) argument [all …]
|
/linux-6.14.4/include/uapi/linux/ |
D | swab.h | 14 #define ___constant_swab16(x) ((__u16)( \ argument 18 #define ___constant_swab32(x) ((__u32)( \ argument 24 #define ___constant_swab64(x) ((__u64)( \ argument 34 #define ___constant_swahw32(x) ((__u32)( \ argument 38 #define ___constant_swahb32(x) ((__u32)( \ argument 48 static inline __attribute_const__ __u16 __fswab16(__u16 val) in __fswab16() 57 static inline __attribute_const__ __u32 __fswab32(__u32 val) in __fswab32() 66 static inline __attribute_const__ __u64 __fswab64(__u64 val) in __fswab64() 79 static inline __attribute_const__ __u32 __fswahw32(__u32 val) in __fswahw32() 88 static inline __attribute_const__ __u32 __fswahb32(__u32 val) in __fswahb32() [all …]
|
D | lirc.h | 24 #define LIRC_SPACE(val) (((val) & LIRC_VALUE_MASK) | LIRC_MODE2_SPACE) argument 25 #define LIRC_PULSE(val) (((val) & LIRC_VALUE_MASK) | LIRC_MODE2_PULSE) argument 26 #define LIRC_FREQUENCY(val) (((val) & LIRC_VALUE_MASK) | LIRC_MODE2_FREQUENCY) argument 27 #define LIRC_TIMEOUT(val) (((val) & LIRC_VALUE_MASK) | LIRC_MODE2_TIMEOUT) argument 28 #define LIRC_OVERFLOW(val) (((val) & LIRC_VALUE_MASK) | LIRC_MODE2_OVERFLOW) argument 30 #define LIRC_VALUE(val) ((val)&LIRC_VALUE_MASK) argument 31 #define LIRC_MODE2(val) ((val)&LIRC_MODE2_MASK) argument 33 #define LIRC_IS_SPACE(val) (LIRC_MODE2(val) == LIRC_MODE2_SPACE) argument 34 #define LIRC_IS_PULSE(val) (LIRC_MODE2(val) == LIRC_MODE2_PULSE) argument 35 #define LIRC_IS_FREQUENCY(val) (LIRC_MODE2(val) == LIRC_MODE2_FREQUENCY) argument [all …]
|
/linux-6.14.4/drivers/hwmon/ |
D | ltc2992.c | 62 #define LTC2992_POWER(x) (LTC2992_POWER1 + ((x) * 0x32)) argument 63 #define LTC2992_POWER_MAX(x) (LTC2992_POWER1_MAX + ((x) * 0x32)) argument 64 #define LTC2992_POWER_MIN(x) (LTC2992_POWER1_MIN + ((x) * 0x32)) argument 65 #define LTC2992_POWER_MAX_THRESH(x) (LTC2992_POWER1_MAX_THRESH + ((x) * 0x32)) argument 66 #define LTC2992_POWER_MIN_THRESH(x) (LTC2992_POWER1_MIN_THRESH + ((x) * 0x32)) argument 67 #define LTC2992_DSENSE(x) (LTC2992_DSENSE1 + ((x) * 0x32)) argument 68 #define LTC2992_DSENSE_MAX(x) (LTC2992_DSENSE1_MAX + ((x) * 0x32)) argument 69 #define LTC2992_DSENSE_MIN(x) (LTC2992_DSENSE1_MIN + ((x) * 0x32)) argument 70 #define LTC2992_DSENSE_MAX_THRESH(x) (LTC2992_DSENSE1_MAX_THRESH + ((x) * 0x32)) argument 71 #define LTC2992_DSENSE_MIN_THRESH(x) (LTC2992_DSENSE1_MIN_THRESH + ((x) * 0x32)) argument [all …]
|
D | nct7363.c | 17 #define NCT7363_REG_FUNC_CFG_BASE(x) (0x20 + (x)) argument 18 #define NCT7363_REG_LSRS(x) (0x34 + ((x) / 8)) argument 19 #define NCT7363_REG_PWMEN_BASE(x) (0x38 + (x)) argument 20 #define NCT7363_REG_FANINEN_BASE(x) (0x41 + (x)) argument 21 #define NCT7363_REG_FANINX_HVAL(x) (0x48 + ((x) * 2)) argument 22 #define NCT7363_REG_FANINX_LVAL(x) (0x49 + ((x) * 2)) argument 23 #define NCT7363_REG_FANINX_HL(x) (0x6C + ((x) * 2)) argument 24 #define NCT7363_REG_FANINX_LL(x) (0x6D + ((x) * 2)) argument 25 #define NCT7363_REG_FSCPXDUTY(x) (0x90 + ((x) * 2)) argument 26 #define NCT7363_REG_FSCPXDIV(x) (0x91 + ((x) * 2)) argument [all …]
|
D | lm95234.c | 39 #define LM95234_REG_TEMPH(x) ((x) + 0x10) argument 40 #define LM95234_REG_TEMPL(x) ((x) + 0x20) argument 41 #define LM95234_REG_UTEMPH(x) ((x) + 0x19) /* Remote only */ argument 42 #define LM95234_REG_UTEMPL(x) ((x) + 0x29) argument 45 #define LM95234_REG_OFFSET(x) ((x) + 0x31) /* Remote only */ argument 46 #define LM95234_REG_TCRIT1(x) ((x) + 0x40) argument 47 #define LM95234_REG_TCRIT2(x) ((x) + 0x49) /* Remote channel 1,2 */ argument 92 static int lm95234_hyst_get(struct regmap *regmap, int reg, long *val) in lm95234_hyst_get() 105 static ssize_t lm95234_hyst_set(struct lm95234_data *data, long val) in lm95234_hyst_set() 132 static int lm95234_temp_write(struct device *dev, u32 attr, int channel, long val) in lm95234_temp_write() [all …]
|
/linux-6.14.4/include/linux/ |
D | minmax.h | 23 #define __typecheck(x, y) \ argument 83 #define __cmp(op, x, y) ((x) __cmp_op_##op (y) ? (x) : (y)) argument 85 #define __cmp_once_unique(op, type, x, y, ux, uy) \ argument 88 #define __cmp_once(op, type, x, y) \ argument 91 #define __careful_cmp_once(op, x, y, ux, uy) ({ \ argument 97 #define __careful_cmp(op, x, y) \ argument 105 #define min(x, y) __careful_cmp(min, x, y) argument 112 #define max(x, y) __careful_cmp(max, x, y) argument 120 #define umin(x, y) \ argument 128 #define umax(x, y) \ argument [all …]
|
/linux-6.14.4/drivers/usb/phy/ |
D | phy-tegra-usb.c | 36 #define TEGRA_USB_PORTSC1_PTS(x) (((x) & 0x3) << 30) argument 41 #define TEGRA_USB_HOSTPC1_DEVLC_PTS(x) (((x) & 0x7) << 29) argument 58 #define USB_WAKEUP_DEBOUNCE_COUNT(x) (((x) & 0x7) << 16) argument 88 #define ULPI_DATA_TRIMMER_SEL(x) (((x) & 0x7) << 1) argument 90 #define ULPI_STPDIRNXT_TRIMMER_SEL(x) (((x) & 0x7) << 17) argument 92 #define ULPI_DIR_TRIMMER_SEL(x) (((x) & 0x7) << 25) argument 95 #define UTMIP_XTAL_FREQ_COUNT(x) (((x) & 0xfff) << 0) argument 96 #define UTMIP_PLLU_ENABLE_DLY_COUNT(x) (((x) & 0x1f) << 27) argument 99 #define UTMIP_XCVR_SETUP(x) (((x) & 0xf) << 0) argument 100 #define UTMIP_XCVR_SETUP_MSB(x) ((((x) & 0x70) >> 4) << 22) argument [all …]
|
/linux-6.14.4/include/linux/byteorder/ |
D | generic.h | 134 #define ___htonl(x) __cpu_to_be32(x) argument 135 #define ___htons(x) __cpu_to_be16(x) argument 136 #define ___ntohl(x) __be32_to_cpu(x) argument 137 #define ___ntohs(x) __be16_to_cpu(x) argument 139 #define htonl(x) ___htonl(x) argument 140 #define ntohl(x) ___ntohl(x) argument 141 #define htons(x) ___htons(x) argument 142 #define ntohs(x) ___ntohs(x) argument 144 static inline void le16_add_cpu(__le16 *var, u16 val) in le16_add_cpu() 149 static inline void le32_add_cpu(__le32 *var, u32 val) in le32_add_cpu() [all …]
|
/linux-6.14.4/arch/parisc/include/asm/ |
D | uaccess.h | 23 #define LDD_USER(sr, val, ptr) __get_user_asm64(sr, val, ptr) argument 24 #define STD_USER(sr, x, ptr) __put_user_asm64(sr, x, ptr) argument 26 #define LDD_USER(sr, val, ptr) __get_user_asm(sr, val, "ldd", ptr) argument 27 #define STD_USER(sr, x, ptr) __put_user_asm(sr, "std", x, ptr) argument 30 #define __get_user_internal(sr, val, ptr) \ argument 45 #define __get_user(val, ptr) \ argument 50 #define __get_user_asm(sr, val, ldx, ptr) \ argument 77 #define __get_user_asm64(sr, val, ptr) \ argument 99 #define __put_user_internal(sr, x, ptr) \ argument 114 #define __put_user(x, ptr) \ argument [all …]
|
/linux-6.14.4/drivers/gpu/drm/bridge/cadence/ |
D | cdns-dsi-core.c | 31 #define SP_HS_FIFO_DEPTH(x) (((x) & GENMASK(30, 26)) >> 26) argument 32 #define SP_LP_FIFO_DEPTH(x) (((x) & GENMASK(25, 21)) >> 21) argument 33 #define VRS_FIFO_DEPTH(x) (((x) & GENMASK(20, 16)) >> 16) argument 34 #define DIRCMD_FIFO_DEPTH(x) (((x) & GENMASK(15, 13)) >> 13) argument 40 #define NUM_IFACE(x) ((((x) & GENMASK(9, 8)) >> 8) + 1) argument 41 #define MAX_LANE_NB(x) (((x) & GENMASK(7, 6)) >> 6) argument 42 #define RX_FIFO_DEPTH(x) ((x) & GENMASK(5, 0)) argument 54 #define IF_TE_EN(x) BIT(8 + (x)) argument 57 #define IF_VID_SELECT(x) ((x) << 2) argument 63 #define HS_INVERT_DAT(x) BIT(19 + ((x) * 2)) argument [all …]
|
/linux-6.14.4/arch/mips/boot/tools/ |
D | relocs.c | 131 #define le16_to_cpu(val) (val) argument 132 #define le32_to_cpu(val) (val) argument 133 #define le64_to_cpu(val) (val) argument 134 #define be16_to_cpu(val) bswap_16(val) argument 135 #define be32_to_cpu(val) bswap_32(val) argument 136 #define be64_to_cpu(val) bswap_64(val) argument 138 #define cpu_to_le16(val) (val) argument 139 #define cpu_to_le32(val) (val) argument 140 #define cpu_to_le64(val) (val) argument 141 #define cpu_to_be16(val) bswap_16(val) argument [all …]
|
/linux-6.14.4/include/asm-generic/ |
D | rwonce.h | 44 #define __READ_ONCE(x) (*(const volatile __unqual_scalar_typeof(x) *)&(x)) argument 47 #define READ_ONCE(x) \ argument 53 #define __WRITE_ONCE(x, val) \ argument 58 #define WRITE_ONCE(x, val) \ argument 75 #define READ_ONCE_NOCHECK(x) \ argument
|
/linux-6.14.4/drivers/regulator/ |
D | lp3972.c | 143 #define LP3972_LDO_OUTPUT_ENABLE_MASK(x) (ldo_output_enable_mask[x]) argument 144 #define LP3972_LDO_OUTPUT_ENABLE_REG(x) (ldo_output_enable_addr[x]) argument 151 #define LP3972_LDO_VOL_CONTR_SHIFT(x) (((x) & 1) << 2) argument 152 #define LP3972_LDO_VOL_CONTR_REG(x) (ldo_vol_ctl_addr[x]) argument 153 #define LP3972_LDO_VOL_CHANGE_SHIFT(x) ((x) ? 4 : 6) argument 155 #define LP3972_LDO_VOL_MASK(x) (((x) % 4) ? 0x0f : 0x1f) argument 156 #define LP3972_LDO_VOL_MIN_IDX(x) (((x) == 4) ? 0x05 : 0x00) argument 157 #define LP3972_LDO_VOL_MAX_IDX(x) ((x) ? (((x) == 4) ? 0x1f : 0x0f) : 0x0c) argument 159 #define LP3972_BUCK_VOL_ENABLE_REG(x) (buck_vol_enable_addr[x]) argument 160 #define LP3972_BUCK_VOL1_REG(x) (buck_base_addr[x]) argument [all …]
|
/linux-6.14.4/drivers/memory/ |
D | ti-aemif.c | 33 #define TA(x) ((x) << TA_SHIFT) argument 34 #define RHOLD(x) ((x) << RHOLD_SHIFT) argument 35 #define RSTROBE(x) ((x) << RSTROBE_SHIFT) argument 36 #define RSETUP(x) ((x) << RSETUP_SHIFT) argument 37 #define WHOLD(x) ((x) << WHOLD_SHIFT) argument 38 #define WSTROBE(x) ((x) << WSTROBE_SHIFT) argument 39 #define WSETUP(x) ((x) << WSETUP_SHIFT) argument 40 #define EW(x) ((x) << EW_SHIFT) argument 41 #define SSTROBE(x) ((x) << SSTROBE_SHIFT) argument 55 #define TA_VAL(x) (((x) & TA(TA_MAX)) >> TA_SHIFT) argument [all …]
|
/linux-6.14.4/arch/nios2/include/asm/ |
D | uaccess.h | 68 #define __get_user_asm(val, insn, addr, err) \ argument 86 #define __get_user_8(val, ptr, err) do { \ argument 96 #define __get_user_common(val, size, ptr, err) \ argument 117 #define __get_user(x, ptr) \ argument 125 #define get_user(x, ptr) \ argument 135 #define __put_user_asm(val, insn, ptr, err) \ argument 173 #define __put_user(x, ptr) \ argument 180 #define put_user(x, ptr) \ argument
|
/linux-6.14.4/arch/x86/include/asm/ |
D | special_insns.h | 28 unsigned long val; in native_read_cr0() local 35 unsigned long val; in native_read_cr2() local 40 static __always_inline void native_write_cr2(unsigned long val) in native_write_cr2() 47 unsigned long val; in __native_read_cr3() local 52 static inline void native_write_cr3(unsigned long val) in native_write_cr3() 59 unsigned long val; in native_read_cr4() local 137 static inline void write_cr0(unsigned long x) in write_cr0() 147 static __always_inline void write_cr2(unsigned long x) in write_cr2() 161 static inline void write_cr3(unsigned long x) in write_cr3() 166 static inline void __write_cr4(unsigned long x) in __write_cr4() [all …]
|
/linux-6.14.4/arch/arm/mach-spear/ |
D | time.c | 36 #define CR(x) ((x) * 0x80 + 0x80) argument 37 #define IR(x) ((x) * 0x80 + 0x84) argument 38 #define LOAD(x) ((x) * 0x80 + 0x88) argument 39 #define COUNT(x) ((x) * 0x80 + 0x8C) argument 72 u16 val; in spear_clocksource_init() local 95 u16 val = readw(gpt_base + CR(CLKEVT)); in spear_timer_shutdown() local 111 u16 val; in spear_set_oneshot() local 126 u16 val; in spear_set_periodic() local 157 u16 val = readw(gpt_base + CR(CLKEVT)); in clockevent_next_event() local
|
/linux-6.14.4/arch/sparc/vdso/ |
D | vdso2c.c | 100 #define GBE(x, bits, ifnot) \ argument 105 #define LAST_GBE(x) \ argument 108 #define GET_BE(x) \ argument 111 #define PBE(x, val, bits, ifnot) \ argument 116 #define LAST_PBE(x, val) \ argument 119 #define PUT_BE(x, val) \ argument 130 #define ELF_BITS_XFORM2(bits, x) Elf##bits##_##x argument 131 #define ELF_BITS_XFORM(bits, x) ELF_BITS_XFORM2(bits, x) argument 132 #define ELF(x) ELF_BITS_XFORM(ELF_BITS, x) argument
|
/linux-6.14.4/arch/s390/tools/ |
D | relocs.c | 25 #define ELF_R_SYM(val) ELF64_R_SYM(val) argument 26 #define ELF_R_TYPE(val) ELF64_R_TYPE(val) argument 63 #define le16_to_cpu(val) (val) argument 64 #define le32_to_cpu(val) (val) argument 65 #define le64_to_cpu(val) (val) argument 66 #define be16_to_cpu(val) bswap_16(val) argument 67 #define be32_to_cpu(val) bswap_32(val) argument 68 #define be64_to_cpu(val) bswap_64(val) argument 72 #define le16_to_cpu(val) bswap_16(val) argument 73 #define le32_to_cpu(val) bswap_32(val) argument [all …]
|
/linux-6.14.4/fs/nfsd/ |
D | trace.h | 75 #define show_nfsd_may_flags(x) \ argument 199 #define show_fs_file_type(x) \ argument 660 #define show_stid_type(x) \ argument 667 #define show_stid_status(x) \ argument 1037 #define show_nf_flags(val) \ argument 1373 #define show_drc_retval(x) \ argument 1465 #define show_cb_state(val) \ argument 1514 #define show_nfsd_authflavor(val) \ argument 1576 #define show_nfsd_cb_opcode(val) \ argument
|
/linux-6.14.4/drivers/gpio/ |
D | gpio-mb86s7x.c | 29 #define PDR(x) (0x0 + x / 8 * 4) argument 30 #define DDR(x) (0x10 + x / 8 * 4) argument 31 #define PFR(x) (0x20 + x / 8 * 4) argument 33 #define OFFSET(x) BIT((x) % 8) argument 45 u32 val; in mb86s70_gpio_request() local 62 u32 val; in mb86s70_gpio_free() local 77 unsigned char val; in mb86s70_gpio_direction_input() local 95 unsigned char val; in mb86s70_gpio_direction_output() local 126 unsigned char val; in mb86s70_gpio_set() local
|
/linux-6.14.4/arch/sh/include/asm/ |
D | uaccess_32.h | 16 #define __get_user_size(x,ptr,size,retval) \ argument 39 #define __get_user_asm(x, addr, err, insn) \ argument 60 #define __get_user_asm(x, addr, err, insn) \ argument 73 #define __get_user_u64(x, addr, err) \ argument 97 #define __get_user_u64(x, addr, err) \ argument 122 #define __put_user_size(x,ptr,size,retval) \ argument 144 #define __put_user_asm(x, addr, err, insn) \ argument 168 #define __put_user_asm(x, addr, err, insn) \ argument 180 #define __put_user_u64(val,addr,retval) \ argument 202 #define __put_user_u64(val,addr,retval) \ argument
|
/linux-6.14.4/tools/testing/selftests/kvm/x86/ |
D | xapic_state_test.c | 26 uint64_t val = (u64)xapic_read_reg(APIC_IRR) | in xapic_guest_code() local 46 uint64_t val = x2apic_read_reg(APIC_IRR) | in x2apic_guest_code() local 59 static void ____test_icr(struct xapic_vcpu *x, uint64_t val) in ____test_icr() 96 static void __test_icr(struct xapic_vcpu *x, uint64_t val) in __test_icr() 109 static void test_icr(struct xapic_vcpu *x) in test_icr() 227 struct xapic_vcpu x = { in main() local
|