/linux-6.6.21/drivers/gpu/drm/amd/display/dc/dml/calcs/ |
D | dcn_calc_auto.c | 40 void scaler_settings_calculation(struct dcn_bw_internal_vars *v) in scaler_settings_calculation() argument 43 for (k = 0; k <= v->number_of_active_planes - 1; k++) { in scaler_settings_calculation() 44 if (v->allow_different_hratio_vratio == dcn_bw_yes) { in scaler_settings_calculation() 45 if (v->source_scan[k] == dcn_bw_hor) { in scaler_settings_calculation() 46 v->h_ratio[k] = v->viewport_width[k] / v->scaler_rec_out_width[k]; in scaler_settings_calculation() 47 v->v_ratio[k] = v->viewport_height[k] / v->scaler_recout_height[k]; in scaler_settings_calculation() 50 v->h_ratio[k] = v->viewport_height[k] / v->scaler_rec_out_width[k]; in scaler_settings_calculation() 51 v->v_ratio[k] = v->viewport_width[k] / v->scaler_recout_height[k]; in scaler_settings_calculation() 55 if (v->source_scan[k] == dcn_bw_hor) { in scaler_settings_calculation() 56 …v->h_ratio[k] =dcn_bw_max2(v->viewport_width[k] / v->scaler_rec_out_width[k], v->viewport_height[k… in scaler_settings_calculation() [all …]
|
/linux-6.6.21/include/linux/atomic/ |
D | atomic-instrumented.h | 30 atomic_read(const atomic_t *v) in atomic_read() argument 32 instrument_atomic_read(v, sizeof(*v)); in atomic_read() 33 return raw_atomic_read(v); in atomic_read() 47 atomic_read_acquire(const atomic_t *v) in atomic_read_acquire() argument 49 instrument_atomic_read(v, sizeof(*v)); in atomic_read_acquire() 50 return raw_atomic_read_acquire(v); in atomic_read_acquire() 65 atomic_set(atomic_t *v, int i) in atomic_set() argument 67 instrument_atomic_write(v, sizeof(*v)); in atomic_set() 68 raw_atomic_set(v, i); in atomic_set() 83 atomic_set_release(atomic_t *v, int i) in atomic_set_release() argument [all …]
|
D | atomic-long.h | 35 raw_atomic_long_read(const atomic_long_t *v) in raw_atomic_long_read() argument 38 return raw_atomic64_read(v); in raw_atomic_long_read() 40 return raw_atomic_read(v); in raw_atomic_long_read() 55 raw_atomic_long_read_acquire(const atomic_long_t *v) in raw_atomic_long_read_acquire() argument 58 return raw_atomic64_read_acquire(v); in raw_atomic_long_read_acquire() 60 return raw_atomic_read_acquire(v); in raw_atomic_long_read_acquire() 76 raw_atomic_long_set(atomic_long_t *v, long i) in raw_atomic_long_set() argument 79 raw_atomic64_set(v, i); in raw_atomic_long_set() 81 raw_atomic_set(v, i); in raw_atomic_long_set() 97 raw_atomic_long_set_release(atomic_long_t *v, long i) in raw_atomic_long_set_release() argument [all …]
|
D | atomic-arch-fallback.h | 442 raw_atomic_read(const atomic_t *v) in raw_atomic_read() argument 444 return arch_atomic_read(v); in raw_atomic_read() 458 raw_atomic_read_acquire(const atomic_t *v) in raw_atomic_read_acquire() argument 461 return arch_atomic_read_acquire(v); in raw_atomic_read_acquire() 466 ret = smp_load_acquire(&(v)->counter); in raw_atomic_read_acquire() 468 ret = raw_atomic_read(v); in raw_atomic_read_acquire() 488 raw_atomic_set(atomic_t *v, int i) in raw_atomic_set() argument 490 arch_atomic_set(v, i); in raw_atomic_set() 505 raw_atomic_set_release(atomic_t *v, int i) in raw_atomic_set_release() argument 508 arch_atomic_set_release(v, i); in raw_atomic_set_release() [all …]
|
/linux-6.6.21/drivers/media/platform/nxp/ |
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-6.6.21/drivers/gpu/drm/amd/display/dc/dml/dcn30/ |
D | display_mode_vba_30.c | 397 struct vba_vars_st *v, 1855 struct vba_vars_st *v = &mode_lib->vba; in DISPCLKDPPCLKDCFCLKDeepSleepPrefetchParametersWatermarksAndPerformanceCalculation() local 1858 unsigned int PrefetchMode = v->PrefetchModePerState[v->VoltageLevel][v->maxMpcComb]; in DISPCLKDPPCLKDCFCLKDeepSleepPrefetchParametersWatermarksAndPerformanceCalculation() 1865 v->WritebackDISPCLK = 0.0; in DISPCLKDPPCLKDCFCLKDeepSleepPrefetchParametersWatermarksAndPerformanceCalculation() 1866 v->DISPCLKWithRamping = 0; in DISPCLKDPPCLKDCFCLKDeepSleepPrefetchParametersWatermarksAndPerformanceCalculation() 1867 v->DISPCLKWithoutRamping = 0; in DISPCLKDPPCLKDCFCLKDeepSleepPrefetchParametersWatermarksAndPerformanceCalculation() 1868 v->GlobalDPPCLK = 0.0; in DISPCLKDPPCLKDCFCLKDeepSleepPrefetchParametersWatermarksAndPerformanceCalculation() 1870 v->IdealSDPPortBandwidthPerState[v->VoltageLevel][v->maxMpcComb] = dml_min3( in DISPCLKDPPCLKDCFCLKDeepSleepPrefetchParametersWatermarksAndPerformanceCalculation() 1871 v->ReturnBusWidth * v->DCFCLK, in DISPCLKDPPCLKDCFCLKDeepSleepPrefetchParametersWatermarksAndPerformanceCalculation() 1872 v->DRAMSpeedPerState[v->VoltageLevel] * v->NumberOfChannels * v->DRAMChannelWidth, in DISPCLKDPPCLKDCFCLKDeepSleepPrefetchParametersWatermarksAndPerformanceCalculation() [all …]
|
/linux-6.6.21/drivers/gpu/drm/amd/display/dc/dml/dcn31/ |
D | display_mode_vba_31.c | 1746 struct vba_vars_st *v = &mode_lib->vba; local 1754 if (!v->IgnoreViewportPositioning) { 1782 dml_print("DML::%s: IgnoreViewportPositioning = %d\n", __func__, v->IgnoreViewportPositioning); 1828 struct vba_vars_st *v = &mode_lib->vba; local 1863 MPDEBytesFrame = 128 * (v->GPUVMMaxPageTableLevels - 1); 1884 if (GPUVMEnable == true && v->GPUVMMaxPageTableLevels > 1) { 1898 ExtraDPDEBytesFrame = 128 * (v->GPUVMMaxPageTableLevels - 2); 2000 struct vba_vars_st *v = &mode_lib->vba; local 2007 int PrefetchMode = v->PrefetchModePerState[v->VoltageLevel][v->maxMpcComb]; 2009 v->WritebackDISPCLK = 0.0; [all …]
|
/linux-6.6.21/drivers/gpu/drm/amd/display/dc/dml/dcn314/ |
D | display_mode_vba_314.c | 1766 struct vba_vars_st *v = &mode_lib->vba; local 1774 if (!v->IgnoreViewportPositioning) { 1802 dml_print("DML::%s: IgnoreViewportPositioning = %d\n", __func__, v->IgnoreViewportPositioning); 1848 struct vba_vars_st *v = &mode_lib->vba; local 1883 MPDEBytesFrame = 128 * (v->GPUVMMaxPageTableLevels - 1); 1904 if (GPUVMEnable == true && v->GPUVMMaxPageTableLevels > 1) { 1918 ExtraDPDEBytesFrame = 128 * (v->GPUVMMaxPageTableLevels - 2); 2020 struct vba_vars_st *v = &mode_lib->vba; local 2027 int PrefetchMode = v->PrefetchModePerState[v->VoltageLevel][v->maxMpcComb]; 2029 v->WritebackDISPCLK = 0.0; [all …]
|
/linux-6.6.21/drivers/media/platform/verisilicon/ |
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 …]
|
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 …]
|
/linux-6.6.21/drivers/staging/media/sunxi/sun6i-isp/ |
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-6.6.21/sound/soc/qcom/ |
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-6.6.21/drivers/gpu/host1x/hw/ |
D | hw_host1x01_uclass.h | 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 68 return (v & 0xff) << 24; in host1x_uclass_wait_syncpt_indx_f() [all …]
|
D | hw_host1x02_uclass.h | 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 68 return (v & 0xff) << 24; in host1x_uclass_wait_syncpt_indx_f() [all …]
|
D | hw_host1x04_uclass.h | 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 68 return (v & 0xff) << 24; in host1x_uclass_wait_syncpt_indx_f() [all …]
|
D | hw_host1x05_uclass.h | 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 68 return (v & 0xff) << 24; in host1x_uclass_wait_syncpt_indx_f() [all …]
|
D | hw_host1x06_uclass.h | 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 68 return (v & 0xff) << 24; in host1x_uclass_wait_syncpt_indx_f() [all …]
|
D | hw_host1x07_uclass.h | 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 68 return (v & 0xff) << 24; in host1x_uclass_wait_syncpt_indx_f() [all …]
|
D | hw_host1x08_uclass.h | 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 68 return (v & 0xff) << 24; in host1x_uclass_wait_syncpt_indx_f() [all …]
|
/linux-6.6.21/drivers/iio/adc/ |
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-6.6.21/arch/sh/mm/ |
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-6.6.21/drivers/md/ |
D | dm-verity-target.c | 53 struct dm_verity *v; member 87 static sector_t verity_map_sector(struct dm_verity *v, sector_t bi_sector) in verity_map_sector() argument 89 return v->data_start + dm_target_offset(v->ti, bi_sector); in verity_map_sector() 98 static sector_t verity_position_at_level(struct dm_verity *v, sector_t block, in verity_position_at_level() argument 101 return block >> (level * v->hash_per_block_bits); in verity_position_at_level() 104 static int verity_hash_update(struct dm_verity *v, struct ahash_request *req, in verity_hash_update() argument 137 static int verity_hash_init(struct dm_verity *v, struct ahash_request *req, in verity_hash_init() argument 142 ahash_request_set_tfm(req, v->tfm); in verity_hash_init() 156 if (likely(v->salt_size && (v->version >= 1))) in verity_hash_init() 157 r = verity_hash_update(v, req, v->salt, v->salt_size, wait); in verity_hash_init() [all …]
|
/linux-6.6.21/arch/x86/lib/ |
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-6.6.21/tools/testing/selftests/bpf/progs/ |
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 = bpf_map_lookup_elem(&array_map, &key); in non_const_var_off_kptr_xchg() [all …]
|
/linux-6.6.21/arch/ia64/include/asm/ |
D | atomic.h | 24 #define arch_atomic_read(v) READ_ONCE((v)->counter) argument 25 #define arch_atomic64_read(v) READ_ONCE((v)->counter) argument 27 #define arch_atomic_set(v,i) WRITE_ONCE(((v)->counter), (i)) argument 28 #define arch_atomic64_set(v,i) WRITE_ONCE(((v)->counter), (i)) argument 32 ia64_atomic_##op (int i, atomic_t *v) \ 38 CMPXCHG_BUGCHECK(v); \ 39 old = arch_atomic_read(v); \ 41 } while (ia64_cmpxchg(acq, v, old, new, sizeof(atomic_t)) != old); \ 47 ia64_atomic_fetch_##op (int i, atomic_t *v) \ 53 CMPXCHG_BUGCHECK(v); \ [all …]
|