| /linux/arch/microblaze/lib/ |
| H A D | fastcopy.S | 90 lwi r11, r6, 24 /* t3 = *(s + 24) */ 94 swi r11, r5, 24 /* *(d + 24) = t3 */ 113 bslli r11, r11, 24 /* h = h << 24 */ 115 lwi r12, r8, 4 /* v = *(as + 4) */ 116 bsrli r9, r12, 8 /* t1 = v >> 8 */ 119 bslli r11, r12, 24 /* h = v << 24 */ 120 lwi r12, r8, 8 /* v = *(as + 8) */ 121 bsrli r9, r12, 8 /* t1 = v >> 8 */ 124 bslli r11, r12, 24 /* h = v << 24 */ 125 lwi r12, r8, 12 /* v = *(as + 12) */ [all …]
|
| /linux/tools/testing/selftests/net/forwarding/ |
| H A D | gre_inner_v4_multipath.sh | 13 # | 192.0.3.{2-62}/24 | | 19 # | 192.0.3.1/24 | 25 # | v | 65 # | 192.0.4.1/24 | SW4 | 71 # | 192.0.4.{2-62}/24 H2 | 84 simple_if_init $h1 192.0.3.2/24 85 ip route add vrf v$h1 192.0.4.0/24 via 192.0.3.1 90 ip route del vrf v$h1 192.0.4.0/24 via 192.0.3.1 91 simple_if_fini $h1 192.0.3.2/24 96 simple_if_init $ol1 192.0.3.1/24 [all …]
|
| H A D | tc_flower_router.sh | 11 simple_if_init $h1 192.0.1.1/24 13 ip route add 192.0.2.0/24 vrf v$h1 nexthop via 192.0.1.2 14 ip route add 192.0.3.0/24 vrf v$h1 nexthop via 192.0.1.2 19 ip route del 192.0.3.0/24 vrf v$h1 20 ip route del 192.0.2.0/24 vrf v$h1 22 simple_if_fini $h1 192.0.1.1/24 27 simple_if_init $h2 192.0.2.1/24 29 ip route add 192.0.1.0/24 vrf v$h2 nexthop via 192.0.2.2 30 ip route add 192.0.3.0/24 vrf v$h2 nexthop via 192.0.2.2 35 ip route del 192.0.3.0/24 vrf v$h2 [all …]
|
| H A D | ip6gre_inner_v4_multipath.sh | 13 # | 192.0.3.{2-62}/24 | | 19 # | 192.0.3.1/24 | 25 # | v | 64 # | 192.0.4.1/24 | SW4 | 70 # | 192.0.4.{2-62}/24 H2 | 83 simple_if_init $h1 192.0.3.2/24 84 ip route add vrf v$h1 192.0.4.0/24 via 192.0.3.1 89 ip route del vrf v$h1 192.0.4.0/24 via 192.0.3.1 90 simple_if_fini $h1 192.0.3.2/24 95 simple_if_init $ol1 192.0.3.1/24 [all …]
|
| H A D | ip6gre_lib.sh | 14 # | 198.51.100.1/24 | | 21 # | 198.51.100.2/24 | 31 # | v | 57 # | | 203.0.113.2/24 | 58 # | VRF v$ol2 | 2001:db8:2::2/64 | 63 # | 203.0.113.1/24 | 73 # | 198.51.100.1/24 | | 81 # | | 198.51.100.2/24 | | 89 # | | VRF v$ol1 | | | 93 # | | VRF v$ul1 | | | [all …]
|
| H A D | gre_custom_multipath_hash.sh | 13 # | 198.51.100.{2-253}/24 | | 20 # | 198.51.100.1/24 | 27 # | v | 67 # | 203.0.113.1/24 | | 74 # | 203.0.113.{2-253}/24 | 89 simple_if_init $h1 198.51.100.2/24 2001:db8:1::2/64 90 ip route add vrf v$h1 default via 198.51.100.1 dev $h1 91 ip -6 route add vrf v$h1 default via 2001:db8:1::1 dev $h1 96 ip -6 route del vrf v$h1 default 97 ip route del vrf v [all...] |
| H A D | ip6gre_custom_multipath_hash.sh | 13 # | 198.51.100.{2-253}/24 | | 20 # | 198.51.100.1/24 | 27 # | v | 67 # | 203.0.113.1/24 | | 74 # | 203.0.113.{2-253}/24 | 89 simple_if_init $h1 198.51.100.2/24 2001:db8:1::2/64 90 ip route add vrf v$h1 default via 198.51.100.1 dev $h1 91 ip -6 route add vrf v$h1 default via 2001:db8:1::1 dev $h1 96 ip -6 route del vrf v$h1 default 97 ip route del vrf v [all...] |
| H A D | custom_multipath_hash.sh | 9 # | 198.51.100.{2-253}/24 | | 16 # | 198.51.100.1/24 | 34 # | 203.0.113.1/24 | | 41 # | 203.0.113.{2-253}/24 | 56 simple_if_init $h1 198.51.100.2/24 2001:db8:1::2/64 57 ip route add vrf v$h1 default via 198.51.100.1 dev $h1 58 ip -6 route add vrf v$h1 default via 2001:db8:1::1 dev $h1 63 ip -6 route del vrf v$h1 default 64 ip route del vrf v$h1 default 65 simple_if_fini $h1 198.51.100.2/24 200 [all...] |
| /linux/drivers/media/platform/nxp/ |
| H A D | imx-pxp.h | 19 #define BF_PXP_CTRL_SFTRST(v) \ argument 20 (((v) << 31) & BM_PXP_CTRL_SFTRST) 22 #define BF_PXP_CTRL_CLKGATE(v) \ argument 23 (((v) << 30) & BM_PXP_CTRL_CLKGATE) 25 #define BF_PXP_CTRL_RSVD4(v) \ argument 26 (((v) << 29) & BM_PXP_CTRL_RSVD4) 28 #define BF_PXP_CTRL_EN_REPEAT(v) \ argument 29 (((v) << 28) & BM_PXP_CTRL_EN_REPEAT) 31 #define BF_PXP_CTRL_ENABLE_ROTATE1(v) \ argument 32 (((v) << 27) & BM_PXP_CTRL_ENABLE_ROTATE1) [all …]
|
| /linux/drivers/staging/media/sunxi/cedrus/ |
| H A D | cedrus_regs.h | 13 #define SHIFT_AND_MASK_BITS(v, h, l) \ argument 14 (((unsigned long)(v) << (l)) & GENMASK(h, l)) 96 #define VE_DEC_MPEG_MP12HDR_F_CODE_SHIFT(x, y) (24 - 4 * (y) - 8 * (x)) 104 #define VE_DEC_MPEG_MP12HDR_TOP_FIELD_FIRST(v) \ argument 105 ((v) ? BIT(7) : 0) 106 #define VE_DEC_MPEG_MP12HDR_FRAME_PRED_FRAME_DCT(v) \ argument 107 ((v) ? BIT(6) : 0) 108 #define VE_DEC_MPEG_MP12HDR_CONCEALMENT_MOTION_VECTORS(v) \ argument 109 ((v) ? BIT(5) : 0) 110 #define VE_DEC_MPEG_MP12HDR_Q_SCALE_TYPE(v) \ argument [all …]
|
| /linux/sound/ppc/ |
| H A D | snd_ps3_reg.h | 72 31 24 23 16 15 8 7 0 95 31 24 23 16 15 8 7 0 105 31 24 23 16 15 8 7 0 124 31 24 23 16 15 8 7 0 154 31 24 23 16 15 8 7 0 184 31 24 23 16 15 8 7 0 210 #define PS3_AUDIO_AX_AOBP_ASO1BWN_MASK (0x7 << 24) /* R-IUF */ 224 31 24 23 16 15 8 7 0 235 #define PS3_AUDIO_AX_IC_AASOIMD_EVERY1 (0x0 << 12) /* RWI-V */ 236 #define PS3_AUDIO_AX_IC_AASOIMD_EVERY2 (0x1 << 12) /* RW--V */ [all …]
|
| /linux/drivers/media/platform/sunxi/sun8i-di/ |
| H A D | sun8i-di.h | 43 #define DEINTERLACE_FIELD_CTRL_FIELD_CNT(v) ((v) & 0xff) argument 55 #define DEINTERLACE_IN_FMT_PS(v) ((v) & 3) argument 56 #define DEINTERLACE_IN_FMT_FMT(v) (((v) & 7) << 4) argument 57 #define DEINTERLACE_IN_FMT_MOD(v) (((v) & 7) << 8) argument 64 #define DEINTERLACE_OUT_FMT_FMT(v) ((v) & 0xf) argument 65 #define DEINTERLACE_OUT_FMT_PS(v) (((v) & 3) << 5) argument 86 #define DEINTERLACE_CTRL_DIAG_INTP_EN BIT(24) 90 #define DEINTERLACE_DIAG_INTP_TH0(v) ((v) & 0x7f) argument 92 #define DEINTERLACE_DIAG_INTP_TH1(v) (((v) & 0x7f) << 8) argument 94 #define DEINTERLACE_DIAG_INTP_TH3(v) (((v) & 0xff) << 24) argument [all …]
|
| /linux/drivers/gpu/drm/exynos/ |
| H A D | regs-scaler.h | 138 #define SCALER_CFG_FILL_EN (1 << 24) 149 #define SCALER_INT_EN_ILLEGAL_BLEND (1 << 24) 177 #define SCALER_INT_STATUS_ILLEGAL_BLEND (1 << 24) 206 #define SCALER_SRC_CFG_SET_BYTE_SWAP(v) SCALER_SET(v, 6, 5) argument 208 #define SCALER_SRC_CFG_SET_COLOR_FORMAT(v) SCALER_SET(v, 4, 0) argument 232 #define SCALER_SRC_SPAN_SET_C_SPAN(v) SCALER_SET(v, 29, 16) argument 234 #define SCALER_SRC_SPAN_SET_Y_SPAN(v) SCALER_SET(v, 13, 0) argument 238 #define SCALER_SRC_Y_POS_SET_YH_POS(v) SCALER_SET(v, 31, 16) argument 240 #define SCALER_SRC_Y_POS_SET_YV_POS(v) SCALER_SET(v, 15, 0) argument 244 #define SCALER_SRC_WH_SET_WIDTH(v) SCALER_SET(v, 29, 16) argument [all …]
|
| /linux/arch/arm/mach-omap2/ |
| H A D | prm2xxx_3xxx.h | 67 u32 v; in omap2_prm_rmw_mod_reg_bits() local 69 v = omap2_prm_read_mod_reg(module, idx); in omap2_prm_rmw_mod_reg_bits() 70 v &= ~mask; in omap2_prm_rmw_mod_reg_bits() 71 v |= bits; in omap2_prm_rmw_mod_reg_bits() 72 omap2_prm_write_mod_reg(v, module, idx); in omap2_prm_rmw_mod_reg_bits() 74 return v; in omap2_prm_rmw_mod_reg_bits() 80 u32 v; in omap2_prm_read_mod_bits_shift() local 82 v = omap2_prm_read_mod_reg(domain, idx); in omap2_prm_read_mod_bits_shift() 83 v &= mask; in omap2_prm_read_mod_bits_shift() 84 v >>= __ffs(mask); in omap2_prm_read_mod_bits_shift() [all …]
|
| /linux/include/uapi/linux/ |
| H A D | vboxguest.h | 44 VMMDEV_ASSERT_SIZE(vbg_ioctl_hdr, 24); 95 VMMDEV_ASSERT_SIZE(vbg_ioctl_driver_version_info, 24 + 20); 98 _IOWR('V', 0, struct vbg_ioctl_driver_version_info) 102 #define VBG_IOCTL_VMMDEV_REQUEST(s) _IOC(_IOC_READ | _IOC_WRITE, 'V', 2, s) 106 #define VBG_IOCTL_VMMDEV_REQUEST_BIG _IO('V', 3) 121 VMMDEV_ASSERT_SIZE(vbg_ioctl_hgcm_connect, 24 + 132); 124 _IOWR('V', 4, struct vbg_ioctl_hgcm_connect) 136 VMMDEV_ASSERT_SIZE(vbg_ioctl_hgcm_disconnect, 24 + 4); 139 _IOWR('V', 5, struct vbg_ioctl_hgcm_disconnect) 174 VMMDEV_ASSERT_SIZE(vbg_ioctl_hgcm_call, 24 + 16); [all …]
|
| /linux/drivers/gpu/host1x/hw/ |
| H A D | hw_host1x01_uclass.h | 15 * <x>_<y>_f(u32 v) : Returns a value based on 'v' which has been shifted 48 static inline u32 host1x_uclass_incr_syncpt_cond_f(u32 v) in host1x_uclass_incr_syncpt_cond_f() argument 50 return (v & 0xff) << 8; in host1x_uclass_incr_syncpt_cond_f() 52 #define HOST1X_UCLASS_INCR_SYNCPT_COND_F(v) \ argument 53 host1x_uclass_incr_syncpt_cond_f(v) 54 static inline u32 host1x_uclass_incr_syncpt_indx_f(u32 v) in host1x_uclass_incr_syncpt_indx_f() argument 56 return (v & 0xff) << 0; in host1x_uclass_incr_syncpt_indx_f() 58 #define HOST1X_UCLASS_INCR_SYNCPT_INDX_F(v) \ argument 59 host1x_uclass_incr_syncpt_indx_f(v) 66 static inline u32 host1x_uclass_wait_syncpt_indx_f(u32 v) in host1x_uclass_wait_syncpt_indx_f() argument [all …]
|
| H A D | hw_host1x07_uclass.h | 15 * <x>_<y>_f(u32 v) : Returns a value based on 'v' which has been shifted 48 static inline u32 host1x_uclass_incr_syncpt_cond_f(u32 v) in host1x_uclass_incr_syncpt_cond_f() argument 50 return (v & 0xff) << 10; in host1x_uclass_incr_syncpt_cond_f() 52 #define HOST1X_UCLASS_INCR_SYNCPT_COND_F(v) \ argument 53 host1x_uclass_incr_syncpt_cond_f(v) 54 static inline u32 host1x_uclass_incr_syncpt_indx_f(u32 v) in host1x_uclass_incr_syncpt_indx_f() argument 56 return (v & 0x3ff) << 0; in host1x_uclass_incr_syncpt_indx_f() 58 #define HOST1X_UCLASS_INCR_SYNCPT_INDX_F(v) \ argument 59 host1x_uclass_incr_syncpt_indx_f(v) 66 static inline u32 host1x_uclass_wait_syncpt_indx_f(u32 v) in host1x_uclass_wait_syncpt_indx_f() argument [all …]
|
| H A D | hw_host1x08_uclass.h | 15 * <x>_<y>_f(u32 v) : Returns a value based on 'v' which has been shifted 48 static inline u32 host1x_uclass_incr_syncpt_cond_f(u32 v) in host1x_uclass_incr_syncpt_cond_f() argument 50 return (v & 0xff) << 10; in host1x_uclass_incr_syncpt_cond_f() 52 #define HOST1X_UCLASS_INCR_SYNCPT_COND_F(v) \ argument 53 host1x_uclass_incr_syncpt_cond_f(v) 54 static inline u32 host1x_uclass_incr_syncpt_indx_f(u32 v) in host1x_uclass_incr_syncpt_indx_f() argument 56 return (v & 0x3ff) << 0; in host1x_uclass_incr_syncpt_indx_f() 58 #define HOST1X_UCLASS_INCR_SYNCPT_INDX_F(v) \ argument 59 host1x_uclass_incr_syncpt_indx_f(v) 66 static inline u32 host1x_uclass_wait_syncpt_indx_f(u32 v) in host1x_uclass_wait_syncpt_indx_f() argument [all …]
|
| H A D | hw_host1x06_uclass.h | 15 * <x>_<y>_f(u32 v) : Returns a value based on 'v' which has been shifted 48 static inline u32 host1x_uclass_incr_syncpt_cond_f(u32 v) in host1x_uclass_incr_syncpt_cond_f() argument 50 return (v & 0xff) << 10; in host1x_uclass_incr_syncpt_cond_f() 52 #define HOST1X_UCLASS_INCR_SYNCPT_COND_F(v) \ argument 53 host1x_uclass_incr_syncpt_cond_f(v) 54 static inline u32 host1x_uclass_incr_syncpt_indx_f(u32 v) in host1x_uclass_incr_syncpt_indx_f() argument 56 return (v & 0x3ff) << 0; in host1x_uclass_incr_syncpt_indx_f() 58 #define HOST1X_UCLASS_INCR_SYNCPT_INDX_F(v) \ argument 59 host1x_uclass_incr_syncpt_indx_f(v) 66 static inline u32 host1x_uclass_wait_syncpt_indx_f(u32 v) in host1x_uclass_wait_syncpt_indx_f() argument [all …]
|
| H A D | hw_host1x02_uclass.h | 15 * <x>_<y>_f(u32 v) : Returns a value based on 'v' which has been shifted 48 static inline u32 host1x_uclass_incr_syncpt_cond_f(u32 v) in host1x_uclass_incr_syncpt_cond_f() argument 50 return (v & 0xff) << 8; in host1x_uclass_incr_syncpt_cond_f() 52 #define HOST1X_UCLASS_INCR_SYNCPT_COND_F(v) \ argument 53 host1x_uclass_incr_syncpt_cond_f(v) 54 static inline u32 host1x_uclass_incr_syncpt_indx_f(u32 v) in host1x_uclass_incr_syncpt_indx_f() argument 56 return (v & 0xff) << 0; in host1x_uclass_incr_syncpt_indx_f() 58 #define HOST1X_UCLASS_INCR_SYNCPT_INDX_F(v) \ argument 59 host1x_uclass_incr_syncpt_indx_f(v) 66 static inline u32 host1x_uclass_wait_syncpt_indx_f(u32 v) in host1x_uclass_wait_syncpt_indx_f() argument [all …]
|
| H A D | hw_host1x05_uclass.h | 15 * <x>_<y>_f(u32 v) : Returns a value based on 'v' which has been shifted 48 static inline u32 host1x_uclass_incr_syncpt_cond_f(u32 v) in host1x_uclass_incr_syncpt_cond_f() argument 50 return (v & 0xff) << 8; in host1x_uclass_incr_syncpt_cond_f() 52 #define HOST1X_UCLASS_INCR_SYNCPT_COND_F(v) \ argument 53 host1x_uclass_incr_syncpt_cond_f(v) 54 static inline u32 host1x_uclass_incr_syncpt_indx_f(u32 v) in host1x_uclass_incr_syncpt_indx_f() argument 56 return (v & 0xff) << 0; in host1x_uclass_incr_syncpt_indx_f() 58 #define HOST1X_UCLASS_INCR_SYNCPT_INDX_F(v) \ argument 59 host1x_uclass_incr_syncpt_indx_f(v) 66 static inline u32 host1x_uclass_wait_syncpt_indx_f(u32 v) in host1x_uclass_wait_syncpt_indx_f() argument [all …]
|
| H A D | hw_host1x04_uclass.h | 15 * <x>_<y>_f(u32 v) : Returns a value based on 'v' which has been shifted 48 static inline u32 host1x_uclass_incr_syncpt_cond_f(u32 v) in host1x_uclass_incr_syncpt_cond_f() argument 50 return (v & 0xff) << 8; in host1x_uclass_incr_syncpt_cond_f() 52 #define HOST1X_UCLASS_INCR_SYNCPT_COND_F(v) \ argument 53 host1x_uclass_incr_syncpt_cond_f(v) 54 static inline u32 host1x_uclass_incr_syncpt_indx_f(u32 v) in host1x_uclass_incr_syncpt_indx_f() argument 56 return (v & 0xff) << 0; in host1x_uclass_incr_syncpt_indx_f() 58 #define HOST1X_UCLASS_INCR_SYNCPT_INDX_F(v) \ argument 59 host1x_uclass_incr_syncpt_indx_f(v) 66 static inline u32 host1x_uclass_wait_syncpt_indx_f(u32 v) in host1x_uclass_wait_syncpt_indx_f() argument [all …]
|
| /linux/tools/testing/selftests/drivers/net/mlxsw/ |
| H A D | blackhole_routes.sh | 10 # | | 192.0.2.1/24 | 20 # | 192.0.2.2/24 | 24 # | 198.51.100.2/24 | 34 # | | 198.51.100.1/24 | 54 simple_if_init $h1 192.0.2.1/24 2001:db8:1::1/64 56 ip -4 route add default vrf v$h1 nexthop via 192.0.2.2 57 ip -6 route add default vrf v$h1 nexthop via 2001:db8:1::2 62 ip -6 route del default vrf v$h1 nexthop via 2001:db8:1::2 63 ip -4 route del default vrf v$h1 nexthop via 192.0.2.2 65 simple_if_fini $h1 192.0.2.1/24 2001:db8:1::1/64 [all …]
|
| /linux/drivers/target/sbp/ |
| H A D | sbp_target.h | 19 #define ORB_NOTIFY(v) (((v) >> 31) & 0x01) argument 20 #define ORB_REQUEST_FORMAT(v) (((v) >> 29) & 0x03) argument 22 #define MANAGEMENT_ORB_FUNCTION(v) (((v) >> 16) & 0x0f) argument 34 #define LOGIN_ORB_EXCLUSIVE(v) (((v) >> 28) & 0x01) argument 35 #define LOGIN_ORB_RESERVED(v) (((v) >> 24) & 0x0f) argument 36 #define LOGIN_ORB_RECONNECT(v) (((v) >> 20) & 0x0f) argument 37 #define LOGIN_ORB_LUN(v) (((v) >> 0) & 0xffff) argument 38 #define LOGIN_ORB_PASSWORD_LENGTH(v) (((v) >> 16) & 0xffff) argument 39 #define LOGIN_ORB_RESPONSE_LENGTH(v) (((v) >> 0) & 0xffff) argument 41 #define RECONNECT_ORB_LOGIN_ID(v) (((v) >> 0) & 0xffff) argument [all …]
|
| /linux/drivers/memory/ |
| H A D | renesas-rpc-if-regs.h | 34 #define RPCIF_DRCR_SSLN BIT(24) 35 #define RPCIF_DRCR_RBURST(v) ((((v) - 1) & 0x1F) << 16) argument 53 #define RPCIF_DRENR_ADB(o) (((o) & 0x3) << 24) 59 #define RPCIF_DRENR_ADE(v) (((v) & 0xF) << 8) argument 60 #define RPCIF_DRENR_OPDE(v) (((v) & 0xF) << 4) argument 75 #define RPCIF_SMOPR_OPD3(o) (((o) & 0xFF) << 24) 83 #define RPCIF_SMENR_ADB(o) (((o) & 0x3) << 24) 89 #define RPCIF_SMENR_ADE(v) (((v) & 0xF) << 8) argument 90 #define RPCIF_SMENR_OPDE(v) (((v) & 0xF) << 4) argument 91 #define RPCIF_SMENR_SPIDE(v) (((v) & 0xF) << 0) argument [all …]
|