/linux-4.19.296/lib/ |
D | chacha20.c | 21 u32 x[16]; in chacha20_block() local 24 for (i = 0; i < ARRAY_SIZE(x); i++) in chacha20_block() 25 x[i] = state[i]; in chacha20_block() 28 x[0] += x[4]; x[12] = rol32(x[12] ^ x[0], 16); in chacha20_block() 29 x[1] += x[5]; x[13] = rol32(x[13] ^ x[1], 16); in chacha20_block() 30 x[2] += x[6]; x[14] = rol32(x[14] ^ x[2], 16); in chacha20_block() 31 x[3] += x[7]; x[15] = rol32(x[15] ^ x[3], 16); in chacha20_block() 33 x[8] += x[12]; x[4] = rol32(x[4] ^ x[8], 12); in chacha20_block() 34 x[9] += x[13]; x[5] = rol32(x[5] ^ x[9], 12); in chacha20_block() 35 x[10] += x[14]; x[6] = rol32(x[6] ^ x[10], 12); in chacha20_block() [all …]
|
/linux-4.19.296/crypto/ |
D | salsa20_generic.c | 37 u32 x[16]; in salsa20_block() local 40 memcpy(x, state, sizeof(x)); in salsa20_block() 43 x[ 4] ^= rol32((x[ 0] + x[12]), 7); in salsa20_block() 44 x[ 8] ^= rol32((x[ 4] + x[ 0]), 9); in salsa20_block() 45 x[12] ^= rol32((x[ 8] + x[ 4]), 13); in salsa20_block() 46 x[ 0] ^= rol32((x[12] + x[ 8]), 18); in salsa20_block() 47 x[ 9] ^= rol32((x[ 5] + x[ 1]), 7); in salsa20_block() 48 x[13] ^= rol32((x[ 9] + x[ 5]), 9); in salsa20_block() 49 x[ 1] ^= rol32((x[13] + x[ 9]), 13); in salsa20_block() 50 x[ 5] ^= rol32((x[ 1] + x[13]), 18); in salsa20_block() [all …]
|
D | tgr192.c | 402 static void tgr192_round(u64 * ra, u64 * rb, u64 * rc, u64 x, int mul) in tgr192_round() argument 408 c ^= x; in tgr192_round() 421 static void tgr192_pass(u64 * ra, u64 * rb, u64 * rc, u64 * x, int mul) in tgr192_pass() argument 427 tgr192_round(&a, &b, &c, x[0], mul); in tgr192_pass() 428 tgr192_round(&b, &c, &a, x[1], mul); in tgr192_pass() 429 tgr192_round(&c, &a, &b, x[2], mul); in tgr192_pass() 430 tgr192_round(&a, &b, &c, x[3], mul); in tgr192_pass() 431 tgr192_round(&b, &c, &a, x[4], mul); in tgr192_pass() 432 tgr192_round(&c, &a, &b, x[5], mul); in tgr192_pass() 433 tgr192_round(&a, &b, &c, x[6], mul); in tgr192_pass() [all …]
|
/linux-4.19.296/include/uapi/linux/byteorder/ |
D | little_endian.h | 15 #define __constant_htonl(x) ((__force __be32)___constant_swab32((x))) argument 16 #define __constant_ntohl(x) ___constant_swab32((__force __be32)(x)) argument 17 #define __constant_htons(x) ((__force __be16)___constant_swab16((x))) argument 18 #define __constant_ntohs(x) ___constant_swab16((__force __be16)(x)) argument 19 #define __constant_cpu_to_le64(x) ((__force __le64)(__u64)(x)) argument 20 #define __constant_le64_to_cpu(x) ((__force __u64)(__le64)(x)) argument 21 #define __constant_cpu_to_le32(x) ((__force __le32)(__u32)(x)) argument 22 #define __constant_le32_to_cpu(x) ((__force __u32)(__le32)(x)) argument 23 #define __constant_cpu_to_le16(x) ((__force __le16)(__u16)(x)) argument 24 #define __constant_le16_to_cpu(x) ((__force __u16)(__le16)(x)) argument [all …]
|
D | big_endian.h | 15 #define __constant_htonl(x) ((__force __be32)(__u32)(x)) argument 16 #define __constant_ntohl(x) ((__force __u32)(__be32)(x)) argument 17 #define __constant_htons(x) ((__force __be16)(__u16)(x)) argument 18 #define __constant_ntohs(x) ((__force __u16)(__be16)(x)) argument 19 #define __constant_cpu_to_le64(x) ((__force __le64)___constant_swab64((x))) argument 20 #define __constant_le64_to_cpu(x) ___constant_swab64((__force __u64)(__le64)(x)) argument 21 #define __constant_cpu_to_le32(x) ((__force __le32)___constant_swab32((x))) argument 22 #define __constant_le32_to_cpu(x) ___constant_swab32((__force __u32)(__le32)(x)) argument 23 #define __constant_cpu_to_le16(x) ((__force __le16)___constant_swab16((x))) argument 24 #define __constant_le16_to_cpu(x) ___constant_swab16((__force __u16)(__le16)(x)) argument [all …]
|
/linux-4.19.296/drivers/edac/ |
D | mce_amd.h | 9 #define EC(x) ((x) & 0xffff) argument 10 #define XEC(x, mask) (((x) >> 16) & mask) argument 12 #define LOW_SYNDROME(x) (((x) >> 15) & 0xff) argument 13 #define HIGH_SYNDROME(x) (((x) >> 24) & 0xff) argument 15 #define TLB_ERROR(x) (((x) & 0xFFF0) == 0x0010) argument 16 #define MEM_ERROR(x) (((x) & 0xFF00) == 0x0100) argument 17 #define BUS_ERROR(x) (((x) & 0xF800) == 0x0800) argument 18 #define INT_ERROR(x) (((x) & 0xF4FF) == 0x0400) argument 20 #define TT(x) (((x) >> 2) & 0x3) argument 21 #define TT_MSG(x) tt_msgs[TT(x)] argument [all …]
|
/linux-4.19.296/include/linux/usb/ |
D | phy.h | 73 int (*read)(struct usb_phy *x, u32 reg); 74 int (*write)(struct usb_phy *x, u32 val, u32 reg); 126 int (*init)(struct usb_phy *x); 127 void (*shutdown)(struct usb_phy *x); 130 int (*set_vbus)(struct usb_phy *x, int on); 133 int (*set_power)(struct usb_phy *x, 137 int (*set_suspend)(struct usb_phy *x, 145 int (*set_wakeup)(struct usb_phy *x, bool enabled); 148 int (*notify_connect)(struct usb_phy *x, 150 int (*notify_disconnect)(struct usb_phy *x, [all …]
|
/linux-4.19.296/include/asm-generic/ |
D | int-ll64.h | 25 #define S8_C(x) x argument 26 #define U8_C(x) x ## U argument 27 #define S16_C(x) x argument 28 #define U16_C(x) x ## U argument 29 #define S32_C(x) x argument 30 #define U32_C(x) x ## U argument 31 #define S64_C(x) x ## LL argument 32 #define U64_C(x) x ## ULL argument 36 #define S8_C(x) x argument 37 #define U8_C(x) x argument [all …]
|
/linux-4.19.296/drivers/media/dvb-frontends/drx39xyj/ |
D | drx_driver.h | 449 #define DRX_16TO8(x) ((u8) (((u16)x) & 0xFF)), \ argument 450 ((u8)((((u16)x)>>8)&0xFF)) 455 #define DRX_U16TODRXFREQ(x) ((x & 0x8000) ? \ argument 457 (((u32) x) | 0xFFFF0000)) : \ 458 ((s32) x)) 1923 #define DRX_STR_STANDARD(x) ( \ argument 1924 (x == DRX_STANDARD_DVBT) ? "DVB-T" : \ 1925 (x == DRX_STANDARD_8VSB) ? "8VSB" : \ 1926 (x == DRX_STANDARD_NTSC) ? "NTSC" : \ 1927 (x == DRX_STANDARD_PAL_SECAM_BG) ? "PAL/SECAM B/G" : \ [all …]
|
/linux-4.19.296/include/video/ |
D | ili9320.h | 15 #define ILI9320_REG(x) (x) argument 87 #define ILI9320_ENTRYMODE_ID(x) ((x) << 4) argument 95 #define ILI9320_RESIZING_RSZ(x) ((x) << 0) argument 96 #define ILI9320_RESIZING_RCH(x) ((x) << 4) argument 97 #define ILI9320_RESIZING_RCV(x) ((x) << 8) argument 100 #define ILI9320_DISPLAY1_D(x) ((x) << 0) argument 105 #define ILI9320_DISPLAY1_PTDE(x) ((x) << 12) argument 108 #define ILI9320_DISPLAY2_BP(x) ((x) << 0) argument 109 #define ILI9320_DISPLAY2_FP(x) ((x) << 8) argument 122 #define ILI9320_RGBIF1_ENC_FRAMES(x) (((x) - 1)<< 13) argument [all …]
|
/linux-4.19.296/include/scsi/ |
D | scsi_transport_spi.h | 75 #define spi_period(x) (((struct spi_transport_attrs *)&(x)->starget_data)->period) argument 76 #define spi_min_period(x) (((struct spi_transport_attrs *)&(x)->starget_data)->min_period) argument 77 #define spi_offset(x) (((struct spi_transport_attrs *)&(x)->starget_data)->offset) argument 78 #define spi_max_offset(x) (((struct spi_transport_attrs *)&(x)->starget_data)->max_offset) argument 79 #define spi_width(x) (((struct spi_transport_attrs *)&(x)->starget_data)->width) argument 80 #define spi_max_width(x) (((struct spi_transport_attrs *)&(x)->starget_data)->max_width) argument 81 #define spi_iu(x) (((struct spi_transport_attrs *)&(x)->starget_data)->iu) argument 82 #define spi_max_iu(x) (((struct spi_transport_attrs *)&(x)->starget_data)->max_iu) argument 83 #define spi_dt(x) (((struct spi_transport_attrs *)&(x)->starget_data)->dt) argument 84 #define spi_qas(x) (((struct spi_transport_attrs *)&(x)->starget_data)->qas) argument [all …]
|
D | scsi_transport_fc.h | 401 #define fc_starget_node_name(x) \ argument 402 (((struct fc_starget_attrs *)&(x)->starget_data)->node_name) 403 #define fc_starget_port_name(x) \ argument 404 (((struct fc_starget_attrs *)&(x)->starget_data)->port_name) 405 #define fc_starget_port_id(x) \ argument 406 (((struct fc_starget_attrs *)&(x)->starget_data)->port_id) 554 #define shost_to_fc_host(x) \ argument 555 ((struct fc_host_attrs *)(x)->shost_data) 557 #define fc_host_node_name(x) \ argument 558 (((struct fc_host_attrs *)(x)->shost_data)->node_name) [all …]
|
/linux-4.19.296/include/linux/ |
D | pxa2xx_ssp.h | 50 #define SSCR0_DataSize(x) ((x) - 1) /* Data Size Select [4..16] */ argument 57 #define SSCR0_SCR(x) ((x) << 8) /* Serial Clock Rate (mask) */ argument 65 #define SSCR0_SlotsPerFrm(x) (((x) - 1) << 24) /* Time slots per frame [1..8] */ argument 93 #define SSCR1_TxTresh(x) (((x) - 1) << 6) /* level [1..16] */ argument 95 #define SSCR1_RxTresh(x) (((x) - 1) << 10) /* level [1..16] */ argument 104 #define CE4100_SSCR1_TxTresh(x) (((x) - 1) << 6) /* level [1..4] */ argument 106 #define CE4100_SSCR1_RxTresh(x) (((x) - 1) << 10) /* level [1..4] */ argument 110 #define QUARK_X1000_SSCR0_DataSize(x) ((x) - 1) /* Data Size Select [4..32] */ argument 121 #define QUARK_X1000_SSCR1_TxTresh(x) (((x) - 1) << 6) /* level [1..32] */ argument 123 #define QUARK_X1000_SSCR1_RxTresh(x) (((x) - 1) << 11) /* level [1..32] */ argument [all …]
|
/linux-4.19.296/include/uapi/linux/ |
D | swab.h | 14 #define ___constant_swab16(x) ((__u16)( \ argument 15 (((__u16)(x) & (__u16)0x00ffU) << 8) | \ 16 (((__u16)(x) & (__u16)0xff00U) >> 8))) 18 #define ___constant_swab32(x) ((__u32)( \ argument 19 (((__u32)(x) & (__u32)0x000000ffUL) << 24) | \ 20 (((__u32)(x) & (__u32)0x0000ff00UL) << 8) | \ 21 (((__u32)(x) & (__u32)0x00ff0000UL) >> 8) | \ 22 (((__u32)(x) & (__u32)0xff000000UL) >> 24))) 24 #define ___constant_swab64(x) ((__u64)( \ argument 25 (((__u64)(x) & (__u64)0x00000000000000ffULL) << 56) | \ [all …]
|
D | a.out.h | 77 #define N_BADMAG(x) (N_MAGIC(x) != OMAGIC \ argument 78 && N_MAGIC(x) != NMAGIC \ 79 && N_MAGIC(x) != ZMAGIC \ 80 && N_MAGIC(x) != QMAGIC) 83 #define _N_HDROFF(x) (1024 - sizeof (struct exec)) argument 86 #define N_TXTOFF(x) \ argument 87 (N_MAGIC(x) == ZMAGIC ? _N_HDROFF((x)) + sizeof (struct exec) : \ 88 (N_MAGIC(x) == QMAGIC ? 0 : sizeof (struct exec))) 92 #define N_DATOFF(x) (N_TXTOFF(x) + (x).a_text) argument 96 #define N_TRELOFF(x) (N_DATOFF(x) + (x).a_data) argument [all …]
|
D | mtio.h | 140 #define GMT_EOF(x) ((x) & 0x80000000) argument 141 #define GMT_BOT(x) ((x) & 0x40000000) argument 142 #define GMT_EOT(x) ((x) & 0x20000000) argument 143 #define GMT_SM(x) ((x) & 0x10000000) /* DDS setmark */ argument 144 #define GMT_EOD(x) ((x) & 0x08000000) /* DDS EOD */ argument 145 #define GMT_WR_PROT(x) ((x) & 0x04000000) argument 147 #define GMT_ONLINE(x) ((x) & 0x01000000) argument 148 #define GMT_D_6250(x) ((x) & 0x00800000) argument 149 #define GMT_D_1600(x) ((x) & 0x00400000) argument 150 #define GMT_D_800(x) ((x) & 0x00200000) argument [all …]
|
/linux-4.19.296/include/linux/mfd/ |
D | mc13xxx.h | 135 #define MC13783_LED_C0_ABMODE(x) (((x) & 0x7) << 11) argument 136 #define MC13783_LED_C0_ABREF(x) (((x) & 0x3) << 14) argument 141 #define MC13783_LED_C2_CURRENT_MD(x) (((x) & 0x7) << 0) argument 142 #define MC13783_LED_C2_CURRENT_AD(x) (((x) & 0x7) << 3) argument 143 #define MC13783_LED_C2_CURRENT_KP(x) (((x) & 0x7) << 6) argument 144 #define MC13783_LED_C2_PERIOD(x) (((x) & 0x3) << 21) argument 147 #define MC13783_LED_C3_CURRENT_R1(x) (((x) & 0x3) << 0) argument 148 #define MC13783_LED_C3_CURRENT_G1(x) (((x) & 0x3) << 2) argument 149 #define MC13783_LED_C3_CURRENT_B1(x) (((x) & 0x3) << 4) argument 150 #define MC13783_LED_C3_PERIOD(x) (((x) & 0x3) << 21) argument [all …]
|
D | sun4i-gpadc.h | 15 #define SUN4I_GPADC_CTRL0_ADC_FIRST_DLY(x) ((GENMASK(7, 0) & (x)) << 24) argument 18 #define SUN4I_GPADC_CTRL0_ADC_CLK_DIVIDER(x) ((GENMASK(1, 0) & (x)) << 20) argument 19 #define SUN4I_GPADC_CTRL0_FS_DIV(x) ((GENMASK(3, 0) & (x)) << 16) argument 20 #define SUN4I_GPADC_CTRL0_T_ACQ(x) (GENMASK(15, 0) & (x)) argument 24 #define SUN4I_GPADC_CTRL1_STYLUS_UP_DEBOUNCE(x) ((GENMASK(7, 0) & (x)) << 12) argument 30 #define SUN4I_GPADC_CTRL1_ADC_CHAN_SELECT(x) (GENMASK(2, 0) & (x)) argument 38 #define SUN6I_GPADC_CTRL1_ADC_CHAN_SELECT(x) (GENMASK(3, 0) & BIT(x)) argument 47 #define SUN4I_GPADC_CTRL2_TP_SENSITIVE_ADJUST(x) ((GENMASK(3, 0) & (x)) << 28) argument 48 #define SUN4I_GPADC_CTRL2_TP_MODE_SELECT(x) ((GENMASK(1, 0) & (x)) << 26) argument 50 #define SUN4I_GPADC_CTRL2_PRE_MEA_THRE_CNT(x) (GENMASK(23, 0) & (x)) argument [all …]
|
/linux-4.19.296/include/linux/iio/frequency/ |
D | adf4350.h | 21 #define ADF4350_REG0_FRACT(x) (((x) & 0xFFF) << 3) argument 22 #define ADF4350_REG0_INT(x) (((x) & 0xFFFF) << 15) argument 25 #define ADF4350_REG1_MOD(x) (((x) & 0xFFF) << 3) argument 26 #define ADF4350_REG1_PHASE(x) (((x) & 0xFFF) << 15) argument 38 #define ADF4350_REG2_CHARGE_PUMP_CURR_uA(x) (((((x)-312) / 312) & 0xF) << 9) argument 40 #define ADF4350_REG2_10BIT_R_CNT(x) ((x) << 14) argument 43 #define ADF4350_REG2_MUXOUT(x) ((x) << 26) argument 44 #define ADF4350_REG2_NOISE_MODE(x) (((unsigned)(x)) << 29) argument 54 #define ADF4350_REG3_12BIT_CLKDIV(x) ((x) << 3) argument 55 #define ADF4350_REG3_12BIT_CLKDIV_MODE(x) ((x) << 16) argument [all …]
|
/linux-4.19.296/include/trace/events/ |
D | rdma.h | 35 #define ib_event(x) TRACE_DEFINE_ENUM(IB_EVENT_##x); argument 36 #define ib_event_end(x) TRACE_DEFINE_ENUM(IB_EVENT_##x); argument 43 #define ib_event(x) { IB_EVENT_##x, #x }, argument 44 #define ib_event_end(x) { IB_EVENT_##x, #x } argument 46 #define rdma_show_ib_event(x) \ argument 47 __print_symbolic(x, IB_EVENT_LIST) 79 #define ib_wc_status(x) TRACE_DEFINE_ENUM(IB_WC_##x); argument 80 #define ib_wc_status_end(x) TRACE_DEFINE_ENUM(IB_WC_##x); argument 87 #define ib_wc_status(x) { IB_WC_##x, #x }, argument 88 #define ib_wc_status_end(x) { IB_WC_##x, #x } argument [all …]
|
/linux-4.19.296/include/uapi/sound/ |
D | emu10k1.h | 65 #define FXBUS(x) (0x00 + (x)) /* x = 0x00 - 0x0f */ argument 66 #define EXTIN(x) (0x10 + (x)) /* x = 0x00 - 0x0f */ argument 67 #define EXTOUT(x) (0x20 + (x)) /* x = 0x00 - 0x0f physical outs -> FXWC low 16 bits */ argument 68 #define FXBUS2(x) (0x30 + (x)) /* x = 0x00 - 0x0f copies of fx buses for capture -> FXWC high 16 bi… argument 99 #define GPR(x) (FXGPREGBASE + (x)) /* free GPRs: x = 0x00 - 0xff */ argument 100 #define ITRAM_DATA(x) (TANKMEMDATAREGBASE + 0x00 + (x)) /* x = 0x00 - 0x7f */ argument 101 #define ETRAM_DATA(x) (TANKMEMDATAREGBASE + 0x80 + (x)) /* x = 0x00 - 0x1f */ argument 102 #define ITRAM_ADDR(x) (TANKMEMADDRREGBASE + 0x00 + (x)) /* x = 0x00 - 0x7f */ argument 103 #define ETRAM_ADDR(x) (TANKMEMADDRREGBASE + 0x80 + (x)) /* x = 0x00 - 0x1f */ argument 105 #define A_ITRAM_DATA(x) (TANKMEMDATAREGBASE + 0x00 + (x)) /* x = 0x00 - 0xbf */ argument [all …]
|
/linux-4.19.296/include/dt-bindings/sound/ |
D | fsl-imx-audmux.h | 36 #define IMX_AUDMUX_V1_PCR_INMMASK(x) ((x) & 0xff) argument 40 #define IMX_AUDMUX_V1_PCR_RXDSEL(x) (((x) & 0x7) << 13) argument 41 #define IMX_AUDMUX_V1_PCR_RFCSEL(x) (((x) & 0xf) << 20) argument 44 #define IMX_AUDMUX_V1_PCR_TFCSEL(x) (((x) & 0xf) << 26) argument 50 #define IMX_AUDMUX_V2_PTCR_TFSEL(x) (((x) & 0xf) << 27) argument 52 #define IMX_AUDMUX_V2_PTCR_TCSEL(x) (((x) & 0xf) << 22) argument 54 #define IMX_AUDMUX_V2_PTCR_RFSEL(x) (((x) & 0xf) << 17) argument 56 #define IMX_AUDMUX_V2_PTCR_RCSEL(x) (((x) & 0xf) << 12) argument 59 #define IMX_AUDMUX_V2_PDCR_RXDSEL(x) (((x) & 0x7) << 13) argument 61 #define IMX_AUDMUX_V2_PDCR_MODE(x) (((x) & 0x3) << 8) argument [all …]
|
/linux-4.19.296/include/linux/mtd/ |
D | cfi_endian.h | 41 #define cpu_to_cfi8(map, x) (x) argument 42 #define cfi8_to_cpu(map, x) (x) argument 43 #define cpu_to_cfi16(map, x) _cpu_to_cfi(16, (map)->swap, (x)) argument 44 #define cpu_to_cfi32(map, x) _cpu_to_cfi(32, (map)->swap, (x)) argument 45 #define cpu_to_cfi64(map, x) _cpu_to_cfi(64, (map)->swap, (x)) argument 46 #define cfi16_to_cpu(map, x) _cfi_to_cpu(16, (map)->swap, (x)) argument 47 #define cfi32_to_cpu(map, x) _cfi_to_cpu(32, (map)->swap, (x)) argument 48 #define cfi64_to_cpu(map, x) _cfi_to_cpu(64, (map)->swap, (x)) argument 50 #define _cpu_to_cfi(w, s, x) (cfi_host(s)?(x):_swap_to_cfi(w, s, x)) argument 51 #define _cfi_to_cpu(w, s, x) (cfi_host(s)?(x):_swap_to_cpu(w, s, x)) argument [all …]
|
/linux-4.19.296/fs/ntfs/ |
D | endian.h | 33 static inline s16 sle16_to_cpu(sle16 x) in sle16_to_cpu() argument 35 return le16_to_cpu((__force le16)x); in sle16_to_cpu() 38 static inline s32 sle32_to_cpu(sle32 x) in sle32_to_cpu() argument 40 return le32_to_cpu((__force le32)x); in sle32_to_cpu() 43 static inline s64 sle64_to_cpu(sle64 x) in sle64_to_cpu() argument 45 return le64_to_cpu((__force le64)x); in sle64_to_cpu() 48 static inline s16 sle16_to_cpup(sle16 *x) in sle16_to_cpup() argument 50 return le16_to_cpu(*(__force le16*)x); in sle16_to_cpup() 53 static inline s32 sle32_to_cpup(sle32 *x) in sle32_to_cpup() argument 55 return le32_to_cpu(*(__force le32*)x); in sle32_to_cpup() [all …]
|
/linux-4.19.296/fs/gfs2/ |
D | lops.h | 55 int x; in lops_before_commit() local 56 for (x = 0; gfs2_log_ops[x]; x++) in lops_before_commit() 57 if (gfs2_log_ops[x]->lo_before_commit) in lops_before_commit() 58 gfs2_log_ops[x]->lo_before_commit(sdp, tr); in lops_before_commit() 64 int x; in lops_after_commit() local 65 for (x = 0; gfs2_log_ops[x]; x++) in lops_after_commit() 66 if (gfs2_log_ops[x]->lo_after_commit) in lops_after_commit() 67 gfs2_log_ops[x]->lo_after_commit(sdp, tr); in lops_after_commit() 74 int x; in lops_before_scan() local 75 for (x = 0; gfs2_log_ops[x]; x++) in lops_before_scan() [all …]
|