/linux/Documentation/devicetree/bindings/pinctrl/ |
H A D | pinctrl-max77620.txt | 38 gpio, lpm-control-in, fps-out, 32k-out, sd0-dvs-in, sd1-dvs-in, 42 customised properties are required to configure FPS configuration parameters 44 detail of Flexible Power Sequence (FPS). 46 - maxim,active-fps-source: FPS source for the GPIOs to get 50 FPS source is FPS0. 52 FPS source is FPS1 54 FPS source is FPS2 57 by FPS events and it gets 61 the FPS configuration register for that 64 - maxim,active-fps-power-up-slot: Sequencing event slot number on which [all …]
|
/linux/drivers/acpi/ |
H A D | fan_attr.c | 21 struct acpi_fan_fps *fps = container_of(attr, struct acpi_fan_fps, dev_attr); in show_state() local 24 if (fps->control == 0xFFFFFFFF || fps->control > 100) in show_state() 27 count = scnprintf(buf, PAGE_SIZE, "%lld:", fps->control); in show_state() 29 if (fps->trip_point == 0xFFFFFFFF || fps->trip_point > 9) in show_state() 32 count += sysfs_emit_at(buf, count, "%lld:", fps->trip_point); in show_state() 34 if (fps->speed == 0xFFFFFFFF) in show_state() 37 count += sysfs_emit_at(buf, count, "%lld:", fps->speed); in show_state() 39 if (fps->noise_level == 0xFFFFFFFF) in show_state() 42 count += sysfs_emit_at(buf, count, "%lld:", fps->noise_level * 100); in show_state() 44 if (fps->power == 0xFFFFFFFF) in show_state() [all …]
|
H A D | fan_hwmon.c | 27 if (fan->fps[i].control == control) in acpi_fan_get_current_fps() 28 return &fan->fps[i]; in acpi_fan_get_current_fps() 72 if (fan->fps[i].power != FAN_POWER_UNAVAILABLE) in acpi_fan_hwmon_is_visible() 90 struct acpi_fan_fps *fps; in acpi_fan_hwmon_read() local 111 fps = acpi_fan_get_current_fps(fan, fst.control); in acpi_fan_hwmon_read() 112 if (!fps) in acpi_fan_hwmon_read() 115 if (fps->speed > LONG_MAX) in acpi_fan_hwmon_read() 118 *val = fps->speed; in acpi_fan_hwmon_read() 126 fps = acpi_fan_get_current_fps(fan, fst.control); in acpi_fan_hwmon_read() 127 if (!fps) in acpi_fan_hwmon_read() [all …]
|
H A D | fan_core.c | 101 if (fst.control == fan->fps[i].control) in fan_get_state_acpi4() 171 value = fan->fps[state].control; in fan_set_state_acpi4() 285 fan->fps = devm_kcalloc(&device->dev, in acpi_fan_get_fps() 288 if (!fan->fps) { in acpi_fan_get_fps() 295 struct acpi_buffer fps = { offsetof(struct acpi_fan_fps, name), in acpi_fan_get_fps() local 296 &fan->fps[i] }; in acpi_fan_get_fps() 298 &format, &fps); in acpi_fan_get_fps() 306 sort(fan->fps, fan->fps_count, sizeof(*fan->fps), in acpi_fan_get_fps()
|
/linux/Documentation/devicetree/bindings/mfd/ |
H A D | max77620.txt | 31 The Flexible Power Sequencer (FPS) allows each regulator to power up under 48 a flexible power sequencer timer or a software bit. When a FPS source of 54 When FPS event cleared (set to LOW), regulators, GPIOs and 32KHz 63 The configuration parameters of FPS is provided through sub-node "fps" 64 and their child for FPS specific. The child node name for FPS are "fps0", 67 The FPS configurations like FPS source, power up and power down slots for 72 There is need for different FPS configuration parameters based on system 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 [all …]
|
/linux/Documentation/devicetree/bindings/regulator/ |
H A D | regulator-max77620.txt | 39 are required to configure FPS configuration parameters for SDs and LDOs. 41 Power Sequence (FPS). 44 - maxim,active-fps-source: FPS source for the regulators to get 48 FPS source is FPS0. 50 FPS source is FPS1 52 FPS source is FPS2 55 by FPS events and it gets 59 the FPS configuration register for that 62 - maxim,active-fps-power-up-slot: Sequencing event slot number on which 64 master FPS input event set to HIGH. [all …]
|
/linux/drivers/gpu/drm/sti/ |
H A D | sti_plane.c | 48 struct sti_fps_info *fps; in sti_plane_update_fps() local 54 fps = &plane->fps_info; in sti_plane_update_fps() 57 fps->curr_field_counter++; in sti_plane_update_fps() 59 /* do not perform fps calcul if new_frame is false */ in sti_plane_update_fps() 63 fps->curr_frame_counter++; in sti_plane_update_fps() 64 ms_since_last = ktime_to_ms(ktime_sub(now, fps->last_timestamp)); in sti_plane_update_fps() 65 num_frames = fps->curr_frame_counter - fps->last_frame_counter; in sti_plane_update_fps() 70 fps->last_timestamp = now; in sti_plane_update_fps() 71 fps->last_frame_counter = fps->curr_frame_counter; in sti_plane_update_fps() 76 "%-8s %4dx%-4d %.4s @ %3d.%-3.3d fps (%s)", in sti_plane_update_fps() [all …]
|
/linux/arch/arm64/boot/dts/nvidia/ |
H A D | tegra210-p2180.dtsi | 117 fps { 119 maxim,fps-event-source = <MAX77620_FPS_EVENT_SRC_EN0>; 120 maxim,suspend-fps-time-period-us = <1280>; 124 maxim,fps-event-source = <MAX77620_FPS_EVENT_SRC_EN1>; 125 maxim,suspend-fps-time-period-us = <1280>; 129 maxim,fps-event-source = <MAX77620_FPS_EVENT_SRC_EN0>; 141 function = "fps-out"; 143 maxim,active-fps-source = <MAX77620_FPS_SRC_0>; 144 maxim,active-fps-power-up-slot = <7>; 145 maxim,active-fps-power-down-slot = <0>; [all …]
|
H A D | tegra210-p3450-0000.dts | 191 fps { 193 maxim,fps-event-source = <MAX77620_FPS_EVENT_SRC_EN0>; 194 maxim,suspend-fps-time-period-us = <5120>; 198 maxim,fps-event-source = <MAX77620_FPS_EVENT_SRC_EN1>; 199 maxim,suspend-fps-time-period-us = <5120>; 203 maxim,fps-event-source = <MAX77620_FPS_EVENT_SRC_EN0>; 215 function = "fps-out"; 217 maxim,active-fps-source = <MAX77620_FPS_SRC_NONE>; 218 maxim,active-fps-power-up-slot = <0>; 219 maxim,active-fps-power-down-slot = <7>; [all …]
|
H A D | tegra194-p3668.dtsi | 151 fps { 153 maxim,fps-event-source = <MAX77620_FPS_EVENT_SRC_EN0>; 154 maxim,shutdown-fps-time-period-us = <640>; 158 maxim,fps-event-source = <MAX77620_FPS_EVENT_SRC_EN1>; 159 maxim,shutdown-fps-time-period-us = <640>; 164 maxim,fps-event-source = <MAX77620_FPS_EVENT_SRC_EN0>; 165 maxim,shutdown-fps-time-period-us = <640>; 177 function = "fps-out"; 178 maxim,active-fps-source = <MAX77620_FPS_SRC_DEF>; 183 function = "fps-out"; [all …]
|
H A D | tegra186-p3310.dtsi | 213 fps { 215 maxim,fps-event-source = <MAX77620_FPS_EVENT_SRC_EN0>; 216 maxim,shutdown-fps-time-period-us = <640>; 220 maxim,fps-event-source = <MAX77620_FPS_EVENT_SRC_EN1>; 221 maxim,shutdown-fps-time-period-us = <640>; 225 maxim,fps-event-source = <MAX77620_FPS_EVENT_SRC_EN0>; 226 maxim,shutdown-fps-time-period-us = <640>; 238 function = "fps-out"; 239 maxim,active-fps-source = <MAX77620_FPS_SRC_0>; 244 function = "fps-out"; [all …]
|
H A D | tegra194-p2888.dtsi | 200 fps { 202 maxim,fps-event-source = <MAX77620_FPS_EVENT_SRC_EN0>; 203 maxim,shutdown-fps-time-period-us = <640>; 207 maxim,fps-event-source = <MAX77620_FPS_EVENT_SRC_EN1>; 208 maxim,shutdown-fps-time-period-us = <640>; 213 maxim,fps-event-source = <MAX77620_FPS_EVENT_SRC_EN0>; 214 maxim,shutdown-fps-time-period-us = <640>; 226 function = "fps-out"; 227 maxim,active-fps-source = <MAX77620_FPS_SRC_DEF>; 232 function = "fps-out"; [all …]
|
H A D | tegra210-smaug.dts | 1443 fps { 1445 maxim,shutdown-fps-time-period-us = <5120>; 1446 maxim,fps-event-source = <MAX77620_FPS_EVENT_SRC_EN0>; 1450 maxim,shutdown-fps-time-period-us = <5120>; 1451 maxim,fps-event-source = <MAX77620_FPS_EVENT_SRC_EN1>; 1456 maxim,fps-event-source = <MAX77620_FPS_EVENT_SRC_EN0>; 1473 function = "fps-out"; 1475 maxim,active-fps-source = <MAX77620_FPS_SRC_0>; 1476 maxim,active-fps-power-up-slot = <4>; 1477 maxim,active-fps-power-down-slot = <2>; [all …]
|
H A D | tegra210-p2894.dtsi | 1347 fps { 1353 maxim,fps-event-source = <MAX77620_FPS_EVENT_SRC_EN0>; 1358 maxim,fps-event-source = <MAX77620_FPS_EVENT_SRC_EN1>; 1364 maxim,fps-event-source = <MAX77620_FPS_EVENT_SRC_EN0>; 1383 function = "fps-out"; 1385 maxim,active-fps-source = <MAX77620_FPS_SRC_0>; 1386 maxim,active-fps-power-up-slot = <7>; 1387 maxim,active-fps-power-down-slot = <0>; 1392 function = "fps-out"; 1394 maxim,active-fps-source = <MAX77620_FPS_SRC_0>; [all …]
|
/linux/drivers/mfd/ |
H A D | max77620.c | 15 * Flexible Power Sequence (FPS): 16 * The Flexible Power Sequencer (FPS) allows each regulator to power up under 23 * There is 3 FPS confguration registers and all resources are configured to 24 * any of these FPS or no FPS. 267 /* max77620_get_fps_period_reg_value: Get FPS bit field value from 269 * MAX77620 supports the FPS period of 40, 80, 160, 320, 540, 1280, 2560 270 * and 5120 microseconds. MAX20024 supports the FPS period of 20, 40, 80, 272 * The FPS register has 3 bits field to set the FPS period as 307 /* max77620_config_fps: Configure FPS configuration registers 336 sprintf(fps_name, "fps%d", fps_id); in max77620_config_fps() [all …]
|
/linux/drivers/media/pci/tw686x/ |
H A D | tw686x-video.c | 347 0x80000006, /* 2 fps (60Hz), 2 fps (50Hz) */ 348 0x80018006, /* 4 fps (60Hz), 4 fps (50Hz) */ 349 0x80618006, /* 6 fps (60Hz), 6 fps (50Hz) */ 350 0x81818186, /* 8 fps (60Hz), 8 fps (50Hz) */ 351 0x86186186, /* 10 fps (60Hz), 8 fps (50Hz) */ 352 0x86619866, /* 12 fps (60Hz), 10 fps (50Hz) */ 353 0x86666666, /* 14 fps (60Hz), 12 fps (50Hz) */ 354 0x9999999e, /* 16 fps (60Hz), 14 fps (50Hz) */ 355 0x99e6799e, /* 18 fps (60Hz), 16 fps (50Hz) */ 356 0x9e79e79e, /* 20 fps (60Hz), 16 fps (50Hz) */ [all …]
|
/linux/tools/testing/selftests/powerpc/tm/ |
H A D | tm-signal-context-chk-fpu.c | 35 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() 97 * array pointers to it, in that case 'fps', and invoke the in tm_signal_context_chk_fpu() 100 rc = tm_signal_self_context_load(pid, NULL, fps, NULL, NULL); in tm_signal_context_chk_fpu()
|
/linux/drivers/media/usb/pwc/ |
H A D | pwc-kiara.c | 38 /* 5 fps */ 45 /* 10 fps */ 52 /* 15 fps */ 59 /* 20 fps */ 66 /* 25 fps */ 73 /* 30 fps */ 83 /* 5 fps */ 90 /* 10 fps */ 97 /* 15 fps */ 104 /* 20 fps */ [all …]
|
H A D | pwc-ctrl.c | 144 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/drivers/media/usb/gspca/stv06xx/ |
H A D | stv06xx_hdcs.c | 389 * 5 = 7.8 fps, in hdcs_probe_1x00() 390 * 6 = 6.9 fps, in hdcs_probe_1x00() 391 * 8 = 6.3 fps, in hdcs_probe_1x00() 392 * 10 = 5.5 fps, in hdcs_probe_1x00() 393 * 15 = 4.4 fps, in hdcs_probe_1x00() 394 * 31 = 2.8 fps in hdcs_probe_1x00() 399 * 19 = 7.3 fps in hdcs_probe_1x00() 400 * 20 = 7.4 fps in hdcs_probe_1x00() 401 * 21 = 7.4 fps in hdcs_probe_1x00() 402 * 22 = 7.4 fps in hdcs_probe_1x00() [all …]
|
/linux/Documentation/driver-api/media/drivers/ |
H A D | zoran.rst | 33 Norms: PAL, SECAM (720x576 @ 25 fps), NTSC (720x480 @ 29.97 fps) 54 Norms: PAL, SECAM (720x576 @ 25 fps), NTSC (720x480 @ 29.97 fps) 75 Norms: PAL (720x576 @ 25 fps), NTSC (720x480 @ 29.97 fps) 92 Norms: PAL (720x576 @ 25 fps), NTSC (720x480 @ 29.97 fps) 109 Norms: PAL, SECAM (768x576 @ 25 fps), NTSC (640x480 @ 29.97 fps) 126 Norms: PAL, SECAM (768x576 @ 25 fps), NTSC (640x480 @ 29.97 fps) 144 Norms: PAL, SECAM (768x576 @ 25 fps), NTSC (640x480 @ 29.97 fps) 162 Norms: PAL, SECAM (768x576 @ 25 fps), NTSC (640x480 @ 29.97 fps) 180 Norms: PAL, SECAM (768x576 @ 25 fps), NTSC (640x480 @ 29.97 fps)
|
/linux/include/dt-bindings/mfd/ |
H A D | max77620.h | 24 /* FPS event source */ 29 /* Device state when FPS event LOW */ 33 /* FPS source */
|
/linux/drivers/net/ethernet/mscc/ |
H A D | ocelot_police.h | 17 MSCC_QOS_RATE_MODE_FRAME, /* Measures frame rate in fps */ 27 u32 cir; /* CIR in kbps/fps (ignored in SLB mode) */ 29 u32 pir; /* PIR in kbps/fps */
|
/linux/drivers/staging/media/atomisp/pci/ |
H A D | atomisp_v4l2.c | 102 .fps = ISP_FREQ_RULE_ANY, 109 .fps = ISP_FREQ_RULE_ANY, 116 .fps = ISP_FREQ_RULE_ANY, 135 .fps = ISP_FREQ_RULE_ANY, 142 .fps = ISP_FREQ_RULE_ANY, 149 .fps = ISP_FREQ_RULE_ANY, 167 .fps = 30, 174 .fps = 30, 181 .fps = 45, 188 .fps = 45, [all …]
|
/linux/drivers/media/pci/solo6x10/ |
H A D | solo6x10-v4l2-enc.c | 146 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() 1002 fintv->stepwise.min.denominator = solo_dev->fps; in solo_enum_frameintervals() 1005 fintv->stepwise.max.denominator = solo_dev->fps; in solo_enum_frameintervals() 1008 fintv->stepwise.step.denominator = solo_dev->fps; in solo_enum_frameintervals() 1021 cp->timeperframe.denominator = solo_enc->solo_dev->fps; in solo_g_parm() 1029 static inline int calc_interval(u8 fps, u32 n, u32 d) in calc_interval() argument 1033 if (d == fps) in calc_interval() [all …]
|