/Linux-v4.19/drivers/gpu/drm/sti/ |
D | sti_plane.c | 45 struct sti_fps_info *fps; in sti_plane_update_fps() local 51 fps = &plane->fps_info; in sti_plane_update_fps() 54 fps->curr_field_counter++; in sti_plane_update_fps() 60 fps->curr_frame_counter++; in sti_plane_update_fps() 61 ms_since_last = ktime_to_ms(ktime_sub(now, fps->last_timestamp)); in sti_plane_update_fps() 62 num_frames = fps->curr_frame_counter - fps->last_frame_counter; in sti_plane_update_fps() 67 fps->last_timestamp = now; in sti_plane_update_fps() 68 fps->last_frame_counter = fps->curr_frame_counter; in sti_plane_update_fps() 82 if (fps->curr_field_counter) { in sti_plane_update_fps() 84 num_fields = fps->curr_field_counter - fps->last_field_counter; in sti_plane_update_fps() [all …]
|
/Linux-v4.19/arch/arm64/boot/dts/nvidia/ |
D | tegra210-p2180.dtsi | 60 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 …]
|
D | tegra194-p2888.dtsi | 100 function = "fps-out"; 101 maxim,active-fps-source = <MAX77620_FPS_SRC_DEF>; 106 function = "fps-out"; 107 maxim,active-fps-source = <MAX77620_FPS_SRC_DEF>; 112 function = "fps-out"; 113 maxim,active-fps-source = <MAX77620_FPS_SRC_DEF>; 135 fps { 137 maxim,fps-event-source = <MAX77620_FPS_EVENT_SRC_EN0>; 138 maxim,shutdown-fps-time-period-us = <640>; 142 maxim,fps-event-source = <MAX77620_FPS_EVENT_SRC_EN1>; [all …]
|
D | tegra186-p3310.dtsi | 183 function = "fps-out"; 184 maxim,active-fps-source = <MAX77620_FPS_SRC_0>; 189 function = "fps-out"; 190 maxim,active-fps-source = <MAX77620_FPS_SRC_1>; 195 function = "fps-out"; 196 maxim,active-fps-source = <MAX77620_FPS_SRC_1>; 224 fps { 226 maxim,fps-event-source = <MAX77620_FPS_EVENT_SRC_EN0>; 227 maxim,shutdown-fps-time-period-us = <640>; 231 maxim,fps-event-source = <MAX77620_FPS_EVENT_SRC_EN1>; [all …]
|
D | tegra210-smaug.dts | 1370 function = "fps-out"; 1372 maxim,active-fps-source = <MAX77620_FPS_SRC_0>; 1373 maxim,active-fps-power-up-slot = <4>; 1374 maxim,active-fps-power-down-slot = <2>; 1389 fps { 1391 maxim,shutdown-fps-time-period-us = <5120>; 1392 maxim,fps-event-source = <MAX77620_FPS_EVENT_SRC_EN0>; 1396 maxim,shutdown-fps-time-period-us = <5120>; 1397 maxim,fps-event-source = <MAX77620_FPS_EVENT_SRC_EN1>; 1402 maxim,fps-event-source = <MAX77620_FPS_EVENT_SRC_EN0>; [all …]
|
/Linux-v4.19/Documentation/devicetree/bindings/pinctrl/ |
D | pinctrl-max77620.txt | 38 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-v4.19/arch/sparc/kernel/ |
D | ptrace_32.c | 329 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 …]
|
D | ptrace_64.c | 915 struct compat_fps __user *fps; in compat_arch_ptrace() local 922 fps = (struct compat_fps __user *) addr; in compat_arch_ptrace() 957 &fps->regs[0]); in compat_arch_ptrace() 962 &fps->fsr); in compat_arch_ptrace() 964 if (__put_user(0, &fps->flags) || in compat_arch_ptrace() 965 __put_user(0, &fps->extra) || in compat_arch_ptrace() 966 __put_user(0, &fps->fpqd) || in compat_arch_ptrace() 967 clear_user(&fps->fpq[0], 32 * sizeof(unsigned int))) in compat_arch_ptrace() 976 &fps->regs[0]); in compat_arch_ptrace() 981 &fps->fsr); in compat_arch_ptrace() [all …]
|
/Linux-v4.19/tools/testing/selftests/powerpc/tm/ |
D | tm-signal-context-chk-fpu.c | 38 long tm_signal_self_context_load(pid_t pid, long *gprs, double *fps, vector int *vms, vector int *v… 41 static double fps[] = { variable 55 fail = (ucp->uc_mcontext.fp_regs[i + 14] != fps[i]); in signal_usr1() 56 fail |= (tm_ucp->uc_mcontext.fp_regs[i + 14] != fps[i + NV_FPU_REGS]); in signal_usr1() 81 rc = tm_signal_self_context_load(pid, NULL, fps, NULL, NULL); in tm_signal_context_chk_fpu()
|
/Linux-v4.19/drivers/acpi/ |
D | fan.c | 78 struct acpi_fan_fps *fps; member 138 if (fan->fif.fine_grain_ctrl && control < fan->fps[i].control) { in fan_get_state_acpi4() 141 } else if (control == fan->fps[i].control) { in fan_get_state_acpi4() 203 fan->fps[state].control); in fan_set_state_acpi4() 301 fan->fps = devm_kcalloc(&device->dev, in acpi_fan_get_fps() 304 if (!fan->fps) { in acpi_fan_get_fps() 311 struct acpi_buffer fps = { sizeof(fan->fps[i]), &fan->fps[i] }; in acpi_fan_get_fps() local 313 &format, &fps); in acpi_fan_get_fps() 321 sort(fan->fps, fan->fps_count, sizeof(*fan->fps), in acpi_fan_get_fps()
|
/Linux-v4.19/drivers/mfd/ |
D | max77620.c | 520 int fps; in max77620_i2c_suspend() local 523 for (fps = 0; fps < MAX77620_FPS_COUNT; fps++) { in max77620_i2c_suspend() 524 if (chip->suspend_fps_period[fps] < 0) in max77620_i2c_suspend() 527 ret = max77620_set_fps_period(chip, fps, in max77620_i2c_suspend() 528 chip->suspend_fps_period[fps]); in max77620_i2c_suspend() 568 int fps; in max77620_i2c_resume() local 570 for (fps = 0; fps < MAX77620_FPS_COUNT; fps++) { in max77620_i2c_resume() 571 if (chip->shutdown_fps_period[fps] < 0) in max77620_i2c_resume() 574 ret = max77620_set_fps_period(chip, fps, in max77620_i2c_resume() 575 chip->shutdown_fps_period[fps]); in max77620_i2c_resume()
|
/Linux-v4.19/drivers/media/usb/pwc/ |
D | pwc-ctrl.c | 156 int fps, ret = 0; in set_video_mode_Nala() local 187 fps = frames2table[frames]; in set_video_mode_Nala() 188 pEntry = &Nala_table[size][fps]; in set_video_mode_Nala() 232 int fps, ret = 0; in set_video_mode_Timon() local 242 fps = (frames / 5) - 1; in set_video_mode_Timon() 247 pChoose = &Timon_table[size][fps][*compression]; in set_video_mode_Timon() 266 pdev->vframes = (fps + 1) * 5; in set_video_mode_Timon() 283 int fps, ret = 0; in set_video_mode_Kiara() local 293 fps = (frames / 5) - 1; in set_video_mode_Kiara() 297 pChoose = &Kiara_table[size][fps][*compression]; in set_video_mode_Kiara() [all …]
|
/Linux-v4.19/Documentation/devicetree/bindings/mfd/ |
D | max77620.txt | 57 The configuration parameters of FPS is provided through sub-node "fps" 72 -maxim,fps-event-source: u32, FPS event source like external 85 -maxim,shutdown-fps-time-period-us: u32, FPS time period in microseconds 89 -maxim,suspend-fps-time-period-us: u32, FPS time period in microseconds 139 fps { 141 maxim,shutdown-fps-time-period-us = <1280>; 142 maxim,fps-event-source = <MAX77620_FPS_EVENT_SRC_EN1>; 146 maxim,shutdown-fps-time-period-us = <1280>; 147 maxim,fps-event-source = <MAX77620_FPS_EVENT_SRC_EN0>; 151 maxim,shutdown-fps-time-period-us = <1280>; [all …]
|
/Linux-v4.19/Documentation/devicetree/bindings/regulator/ |
D | regulator-max77620.txt | 44 - 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-v4.19/drivers/media/pci/solo6x10/ |
D | solo6x10-v4l2-enc.c | 155 solo_enc->bw_weight = max(solo_dev->fps / solo_enc->interval, 1); in solo_update_mode() 204 u16 fps = solo_dev->fps * 1000; in solo_update_mode() local 210 vop[22] = fps >> 4; in solo_update_mode() 211 vop[23] = ((fps << 4) & 0xf0) | 0x0c in solo_update_mode() 1025 fintv->stepwise.min.denominator = solo_dev->fps; in solo_enum_frameintervals() 1028 fintv->stepwise.max.denominator = solo_dev->fps; in solo_enum_frameintervals() 1031 fintv->stepwise.step.denominator = solo_dev->fps; in solo_enum_frameintervals() 1044 cp->timeperframe.denominator = solo_enc->solo_dev->fps; in solo_g_parm() 1052 static inline int calc_interval(u8 fps, u32 n, u32 d) in calc_interval() argument 1056 if (d == fps) in calc_interval() [all …]
|
/Linux-v4.19/drivers/media/i2c/ |
D | mt9v111.c | 136 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 …]
|
D | ov772x.c | 426 unsigned int fps; member 634 unsigned int fps = tpf->numerator ? in ov772x_select_fps() local 645 diff = abs(fps - ov772x_frame_intervals[i]); in ov772x_select_fps() 656 unsigned int fps, in ov772x_set_frame_rate() argument 683 pclk = fps * fsize; in ov772x_set_frame_rate() 744 tpf->denominator = priv->fps; in ov772x_g_frame_interval() 754 unsigned int fps; in ov772x_s_frame_interval() local 764 fps = ov772x_select_fps(priv, tpf); in ov772x_s_frame_interval() 772 ret = ov772x_set_frame_rate(priv, fps, priv->cfmt, priv->win); in ov772x_s_frame_interval() 778 tpf->denominator = fps; in ov772x_s_frame_interval() [all …]
|
/Linux-v4.19/arch/arm/mach-davinci/ |
D | board-dm365-evm.c | 419 .fps = {30000, 1001}, 431 .fps = {25, 1}, 447 .fps = {5994, 100}, 459 .fps = {50, 1}, 471 .fps = {60, 1}, 487 .fps = {30, 1},
|
/Linux-v4.19/drivers/scsi/fcoe/ |
D | fcoe_transport.c | 481 struct fcoe_percpu_s *fps) in fcoe_get_paged_crc_eof() argument 485 page = fps->crc_eof_page; in fcoe_get_paged_crc_eof() 491 fps->crc_eof_page = page; in fcoe_get_paged_crc_eof() 492 fps->crc_eof_offset = 0; in fcoe_get_paged_crc_eof() 497 fps->crc_eof_offset, tlen); in fcoe_get_paged_crc_eof() 501 fps->crc_eof_offset += sizeof(struct fcoe_crc_eof); in fcoe_get_paged_crc_eof() 503 if (fps->crc_eof_offset >= PAGE_SIZE) { in fcoe_get_paged_crc_eof() 504 fps->crc_eof_page = NULL; in fcoe_get_paged_crc_eof() 505 fps->crc_eof_offset = 0; in fcoe_get_paged_crc_eof()
|
/Linux-v4.19/Documentation/media/v4l-drivers/ |
D | cpia2.rst | 35 - Sensor framerate is adjustable (up to 30 fps CIF, 15 fps VGA). 111 any alternate at frame rates down to 15fps. For lower frame rates, it may 116 Alternate bytes/ms 15fps 30fps 160 STV0672, which is capable of up to 30 frames per second (fps) in frame sizes 161 up to CIF, and 15 fps for VGA frames. The STV0676 is an improved version, 162 which can handle up to 30 fps VGA. Both coprocessors can be attached to two
|
D | zoran.rst | 31 Norms: PAL, SECAM (720x576 @ 25 fps), NTSC (720x480 @ 29.97 fps) 52 Norms: PAL, SECAM (720x576 @ 25 fps), NTSC (720x480 @ 29.97 fps) 73 Norms: PAL (720x576 @ 25 fps), NTSC (720x480 @ 29.97 fps) 90 Norms: PAL (720x576 @ 25 fps), NTSC (720x480 @ 29.97 fps) 107 Norms: PAL, SECAM (768x576 @ 25 fps), NTSC (640x480 @ 29.97 fps) 124 Norms: PAL, SECAM (768x576 @ 25 fps), NTSC (640x480 @ 29.97 fps) 142 Norms: PAL, SECAM (768x576 @ 25 fps), NTSC (640x480 @ 29.97 fps) 160 Norms: PAL, SECAM (768x576 @ 25 fps), NTSC (640x480 @ 29.97 fps) 178 Norms: PAL, SECAM (768x576 @ 25 fps), NTSC (640x480 @ 29.97 fps)
|
/Linux-v4.19/drivers/media/usb/go7007/ |
D | go7007-fw.c | 786 int fps = go->sensor_framerate / go->fps_scale; in mpeg4_sequence_header() local 805 CODE_ADD(c, fps, 16); in mpeg4_sequence_header() 937 int fps = go->sensor_framerate / go->fps_scale; in brctrl_to_package() local 940 u32 sgop_expt_addr = go->bitrate / 32 * (go->ipb ? 3 : 1) * 1001 / fps; in brctrl_to_package() 941 u32 sgop_peak_addr = peak_rate / 32 * 1001 / fps; in brctrl_to_package() 942 u32 total_expt_addr = go->bitrate / 32 * 1000 / fps * (fps / 1000); in brctrl_to_package() 1086 int fps = go->sensor_framerate / go->fps_scale / 1000; in config_package() local 1088 int brc_window_size = fps; in config_package() 1185 0xbfe7, fps << 8, in config_package() 1211 int fps = go->sensor_framerate / go->fps_scale * in seqhead_to_package() local [all …]
|
/Linux-v4.19/drivers/staging/fbtft/ |
D | fbtft-core.c | 350 long fps, throughput; in fbtft_update_display() local 402 fps = ktime_us_delta(ts_start, par->update_time); in fbtft_update_display() 404 fps = fps ? 1000000 / fps : 0; in fbtft_update_display() 412 throughput, fps); in fbtft_update_display() 665 unsigned int fps = display->fps; in fbtft_framebuffer_alloc() local 680 if (!fps) in fbtft_framebuffer_alloc() 681 fps = 20; in fbtft_framebuffer_alloc() 691 if (pdata->fps) in fbtft_framebuffer_alloc() 692 fps = pdata->fps; in fbtft_framebuffer_alloc() 770 fbdefio->delay = HZ / fps; in fbtft_framebuffer_alloc() [all …]
|
/Linux-v4.19/drivers/media/pci/tw686x/ |
D | tw686x-video.c | 379 static unsigned int tw686x_fps_idx(unsigned int fps, unsigned int max_fps) in tw686x_fps_idx() argument 385 idx = (12 + 15 * fps) / max_fps; in tw686x_fps_idx() 393 delta = real_fps - fps; in tw686x_fps_idx() 407 unsigned int fps) in tw686x_set_framerate() argument 411 i = tw686x_fps_idx(fps, TW686X_MAX_FPS(vc->video_standard)); in tw686x_set_framerate() 413 vc->fps = tw686x_real_fps(i, TW686X_MAX_FPS(vc->video_standard)); in tw686x_set_framerate() 839 tw686x_set_framerate(vc, vc->fps); in tw686x_s_std() 957 cp->timeperframe.denominator = vc->fps; in tw686x_g_parm() 968 unsigned int fps; in tw686x_s_parm() local 973 fps = (!numerator || !denominator) ? 0 : denominator / numerator; in tw686x_s_parm() [all …]
|
/Linux-v4.19/sound/drivers/ |
D | mts64.c | 75 u8 fps; member 370 static u8 fps[5] = { MTS64_CMD_SMPTE_FPS_24, in mts64_smpte_start() local 383 mts64_write_command(p, fps[idx]); in mts64_smpte_start() 475 mts->fps); in snd_mts64_ctl_smpte_switch_put() 618 uctl->value.enumerated.item[0] = mts->fps; in snd_mts64_ctl_smpte_fps_get() 633 if (mts->fps != uctl->value.enumerated.item[0]) { in snd_mts64_ctl_smpte_fps_put() 635 mts->fps = uctl->value.enumerated.item[0]; in snd_mts64_ctl_smpte_fps_put()
|