Home
last modified time | relevance | path

Searched refs:to (Results 1 - 25 of 2889) sorted by relevance

12345678910>>...116

/kernel/linux/linux-6.6/drivers/clocksource/
H A Dtimer-mediatek.c56 #define SYST_CON_REG(to) (timer_of_base(to) + SYST_CON)
57 #define SYST_VAL_REG(to) (timer_of_base(to) + SYST_VAL)
60 * SYST_CON_EN: Clock enable. Shall be set to
65 * SYST_CON_IRQ_EN: Set to enable interrupt.
67 * SYST_CON_IRQ_CLR: Set to clear interrupt.
75 static void mtk_syst_ack_irq(struct timer_of *to) in mtk_syst_ack_irq() argument
78 writel(SYST_CON_EN, SYST_CON_REG(to)); in mtk_syst_ack_irq()
79 writel(SYST_CON_IRQ_CLR | SYST_CON_EN, SYST_CON_REG(to)); in mtk_syst_ack_irq()
85 struct timer_of *to = to_timer_of(clkevt); mtk_syst_handler() local
96 struct timer_of *to = to_timer_of(clkevt); mtk_syst_clkevt_next_event() local
139 mtk_gpt_clkevt_time_stop(struct timer_of *to, u8 timer) mtk_gpt_clkevt_time_stop() argument
148 mtk_gpt_clkevt_time_setup(struct timer_of *to, unsigned long delay, u8 timer) mtk_gpt_clkevt_time_setup() argument
154 mtk_gpt_clkevt_time_start(struct timer_of *to, bool periodic, u8 timer) mtk_gpt_clkevt_time_start() argument
185 struct timer_of *to = to_timer_of(clk); mtk_gpt_clkevt_set_periodic() local
197 struct timer_of *to = to_timer_of(clk); mtk_gpt_clkevt_next_event() local
209 struct timer_of *to = to_timer_of(clkevt); mtk_gpt_interrupt() local
219 mtk_gpt_setup(struct timer_of *to, u8 timer, u8 option) mtk_gpt_setup() argument
233 mtk_gpt_enable_irq(struct timer_of *to, u8 timer) mtk_gpt_enable_irq() argument
250 struct timer_of *to = to_timer_of(clk); mtk_gpt_resume() local
257 struct timer_of *to = to_timer_of(clk); mtk_gpt_suspend() local
270 static struct timer_of to = { global() variable
[all...]
H A Dtimer-stm32.c55 * @to: a timer_of structure pointer
58 * Accessor helper to set the number of bits in the timer-of private
62 static void stm32_timer_of_bits_set(struct timer_of *to, int bits) in stm32_timer_of_bits_set() argument
64 struct stm32_timer_private *pd = to->private_data; in stm32_timer_of_bits_set()
71 * @to: a timer_of structure pointer
73 * Accessor helper to get the number of bits in the timer-of private
76 * Returns an integer corresponding to the number of bits.
78 static int stm32_timer_of_bits_get(struct timer_of *to) in stm32_timer_of_bits_get() argument
80 struct stm32_timer_private *pd = to->private_data; in stm32_timer_of_bits_get()
99 static void stm32_clock_event_disable(struct timer_of *to) in stm32_clock_event_disable() argument
112 stm32_timer_start(struct timer_of *to) stm32_timer_start() argument
119 struct timer_of *to = to_timer_of(clkevt); stm32_clock_event_shutdown() local
129 struct timer_of *to = to_timer_of(clkevt); stm32_clock_event_set_next_event() local
146 struct timer_of *to = to_timer_of(clkevt); stm32_clock_event_set_periodic() local
155 struct timer_of *to = to_timer_of(clkevt); stm32_clock_event_set_oneshot() local
165 struct timer_of *to = to_timer_of(clkevt); stm32_clock_event_handler() local
188 stm32_timer_set_width(struct timer_of *to) stm32_timer_set_width() argument
207 stm32_timer_set_prescaler(struct timer_of *to) stm32_timer_set_prescaler() argument
231 stm32_clocksource_init(struct timer_of *to) stm32_clocksource_init() argument
268 stm32_clockevent_init(struct timer_of *to) stm32_clockevent_init() argument
291 struct timer_of *to; stm32_timer_init() local
[all...]
H A Dtimer-milbeaut.c52 struct timer_of *to = to_timer_of(clk); in mlb_timer_interrupt() local
55 val = readl_relaxed(timer_of_base(to) + MLB_TMR_EVT_TMCSR_OFS); in mlb_timer_interrupt()
57 writel_relaxed(val, timer_of_base(to) + MLB_TMR_EVT_TMCSR_OFS); in mlb_timer_interrupt()
64 static void mlb_evt_timer_start(struct timer_of *to, bool periodic) in mlb_evt_timer_start() argument
71 writel_relaxed(val, timer_of_base(to) + MLB_TMR_EVT_TMCSR_OFS); in mlb_evt_timer_start()
74 static void mlb_evt_timer_stop(struct timer_of *to) in mlb_evt_timer_stop() argument
76 u32 val = readl_relaxed(timer_of_base(to) + MLB_TMR_EVT_TMCSR_OFS); in mlb_evt_timer_stop()
79 writel_relaxed(val, timer_of_base(to) + MLB_TMR_EVT_TMCSR_OFS); in mlb_evt_timer_stop()
82 static void mlb_evt_timer_register_count(struct timer_of *to, unsigned long cnt) in mlb_evt_timer_register_count() argument
84 writel_relaxed(cnt, timer_of_base(to) in mlb_evt_timer_register_count()
89 struct timer_of *to = to_timer_of(clk); mlb_set_state_periodic() local
99 struct timer_of *to = to_timer_of(clk); mlb_set_state_oneshot() local
108 struct timer_of *to = to_timer_of(clk); mlb_set_state_shutdown() local
117 struct timer_of *to = to_timer_of(clk); mlb_clkevt_next_event() local
125 mlb_config_clock_source(struct timer_of *to) mlb_config_clock_source() argument
137 mlb_config_clock_event(struct timer_of *to) mlb_config_clock_event() argument
143 static struct timer_of to = { global() variable
[all...]
H A Drenesas-ostm.c46 static void ostm_timer_stop(struct timer_of *to) in ostm_timer_stop() argument
48 if (readb(timer_of_base(to) + OSTM_TE) & TE) { in ostm_timer_stop()
49 writeb(TT, timer_of_base(to) + OSTM_TT); in ostm_timer_stop()
52 * Read back the register simply to confirm the write operation in ostm_timer_stop()
56 while (readb(timer_of_base(to) + OSTM_TE) & TE) in ostm_timer_stop()
61 static int __init ostm_init_clksrc(struct timer_of *to) in ostm_init_clksrc() argument
63 ostm_timer_stop(to); in ostm_init_clksrc()
65 writel(0, timer_of_base(to) + OSTM_CMP); in ostm_init_clksrc()
66 writeb(CTL_FREERUN, timer_of_base(to) + OSTM_CTL); in ostm_init_clksrc()
67 writeb(TS, timer_of_base(to) in ostm_init_clksrc()
79 ostm_init_sched_clock(struct timer_of *to) ostm_init_sched_clock() argument
88 struct timer_of *to = to_timer_of(ced); ostm_clock_event_next() local
101 struct timer_of *to = to_timer_of(ced); ostm_shutdown() local
109 struct timer_of *to = to_timer_of(ced); ostm_set_periodic() local
123 struct timer_of *to = to_timer_of(ced); ostm_set_oneshot() local
144 ostm_init_clkevt(struct timer_of *to) ostm_init_clkevt() argument
165 struct timer_of *to; ostm_init() local
[all...]
H A Dtimer-loongson1-pwm.c45 struct timer_of *to) in ls1x_pwmtimer_set_period()
47 writel(period, timer_of_base(to) + PWM_LRC); in ls1x_pwmtimer_set_period()
48 writel(period, timer_of_base(to) + PWM_HRC); in ls1x_pwmtimer_set_period()
51 static inline void ls1x_pwmtimer_clear(struct timer_of *to) in ls1x_pwmtimer_clear() argument
53 writel(0, timer_of_base(to) + PWM_CNTR); in ls1x_pwmtimer_clear()
56 static inline void ls1x_pwmtimer_start(struct timer_of *to) in ls1x_pwmtimer_start() argument
58 writel((INT_EN | PWM_OE | CNT_EN), timer_of_base(to) + PWM_CTRL); in ls1x_pwmtimer_start()
61 static inline void ls1x_pwmtimer_stop(struct timer_of *to) in ls1x_pwmtimer_stop() argument
63 writel(0, timer_of_base(to) + PWM_CTRL); in ls1x_pwmtimer_stop()
66 static inline void ls1x_pwmtimer_irq_ack(struct timer_of *to) in ls1x_pwmtimer_irq_ack() argument
44 ls1x_pwmtimer_set_period(unsigned int period, struct timer_of *to) ls1x_pwmtimer_set_period() argument
78 struct timer_of *to = to_timer_of(clkevt); ls1x_clockevent_isr() local
91 struct timer_of *to = to_timer_of(clkevt); ls1x_clockevent_set_state_periodic() local
94 ls1x_pwmtimer_set_period(timer_of_period(to), to); ls1x_clockevent_set_state_periodic() local
123 struct timer_of *to = to_timer_of(clkevt); ls1x_clockevent_set_next() local
218 struct timer_of *to = &ls1x_to; ls1x_pwm_clocksource_init() local
[all...]
/kernel/linux/linux-5.10/drivers/clocksource/
H A Dtimer-stm32.c55 * @to: a timer_of structure pointer
58 * Accessor helper to set the number of bits in the timer-of private
62 static void stm32_timer_of_bits_set(struct timer_of *to, int bits) in stm32_timer_of_bits_set() argument
64 struct stm32_timer_private *pd = to->private_data; in stm32_timer_of_bits_set()
71 * @to: a timer_of structure pointer
73 * Accessor helper to get the number of bits in the timer-of private
76 * Returns an integer corresponding to the number of bits.
78 static int stm32_timer_of_bits_get(struct timer_of *to) in stm32_timer_of_bits_get() argument
80 struct stm32_timer_private *pd = to->private_data; in stm32_timer_of_bits_get()
99 static void stm32_clock_event_disable(struct timer_of *to) in stm32_clock_event_disable() argument
112 stm32_timer_start(struct timer_of *to) stm32_timer_start() argument
119 struct timer_of *to = to_timer_of(clkevt); stm32_clock_event_shutdown() local
129 struct timer_of *to = to_timer_of(clkevt); stm32_clock_event_set_next_event() local
146 struct timer_of *to = to_timer_of(clkevt); stm32_clock_event_set_periodic() local
155 struct timer_of *to = to_timer_of(clkevt); stm32_clock_event_set_oneshot() local
165 struct timer_of *to = to_timer_of(clkevt); stm32_clock_event_handler() local
188 stm32_timer_set_width(struct timer_of *to) stm32_timer_set_width() argument
207 stm32_timer_set_prescaler(struct timer_of *to) stm32_timer_set_prescaler() argument
231 stm32_clocksource_init(struct timer_of *to) stm32_clocksource_init() argument
268 stm32_clockevent_init(struct timer_of *to) stm32_clockevent_init() argument
291 struct timer_of *to; stm32_timer_init() local
[all...]
H A Drenesas-ostm.c44 static void ostm_timer_stop(struct timer_of *to) in ostm_timer_stop() argument
46 if (readb(timer_of_base(to) + OSTM_TE) & TE) { in ostm_timer_stop()
47 writeb(TT, timer_of_base(to) + OSTM_TT); in ostm_timer_stop()
50 * Read back the register simply to confirm the write operation in ostm_timer_stop()
54 while (readb(timer_of_base(to) + OSTM_TE) & TE) in ostm_timer_stop()
59 static int __init ostm_init_clksrc(struct timer_of *to) in ostm_init_clksrc() argument
61 ostm_timer_stop(to); in ostm_init_clksrc()
63 writel(0, timer_of_base(to) + OSTM_CMP); in ostm_init_clksrc()
64 writeb(CTL_FREERUN, timer_of_base(to) + OSTM_CTL); in ostm_init_clksrc()
65 writeb(TS, timer_of_base(to) in ostm_init_clksrc()
77 ostm_init_sched_clock(struct timer_of *to) ostm_init_sched_clock() argument
86 struct timer_of *to = to_timer_of(ced); ostm_clock_event_next() local
99 struct timer_of *to = to_timer_of(ced); ostm_shutdown() local
107 struct timer_of *to = to_timer_of(ced); ostm_set_periodic() local
121 struct timer_of *to = to_timer_of(ced); ostm_set_oneshot() local
142 ostm_init_clkevt(struct timer_of *to) ostm_init_clkevt() argument
162 struct timer_of *to; ostm_init() local
[all...]
H A Dtimer-mediatek.c56 #define SYST_CON_REG(to) (timer_of_base(to) + SYST_CON)
57 #define SYST_VAL_REG(to) (timer_of_base(to) + SYST_VAL)
60 * SYST_CON_EN: Clock enable. Shall be set to
65 * SYST_CON_IRQ_EN: Set to allow interrupt.
67 * SYST_CON_IRQ_CLR: Set to clear interrupt.
75 static void mtk_syst_ack_irq(struct timer_of *to) in mtk_syst_ack_irq() argument
78 writel(SYST_CON_IRQ_CLR | SYST_CON_EN, SYST_CON_REG(to)); in mtk_syst_ack_irq()
84 struct timer_of *to in mtk_syst_handler() local
95 struct timer_of *to = to_timer_of(clkevt); mtk_syst_clkevt_next_event() local
135 mtk_gpt_clkevt_time_stop(struct timer_of *to, u8 timer) mtk_gpt_clkevt_time_stop() argument
144 mtk_gpt_clkevt_time_setup(struct timer_of *to, unsigned long delay, u8 timer) mtk_gpt_clkevt_time_setup() argument
150 mtk_gpt_clkevt_time_start(struct timer_of *to, bool periodic, u8 timer) mtk_gpt_clkevt_time_start() argument
181 struct timer_of *to = to_timer_of(clk); mtk_gpt_clkevt_set_periodic() local
193 struct timer_of *to = to_timer_of(clk); mtk_gpt_clkevt_next_event() local
205 struct timer_of *to = to_timer_of(clkevt); mtk_gpt_interrupt() local
215 mtk_gpt_setup(struct timer_of *to, u8 timer, u8 option) mtk_gpt_setup() argument
229 mtk_gpt_enable_irq(struct timer_of *to, u8 timer) mtk_gpt_enable_irq() argument
244 static struct timer_of to = { global() variable
[all...]
H A Dtimer-milbeaut.c52 struct timer_of *to = to_timer_of(clk); in mlb_timer_interrupt() local
55 val = readl_relaxed(timer_of_base(to) + MLB_TMR_EVT_TMCSR_OFS); in mlb_timer_interrupt()
57 writel_relaxed(val, timer_of_base(to) + MLB_TMR_EVT_TMCSR_OFS); in mlb_timer_interrupt()
64 static void mlb_evt_timer_start(struct timer_of *to, bool periodic) in mlb_evt_timer_start() argument
71 writel_relaxed(val, timer_of_base(to) + MLB_TMR_EVT_TMCSR_OFS); in mlb_evt_timer_start()
74 static void mlb_evt_timer_stop(struct timer_of *to) in mlb_evt_timer_stop() argument
76 u32 val = readl_relaxed(timer_of_base(to) + MLB_TMR_EVT_TMCSR_OFS); in mlb_evt_timer_stop()
79 writel_relaxed(val, timer_of_base(to) + MLB_TMR_EVT_TMCSR_OFS); in mlb_evt_timer_stop()
82 static void mlb_evt_timer_register_count(struct timer_of *to, unsigned long cnt) in mlb_evt_timer_register_count() argument
84 writel_relaxed(cnt, timer_of_base(to) in mlb_evt_timer_register_count()
89 struct timer_of *to = to_timer_of(clk); mlb_set_state_periodic() local
99 struct timer_of *to = to_timer_of(clk); mlb_set_state_oneshot() local
108 struct timer_of *to = to_timer_of(clk); mlb_set_state_shutdown() local
117 struct timer_of *to = to_timer_of(clk); mlb_clkevt_next_event() local
125 mlb_config_clock_source(struct timer_of *to) mlb_config_clock_source() argument
137 mlb_config_clock_event(struct timer_of *to) mlb_config_clock_event() argument
143 static struct timer_of to = { global() variable
[all...]
/kernel/linux/linux-5.10/drivers/staging/media/atomisp/pci/isp/kernels/eed1_8/
H A Dia_css_eed1_8.host.c26 /* WARNING1: Number of inv points should be less or equal to 16,
27 * due to implementation limitation. See kernel design document
90 struct eed1_8_vmem_params *to, in ia_css_eed1_8_vmem_encode()
102 to->e_dew_enh_x[0][i] = 0; in ia_css_eed1_8_vmem_encode()
103 to->e_dew_enh_y[0][i] = 0; in ia_css_eed1_8_vmem_encode()
104 to->e_dew_enh_a[0][i] = 0; in ia_css_eed1_8_vmem_encode()
105 to->e_dew_enh_f[0][i] = 0; in ia_css_eed1_8_vmem_encode()
106 to->chgrinv_x[0][i] = 0; in ia_css_eed1_8_vmem_encode()
107 to->chgrinv_a[0][i] = 0; in ia_css_eed1_8_vmem_encode()
108 to in ia_css_eed1_8_vmem_encode()
89 ia_css_eed1_8_vmem_encode( struct eed1_8_vmem_params *to, const struct ia_css_eed1_8_config *from, size_t size) ia_css_eed1_8_vmem_encode() argument
227 ia_css_eed1_8_encode( struct eed1_8_dmem_params *to, const struct ia_css_eed1_8_config *from, size_t size) ia_css_eed1_8_encode() argument
[all...]
/kernel/linux/linux-6.6/drivers/staging/media/atomisp/pci/isp/kernels/eed1_8/
H A Dia_css_eed1_8.host.c26 /* WARNING1: Number of inv points should be less or equal to 16,
27 * due to implementation limitation. See kernel design document
90 struct eed1_8_vmem_params *to, in ia_css_eed1_8_vmem_encode()
102 to->e_dew_enh_x[0][i] = 0; in ia_css_eed1_8_vmem_encode()
103 to->e_dew_enh_y[0][i] = 0; in ia_css_eed1_8_vmem_encode()
104 to->e_dew_enh_a[0][i] = 0; in ia_css_eed1_8_vmem_encode()
105 to->e_dew_enh_f[0][i] = 0; in ia_css_eed1_8_vmem_encode()
106 to->chgrinv_x[0][i] = 0; in ia_css_eed1_8_vmem_encode()
107 to->chgrinv_a[0][i] = 0; in ia_css_eed1_8_vmem_encode()
108 to in ia_css_eed1_8_vmem_encode()
89 ia_css_eed1_8_vmem_encode( struct eed1_8_vmem_params *to, const struct ia_css_eed1_8_config *from, size_t size) ia_css_eed1_8_vmem_encode() argument
227 ia_css_eed1_8_encode( struct eed1_8_dmem_params *to, const struct ia_css_eed1_8_config *from, size_t size) ia_css_eed1_8_encode() argument
[all...]
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/dc/dsc/
H A Drc_calc_dpi.c4 * Permission is hereby granted, free of charge, to any person obtaining a
6 * to deal in the Software without restriction, including without limitation
7 * the rights to use, copy, modify, merge, publish, distribute, sublicense,
8 * and/or sell copies of the Software, and to permit persons to whom the
9 * Software is furnished to do so, subject to the following conditions:
30 static void copy_pps_fields(struct drm_dsc_config *to, const struct drm_dsc_config *from) in copy_pps_fields() argument
32 to->line_buf_depth = from->line_buf_depth; in copy_pps_fields()
33 to in copy_pps_fields()
[all...]
/kernel/linux/linux-6.6/drivers/gpu/drm/amd/display/dc/dsc/
H A Drc_calc_dpi.c4 * Permission is hereby granted, free of charge, to any person obtaining a
6 * to deal in the Software without restriction, including without limitation
7 * the rights to use, copy, modify, merge, publish, distribute, sublicense,
8 * and/or sell copies of the Software, and to permit persons to whom the
9 * Software is furnished to do so, subject to the following conditions:
29 static void copy_pps_fields(struct drm_dsc_config *to, const struct drm_dsc_config *from) in copy_pps_fields() argument
31 to->line_buf_depth = from->line_buf_depth; in copy_pps_fields()
32 to in copy_pps_fields()
[all...]
/kernel/linux/linux-5.10/drivers/staging/media/atomisp/pci/isp/kernels/bnlm/
H A Dia_css_bnlm.host.c37 /* Encodes a look-up table from BNLM public parameters to vmem parameters.
41 * lut_val : array containing output values related to lut_thr
60 * set to 0. in bnlm_lut_encode()
82 /* Copy data from first block to all blocks */ in bnlm_lut_encode()
99 struct bnlm_vmem_params *to, in ia_css_bnlm_vmem_encode()
107 bnlm_lut_encode(&to->mu_root_lut, from->mu_root_lut_thr, from->mu_root_lut_val, in ia_css_bnlm_vmem_encode()
109 bnlm_lut_encode(&to->sad_norm_lut, from->sad_norm_lut_thr, in ia_css_bnlm_vmem_encode()
111 bnlm_lut_encode(&to->sig_detail_lut, from->sig_detail_lut_thr, in ia_css_bnlm_vmem_encode()
113 bnlm_lut_encode(&to->sig_rad_lut, from->sig_rad_lut_thr, from->sig_rad_lut_val, in ia_css_bnlm_vmem_encode()
115 bnlm_lut_encode(&to in ia_css_bnlm_vmem_encode()
98 ia_css_bnlm_vmem_encode( struct bnlm_vmem_params *to, const struct ia_css_bnlm_config *from, size_t size) ia_css_bnlm_vmem_encode() argument
149 ia_css_bnlm_encode( struct bnlm_dmem_params *to, const struct ia_css_bnlm_config *from, size_t size) ia_css_bnlm_encode() argument
[all...]
/kernel/linux/linux-6.6/drivers/staging/media/atomisp/pci/isp/kernels/bnlm/
H A Dia_css_bnlm.host.c37 /* Encodes a look-up table from BNLM public parameters to vmem parameters.
41 * lut_val : array containing output values related to lut_thr
60 * set to 0. in bnlm_lut_encode()
82 /* Copy data from first block to all blocks */ in bnlm_lut_encode()
99 struct bnlm_vmem_params *to, in ia_css_bnlm_vmem_encode()
107 bnlm_lut_encode(&to->mu_root_lut, from->mu_root_lut_thr, from->mu_root_lut_val, in ia_css_bnlm_vmem_encode()
109 bnlm_lut_encode(&to->sad_norm_lut, from->sad_norm_lut_thr, in ia_css_bnlm_vmem_encode()
111 bnlm_lut_encode(&to->sig_detail_lut, from->sig_detail_lut_thr, in ia_css_bnlm_vmem_encode()
113 bnlm_lut_encode(&to->sig_rad_lut, from->sig_rad_lut_thr, from->sig_rad_lut_val, in ia_css_bnlm_vmem_encode()
115 bnlm_lut_encode(&to in ia_css_bnlm_vmem_encode()
98 ia_css_bnlm_vmem_encode( struct bnlm_vmem_params *to, const struct ia_css_bnlm_config *from, size_t size) ia_css_bnlm_vmem_encode() argument
149 ia_css_bnlm_encode( struct bnlm_dmem_params *to, const struct ia_css_bnlm_config *from, size_t size) ia_css_bnlm_encode() argument
[all...]
/kernel/linux/linux-5.10/arch/x86/include/asm/
H A Dstring_32.h7 /* Let gcc decide whether to inline or use the out of line functions */
33 static __always_inline void *__memcpy(void *to, const void *from, size_t n) in __memcpy() argument
43 : "0" (n / 4), "g" (n), "1" ((long)to), "2" ((long)from) in __memcpy()
45 return to; in __memcpy()
52 static __always_inline void *__constant_memcpy(void *to, const void *from, in __constant_memcpy() argument
57 return to; in __constant_memcpy()
61 *(char *)to = *(char *)from; in __constant_memcpy()
62 return to; in __constant_memcpy()
64 *(short *)to = *(short *)from; in __constant_memcpy()
65 return to; in __constant_memcpy()
157 __constant_memcpy3d(void *to, const void *from, size_t len) __constant_memcpy3d() argument
164 __memcpy3d(void *to, const void *from, size_t len) __memcpy3d() argument
[all...]
/kernel/linux/linux-5.10/ipc/
H A Dcompat.c38 int get_compat_ipc64_perm(struct ipc64_perm *to, in get_compat_ipc64_perm() argument
44 to->uid = v.uid; in get_compat_ipc64_perm()
45 to->gid = v.gid; in get_compat_ipc64_perm()
46 to->mode = v.mode; in get_compat_ipc64_perm()
50 int get_compat_ipc_perm(struct ipc64_perm *to, in get_compat_ipc_perm() argument
56 to->uid = v.uid; in get_compat_ipc_perm()
57 to->gid = v.gid; in get_compat_ipc_perm()
58 to->mode = v.mode; in get_compat_ipc_perm()
62 void to_compat_ipc64_perm(struct compat_ipc64_perm *to, struct ipc64_perm *from) in to_compat_ipc64_perm() argument
64 to in to_compat_ipc64_perm()
73 to_compat_ipc_perm(struct compat_ipc_perm *to, struct ipc64_perm *from) to_compat_ipc_perm() argument
[all...]
/kernel/linux/linux-6.6/ipc/
H A Dcompat.c38 int get_compat_ipc64_perm(struct ipc64_perm *to, in get_compat_ipc64_perm() argument
44 to->uid = v.uid; in get_compat_ipc64_perm()
45 to->gid = v.gid; in get_compat_ipc64_perm()
46 to->mode = v.mode; in get_compat_ipc64_perm()
50 int get_compat_ipc_perm(struct ipc64_perm *to, in get_compat_ipc_perm() argument
56 to->uid = v.uid; in get_compat_ipc_perm()
57 to->gid = v.gid; in get_compat_ipc_perm()
58 to->mode = v.mode; in get_compat_ipc_perm()
62 void to_compat_ipc64_perm(struct compat_ipc64_perm *to, struct ipc64_perm *from) in to_compat_ipc64_perm() argument
64 to in to_compat_ipc64_perm()
73 to_compat_ipc_perm(struct compat_ipc_perm *to, struct ipc64_perm *from) to_compat_ipc_perm() argument
[all...]
/kernel/linux/linux-5.10/drivers/staging/media/atomisp/pci/isp/kernels/ob/ob_1.0/
H A Dia_css_ob.host.c33 /* TODO: include ob.isp.h to get isp knowledge and
48 struct sh_css_isp_ob_params *to, in ia_css_ob_encode()
60 to->blacklevel_gr = from->level_gr >> scale; in ia_css_ob_encode()
61 to->blacklevel_r = from->level_r >> scale; in ia_css_ob_encode()
62 to->blacklevel_b = from->level_b >> scale; in ia_css_ob_encode()
63 to->blacklevel_gb = from->level_gb >> scale; in ia_css_ob_encode()
64 to->area_start_bq = 0; in ia_css_ob_encode()
65 to->area_length_bq = 0; in ia_css_ob_encode()
66 to->area_length_bq_inverse = 0; in ia_css_ob_encode()
69 to in ia_css_ob_encode()
47 ia_css_ob_encode( struct sh_css_isp_ob_params *to, const struct ia_css_ob_config *from, const struct sh_css_isp_ob_stream_config *config, unsigned int size) ia_css_ob_encode() argument
91 ia_css_ob_vmem_encode( struct sh_css_isp_ob_vmem_params *to, const struct ia_css_ob_config *from, const struct sh_css_isp_ob_stream_config *config, unsigned int size) ia_css_ob_vmem_encode() argument
[all...]
/kernel/linux/linux-6.6/drivers/staging/media/atomisp/pci/isp/kernels/ob/ob_1.0/
H A Dia_css_ob.host.c33 /* TODO: include ob.isp.h to get isp knowledge and
48 struct sh_css_isp_ob_params *to, in ia_css_ob_encode()
60 to->blacklevel_gr = from->level_gr >> scale; in ia_css_ob_encode()
61 to->blacklevel_r = from->level_r >> scale; in ia_css_ob_encode()
62 to->blacklevel_b = from->level_b >> scale; in ia_css_ob_encode()
63 to->blacklevel_gb = from->level_gb >> scale; in ia_css_ob_encode()
64 to->area_start_bq = 0; in ia_css_ob_encode()
65 to->area_length_bq = 0; in ia_css_ob_encode()
66 to->area_length_bq_inverse = 0; in ia_css_ob_encode()
69 to in ia_css_ob_encode()
47 ia_css_ob_encode( struct sh_css_isp_ob_params *to, const struct ia_css_ob_config *from, const struct sh_css_isp_ob_stream_config *config, unsigned int size) ia_css_ob_encode() argument
91 ia_css_ob_vmem_encode( struct sh_css_isp_ob_vmem_params *to, const struct ia_css_ob_config *from, const struct sh_css_isp_ob_stream_config *config, unsigned int size) ia_css_ob_vmem_encode() argument
[all...]
/kernel/linux/linux-6.6/arch/x86/lib/
H A Diomem.c6 #define movs(type,to,from) \
7 asm volatile("movs" type:"=&D" (to), "=&S" (from):"0" (to), "1" (from):"memory")
10 static __always_inline void rep_movs(void *to, const void *from, size_t n) in rep_movs() argument
22 : "0" (n / 4), "q" (n), "1" ((long)to), "2" ((long)from) in rep_movs()
26 static void string_memcpy_fromio(void *to, const volatile void __iomem *from, size_t n) in string_memcpy_fromio() argument
33 movs("b", to, from); in string_memcpy_fromio()
37 movs("w", to, from); in string_memcpy_fromio()
40 rep_movs(to, (const void *)from, n); in string_memcpy_fromio()
42 kmsan_unpoison_memory(to, in string_memcpy_fromio()
45 string_memcpy_toio(volatile void __iomem *to, const void *from, size_t n) string_memcpy_toio() argument
64 unrolled_memcpy_fromio(void *to, const volatile void __iomem *from, size_t n) unrolled_memcpy_fromio() argument
74 unrolled_memcpy_toio(volatile void __iomem *to, const void *from, size_t n) unrolled_memcpy_toio() argument
93 memcpy_fromio(void *to, const volatile void __iomem *from, size_t n) memcpy_fromio() argument
102 memcpy_toio(volatile void __iomem *to, const void *from, size_t n) memcpy_toio() argument
[all...]
/kernel/linux/linux-5.10/arch/arc/kernel/
H A Dptrace.c21 struct membuf to) in genregs_get()
27 membuf_zero(&to, 4); // pad in genregs_get()
28 membuf_store(&to, ptregs->bta); in genregs_get()
29 membuf_store(&to, ptregs->lp_start); in genregs_get()
30 membuf_store(&to, ptregs->lp_end); in genregs_get()
31 membuf_store(&to, ptregs->lp_count); in genregs_get()
32 membuf_store(&to, ptregs->status32); in genregs_get()
33 membuf_store(&to, ptregs->ret); in genregs_get()
34 membuf_store(&to, ptregs->blink); in genregs_get()
35 membuf_store(&to, ptreg in genregs_get()
19 genregs_get(struct task_struct *target, const struct user_regset *regset, struct membuf to) genregs_get() argument
158 arcv2regs_get(struct task_struct *target, const struct user_regset *regset, struct membuf to) arcv2regs_get() argument
[all...]
/kernel/linux/linux-5.10/drivers/staging/media/atomisp/pci/isp/kernels/tdf/tdf_1.0/
H A Dia_css_tdf.host.c32 struct ia_css_isp_tdf_vmem_params *to, in ia_css_tdf_vmem_encode()
40 to->pyramid[0][i] = g_pyramid[i / 8][i % 8]; in ia_css_tdf_vmem_encode()
41 to->threshold_flat[0][i] = from->thres_flat_table[i]; in ia_css_tdf_vmem_encode()
42 to->threshold_detail[0][i] = from->thres_detail_table[i]; in ia_css_tdf_vmem_encode()
48 struct ia_css_isp_tdf_dmem_params *to, in ia_css_tdf_encode()
53 to->Epsilon_0 = from->epsilon_0; in ia_css_tdf_encode()
54 to->Epsilon_1 = from->epsilon_1; in ia_css_tdf_encode()
55 to->EpsScaleText = from->eps_scale_text; in ia_css_tdf_encode()
56 to->EpsScaleEdge = from->eps_scale_edge; in ia_css_tdf_encode()
57 to in ia_css_tdf_encode()
31 ia_css_tdf_vmem_encode( struct ia_css_isp_tdf_vmem_params *to, const struct ia_css_tdf_config *from, size_t size) ia_css_tdf_vmem_encode() argument
47 ia_css_tdf_encode( struct ia_css_isp_tdf_dmem_params *to, const struct ia_css_tdf_config *from, size_t size) ia_css_tdf_encode() argument
[all...]
/kernel/linux/linux-6.6/drivers/staging/media/atomisp/pci/isp/kernels/tdf/tdf_1.0/
H A Dia_css_tdf.host.c32 struct ia_css_isp_tdf_vmem_params *to, in ia_css_tdf_vmem_encode()
40 to->pyramid[0][i] = g_pyramid[i / 8][i % 8]; in ia_css_tdf_vmem_encode()
41 to->threshold_flat[0][i] = from->thres_flat_table[i]; in ia_css_tdf_vmem_encode()
42 to->threshold_detail[0][i] = from->thres_detail_table[i]; in ia_css_tdf_vmem_encode()
48 struct ia_css_isp_tdf_dmem_params *to, in ia_css_tdf_encode()
53 to->Epsilon_0 = from->epsilon_0; in ia_css_tdf_encode()
54 to->Epsilon_1 = from->epsilon_1; in ia_css_tdf_encode()
55 to->EpsScaleText = from->eps_scale_text; in ia_css_tdf_encode()
56 to->EpsScaleEdge = from->eps_scale_edge; in ia_css_tdf_encode()
57 to in ia_css_tdf_encode()
31 ia_css_tdf_vmem_encode( struct ia_css_isp_tdf_vmem_params *to, const struct ia_css_tdf_config *from, size_t size) ia_css_tdf_vmem_encode() argument
47 ia_css_tdf_encode( struct ia_css_isp_tdf_dmem_params *to, const struct ia_css_tdf_config *from, size_t size) ia_css_tdf_encode() argument
[all...]
/kernel/linux/linux-6.6/arch/x86/include/asm/
H A Dstring_32.h7 /* Let gcc decide whether to inline or use the out of line functions */
33 static __always_inline void *__memcpy(void *to, const void *from, size_t n) in __memcpy() argument
43 : "0" (n / 4), "g" (n), "1" ((long)to), "2" ((long)from) in __memcpy()
45 return to; in __memcpy()
52 static __always_inline void *__constant_memcpy(void *to, const void *from, in __constant_memcpy() argument
57 return to; in __constant_memcpy()
61 *(char *)to = *(char *)from; in __constant_memcpy()
62 return to; in __constant_memcpy()
64 *(short *)to = *(short *)from; in __constant_memcpy()
65 return to; in __constant_memcpy()
[all...]

Completed in 9 milliseconds

12345678910>>...116