Home
last modified time | relevance | path

Searched +defs:val +defs:ts (Results 1 – 25 of 246) sorted by relevance

12345678910

/linux-6.14.4/drivers/thermal/tegra/
Dtegra30-tsensor.c76 struct tegra_tsensor *ts; member
90 static int tegra_tsensor_hw_enable(const struct tegra_tsensor *ts) in tegra_tsensor_hw_enable()
92 u32 val; in tegra_tsensor_hw_enable() local
139 static int tegra_tsensor_hw_disable(const struct tegra_tsensor *ts) in tegra_tsensor_hw_disable()
156 const struct tegra_tsensor *ts = data; in devm_tegra_tsensor_hw_disable() local
164 const struct tegra_tsensor *ts = tsc->ts; in tegra_tsensor_get_temp() local
166 u32 val; in tegra_tsensor_get_temp() local
209 static int tegra_tsensor_temp_to_counter(const struct tegra_tsensor *ts, int temp) in tegra_tsensor_temp_to_counter()
222 const struct tegra_tsensor *ts = tsc->ts; in tegra_tsensor_set_trips() local
223 u32 val; in tegra_tsensor_set_trips() local
[all …]
Dsoctherm.c303 struct tegra_soctherm *ts; member
368 static inline void ccroc_writel(struct tegra_soctherm *ts, u32 value, u32 reg) in ccroc_writel()
380 static inline u32 ccroc_readl(struct tegra_soctherm *ts, u32 reg) in ccroc_readl()
389 unsigned int val; in enable_tsensor() local
411 static int translate_temp(u16 val) in translate_temp()
427 u32 val; in tegra_thermctl_get_temp() local
478 struct tegra_soctherm *ts = dev_get_drvdata(dev); in thermtrip_program() local
518 struct tegra_soctherm *ts = dev_get_drvdata(dev); in throttrip_program() local
556 find_throttle_cfg_by_name(struct tegra_soctherm *ts, const char *name) in find_throttle_cfg_by_name()
567 static int tsensor_group_thermtrip_get(struct tegra_soctherm *ts, int id) in tsensor_group_thermtrip_get()
[all …]
/linux-6.14.4/drivers/input/touchscreen/
Dgoodix_fwupload.c89 u8 val; in goodix_enter_upload_mode() local
159 u8 val; in goodix_start_firmware() local
189 static int goodix_firmware_upload(struct goodix_ts_data *ts) in goodix_firmware_upload()
262 static int goodix_prepare_bak_ref(struct goodix_ts_data *ts) in goodix_prepare_bak_ref()
309 static int goodix_send_main_clock(struct goodix_ts_data *ts) in goodix_send_main_clock()
330 int goodix_firmware_check(struct goodix_ts_data *ts) in goodix_firmware_check()
348 bool goodix_handle_fw_request(struct goodix_ts_data *ts) in goodix_handle_fw_request()
351 u8 val; in goodix_handle_fw_request() local
406 void goodix_save_bak_ref(struct goodix_ts_data *ts) in goodix_save_bak_ref()
409 u8 val; in goodix_save_bak_ref() local
Dad7879.c135 static int ad7879_read(struct ad7879 *ts, u8 reg) in ad7879_read()
137 unsigned int val; in ad7879_read() local
150 static int ad7879_write(struct ad7879 *ts, u8 reg, u16 val) in ad7879_write()
165 static int ad7879_report(struct ad7879 *ts) in ad7879_report()
229 static void ad7879_ts_event_release(struct ad7879 *ts) in ad7879_ts_event_release()
240 struct ad7879 *ts = from_timer(ts, t, timer); in ad7879_timer() local
247 struct ad7879 *ts = handle; in ad7879_irq() local
261 static void __ad7879_enable(struct ad7879 *ts) in __ad7879_enable()
270 static void __ad7879_disable(struct ad7879 *ts) in __ad7879_disable()
285 struct ad7879 *ts = input_get_drvdata(input); in ad7879_open() local
[all …]
Dad7877.c230 static int ad7877_write(struct spi_device *spi, u16 reg, u16 val) in ad7877_write()
256 struct ad7877 *ts = spi_get_drvdata(spi); in ad7877_read_adc() local
319 static int ad7877_process_data(struct ad7877 *ts) in ad7877_process_data()
367 static inline void ad7877_ts_event_release(struct ad7877 *ts) in ad7877_ts_event_release()
378 struct ad7877 *ts = from_timer(ts, t, timer); in ad7877_timer() local
388 struct ad7877 *ts = handle; in ad7877_irq() local
410 struct ad7877 *ts = data; in ad7877_disable() local
430 static void ad7877_enable(struct ad7877 *ts) in ad7877_enable()
465 struct ad7877 *ts = dev_get_drvdata(dev); in SHOW() local
474 struct ad7877 *ts = dev_get_drvdata(dev); in ad7877_disable_store() local
[all …]
Dhideep.c179 static int hideep_pgm_w_mem(struct hideep_ts *ts, u32 addr, in hideep_pgm_w_mem()
206 static int hideep_pgm_r_mem(struct hideep_ts *ts, u32 addr, in hideep_pgm_r_mem()
240 static int hideep_pgm_r_reg(struct hideep_ts *ts, u32 addr, u32 *val) in hideep_pgm_r_reg()
257 static int hideep_pgm_w_reg(struct hideep_ts *ts, u32 addr, u32 val) in hideep_pgm_w_reg()
302 static void hideep_pgm_set(struct hideep_ts *ts) in hideep_pgm_set()
313 static int hideep_pgm_get_pattern(struct hideep_ts *ts, u32 *pattern) in hideep_pgm_get_pattern()
341 static int hideep_enter_pgm(struct hideep_ts *ts) in hideep_enter_pgm()
370 static int hideep_nvm_unlock(struct hideep_ts *ts) in hideep_nvm_unlock()
400 static int hideep_check_status(struct hideep_ts *ts) in hideep_check_status()
417 static int hideep_program_page(struct hideep_ts *ts, u32 addr, in hideep_program_page()
[all …]
Dads7846.c219 static int get_pendown_state(struct ads7846 *ts) in get_pendown_state()
227 static void ads7846_report_pen_up(struct ads7846 *ts) in ads7846_report_pen_up()
240 static void ads7846_stop(struct ads7846 *ts) in ads7846_stop()
252 static void ads7846_restart(struct ads7846 *ts) in ads7846_restart()
267 static void __ads7846_disable(struct ads7846 *ts) in __ads7846_disable()
279 static void __ads7846_enable(struct ads7846 *ts) in __ads7846_enable()
290 static void ads7846_disable(struct ads7846 *ts) in ads7846_disable()
305 static void ads7846_enable(struct ads7846 *ts) in ads7846_enable()
356 struct ads7846 *ts = dev_get_drvdata(dev); in ads7846_read12_ser() local
441 struct ads7846 *ts = dev_get_drvdata(dev); in ads7845_read12_ser() local
[all …]
Dtsc2007_core.c34 u16 val; in tsc2007_xfer() local
89 bool tsc2007_is_pen_down(struct tsc2007 *ts) in tsc2007_is_pen_down()
113 struct tsc2007 *ts = handle; in tsc2007_soft_irq() local
175 static void tsc2007_stop(struct tsc2007 *ts) in tsc2007_stop()
186 struct tsc2007 *ts = input_get_drvdata(input_dev); in tsc2007_open() local
206 struct tsc2007 *ts = input_get_drvdata(input_dev); in tsc2007_close() local
214 struct tsc2007 *ts = i2c_get_clientdata(client); in tsc2007_get_pendown_state_gpio() local
219 static int tsc2007_probe_properties(struct device *dev, struct tsc2007 *ts) in tsc2007_probe_properties()
262 static int tsc2007_probe_pdev(struct device *dev, struct tsc2007 *ts, in tsc2007_probe_pdev()
297 struct tsc2007 *ts; in tsc2007_probe() local
Dstmpe-ts.c103 struct stmpe_touch *ts = in stmpe_work() local
133 struct stmpe_touch *ts = data; in stmpe_ts_handler() local
174 static int stmpe_init_hw(struct stmpe_touch *ts) in stmpe_init_hw()
238 struct stmpe_touch *ts = input_get_drvdata(dev); in stmpe_ts_open() local
251 struct stmpe_touch *ts = input_get_drvdata(dev); in stmpe_ts_close() local
260 struct stmpe_touch *ts) in stmpe_ts_get_platform_info()
263 u32 val; in stmpe_ts_get_platform_info() local
290 struct stmpe_touch *ts; in stmpe_input_probe() local
355 struct stmpe_touch *ts = platform_get_drvdata(pdev); in stmpe_ts_remove() local
Dmxs-lradc-ts.c91 static bool mxs_lradc_check_touch_event(struct mxs_lradc_ts *ts) in mxs_lradc_check_touch_event()
97 static void mxs_lradc_map_ts_channel(struct mxs_lradc_ts *ts, unsigned int vch, in mxs_lradc_map_ts_channel()
106 static void mxs_lradc_setup_ts_channel(struct mxs_lradc_ts *ts, unsigned int ch) in mxs_lradc_setup_ts_channel()
160 static void mxs_lradc_setup_ts_pressure(struct mxs_lradc_ts *ts, in mxs_lradc_setup_ts_pressure()
208 static unsigned int mxs_lradc_ts_read_raw_channel(struct mxs_lradc_ts *ts, in mxs_lradc_ts_read_raw_channel()
212 unsigned int num_samples, val; in mxs_lradc_ts_read_raw_channel() local
224 static unsigned int mxs_lradc_read_ts_pressure(struct mxs_lradc_ts *ts, in mxs_lradc_read_ts_pressure()
272 static void mxs_lradc_setup_touch_detection(struct mxs_lradc_ts *ts) in mxs_lradc_setup_touch_detection()
300 static void mxs_lradc_prepare_x_pos(struct mxs_lradc_ts *ts) in mxs_lradc_prepare_x_pos()
326 static void mxs_lradc_prepare_y_pos(struct mxs_lradc_ts *ts) in mxs_lradc_prepare_y_pos()
[all …]
Drohm_bu21023.c313 static int rohm_ts_manual_calibration(struct rohm_ts_data *ts) in rohm_ts_manual_calibration()
326 s32 val; in rohm_ts_manual_calibration() local
522 struct rohm_ts_data *ts = dev_id; in rohm_ts_soft_irq() local
728 static int rohm_ts_update_setting(struct rohm_ts_data *ts, in rohm_ts_update_setting()
755 struct rohm_ts_data *ts = i2c_get_clientdata(client); in swap_xy_show() local
764 struct rohm_ts_data *ts = i2c_get_clientdata(client); in swap_xy_store() local
765 unsigned int val; in swap_xy_store() local
780 struct rohm_ts_data *ts = i2c_get_clientdata(client); in inv_x_show() local
789 struct rohm_ts_data *ts = i2c_get_clientdata(client); in inv_x_store() local
790 unsigned int val; in inv_x_store() local
[all …]
/linux-6.14.4/arch/sparc/vdso/
Dvclock_gettime.c66 notrace static long vdso_fallback_gettime(long clock, struct __kernel_old_timespec *ts) in vdso_fallback_gettime()
89 notrace static __always_inline u64 __shr64(u64 val, int amt) in __shr64()
110 notrace static __always_inline u64 __shr64(u64 val, int amt) in __shr64()
167 struct __kernel_old_timespec *ts) in do_realtime()
187 struct __kernel_old_timespec *ts) in do_realtime_stick()
207 struct __kernel_old_timespec *ts) in do_monotonic()
227 struct __kernel_old_timespec *ts) in do_monotonic_stick()
247 struct __kernel_old_timespec *ts) in do_realtime_coarse()
260 struct __kernel_old_timespec *ts) in do_monotonic_coarse()
274 __vdso_clock_gettime(clockid_t clock, struct __kernel_old_timespec *ts) in __vdso_clock_gettime()
[all …]
/linux-6.14.4/drivers/net/ethernet/marvell/mvpp2/
Dmvpp2_tai.c68 u32 val; in mvpp2_tai_modify() local
75 static void mvpp2_tai_write(u32 val, void __iomem *reg) in mvpp2_tai_write()
90 static void mvpp22_tai_read_ts(struct timespec64 *ts, void __iomem *base) in mvpp22_tai_read_ts()
104 static void mvpp2_tai_write_tlv(const struct timespec64 *ts, u32 frac, in mvpp2_tai_write_tlv()
154 u64 val = tai->period * abs_scaled_ppm >> 4; in mvpp22_calc_frac_ppm() local
171 u64 val; in mvpp22_tai_adjfine() local
208 struct timespec64 ts; in mvpp22_tai_adjtime() local
236 struct timespec64 *ts, in mvpp22_tai_gettimex64()
277 const struct timespec64 *ts) in mvpp22_tai_settime64()
348 struct timespec64 ts; in mvpp22_tai_tstamp() local
/linux-6.14.4/drivers/mfd/
Ducb1x00-ts.c54 static inline void ucb1x00_ts_evt_add(struct ucb1x00_ts *ts, u16 pressure, u16 x, u16 y) in ucb1x00_ts_evt_add()
65 static inline void ucb1x00_ts_event_release(struct ucb1x00_ts *ts) in ucb1x00_ts_event_release()
77 static inline void ucb1x00_ts_mode_int(struct ucb1x00_ts *ts) in ucb1x00_ts_mode_int()
89 static inline unsigned int ucb1x00_ts_read_pressure(struct ucb1x00_ts *ts) in ucb1x00_ts_read_pressure()
116 static inline unsigned int ucb1x00_ts_read_xpos(struct ucb1x00_ts *ts) in ucb1x00_ts_read_xpos()
143 static inline unsigned int ucb1x00_ts_read_ypos(struct ucb1x00_ts *ts) in ucb1x00_ts_read_ypos()
169 static inline unsigned int ucb1x00_ts_read_xres(struct ucb1x00_ts *ts) in ucb1x00_ts_read_xres()
181 static inline unsigned int ucb1x00_ts_read_yres(struct ucb1x00_ts *ts) in ucb1x00_ts_read_yres()
189 static inline int ucb1x00_ts_pen_down(struct ucb1x00_ts *ts) in ucb1x00_ts_pen_down()
191 unsigned int val = ucb1x00_reg_read(ts->ucb, UCB_TS_CR); in ucb1x00_ts_pen_down() local
[all …]
/linux-6.14.4/drivers/iio/common/inv_sensors/
Dinv_sensors_timestamp.c22 static void inv_update_acc(struct inv_sensors_timestamp_acc *acc, uint32_t val) in inv_update_acc()
41 void inv_sensors_timestamp_init(struct inv_sensors_timestamp *ts, in inv_sensors_timestamp_init()
60 int inv_sensors_timestamp_update_odr(struct inv_sensors_timestamp *ts, in inv_sensors_timestamp_update_odr()
81 static bool inv_validate_period(struct inv_sensors_timestamp *ts, uint32_t period) in inv_validate_period()
94 static bool inv_update_chip_period(struct inv_sensors_timestamp *ts, in inv_update_chip_period()
110 static void inv_align_timestamp_it(struct inv_sensors_timestamp *ts) in inv_align_timestamp_it()
135 void inv_sensors_timestamp_interrupt(struct inv_sensors_timestamp *ts, in inv_sensors_timestamp_interrupt()
171 void inv_sensors_timestamp_apply_odr(struct inv_sensors_timestamp *ts, in inv_sensors_timestamp_apply_odr()
/linux-6.14.4/sound/soc/meson/
Daxg-tdm-formatter.c30 struct axg_tdm_stream *ts, in axg_tdm_formatter_set_channel_masks()
34 u32 val[AXG_TDM_NUM_LANES]; in axg_tdm_formatter_set_channel_masks() local
82 struct axg_tdm_stream *ts = formatter->stream; in axg_tdm_formatter_enable() local
157 struct axg_tdm_stream *ts = formatter->stream; in axg_tdm_formatter_attach() local
179 struct axg_tdm_stream *ts = formatter->stream; in axg_tdm_formatter_dettach() local
191 struct axg_tdm_stream *ts = formatter->drv->ops->get_stream(w); in axg_tdm_formatter_power_up() local
328 int axg_tdm_stream_start(struct axg_tdm_stream *ts) in axg_tdm_stream_start()
351 void axg_tdm_stream_stop(struct axg_tdm_stream *ts) in axg_tdm_stream_stop()
369 struct axg_tdm_stream *ts; in axg_tdm_stream_alloc() local
382 void axg_tdm_stream_free(struct axg_tdm_stream *ts) in axg_tdm_stream_free()
[all …]
/linux-6.14.4/drivers/net/phy/mscc/
Dmscc_ptp.c27 static int phy_ts_base_write(struct phy_device *phydev, u32 regnum, u16 val) in phy_ts_base_write()
67 u32 val, cnt = 0; in vsc85xx_ts_read_csr() local
107 u16 addr, u32 val) in vsc85xx_ts_write_csr()
190 u32 val = 0; in vsc85xx_ts_fsb_init() local
247 u32 val, ingr_latency, egr_latency; in vsc85xx_ts_set_latencies() local
346 u32 val; in vsc85xx_ts_eth_cmp1_sig() local
513 u32 val; in vsc85xx_ptp_cmp_init() local
543 u32 val; in vsc85xx_eth_cmp1_init() local
575 u32 val; in vsc85xx_ip_cmp1_init() local
616 u32 val; in vsc85xx_adjfine() local
[all …]
/linux-6.14.4/drivers/ptp/
Dptp_clockmatrix.c106 struct timespec64 *ts) in char_array_to_timespec()
134 static int timespec_to_char_array(struct timespec64 const *ts, in timespec_to_char_array()
246 u8 val = 0; in arm_tod_read_trig_sel_refclk() local
399 struct timespec64 *ts) in _idtcm_gettime_triggered()
424 struct timespec64 *ts, u8 timeout) in _idtcm_gettime()
461 struct timespec64 ts; in idtcm_extts_check_channel() local
485 struct timespec64 *ts) in _idtcm_gettime_immediate()
490 u8 val = (SCSR_TOD_READ_TRIG_SEL_IMMEDIATE << TOD_READ_TRIGGER_SHIFT); in _idtcm_gettime_immediate() local
508 u8 val; in _sync_pll_output() local
706 struct timespec64 const *ts, in _idtcm_set_dpll_hw_tod()
[all …]
Dptp_idt82p33.c55 static void idt82p33_byte_array_to_timespec(struct timespec64 *ts, in idt82p33_byte_array_to_timespec()
78 static void idt82p33_timespec_to_byte_array(struct timespec64 const *ts, in idt82p33_timespec_to_byte_array()
156 struct timespec64 *ts) in idt82p33_get_extts()
315 struct timespec64 ts; in idt82p33_extts_check_channel() local
373 struct timespec64 *ts) in _idt82p33_gettime()
416 struct timespec64 const *ts) in _idt82p33_settime()
460 struct timespec64 ts; in _idt82p33_adjtime_immediate() local
486 struct timespec64 ts; in _idt82p33_adjtime_internal_triggered() local
807 u8 val) in idt82p33_check_and_set_masks()
885 u8 val; in idt82p33_output_enable() local
[all …]
/linux-6.14.4/include/linux/
Dtime_namespace.h62 struct timespec64 val; member
68 static inline void timens_add_monotonic(struct timespec64 *ts) in timens_add_monotonic()
75 static inline void timens_add_boottime(struct timespec64 *ts) in timens_add_boottime()
89 static inline void timens_sub_boottime(struct timespec64 *ts) in timens_sub_boottime()
152 static inline void timens_add_monotonic(struct timespec64 *ts) { } in timens_add_monotonic()
153 static inline void timens_add_boottime(struct timespec64 *ts) { } in timens_add_boottime()
160 static inline void timens_sub_boottime(struct timespec64 *ts) { } in timens_sub_boottime()
/linux-6.14.4/drivers/net/ethernet/mscc/
Docelot_ptp.c19 int ocelot_ptp_gettime64(struct ptp_clock_info *ptp, struct timespec64 *ts) in ocelot_ptp_gettime64()
24 u32 val; in ocelot_ptp_gettime64() local
54 const struct timespec64 *ts) in ocelot_ptp_settime64()
58 u32 val; in ocelot_ptp_settime64() local
95 u32 val; in ocelot_ptp_adjtime() local
123 struct timespec64 ts; in ocelot_ptp_adjtime() local
210 u32 val; in ocelot_ptp_enable() local
807 struct timespec64 *ts) in ocelot_get_hwtimestamp()
810 u32 val; in ocelot_get_hwtimestamp() local
840 u32 val, id, seqid, txport; in ocelot_get_txtstamp() local
[all …]
/linux-6.14.4/drivers/input/keyboard/
Dqt1050.c223 static bool qt1050_identify(struct qt1050_priv *ts) in qt1050_identify()
225 unsigned int val; in qt1050_identify() local
255 struct qt1050_priv *ts = dev_id; in qt1050_irq_threaded() local
258 unsigned int val; in qt1050_irq_threaded() local
306 static int qt1050_apply_fw_data(struct qt1050_priv *ts) in qt1050_apply_fw_data()
346 static int qt1050_parse_fw(struct qt1050_priv *ts) in qt1050_parse_fw()
430 struct qt1050_priv *ts; in qt1050_probe() local
553 struct qt1050_priv *ts = i2c_get_clientdata(client); in qt1050_suspend() local
569 struct qt1050_priv *ts = i2c_get_clientdata(client); in qt1050_resume() local
/linux-6.14.4/drivers/gpu/drm/panel/
Dpanel-raspberrypi-touchscreen.c219 static int rpi_touchscreen_i2c_read(struct rpi_touchscreen *ts, u8 reg) in rpi_touchscreen_i2c_read()
224 static void rpi_touchscreen_i2c_write(struct rpi_touchscreen *ts, in rpi_touchscreen_i2c_write()
225 u8 reg, u8 val) in rpi_touchscreen_i2c_write()
234 static int rpi_touchscreen_write(struct rpi_touchscreen *ts, u16 reg, u32 val) in rpi_touchscreen_write()
252 struct rpi_touchscreen *ts = panel_to_ts(panel); in rpi_touchscreen_disable() local
269 struct rpi_touchscreen *ts = panel_to_ts(panel); in rpi_touchscreen_prepare() local
302 struct rpi_touchscreen *ts = panel_to_ts(panel); in rpi_touchscreen_enable() local
366 struct rpi_touchscreen *ts; in rpi_touchscreen_probe() local
448 struct rpi_touchscreen *ts = i2c_get_clientdata(i2c); in rpi_touchscreen_remove() local
/linux-6.14.4/samples/bpf/
Dlathist_kern.c32 u64 *ts = bpf_map_lookup_elem(&my_map, &cpu); in bpf_prog1() local
74 u64 *ts, cur_ts, delta; in bpf_prog2() local
76 long *val; in bpf_prog2() local
/linux-6.14.4/kernel/time/
Dtick-sched.c184 static inline int tick_sched_flag_test(struct tick_sched *ts, in tick_sched_flag_test()
190 static inline void tick_sched_flag_set(struct tick_sched *ts, in tick_sched_flag_set()
197 static inline void tick_sched_flag_clear(struct tick_sched *ts, in tick_sched_flag_clear()
206 static void tick_sched_do_timer(struct tick_sched *ts, ktime_t now) in tick_sched_do_timer()
253 static void tick_sched_handle(struct tick_sched *ts, struct pt_regs *regs) in tick_sched_handle()
286 struct tick_sched *ts = container_of(timer, struct tick_sched, sched_timer); in tick_nohz_handler() local
323 int val = atomic_read(dep); in check_tick_dependency() local
358 static bool can_stop_full_tick(int cpu, struct tick_sched *ts) in can_stop_full_tick()
508 struct tick_sched *ts; in tick_nohz_dep_set_cpu() local
530 struct tick_sched *ts = per_cpu_ptr(&tick_cpu_sched, cpu); in tick_nohz_dep_clear_cpu() local
[all …]

12345678910