Home
last modified time | relevance | path

Searched refs:fps (Results 1 – 25 of 81) sorted by relevance

1234

/Linux-v5.4/drivers/gpu/drm/sti/
Dsti_plane.c47 struct sti_fps_info *fps; in sti_plane_update_fps() local
53 fps = &plane->fps_info; in sti_plane_update_fps()
56 fps->curr_field_counter++; in sti_plane_update_fps()
62 fps->curr_frame_counter++; in sti_plane_update_fps()
63 ms_since_last = ktime_to_ms(ktime_sub(now, fps->last_timestamp)); in sti_plane_update_fps()
64 num_frames = fps->curr_frame_counter - fps->last_frame_counter; in sti_plane_update_fps()
69 fps->last_timestamp = now; in sti_plane_update_fps()
70 fps->last_frame_counter = fps->curr_frame_counter; in sti_plane_update_fps()
84 if (fps->curr_field_counter) { in sti_plane_update_fps()
86 num_fields = fps->curr_field_counter - fps->last_field_counter; in sti_plane_update_fps()
[all …]
/Linux-v5.4/arch/arm64/boot/dts/nvidia/
Dtegra210-p2180.dtsi60 function = "fps-out";
62 maxim,active-fps-source = <MAX77620_FPS_SRC_0>;
63 maxim,active-fps-power-up-slot = <7>;
64 maxim,active-fps-power-down-slot = <0>;
69 function = "fps-out";
71 maxim,active-fps-source = <MAX77620_FPS_SRC_0>;
86 fps {
88 maxim,fps-event-source = <MAX77620_FPS_EVENT_SRC_EN0>;
89 maxim,suspend-fps-time-period-us = <1280>;
93 maxim,fps-event-source = <MAX77620_FPS_EVENT_SRC_EN1>;
[all …]
Dtegra210-p3450-0000.dts151 function = "fps-out";
153 maxim,active-fps-source = <MAX77620_FPS_SRC_NONE>;
154 maxim,active-fps-power-up-slot = <0>;
155 maxim,active-fps-power-down-slot = <7>;
160 function = "fps-out";
162 maxim,active-fps-source = <MAX77620_FPS_SRC_0>;
163 maxim,active-fps-power-up-slot = <0>;
164 maxim,active-fps-power-down-slot = <7>;
169 function = "fps-out";
171 maxim,active-fps-source = <MAX77620_FPS_SRC_0>;
[all …]
Dtegra194-p2888.dtsi104 function = "fps-out";
105 maxim,active-fps-source = <MAX77620_FPS_SRC_DEF>;
110 function = "fps-out";
111 maxim,active-fps-source = <MAX77620_FPS_SRC_DEF>;
116 function = "fps-out";
117 maxim,active-fps-source = <MAX77620_FPS_SRC_DEF>;
139 fps {
141 maxim,fps-event-source = <MAX77620_FPS_EVENT_SRC_EN0>;
142 maxim,shutdown-fps-time-period-us = <640>;
146 maxim,fps-event-source = <MAX77620_FPS_EVENT_SRC_EN1>;
[all …]
Dtegra186-p3310.dtsi240 function = "fps-out";
241 maxim,active-fps-source = <MAX77620_FPS_SRC_0>;
246 function = "fps-out";
247 maxim,active-fps-source = <MAX77620_FPS_SRC_1>;
252 function = "fps-out";
253 maxim,active-fps-source = <MAX77620_FPS_SRC_1>;
281 fps {
283 maxim,fps-event-source = <MAX77620_FPS_EVENT_SRC_EN0>;
284 maxim,shutdown-fps-time-period-us = <640>;
288 maxim,fps-event-source = <MAX77620_FPS_EVENT_SRC_EN1>;
[all …]
Dtegra210-smaug.dts1389 function = "fps-out";
1391 maxim,active-fps-source = <MAX77620_FPS_SRC_0>;
1392 maxim,active-fps-power-up-slot = <4>;
1393 maxim,active-fps-power-down-slot = <2>;
1408 fps {
1410 maxim,shutdown-fps-time-period-us = <5120>;
1411 maxim,fps-event-source = <MAX77620_FPS_EVENT_SRC_EN0>;
1415 maxim,shutdown-fps-time-period-us = <5120>;
1416 maxim,fps-event-source = <MAX77620_FPS_EVENT_SRC_EN1>;
1421 maxim,fps-event-source = <MAX77620_FPS_EVENT_SRC_EN0>;
[all …]
Dtegra210-p2894.dtsi1353 function = "fps-out";
1355 maxim,active-fps-source = <MAX77620_FPS_SRC_0>;
1356 maxim,active-fps-power-up-slot = <7>;
1357 maxim,active-fps-power-down-slot = <0>;
1362 function = "fps-out";
1364 maxim,active-fps-source = <MAX77620_FPS_SRC_0>;
1379 maxim,active-fps-source = <MAX77620_FPS_SRC_0>;
1383 maxim,active-fps-source = <MAX77620_FPS_SRC_0>;
1393 fps {
1399 maxim,fps-event-source = <MAX77620_FPS_EVENT_SRC_EN0>;
[all …]
/Linux-v5.4/tools/testing/selftests/powerpc/tm/
Dtm-signal-context-chk-fpu.c35 long tm_signal_self_context_load(pid_t pid, long *gprs, double *fps, vector int *vms, vector int *v…
38 static double fps[] = { variable
55 fail = (ucp->uc_mcontext.fp_regs[FPR14 + i] != fps[i]); in signal_usr1()
59 FPR14 + i, ucp->uc_mcontext.fp_regs[FPR14 + i], fps[i]); in signal_usr1()
65 fail = (tm_ucp->uc_mcontext.fp_regs[FPR14 + i] != fps[NV_FPU_REGS + i]); in signal_usr1()
69 FPR14 + i, tm_ucp->uc_mcontext.fp_regs[FPR14 + i], fps[NV_FPU_REGS + i]); in signal_usr1()
99 rc = tm_signal_self_context_load(pid, NULL, fps, NULL, NULL); in tm_signal_context_chk_fpu()
/Linux-v5.4/Documentation/devicetree/bindings/pinctrl/
Dpinctrl-max77620.txt38 gpio, lpm-control-in, fps-out, 32k-out, sd0-dvs-in, sd1-dvs-in,
46 - maxim,active-fps-source: FPS source for the GPIOs to get
64 - maxim,active-fps-power-up-slot: Sequencing event slot number on which
71 - maxim,active-fps-power-down-slot: Sequencing event slot number on which
78 - maxim,suspend-fps-source: This is same as property
79 "maxim,active-fps-source" but value
83 - maxim,suspend-fps-power-up-slot: This is same as property
84 "maxim,active-fps-power-up-slot" but
91 - maxim,suspend-fps-power-down-slot: This is same as property
92 "maxim,active-fps-power-down-slot" but
[all …]
/Linux-v5.4/arch/sparc/kernel/
Dptrace_32.c329 struct fps { struct
348 struct fps __user *fps; in arch_ptrace() argument
354 fps = (struct fps __user *) addr; in arch_ptrace()
387 &fps->regs[0]); in arch_ptrace()
392 &fps->fsr); in arch_ptrace()
395 if (__put_user(0, &fps->fpqd) || in arch_ptrace()
396 __put_user(0, &fps->flags) || in arch_ptrace()
397 __put_user(0, &fps->extra) || in arch_ptrace()
398 clear_user(fps->fpq, sizeof(fps->fpq))) in arch_ptrace()
408 &fps->regs[0]); in arch_ptrace()
[all …]
Dptrace_64.c916 struct compat_fps __user *fps; in compat_arch_ptrace() local
923 fps = (struct compat_fps __user *) addr; in compat_arch_ptrace()
958 &fps->regs[0]); in compat_arch_ptrace()
963 &fps->fsr); in compat_arch_ptrace()
965 if (__put_user(0, &fps->flags) || in compat_arch_ptrace()
966 __put_user(0, &fps->extra) || in compat_arch_ptrace()
967 __put_user(0, &fps->fpqd) || in compat_arch_ptrace()
968 clear_user(&fps->fpq[0], 32 * sizeof(unsigned int))) in compat_arch_ptrace()
977 &fps->regs[0]); in compat_arch_ptrace()
982 &fps->fsr); in compat_arch_ptrace()
[all …]
/Linux-v5.4/drivers/acpi/
Dfan.c65 struct acpi_fan_fps *fps; member
125 if (fan->fif.fine_grain_ctrl && control < fan->fps[i].control) { in fan_get_state_acpi4()
128 } else if (control == fan->fps[i].control) { in fan_get_state_acpi4()
190 fan->fps[state].control); in fan_set_state_acpi4()
288 fan->fps = devm_kcalloc(&device->dev, in acpi_fan_get_fps()
291 if (!fan->fps) { in acpi_fan_get_fps()
298 struct acpi_buffer fps = { sizeof(fan->fps[i]), &fan->fps[i] }; in acpi_fan_get_fps() local
300 &format, &fps); in acpi_fan_get_fps()
308 sort(fan->fps, fan->fps_count, sizeof(*fan->fps), in acpi_fan_get_fps()
/Linux-v5.4/drivers/mfd/
Dmax77620.c600 int fps; in max77620_i2c_suspend() local
603 for (fps = 0; fps < MAX77620_FPS_COUNT; fps++) { in max77620_i2c_suspend()
604 if (chip->suspend_fps_period[fps] < 0) in max77620_i2c_suspend()
607 ret = max77620_set_fps_period(chip, fps, in max77620_i2c_suspend()
608 chip->suspend_fps_period[fps]); in max77620_i2c_suspend()
651 int fps; in max77620_i2c_resume() local
653 for (fps = 0; fps < MAX77620_FPS_COUNT; fps++) { in max77620_i2c_resume()
654 if (chip->shutdown_fps_period[fps] < 0) in max77620_i2c_resume()
657 ret = max77620_set_fps_period(chip, fps, in max77620_i2c_resume()
658 chip->shutdown_fps_period[fps]); in max77620_i2c_resume()
/Linux-v5.4/drivers/media/usb/pwc/
Dpwc-ctrl.c144 int fps, ret = 0; in set_video_mode_Nala() local
175 fps = frames2table[frames]; in set_video_mode_Nala()
176 pEntry = &Nala_table[size][fps]; in set_video_mode_Nala()
220 int fps, ret = 0; in set_video_mode_Timon() local
230 fps = (frames / 5) - 1; in set_video_mode_Timon()
234 pChoose = &Timon_table[size][fps][*compression]; in set_video_mode_Timon()
254 pdev->vframes = (fps + 1) * 5; in set_video_mode_Timon()
271 int fps, ret = 0; in set_video_mode_Kiara() local
281 fps = (frames / 5) - 1; in set_video_mode_Kiara()
285 pChoose = &Kiara_table[size][fps][*compression]; in set_video_mode_Kiara()
[all …]
/Linux-v5.4/Documentation/devicetree/bindings/mfd/
Dmax77620.txt63 The configuration parameters of FPS is provided through sub-node "fps"
78 -maxim,fps-event-source: u32, FPS event source like external
91 -maxim,shutdown-fps-time-period-us: u32, FPS time period in microseconds
95 -maxim,suspend-fps-time-period-us: u32, FPS time period in microseconds
146 fps {
148 maxim,shutdown-fps-time-period-us = <1280>;
149 maxim,fps-event-source = <MAX77620_FPS_EVENT_SRC_EN1>;
153 maxim,shutdown-fps-time-period-us = <1280>;
154 maxim,fps-event-source = <MAX77620_FPS_EVENT_SRC_EN0>;
158 maxim,shutdown-fps-time-period-us = <1280>;
[all …]
/Linux-v5.4/Documentation/devicetree/bindings/regulator/
Dregulator-max77620.txt44 - maxim,active-fps-source: FPS source for the regulators to get
62 - maxim,active-fps-power-up-slot: Sequencing event slot number on which
69 - maxim,active-fps-power-down-slot: Sequencing event slot number on which
76 - maxim,suspend-fps-source: This is same as property
77 "maxim,active-fps-source" but value
81 - maxim,suspend-fps-power-up-slot: This is same as property
82 "maxim,active-fps-power-up-slot" but
89 - maxim,suspend-fps-power-down-slot: This is same as property
90 "maxim,active-fps-power-down-slot" but
134 maxim,active-fps-source = <MAX77620_FPS_SRC_1>;
[all …]
/Linux-v5.4/drivers/media/pci/solo6x10/
Dsolo6x10-v4l2-enc.c146 solo_enc->bw_weight = max(solo_dev->fps / solo_enc->interval, 1); in solo_update_mode()
195 u16 fps = solo_dev->fps * 1000; in solo_update_mode() local
201 vop[22] = fps >> 4; in solo_update_mode()
202 vop[23] = ((fps << 4) & 0xf0) | 0x0c in solo_update_mode()
1005 fintv->stepwise.min.denominator = solo_dev->fps; in solo_enum_frameintervals()
1008 fintv->stepwise.max.denominator = solo_dev->fps; in solo_enum_frameintervals()
1011 fintv->stepwise.step.denominator = solo_dev->fps; in solo_enum_frameintervals()
1024 cp->timeperframe.denominator = solo_enc->solo_dev->fps; in solo_g_parm()
1032 static inline int calc_interval(u8 fps, u32 n, u32 d) in calc_interval() argument
1036 if (d == fps) in calc_interval()
[all …]
/Linux-v5.4/drivers/media/i2c/
Dmt9v111.c136 unsigned int fps; member
451 unsigned int fps = tpf->numerator ? in mt9v111_calc_frame_rate() local
469 diff = abs(fps - mt9v111_frame_intervals[i]); in mt9v111_calc_frame_rate()
475 fps = mt9v111_frame_intervals[idx]; in mt9v111_calc_frame_rate()
506 diff = abs(fps - t_fps); in mt9v111_calc_frame_rate()
729 unsigned int fps = tpf->numerator ? in mt9v111_s_frame_interval() local
744 if (mt9v111->fps == fps) { in mt9v111_s_frame_interval()
761 if (fps > max_fps) { in mt9v111_s_frame_interval()
768 mt9v111->fps = fps; in mt9v111_s_frame_interval()
785 tpf->denominator = mt9v111->fps; in mt9v111_g_frame_interval()
[all …]
Dov772x.c429 unsigned int fps; member
604 unsigned int fps = tpf->numerator ? in ov772x_select_fps() local
615 diff = abs(fps - ov772x_frame_intervals[i]); in ov772x_select_fps()
626 unsigned int fps, in ov772x_set_frame_rate() argument
652 pclk = fps * fsize; in ov772x_set_frame_rate()
713 tpf->denominator = priv->fps; in ov772x_g_frame_interval()
723 unsigned int fps; in ov772x_s_frame_interval() local
733 fps = ov772x_select_fps(priv, tpf); in ov772x_s_frame_interval()
741 ret = ov772x_set_frame_rate(priv, fps, priv->cfmt, priv->win); in ov772x_s_frame_interval()
747 tpf->denominator = fps; in ov772x_s_frame_interval()
[all …]
/Linux-v5.4/arch/arm/mach-davinci/
Dboard-dm365-evm.c438 .fps = {30000, 1001},
450 .fps = {25, 1},
466 .fps = {5994, 100},
478 .fps = {50, 1},
490 .fps = {60, 1},
506 .fps = {30, 1},
/Linux-v5.4/drivers/scsi/fcoe/
Dfcoe_transport.c469 struct fcoe_percpu_s *fps) in fcoe_get_paged_crc_eof() argument
473 page = fps->crc_eof_page; in fcoe_get_paged_crc_eof()
479 fps->crc_eof_page = page; in fcoe_get_paged_crc_eof()
480 fps->crc_eof_offset = 0; in fcoe_get_paged_crc_eof()
485 fps->crc_eof_offset, tlen); in fcoe_get_paged_crc_eof()
489 fps->crc_eof_offset += sizeof(struct fcoe_crc_eof); in fcoe_get_paged_crc_eof()
491 if (fps->crc_eof_offset >= PAGE_SIZE) { in fcoe_get_paged_crc_eof()
492 fps->crc_eof_page = NULL; in fcoe_get_paged_crc_eof()
493 fps->crc_eof_offset = 0; in fcoe_get_paged_crc_eof()
/Linux-v5.4/drivers/staging/fbtft/
Dfbtft-core.c245 long fps, throughput; in fbtft_update_display() local
297 fps = ktime_us_delta(ts_start, par->update_time); in fbtft_update_display()
299 fps = fps ? 1000000 / fps : 0; in fbtft_update_display()
307 throughput, fps); in fbtft_update_display()
560 unsigned int fps = display->fps; in fbtft_framebuffer_alloc() local
575 if (!fps) in fbtft_framebuffer_alloc()
576 fps = 20; in fbtft_framebuffer_alloc()
586 if (pdata->fps) in fbtft_framebuffer_alloc()
587 fps = pdata->fps; in fbtft_framebuffer_alloc()
665 fbdefio->delay = HZ / fps; in fbtft_framebuffer_alloc()
[all …]
/Linux-v5.4/Documentation/media/v4l-drivers/
Dcpia2.rst37 - Sensor framerate is adjustable (up to 30 fps CIF, 15 fps VGA).
113 any alternate at frame rates down to 15fps. For lower frame rates, it may
118 Alternate bytes/ms 15fps 30fps
162 STV0672, which is capable of up to 30 frames per second (fps) in frame sizes
163 up to CIF, and 15 fps for VGA frames. The STV0676 is an improved version,
164 which can handle up to 30 fps VGA. Both coprocessors can be attached to two
/Linux-v5.4/drivers/media/usb/go7007/
Dgo7007-fw.c778 int fps = go->sensor_framerate / go->fps_scale; in mpeg4_sequence_header() local
797 CODE_ADD(c, fps, 16); in mpeg4_sequence_header()
929 int fps = go->sensor_framerate / go->fps_scale; in brctrl_to_package() local
932 u32 sgop_expt_addr = go->bitrate / 32 * (go->ipb ? 3 : 1) * 1001 / fps; in brctrl_to_package()
933 u32 sgop_peak_addr = peak_rate / 32 * 1001 / fps; in brctrl_to_package()
934 u32 total_expt_addr = go->bitrate / 32 * 1000 / fps * (fps / 1000); in brctrl_to_package()
1078 int fps = go->sensor_framerate / go->fps_scale / 1000; in config_package() local
1080 int brc_window_size = fps; in config_package()
1177 0xbfe7, fps << 8, in config_package()
1203 int fps = go->sensor_framerate / go->fps_scale * in seqhead_to_package() local
[all …]
/Linux-v5.4/drivers/media/pci/tw686x/
Dtw686x-video.c375 static unsigned int tw686x_fps_idx(unsigned int fps, unsigned int max_fps) in tw686x_fps_idx() argument
381 idx = (12 + 15 * fps) / max_fps; in tw686x_fps_idx()
389 delta = real_fps - fps; in tw686x_fps_idx()
403 unsigned int fps) in tw686x_set_framerate() argument
407 i = tw686x_fps_idx(fps, TW686X_MAX_FPS(vc->video_standard)); in tw686x_set_framerate()
409 vc->fps = tw686x_real_fps(i, TW686X_MAX_FPS(vc->video_standard)); in tw686x_set_framerate()
832 tw686x_set_framerate(vc, vc->fps); in tw686x_s_std()
950 cp->timeperframe.denominator = vc->fps; in tw686x_g_parm()
961 unsigned int fps; in tw686x_s_parm() local
966 fps = (!numerator || !denominator) ? 0 : denominator / numerator; in tw686x_s_parm()
[all …]

1234