| /linux/rust/helpers/ |
| H A D | atomic.c | 15 rust_helper_atomic_read(const atomic_t *v) 17 return atomic_read(v); 21 rust_helper_atomic_read_acquire(const atomic_t *v) in rust_helper_atomic_read() 23 return atomic_read_acquire(v); in rust_helper_atomic_read() 27 rust_helper_atomic_set(atomic_t *v, int i) in rust_helper_atomic_read_acquire() 29 atomic_set(v, i); in rust_helper_atomic_read_acquire() 33 rust_helper_atomic_set_release(atomic_t *v, int i) in rust_helper_atomic_set() 35 atomic_set_release(v, i); in rust_helper_atomic_set() 39 rust_helper_atomic_add(int i, atomic_t *v) in rust_helper_atomic_set_release() 41 atomic_add(i, v); in rust_helper_atomic_set_release() 20 rust_helper_atomic_read(const atomic_t * v) rust_helper_atomic_read() argument 26 rust_helper_atomic_read_acquire(const atomic_t * v) rust_helper_atomic_read_acquire() argument 32 rust_helper_atomic_set(atomic_t * v,int i) rust_helper_atomic_set() argument 38 rust_helper_atomic_set_release(atomic_t * v,int i) rust_helper_atomic_set_release() argument 44 rust_helper_atomic_add(int i,atomic_t * v) rust_helper_atomic_add() argument 50 rust_helper_atomic_add_return(int i,atomic_t * v) rust_helper_atomic_add_return() argument 56 rust_helper_atomic_add_return_acquire(int i,atomic_t * v) rust_helper_atomic_add_return_acquire() argument 62 rust_helper_atomic_add_return_release(int i,atomic_t * v) rust_helper_atomic_add_return_release() argument 68 rust_helper_atomic_add_return_relaxed(int i,atomic_t * v) rust_helper_atomic_add_return_relaxed() argument 74 rust_helper_atomic_fetch_add(int i,atomic_t * v) rust_helper_atomic_fetch_add() argument 80 rust_helper_atomic_fetch_add_acquire(int i,atomic_t * v) rust_helper_atomic_fetch_add_acquire() argument 86 rust_helper_atomic_fetch_add_release(int i,atomic_t * v) rust_helper_atomic_fetch_add_release() argument 92 rust_helper_atomic_fetch_add_relaxed(int i,atomic_t * v) rust_helper_atomic_fetch_add_relaxed() argument 98 rust_helper_atomic_sub(int i,atomic_t * v) rust_helper_atomic_sub() argument 104 rust_helper_atomic_sub_return(int i,atomic_t * v) rust_helper_atomic_sub_return() argument 110 rust_helper_atomic_sub_return_acquire(int i,atomic_t * v) rust_helper_atomic_sub_return_acquire() argument 116 rust_helper_atomic_sub_return_release(int i,atomic_t * v) rust_helper_atomic_sub_return_release() argument 122 rust_helper_atomic_sub_return_relaxed(int i,atomic_t * v) rust_helper_atomic_sub_return_relaxed() argument 128 rust_helper_atomic_fetch_sub(int i,atomic_t * v) rust_helper_atomic_fetch_sub() argument 134 rust_helper_atomic_fetch_sub_acquire(int i,atomic_t * v) rust_helper_atomic_fetch_sub_acquire() argument 140 rust_helper_atomic_fetch_sub_release(int i,atomic_t * v) rust_helper_atomic_fetch_sub_release() argument 146 rust_helper_atomic_fetch_sub_relaxed(int i,atomic_t * v) rust_helper_atomic_fetch_sub_relaxed() argument 152 rust_helper_atomic_inc(atomic_t * v) rust_helper_atomic_inc() argument 158 rust_helper_atomic_inc_return(atomic_t * v) rust_helper_atomic_inc_return() argument 164 rust_helper_atomic_inc_return_acquire(atomic_t * v) rust_helper_atomic_inc_return_acquire() argument 170 rust_helper_atomic_inc_return_release(atomic_t * v) rust_helper_atomic_inc_return_release() argument 176 rust_helper_atomic_inc_return_relaxed(atomic_t * v) rust_helper_atomic_inc_return_relaxed() argument 182 rust_helper_atomic_fetch_inc(atomic_t * v) rust_helper_atomic_fetch_inc() argument 188 rust_helper_atomic_fetch_inc_acquire(atomic_t * v) rust_helper_atomic_fetch_inc_acquire() argument 194 rust_helper_atomic_fetch_inc_release(atomic_t * v) rust_helper_atomic_fetch_inc_release() argument 200 rust_helper_atomic_fetch_inc_relaxed(atomic_t * v) rust_helper_atomic_fetch_inc_relaxed() argument 206 rust_helper_atomic_dec(atomic_t * v) rust_helper_atomic_dec() argument 212 rust_helper_atomic_dec_return(atomic_t * v) rust_helper_atomic_dec_return() argument 218 rust_helper_atomic_dec_return_acquire(atomic_t * v) rust_helper_atomic_dec_return_acquire() argument 224 rust_helper_atomic_dec_return_release(atomic_t * v) rust_helper_atomic_dec_return_release() argument 230 rust_helper_atomic_dec_return_relaxed(atomic_t * v) rust_helper_atomic_dec_return_relaxed() argument 236 rust_helper_atomic_fetch_dec(atomic_t * v) rust_helper_atomic_fetch_dec() argument 242 rust_helper_atomic_fetch_dec_acquire(atomic_t * v) rust_helper_atomic_fetch_dec_acquire() argument 248 rust_helper_atomic_fetch_dec_release(atomic_t * v) rust_helper_atomic_fetch_dec_release() argument 254 rust_helper_atomic_fetch_dec_relaxed(atomic_t * v) rust_helper_atomic_fetch_dec_relaxed() argument 260 rust_helper_atomic_and(int i,atomic_t * v) rust_helper_atomic_and() argument 266 rust_helper_atomic_fetch_and(int i,atomic_t * v) rust_helper_atomic_fetch_and() argument 272 rust_helper_atomic_fetch_and_acquire(int i,atomic_t * v) rust_helper_atomic_fetch_and_acquire() argument 278 rust_helper_atomic_fetch_and_release(int i,atomic_t * v) rust_helper_atomic_fetch_and_release() argument 284 rust_helper_atomic_fetch_and_relaxed(int i,atomic_t * v) rust_helper_atomic_fetch_and_relaxed() argument 290 rust_helper_atomic_andnot(int i,atomic_t * v) rust_helper_atomic_andnot() argument 296 rust_helper_atomic_fetch_andnot(int i,atomic_t * v) rust_helper_atomic_fetch_andnot() argument 302 rust_helper_atomic_fetch_andnot_acquire(int i,atomic_t * v) rust_helper_atomic_fetch_andnot_acquire() argument 308 rust_helper_atomic_fetch_andnot_release(int i,atomic_t * v) rust_helper_atomic_fetch_andnot_release() argument 314 rust_helper_atomic_fetch_andnot_relaxed(int i,atomic_t * v) rust_helper_atomic_fetch_andnot_relaxed() argument 320 rust_helper_atomic_or(int i,atomic_t * v) rust_helper_atomic_or() argument 326 rust_helper_atomic_fetch_or(int i,atomic_t * v) rust_helper_atomic_fetch_or() argument 332 rust_helper_atomic_fetch_or_acquire(int i,atomic_t * v) rust_helper_atomic_fetch_or_acquire() argument 338 rust_helper_atomic_fetch_or_release(int i,atomic_t * v) rust_helper_atomic_fetch_or_release() argument 344 rust_helper_atomic_fetch_or_relaxed(int i,atomic_t * v) rust_helper_atomic_fetch_or_relaxed() argument 350 rust_helper_atomic_xor(int i,atomic_t * v) rust_helper_atomic_xor() argument 356 rust_helper_atomic_fetch_xor(int i,atomic_t * v) rust_helper_atomic_fetch_xor() argument 362 rust_helper_atomic_fetch_xor_acquire(int i,atomic_t * v) rust_helper_atomic_fetch_xor_acquire() argument 368 rust_helper_atomic_fetch_xor_release(int i,atomic_t * v) rust_helper_atomic_fetch_xor_release() argument 374 rust_helper_atomic_fetch_xor_relaxed(int i,atomic_t * v) rust_helper_atomic_fetch_xor_relaxed() argument 380 rust_helper_atomic_xchg(atomic_t * v,int new) rust_helper_atomic_xchg() argument 386 rust_helper_atomic_xchg_acquire(atomic_t * v,int new) rust_helper_atomic_xchg_acquire() argument 392 rust_helper_atomic_xchg_release(atomic_t * v,int new) rust_helper_atomic_xchg_release() argument 398 rust_helper_atomic_xchg_relaxed(atomic_t * v,int new) rust_helper_atomic_xchg_relaxed() argument 404 rust_helper_atomic_cmpxchg(atomic_t * v,int old,int new) rust_helper_atomic_cmpxchg() argument 410 rust_helper_atomic_cmpxchg_acquire(atomic_t * v,int old,int new) rust_helper_atomic_cmpxchg_acquire() argument 416 rust_helper_atomic_cmpxchg_release(atomic_t * v,int old,int new) rust_helper_atomic_cmpxchg_release() argument 422 rust_helper_atomic_cmpxchg_relaxed(atomic_t * v,int old,int new) rust_helper_atomic_cmpxchg_relaxed() argument 428 rust_helper_atomic_try_cmpxchg(atomic_t * v,int * old,int new) rust_helper_atomic_try_cmpxchg() argument 434 rust_helper_atomic_try_cmpxchg_acquire(atomic_t * v,int * old,int new) rust_helper_atomic_try_cmpxchg_acquire() argument 440 rust_helper_atomic_try_cmpxchg_release(atomic_t * v,int * old,int new) rust_helper_atomic_try_cmpxchg_release() argument 446 rust_helper_atomic_try_cmpxchg_relaxed(atomic_t * v,int * old,int new) rust_helper_atomic_try_cmpxchg_relaxed() argument 452 rust_helper_atomic_sub_and_test(int i,atomic_t * v) rust_helper_atomic_sub_and_test() argument 458 rust_helper_atomic_dec_and_test(atomic_t * v) rust_helper_atomic_dec_and_test() argument 464 rust_helper_atomic_inc_and_test(atomic_t * v) rust_helper_atomic_inc_and_test() argument 470 rust_helper_atomic_add_negative(int i,atomic_t * v) rust_helper_atomic_add_negative() argument 476 rust_helper_atomic_add_negative_acquire(int i,atomic_t * v) rust_helper_atomic_add_negative_acquire() argument 482 rust_helper_atomic_add_negative_release(int i,atomic_t * v) rust_helper_atomic_add_negative_release() argument 488 rust_helper_atomic_add_negative_relaxed(int i,atomic_t * v) rust_helper_atomic_add_negative_relaxed() argument 494 rust_helper_atomic_fetch_add_unless(atomic_t * v,int a,int u) rust_helper_atomic_fetch_add_unless() argument 500 rust_helper_atomic_add_unless(atomic_t * v,int a,int u) rust_helper_atomic_add_unless() argument 506 rust_helper_atomic_inc_not_zero(atomic_t * v) rust_helper_atomic_inc_not_zero() argument 512 rust_helper_atomic_inc_unless_negative(atomic_t * v) rust_helper_atomic_inc_unless_negative() argument 518 rust_helper_atomic_dec_unless_positive(atomic_t * v) rust_helper_atomic_dec_unless_positive() argument 524 rust_helper_atomic_dec_if_positive(atomic_t * v) rust_helper_atomic_dec_if_positive() argument 530 rust_helper_atomic64_read(const atomic64_t * v) rust_helper_atomic64_read() argument 536 rust_helper_atomic64_read_acquire(const atomic64_t * v) rust_helper_atomic64_read_acquire() argument 542 rust_helper_atomic64_set(atomic64_t * v,s64 i) rust_helper_atomic64_set() argument 548 rust_helper_atomic64_set_release(atomic64_t * v,s64 i) rust_helper_atomic64_set_release() argument 554 rust_helper_atomic64_add(s64 i,atomic64_t * v) rust_helper_atomic64_add() argument 560 rust_helper_atomic64_add_return(s64 i,atomic64_t * v) rust_helper_atomic64_add_return() argument 566 rust_helper_atomic64_add_return_acquire(s64 i,atomic64_t * v) rust_helper_atomic64_add_return_acquire() argument 572 rust_helper_atomic64_add_return_release(s64 i,atomic64_t * v) rust_helper_atomic64_add_return_release() argument 578 rust_helper_atomic64_add_return_relaxed(s64 i,atomic64_t * v) rust_helper_atomic64_add_return_relaxed() argument 584 rust_helper_atomic64_fetch_add(s64 i,atomic64_t * v) rust_helper_atomic64_fetch_add() argument 590 rust_helper_atomic64_fetch_add_acquire(s64 i,atomic64_t * v) rust_helper_atomic64_fetch_add_acquire() argument 596 rust_helper_atomic64_fetch_add_release(s64 i,atomic64_t * v) rust_helper_atomic64_fetch_add_release() argument 602 rust_helper_atomic64_fetch_add_relaxed(s64 i,atomic64_t * v) rust_helper_atomic64_fetch_add_relaxed() argument 608 rust_helper_atomic64_sub(s64 i,atomic64_t * v) rust_helper_atomic64_sub() argument 614 rust_helper_atomic64_sub_return(s64 i,atomic64_t * v) rust_helper_atomic64_sub_return() argument 620 rust_helper_atomic64_sub_return_acquire(s64 i,atomic64_t * v) rust_helper_atomic64_sub_return_acquire() argument 626 rust_helper_atomic64_sub_return_release(s64 i,atomic64_t * v) rust_helper_atomic64_sub_return_release() argument 632 rust_helper_atomic64_sub_return_relaxed(s64 i,atomic64_t * v) rust_helper_atomic64_sub_return_relaxed() argument 638 rust_helper_atomic64_fetch_sub(s64 i,atomic64_t * v) rust_helper_atomic64_fetch_sub() argument 644 rust_helper_atomic64_fetch_sub_acquire(s64 i,atomic64_t * v) rust_helper_atomic64_fetch_sub_acquire() argument 650 rust_helper_atomic64_fetch_sub_release(s64 i,atomic64_t * v) rust_helper_atomic64_fetch_sub_release() argument 656 rust_helper_atomic64_fetch_sub_relaxed(s64 i,atomic64_t * v) rust_helper_atomic64_fetch_sub_relaxed() argument 662 rust_helper_atomic64_inc(atomic64_t * v) rust_helper_atomic64_inc() argument 668 rust_helper_atomic64_inc_return(atomic64_t * v) rust_helper_atomic64_inc_return() argument 674 rust_helper_atomic64_inc_return_acquire(atomic64_t * v) rust_helper_atomic64_inc_return_acquire() argument 680 rust_helper_atomic64_inc_return_release(atomic64_t * v) rust_helper_atomic64_inc_return_release() argument 686 rust_helper_atomic64_inc_return_relaxed(atomic64_t * v) rust_helper_atomic64_inc_return_relaxed() argument 692 rust_helper_atomic64_fetch_inc(atomic64_t * v) rust_helper_atomic64_fetch_inc() argument 698 rust_helper_atomic64_fetch_inc_acquire(atomic64_t * v) rust_helper_atomic64_fetch_inc_acquire() argument 704 rust_helper_atomic64_fetch_inc_release(atomic64_t * v) rust_helper_atomic64_fetch_inc_release() argument 710 rust_helper_atomic64_fetch_inc_relaxed(atomic64_t * v) rust_helper_atomic64_fetch_inc_relaxed() argument 716 rust_helper_atomic64_dec(atomic64_t * v) rust_helper_atomic64_dec() argument 722 rust_helper_atomic64_dec_return(atomic64_t * v) rust_helper_atomic64_dec_return() argument 728 rust_helper_atomic64_dec_return_acquire(atomic64_t * v) rust_helper_atomic64_dec_return_acquire() argument 734 rust_helper_atomic64_dec_return_release(atomic64_t * v) rust_helper_atomic64_dec_return_release() argument 740 rust_helper_atomic64_dec_return_relaxed(atomic64_t * v) rust_helper_atomic64_dec_return_relaxed() argument 746 rust_helper_atomic64_fetch_dec(atomic64_t * v) rust_helper_atomic64_fetch_dec() argument 752 rust_helper_atomic64_fetch_dec_acquire(atomic64_t * v) rust_helper_atomic64_fetch_dec_acquire() argument 758 rust_helper_atomic64_fetch_dec_release(atomic64_t * v) rust_helper_atomic64_fetch_dec_release() argument 764 rust_helper_atomic64_fetch_dec_relaxed(atomic64_t * v) rust_helper_atomic64_fetch_dec_relaxed() argument 770 rust_helper_atomic64_and(s64 i,atomic64_t * v) rust_helper_atomic64_and() argument 776 rust_helper_atomic64_fetch_and(s64 i,atomic64_t * v) rust_helper_atomic64_fetch_and() argument 782 rust_helper_atomic64_fetch_and_acquire(s64 i,atomic64_t * v) rust_helper_atomic64_fetch_and_acquire() argument 788 rust_helper_atomic64_fetch_and_release(s64 i,atomic64_t * v) rust_helper_atomic64_fetch_and_release() argument 794 rust_helper_atomic64_fetch_and_relaxed(s64 i,atomic64_t * v) rust_helper_atomic64_fetch_and_relaxed() argument 800 rust_helper_atomic64_andnot(s64 i,atomic64_t * v) rust_helper_atomic64_andnot() argument 806 rust_helper_atomic64_fetch_andnot(s64 i,atomic64_t * v) rust_helper_atomic64_fetch_andnot() argument 812 rust_helper_atomic64_fetch_andnot_acquire(s64 i,atomic64_t * v) rust_helper_atomic64_fetch_andnot_acquire() argument 818 rust_helper_atomic64_fetch_andnot_release(s64 i,atomic64_t * v) rust_helper_atomic64_fetch_andnot_release() argument 824 rust_helper_atomic64_fetch_andnot_relaxed(s64 i,atomic64_t * v) rust_helper_atomic64_fetch_andnot_relaxed() argument 830 rust_helper_atomic64_or(s64 i,atomic64_t * v) rust_helper_atomic64_or() argument 836 rust_helper_atomic64_fetch_or(s64 i,atomic64_t * v) rust_helper_atomic64_fetch_or() argument 842 rust_helper_atomic64_fetch_or_acquire(s64 i,atomic64_t * v) rust_helper_atomic64_fetch_or_acquire() argument 848 rust_helper_atomic64_fetch_or_release(s64 i,atomic64_t * v) rust_helper_atomic64_fetch_or_release() argument 854 rust_helper_atomic64_fetch_or_relaxed(s64 i,atomic64_t * v) rust_helper_atomic64_fetch_or_relaxed() argument 860 rust_helper_atomic64_xor(s64 i,atomic64_t * v) rust_helper_atomic64_xor() argument 866 rust_helper_atomic64_fetch_xor(s64 i,atomic64_t * v) rust_helper_atomic64_fetch_xor() argument 872 rust_helper_atomic64_fetch_xor_acquire(s64 i,atomic64_t * v) rust_helper_atomic64_fetch_xor_acquire() argument 878 rust_helper_atomic64_fetch_xor_release(s64 i,atomic64_t * v) rust_helper_atomic64_fetch_xor_release() argument 884 rust_helper_atomic64_fetch_xor_relaxed(s64 i,atomic64_t * v) rust_helper_atomic64_fetch_xor_relaxed() argument 890 rust_helper_atomic64_xchg(atomic64_t * v,s64 new) rust_helper_atomic64_xchg() argument 896 rust_helper_atomic64_xchg_acquire(atomic64_t * v,s64 new) rust_helper_atomic64_xchg_acquire() argument 902 rust_helper_atomic64_xchg_release(atomic64_t * v,s64 new) rust_helper_atomic64_xchg_release() argument 908 rust_helper_atomic64_xchg_relaxed(atomic64_t * v,s64 new) rust_helper_atomic64_xchg_relaxed() argument 914 rust_helper_atomic64_cmpxchg(atomic64_t * v,s64 old,s64 new) rust_helper_atomic64_cmpxchg() argument 920 rust_helper_atomic64_cmpxchg_acquire(atomic64_t * v,s64 old,s64 new) rust_helper_atomic64_cmpxchg_acquire() argument 926 rust_helper_atomic64_cmpxchg_release(atomic64_t * v,s64 old,s64 new) rust_helper_atomic64_cmpxchg_release() argument 932 rust_helper_atomic64_cmpxchg_relaxed(atomic64_t * v,s64 old,s64 new) rust_helper_atomic64_cmpxchg_relaxed() argument 938 rust_helper_atomic64_try_cmpxchg(atomic64_t * v,s64 * old,s64 new) rust_helper_atomic64_try_cmpxchg() argument 944 rust_helper_atomic64_try_cmpxchg_acquire(atomic64_t * v,s64 * old,s64 new) rust_helper_atomic64_try_cmpxchg_acquire() argument 950 rust_helper_atomic64_try_cmpxchg_release(atomic64_t * v,s64 * old,s64 new) rust_helper_atomic64_try_cmpxchg_release() argument 956 rust_helper_atomic64_try_cmpxchg_relaxed(atomic64_t * v,s64 * old,s64 new) rust_helper_atomic64_try_cmpxchg_relaxed() argument 962 rust_helper_atomic64_sub_and_test(s64 i,atomic64_t * v) rust_helper_atomic64_sub_and_test() argument 968 rust_helper_atomic64_dec_and_test(atomic64_t * v) rust_helper_atomic64_dec_and_test() argument 974 rust_helper_atomic64_inc_and_test(atomic64_t * v) rust_helper_atomic64_inc_and_test() argument 980 rust_helper_atomic64_add_negative(s64 i,atomic64_t * v) rust_helper_atomic64_add_negative() argument 986 rust_helper_atomic64_add_negative_acquire(s64 i,atomic64_t * v) rust_helper_atomic64_add_negative_acquire() argument 992 rust_helper_atomic64_add_negative_release(s64 i,atomic64_t * v) rust_helper_atomic64_add_negative_release() argument 998 rust_helper_atomic64_add_negative_relaxed(s64 i,atomic64_t * v) rust_helper_atomic64_add_negative_relaxed() argument 1004 rust_helper_atomic64_fetch_add_unless(atomic64_t * v,s64 a,s64 u) rust_helper_atomic64_fetch_add_unless() argument 1010 rust_helper_atomic64_add_unless(atomic64_t * v,s64 a,s64 u) rust_helper_atomic64_add_unless() argument 1016 rust_helper_atomic64_inc_not_zero(atomic64_t * v) rust_helper_atomic64_inc_not_zero() argument 1022 rust_helper_atomic64_inc_unless_negative(atomic64_t * v) rust_helper_atomic64_inc_unless_negative() argument 1028 rust_helper_atomic64_dec_unless_positive(atomic64_t * v) rust_helper_atomic64_dec_unless_positive() argument 1034 rust_helper_atomic64_dec_if_positive(atomic64_t * v) rust_helper_atomic64_dec_if_positive() argument [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/sound/soc/qcom/ |
| H A D | lpass-lpaif-reg.h | 11 #define LPAIF_I2SCTL_REG_ADDR(v, addr, port) \ argument 12 (v->i2sctrl_reg_base + (addr) + v->i2sctrl_reg_stride * (port)) 14 #define LPAIF_I2SCTL_REG(v, port) LPAIF_I2SCTL_REG_ADDR(v, 0x0, (port)) argument 68 #define LPAIF_IRQ_REG_ADDR(v, addr, port) \ argument 69 (v->irq_reg_base + (addr) + v->irq_reg_stride * (port)) 73 #define LPAIF_IRQEN_REG(v, port) LPAIF_IRQ_REG_ADDR(v, 0x0, (port)) argument 74 #define LPAIF_IRQSTAT_REG(v, port) LPAIF_IRQ_REG_ADDR(v, 0x4, (port)) argument 75 #define LPAIF_IRQCLEAR_REG(v, port) LPAIF_IRQ_REG_ADDR(v, 0xC, (port)) argument 78 #define LPAIF_RXTX_IRQ_REG_ADDR(v, addr, port) \ argument 79 (v->rxtx_irq_reg_base + (addr) + v->rxtx_irq_reg_stride * (port)) [all …]
|
| /linux/drivers/media/platform/verisilicon/ |
| H A D | rockchip_vpu2_hw_h264_dec.c | 28 #define VDPU_REG_DEC_E(v) ((v) ? BIT(0) : 0) argument 30 #define VDPU_REG_DEC_ADV_PRE_DIS(v) ((v) ? BIT(11) : 0) argument 31 #define VDPU_REG_DEC_SCMD_DIS(v) ((v) ? BIT(10) : 0) argument 32 #define VDPU_REG_FILTERING_DIS(v) ((v) ? BIT(8) : 0) argument 33 #define VDPU_REG_PIC_FIXED_QUANT(v) ((v) ? BIT(7) : 0) argument 34 #define VDPU_REG_DEC_LATENCY(v) (((v) << 1) & GENMASK(6, 1)) argument 36 #define VDPU_REG_INIT_QP(v) (((v) << 25) & GENMASK(30, 25)) argument 37 #define VDPU_REG_STREAM_LEN(v) (((v) << 0) & GENMASK(23, 0)) argument 39 #define VDPU_REG_APF_THRESHOLD(v) (((v) << 17) & GENMASK(30, 17)) argument 40 #define VDPU_REG_STARTMB_X(v) (((v) << 8) & GENMASK(16, 8)) argument [all …]
|
| H A D | rockchip_vpu2_hw_mpeg2_dec.c | 23 #define VDPU_REG_DEC_E(v) ((v) ? BIT(0) : 0) argument 25 #define VDPU_REG_DEC_ADV_PRE_DIS(v) ((v) ? BIT(11) : 0) argument 26 #define VDPU_REG_DEC_SCMD_DIS(v) ((v) ? BIT(10) : 0) argument 27 #define VDPU_REG_FILTERING_DIS(v) ((v) ? BIT(8) : 0) argument 28 #define VDPU_REG_DEC_LATENCY(v) (((v) << 1) & GENMASK(6, 1)) argument 30 #define VDPU_REG_INIT_QP(v) (((v) << 25) & GENMASK(30, 25)) argument 31 #define VDPU_REG_STREAM_LEN(v) (((v) << 0) & GENMASK(23, 0)) argument 33 #define VDPU_REG_APF_THRESHOLD(v) (((v) << 17) & GENMASK(30, 17)) argument 34 #define VDPU_REG_STARTMB_X(v) (((v) << 8) & GENMASK(16, 8)) argument 35 #define VDPU_REG_STARTMB_Y(v) (((v) << 0) & GENMASK(7, 0)) argument [all …]
|
| H A D | hantro_g1_mpeg2_dec.c | 25 #define G1_REG_DEC_AXI_RD_ID(v) (((v) << 24) & GENMASK(31, 24)) argument 26 #define G1_REG_DEC_TIMEOUT_E(v) ((v) ? BIT(23) : 0) argument 27 #define G1_REG_DEC_STRSWAP32_E(v) ((v) ? BIT(22) : 0) argument 28 #define G1_REG_DEC_STRENDIAN_E(v) ((v) ? BIT(21) : 0) argument 29 #define G1_REG_DEC_INSWAP32_E(v) ((v) argument 30 G1_REG_DEC_OUTSWAP32_E(v) global() argument 31 G1_REG_DEC_DATA_DISC_E(v) global() argument 32 G1_REG_DEC_LATENCY(v) global() argument 33 G1_REG_DEC_CLK_GATE_E(v) global() argument 34 G1_REG_DEC_IN_ENDIAN(v) global() argument 35 G1_REG_DEC_OUT_ENDIAN(v) global() argument 36 G1_REG_DEC_ADV_PRE_DIS(v) global() argument 37 G1_REG_DEC_SCMD_DIS(v) global() argument 38 G1_REG_DEC_MAX_BURST(v) global() argument 40 G1_REG_DEC_MODE(v) global() argument 41 G1_REG_RLC_MODE_E(v) global() argument 42 G1_REG_PIC_INTERLACE_E(v) global() argument 43 G1_REG_PIC_FIELDMODE_E(v) global() argument 44 G1_REG_PIC_B_E(v) global() argument 45 G1_REG_PIC_INTER_E(v) global() argument 46 G1_REG_PIC_TOPFIELD_E(v) global() argument 47 G1_REG_FWD_INTERLACE_E(v) global() argument 48 G1_REG_FILTERING_DIS(v) global() argument 49 G1_REG_WRITE_MVS_E(v) global() argument 50 G1_REG_DEC_AXI_WR_ID(v) global() argument 52 G1_REG_PIC_MB_WIDTH(v) global() argument 53 G1_REG_PIC_MB_HEIGHT_P(v) global() argument 54 G1_REG_ALT_SCAN_E(v) global() argument 55 G1_REG_TOPFIELDFIRST_E(v) global() argument 57 G1_REG_STRM_START_BIT(v) global() argument 58 G1_REG_QSCALE_TYPE(v) global() argument 59 G1_REG_CON_MV_E(v) global() argument 60 G1_REG_INTRA_DC_PREC(v) global() argument 61 G1_REG_INTRA_VLC_TAB(v) global() argument 62 G1_REG_FRAME_PRED_DCT(v) global() argument 64 G1_REG_INIT_QP(v) global() argument 65 G1_REG_STREAM_LEN(v) global() argument 67 G1_REG_ALT_SCAN_FLAG_E(v) global() argument 68 G1_REG_FCODE_FWD_HOR(v) global() argument 69 G1_REG_FCODE_FWD_VER(v) global() argument 70 G1_REG_FCODE_BWD_HOR(v) global() argument 71 G1_REG_FCODE_BWD_VER(v) global() argument 72 G1_REG_MV_ACCURACY_FWD(v) global() argument 73 G1_REG_MV_ACCURACY_BWD(v) global() argument 75 G1_REG_STARTMB_X(v) global() argument 76 G1_REG_STARTMB_Y(v) global() argument 78 G1_REG_APF_THRESHOLD(v) global() argument [all...] |
| /linux/arch/x86/lib/ |
| H A D | atomic64_386_32.S | 27 IRQ_SAVE v; 32 IRQ_RESTORE v; \ 35 #define v %ecx macro 37 movl (v), %eax 38 movl 4(v), %edx 41 #undef v 43 #define v %esi macro 45 movl %ebx, (v) 46 movl %ecx, 4(v) 49 #undef v [all …]
|
| /linux/rust/syn/gen/ |
| H A D | visit.rs | 950 pub fn visit_abi<'ast, V>(v: &mut V, node: &'ast crate::Abi) in visit_abi() argument 952 V: Visit<'ast> + ?Sized, in visit_abi() 956 v.visit_lit_str(it); in visit_abi() 961 pub fn visit_angle_bracketed_generic_arguments<'ast, V>( in visit_angle_bracketed_generic_arguments() 962 v: &mut V, in visit_angle_bracketed_generic_arguments() argument 966 V: Visit<'ast> + ?Sized, in visit_angle_bracketed_generic_arguments() 972 v.visit_generic_argument(it); in visit_angle_bracketed_generic_arguments() 978 pub fn visit_arm<'ast, V>(v: &mut V, node: &'ast crate::Arm) in visit_arm() argument 980 V: Visit<'ast> + ?Sized, in visit_arm() 983 v.visit_attribute(it); in visit_arm() [all …]
|
| H A D | visit_mut.rs | 958 pub fn visit_abi_mut<V>(v: &mut V, node: &mut crate::Abi) in visit_abi_mut() argument 960 V: VisitMut + ?Sized, in visit_abi_mut() 964 v.visit_lit_str_mut(it); in visit_abi_mut() 969 pub fn visit_angle_bracketed_generic_arguments_mut<V>( in visit_angle_bracketed_generic_arguments_mut() 970 v: &mut V, in visit_angle_bracketed_generic_arguments_mut() argument 974 V: VisitMut + ?Sized, in visit_angle_bracketed_generic_arguments_mut() 980 v.visit_generic_argument_mut(it); in visit_angle_bracketed_generic_arguments_mut() 986 pub fn visit_arm_mut<V>(v: &mut V, node: &mut crate::Arm) in visit_arm_mut() argument 988 V: VisitMut + ?Sized, in visit_arm_mut() 990 v.visit_attributes_mut(&mut node.attrs); in visit_arm_mut() [all …]
|
| /linux/drivers/staging/media/sunxi/sun6i-isp/ |
| H A D | sun6i_isp_reg.h | 21 #define SUN6I_ISP_FE_CFG_SRC0_MODE(v) (((v) << 8) & GENMASK(9, 8)) argument 22 #define SUN6I_ISP_FE_CFG_SRC1_MODE(v) (((v) << 16) & GENMASK(17, 16)) argument 33 #define SUN6I_ISP_FE_CTRL_OUTPUT_SPEED_CTRL(v) (((v) << 16) & GENMASK(17, 16)) argument 104 #define SUN6I_ISP_MODE_INPUT_FMT(v) ((v) & GENMASK(2, 0)) argument 105 #define SUN6I_ISP_MODE_INPUT_YUV_SEQ(v) (((v) << 3) & GENMASK(4, 3)) argument 106 #define SUN6I_ISP_MODE_OTF_DPC(v) (((v) << 16) & BIT(16)) argument 107 #define SUN6I_ISP_MODE_SHARP(v) (((v) << 17) & BIT(17)) argument 108 #define SUN6I_ISP_MODE_HIST(v) (((v) << 20) & GENMASK(21, 20)) argument 123 #define SUN6I_ISP_IN_CFG_STRIDE_DIV16(v) ((v) & GENMASK(10, 0)) argument 133 #define SUN6I_ISP_AE_CFG_LOW_BRI_TH(v) ((v) & GENMASK(11, 0)) argument [all …]
|
| /linux/arch/sh/mm/ |
| H A D | flush-sh4.c | 16 reg_size_t aligned_start, v, cnt, end; in sh4__flush_wback_region() local 19 v = aligned_start & ~(L1_CACHE_BYTES-1); in sh4__flush_wback_region() 22 cnt = (end - v) / L1_CACHE_BYTES; in sh4__flush_wback_region() 25 __ocbwb(v); v += L1_CACHE_BYTES; in sh4__flush_wback_region() 26 __ocbwb(v); v += L1_CACHE_BYTES; in sh4__flush_wback_region() 27 __ocbwb(v); v += L1_CACHE_BYTES; in sh4__flush_wback_region() 28 __ocbwb(v); v += L1_CACHE_BYTES; in sh4__flush_wback_region() 29 __ocbwb(v); v += L1_CACHE_BYTES; in sh4__flush_wback_region() 30 __ocbwb(v); v += L1_CACHE_BYTES; in sh4__flush_wback_region() 31 __ocbwb(v); v += L1_CACHE_BYTES; in sh4__flush_wback_region() [all …]
|
| /linux/drivers/md/ |
| H A D | dm-verity-target.c | 66 struct dm_verity *v; member 101 static sector_t verity_map_sector(struct dm_verity *v, sector_t bi_sector) in verity_map_sector() argument 103 return dm_target_offset(v->ti, bi_sector); in verity_map_sector() 112 static sector_t verity_position_at_level(struct dm_verity *v, sector_t block, in verity_position_at_level() argument 115 return block >> (level * v->hash_per_block_bits); in verity_position_at_level() 118 int verity_hash(struct dm_verity *v, struct dm_verity_io *io, in verity_hash() argument 124 if (likely(v->use_sha256_lib)) { in verity_hash() 131 *ctx = *v->initial_hashstate.sha256; in verity_hash() 138 desc->tfm = v->shash_tfm; in verity_hash() 139 if (unlikely(v in verity_hash() 155 verity_hash_at_level(struct dm_verity * v,sector_t block,int level,sector_t * hash_block,unsigned int * offset) verity_hash_at_level() argument 176 verity_handle_err(struct dm_verity * v,enum verity_block_type type,unsigned long long block) verity_handle_err() argument 242 verity_verify_level(struct dm_verity * v,struct dm_verity_io * io,sector_t block,int level,bool skip_unverified,u8 * want_digest) verity_verify_level() argument 341 verity_hash_for_block(struct dm_verity * v,struct dm_verity_io * io,sector_t block,u8 * digest,bool * is_zero) verity_hash_for_block() argument 375 verity_recheck(struct dm_verity * v,struct dm_verity_io * io,const u8 * want_digest,sector_t cur_block,u8 * dest) verity_recheck() argument 418 verity_handle_data_hash_mismatch(struct dm_verity * v,struct dm_verity_io * io,struct bio * bio,struct pending_block * block) verity_handle_data_hash_mismatch() argument 464 verity_verify_pending_blocks(struct dm_verity * v,struct dm_verity_io * io,struct bio * bio) verity_verify_pending_blocks() argument 510 struct dm_verity *v = io->v; verity_verify_io() local 615 struct dm_verity *v = io->v; verity_finish_io() local 714 struct dm_verity *v = pw->v; verity_prefetch_io() local 748 verity_submit_prefetch(struct dm_verity * v,struct dm_verity_io * io,unsigned short ioprio) verity_submit_prefetch() argument 787 struct dm_verity *v = ti->private; verity_map() local 830 struct dm_verity *v = ti->private; verity_postsuspend() local 841 struct dm_verity *v = ti->private; verity_status() local 993 struct dm_verity *v = ti->private; verity_prepare_ioctl() local 1005 struct dm_verity *v = ti->private; verity_iterate_devices() local 1012 struct dm_verity *v = ti->private; verity_io_hints() local 1027 verity_init_sig(struct dm_verity * v,const void * sig,size_t sig_size) verity_init_sig() argument 1041 verity_free_sig(struct dm_verity * v) verity_free_sig() argument 1048 verity_init_sig(struct dm_verity * v,const void * sig,size_t sig_size) verity_init_sig() argument 1054 verity_free_sig(struct dm_verity * v) verity_free_sig() argument 1062 struct dm_verity *v = ti->private; verity_dtr() local 1103 verity_alloc_most_once(struct dm_verity * v) verity_alloc_most_once() argument 1127 verity_alloc_zero_digest(struct dm_verity * v) verity_alloc_zero_digest() argument 1168 verity_parse_verity_mode(struct dm_verity * v,const char * arg_name) verity_parse_verity_mode() argument 1189 verity_parse_verity_error_mode(struct dm_verity * v,const char * arg_name) verity_parse_verity_error_mode() argument 1202 verity_parse_opt_args(struct dm_arg_set * as,struct dm_verity * v,struct dm_verity_sig_opts * verify_args,bool only_modifier_opts) verity_parse_opt_args() argument 1307 verity_setup_hash_alg(struct dm_verity * v,const char * alg_name) verity_setup_hash_alg() argument 1348 verity_setup_salt_and_hashstate(struct dm_verity * v,const char * arg) verity_setup_salt_and_hashstate() argument 1418 struct dm_verity *v; verity_ctr() local 1687 struct dm_verity *v = ti->private; dm_verity_get_mode() local 1703 struct dm_verity *v = ti->private; dm_verity_get_root_digest() local 1722 verity_security_set_signature(struct block_device * bdev,struct dm_verity * v) verity_security_set_signature() argument 1739 verity_security_set_signature(struct block_device * bdev,struct dm_verity * v) verity_security_set_signature() argument 1755 struct dm_verity *v; verity_preresume() local [all...] |
| /linux/tools/memory-model/ |
| H A D | linux-kernel.def | 10 WRITE_ONCE(X,V) { __store{ONCE}(X,V); } 13 smp_store_release(X,V) { __store{RELEASE}(*X,V); } 15 rcu_assign_pointer(X,V) { __store{RELEASE}(X,V); } 17 smp_store_mb(X,V) { __store{ONCE}(X,V); __fence{MB}; } 31 xchg(X,V) __xchg{MB}(X,V) [all...] |
| /linux/drivers/iio/adc/ |
| H A D | stm32-dfsdm.h | 52 #define DFSDM_CHCFGR1_SITP(v) FIELD_PREP(DFSDM_CHCFGR1_SITP_MASK, v) argument 54 #define DFSDM_CHCFGR1_SPICKSEL(v) FIELD_PREP(DFSDM_CHCFGR1_SPICKSEL_MASK, v) argument 56 #define DFSDM_CHCFGR1_SCDEN(v) FIELD_PREP(DFSDM_CHCFGR1_SCDEN_MASK, v) argument 58 #define DFSDM_CHCFGR1_CKABEN(v) FIELD_PREP(DFSDM_CHCFGR1_CKABEN_MASK, v) argument 60 #define DFSDM_CHCFGR1_CHEN(v) FIELD_PREP(DFSDM_CHCFGR1_CHEN_MASK, v) argument 62 #define DFSDM_CHCFGR1_CHINSEL(v) FIELD_PREP(DFSDM_CHCFGR1_CHINSEL_MASK, v) argument 64 #define DFSDM_CHCFGR1_DATMPX(v) FIELD_PREP(DFSDM_CHCFGR1_DATMPX_MASK, v) argument 66 #define DFSDM_CHCFGR1_DATPACK(v) FIELD_PREP(DFSDM_CHCFGR1_DATPACK_MASK, v) argument 68 #define DFSDM_CHCFGR1_CKOUTDIV(v) FIELD_PREP(DFSDM_CHCFGR1_CKOUTDIV_MASK, v) argument 70 #define DFSDM_CHCFGR1_CKOUTSRC(v) FIELD_PREP(DFSDM_CHCFGR1_CKOUTSRC_MASK, v) argument [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/drivers/iommu/ |
| H A D | msm_iommu_hw-8xxx.h | 20 #define SET_GLOBAL_REG_N(b, n, r, v) SET_GLOBAL_REG(b, ((r) + (n << 2)), (v)) argument 28 #define SET_GLOBAL_FIELD(b, r, F, v) \ argument 29 SET_FIELD(((b) + (r)), F##_MASK, F##_SHIFT, (v)) 30 #define SET_CONTEXT_FIELD(b, c, r, F, v) \ argument 31 SET_FIELD(((b) + (r) + ((c) << CTX_SHIFT)), F##_MASK, F##_SHIFT, (v)) 35 #define SET_FIELD(addr, mask, shift, v) \ argument 38 writel((t & ~((mask) << (shift))) + (((v) & (mask)) << (shift)), addr);\ 84 #define SET_M2VCBR_N(b, N, v) SET_GLOBAL_REG_N(M2VCBR_N, N, (b), (v)) argument 85 #define SET_CBACR_N(b, N, v) SET_GLOBAL_REG_N(CBACR_N, N, (b), (v)) argument 86 #define SET_TLBRSW(b, v) SET_GLOBAL_REG(TLBRSW, (b), (v)) argument [all …]
|
| /linux/drivers/pinctrl/mvebu/ |
| H A D | pinctrl-kirkwood.c | 19 #define V(f6180, f6190, f6192, f6281, f6282, dx4122, dx1135) \ macro 25 VARIANT_MV88F6180 = V(1, 0, 0, 0, 0, 0, 0), 26 VARIANT_MV88F6190 = V(0, 1, 0, 0, 0, 0, 0), 27 VARIANT_MV88F6192 = V(0, 0, 1, 0, 0, 0, 0), 28 VARIANT_MV88F6281 = V(0, 0, 0, 1, 0, 0, 0), 29 VARIANT_MV88F6282 = V(0, 0, 0, 0, 1, 0, 0), 30 VARIANT_MV98DX4122 = V(0, 0, 0, 0, 0, 1, 0), 31 VARIANT_MV98DX1135 = V(0, 0, 0, 0, 0, 0, 1), 36 MPP_VAR_FUNCTION(0x0, "gpio", NULL, V(1, 1, 1, 1, 1, 1, 1)), 37 MPP_VAR_FUNCTION(0x1, "nand", "io2", V(1, 1, 1, 1, 1, 1, 1)), [all …]
|
| /linux/drivers/vhost/ |
| H A D | vdpa.c | 77 static void vhost_vdpa_iotlb_unmap(struct vhost_vdpa *v, 88 static struct vhost_vdpa_as *asid_to_as(struct vhost_vdpa *v, u32 asid) in asid_to_as() argument 90 struct hlist_head *head = &v->as[asid % VHOST_VDPA_IOTLB_BUCKETS]; in asid_to_as() 100 static struct vhost_iotlb *asid_to_iotlb(struct vhost_vdpa *v, u32 asid) in asid_to_iotlb() argument 102 struct vhost_vdpa_as *as = asid_to_as(v, asid); in asid_to_iotlb() 110 static struct vhost_vdpa_as *vhost_vdpa_alloc_as(struct vhost_vdpa *v, u32 asid) in vhost_vdpa_alloc_as() argument 112 struct hlist_head *head = &v->as[asid % VHOST_VDPA_IOTLB_BUCKETS]; in vhost_vdpa_alloc_as() 115 if (asid_to_as(v, asid)) in vhost_vdpa_alloc_as() 118 if (asid >= v->vdpa->nas) in vhost_vdpa_alloc_as() 134 static struct vhost_vdpa_as *vhost_vdpa_find_alloc_as(struct vhost_vdpa *v, in vhost_vdpa_find_alloc_as() argument 145 vhost_vdpa_reset_map(struct vhost_vdpa * v,u32 asid) vhost_vdpa_reset_map() argument 154 vhost_vdpa_remove_as(struct vhost_vdpa * v,u32 asid) vhost_vdpa_remove_as() argument 180 struct vhost_vdpa *v = container_of(vq->dev, struct vhost_vdpa, vdev); handle_vq_kick() local 199 struct vhost_vdpa *v = private; vhost_vdpa_config_cb() local 210 vhost_vdpa_setup_vq_irq(struct vhost_vdpa * v,u16 qid) vhost_vdpa_setup_vq_irq() argument 234 vhost_vdpa_unsetup_vq_irq(struct vhost_vdpa * v,u16 qid) vhost_vdpa_unsetup_vq_irq() argument 241 _compat_vdpa_reset(struct vhost_vdpa * v) _compat_vdpa_reset() argument 266 vhost_vdpa_reset(struct vhost_vdpa * v) vhost_vdpa_reset() argument 272 vhost_vdpa_bind_mm(struct vhost_vdpa * v) vhost_vdpa_bind_mm() argument 283 vhost_vdpa_unbind_mm(struct vhost_vdpa * v) vhost_vdpa_unbind_mm() argument 294 vhost_vdpa_get_device_id(struct vhost_vdpa * v,u8 __user * argp) vhost_vdpa_get_device_id() argument 308 vhost_vdpa_get_status(struct vhost_vdpa * v,u8 __user * statusp) vhost_vdpa_get_status() argument 322 vhost_vdpa_set_status(struct vhost_vdpa * v,u8 __user * statusp) vhost_vdpa_set_status() argument 361 vhost_vdpa_config_validate(struct vhost_vdpa * v,struct vhost_vdpa_config * c) vhost_vdpa_config_validate() argument 376 vhost_vdpa_get_config(struct vhost_vdpa * v,struct vhost_vdpa_config __user * c) vhost_vdpa_get_config() argument 403 vhost_vdpa_set_config(struct vhost_vdpa * v,struct vhost_vdpa_config __user * c) vhost_vdpa_set_config() argument 426 vhost_vdpa_can_suspend(const struct vhost_vdpa * v) vhost_vdpa_can_suspend() argument 434 vhost_vdpa_can_resume(const struct vhost_vdpa * v) vhost_vdpa_can_resume() argument 442 vhost_vdpa_has_desc_group(const struct vhost_vdpa * v) vhost_vdpa_has_desc_group() argument 450 vhost_vdpa_get_features(struct vhost_vdpa * v,u64 __user * featurep) vhost_vdpa_get_features() argument 464 vhost_vdpa_get_backend_features(const struct vhost_vdpa * v) vhost_vdpa_get_backend_features() argument 475 vhost_vdpa_has_persistent_map(const struct vhost_vdpa * v) vhost_vdpa_has_persistent_map() argument 484 vhost_vdpa_set_features(struct vhost_vdpa * v,u64 __user * featurep) vhost_vdpa_set_features() argument 519 vhost_vdpa_get_vring_num(struct vhost_vdpa * v,u16 __user * argp) vhost_vdpa_get_vring_num() argument 533 vhost_vdpa_config_put(struct vhost_vdpa * v) vhost_vdpa_config_put() argument 547 vhost_vdpa_set_config_call(struct vhost_vdpa * v,u32 __user * argp) vhost_vdpa_set_config_call() argument 579 vhost_vdpa_get_iova_range(struct vhost_vdpa * v,u32 __user * argp) vhost_vdpa_get_iova_range() argument 591 vhost_vdpa_get_config_size(struct vhost_vdpa * v,u32 __user * argp) vhost_vdpa_get_config_size() argument 605 vhost_vdpa_get_vqs_count(struct vhost_vdpa * v,u32 __user * argp) vhost_vdpa_get_vqs_count() argument 620 vhost_vdpa_suspend(struct vhost_vdpa * v) vhost_vdpa_suspend() argument 643 vhost_vdpa_resume(struct vhost_vdpa * v) vhost_vdpa_resume() argument 662 vhost_vdpa_vring_ioctl(struct vhost_vdpa * v,unsigned int cmd,void __user * argp) vhost_vdpa_vring_ioctl() argument 829 struct vhost_vdpa *v = filep->private_data; vhost_vdpa_unlocked_ioctl() local 958 vhost_vdpa_general_unmap(struct vhost_vdpa * v,struct vhost_iotlb_map * map,u32 asid) vhost_vdpa_general_unmap() argument 970 vhost_vdpa_pa_unmap(struct vhost_vdpa * v,struct vhost_iotlb * iotlb,u64 start,u64 last,u32 asid) vhost_vdpa_pa_unmap() argument 993 vhost_vdpa_va_unmap(struct vhost_vdpa * v,struct vhost_iotlb * iotlb,u64 start,u64 last,u32 asid) vhost_vdpa_va_unmap() argument 1008 vhost_vdpa_iotlb_unmap(struct vhost_vdpa * v,struct vhost_iotlb * iotlb,u64 start,u64 last,u32 asid) vhost_vdpa_iotlb_unmap() argument 1042 vhost_vdpa_map(struct vhost_vdpa * v,struct vhost_iotlb * iotlb,u64 iova,u64 size,u64 pa,u32 perm,void * opaque) vhost_vdpa_map() argument 1077 vhost_vdpa_unmap(struct vhost_vdpa * v,struct vhost_iotlb * iotlb,u64 iova,u64 size) vhost_vdpa_unmap() argument 1094 vhost_vdpa_va_map(struct vhost_vdpa * v,struct vhost_iotlb * iotlb,u64 iova,u64 size,u64 uaddr,u32 perm) vhost_vdpa_va_map() argument 1145 vhost_vdpa_pa_map(struct vhost_vdpa * v,struct vhost_iotlb * iotlb,u64 iova,u64 size,u64 uaddr,u32 perm) vhost_vdpa_pa_map() argument 1277 vhost_vdpa_process_iotlb_update(struct vhost_vdpa * v,struct vhost_iotlb * iotlb,struct vhost_iotlb_msg * msg) vhost_vdpa_process_iotlb_update() argument 1303 struct vhost_vdpa *v = container_of(dev, struct vhost_vdpa, vdev); vhost_vdpa_process_iotlb_msg() local 1370 struct vhost_vdpa *v = file->private_data; vhost_vdpa_chr_write_iter() local 1376 vhost_vdpa_alloc_domain(struct vhost_vdpa * v) vhost_vdpa_alloc_domain() argument 1413 vhost_vdpa_free_domain(struct vhost_vdpa * v) vhost_vdpa_free_domain() argument 1427 vhost_vdpa_set_iova_range(struct vhost_vdpa * v) vhost_vdpa_set_iova_range() argument 1444 vhost_vdpa_cleanup(struct vhost_vdpa * v) vhost_vdpa_cleanup() argument 1463 struct vhost_vdpa *v; vhost_vdpa_open() local 1512 vhost_vdpa_clean_irq(struct vhost_vdpa * v) vhost_vdpa_clean_irq() argument 1522 struct vhost_vdpa *v = filep->private_data; vhost_vdpa_release() local 1543 vhost_vdpa_get_vq_notification(struct vhost_vdpa * v,unsigned long index,struct vdpa_notification_area * notify) vhost_vdpa_get_vq_notification() argument 1561 struct vhost_vdpa *v = vmf->vma->vm_file->private_data; vhost_vdpa_fault() local 1578 struct vhost_vdpa *v = vma->vm_file->private_data; vhost_vdpa_mmap() local 1625 struct vhost_vdpa *v = vhost_vdpa_release_dev() local 1636 struct vhost_vdpa *v; vhost_vdpa_probe() local 1701 struct vhost_vdpa *v = vdpa_get_drvdata(vdpa); vhost_vdpa_remove() local [all...] |
| /linux/tools/testing/selftests/bpf/progs/ |
| H A D | map_kptr_fail.c | 27 struct map_value *v; in size_not_bpf_dw() local 30 v = bpf_map_lookup_elem(&array_map, &key); in size_not_bpf_dw() 31 if (!v) in size_not_bpf_dw() 34 *(u32 *)&v->unref_ptr = 0; in size_not_bpf_dw() 42 struct map_value *v; in non_const_var_off() local 45 v = bpf_map_lookup_elem(&array_map, &key); in non_const_var_off() 46 if (!v) in non_const_var_off() 52 *(u64 *)((void *)v + id) = 0; in non_const_var_off() 61 struct map_value *v; in non_const_var_off_kptr_xchg() local 64 v in non_const_var_off_kptr_xchg() 80 struct map_value *v; misaligned_access_write() local 96 struct map_value *v; misaligned_access_read() local 111 struct map_value *v; reject_var_off_store() local 135 struct map_value *v; reject_bad_type_match() local 155 struct map_value *v; marked_as_untrusted_or_null() local 171 struct map_value *v; correct_btf_id_check_size() local 189 struct map_value *v; inherit_untrusted_on_walk() local 208 struct map_value *v; reject_kptr_xchg_on_unref() local 223 struct map_value *v; mark_ref_as_untrusted_or_null() local 239 struct map_value *v; reject_untrusted_store_to_ref() local 259 struct map_value *v; reject_untrusted_xchg() local 279 struct map_value *v; reject_bad_type_xchg() local 298 struct map_value *v; reject_member_of_ref_xchg() local 316 struct map_value *v; reject_indirect_helper_access() local 337 struct map_value *v; reject_indirect_global_func_access() local 352 struct map_value *v; kptr_xchg_ref_state() local 371 struct map_value *v; kptr_xchg_possibly_null() local 401 struct map_value *v; reject_scalar_store_to_kptr() local [all...] |