Home
last modified time | relevance | path

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

12

/drivers/acpi/
Dfan.c82 struct acpi_fan_fps *fps; member
136 if (control == fan->fps[i].control) in fan_get_state_acpi4()
196 fan->fps[state].control); in fan_set_state_acpi4()
294 fan->fps = devm_kzalloc(&device->dev, in acpi_fan_get_fps()
297 if (!fan->fps) { in acpi_fan_get_fps()
304 struct acpi_buffer fps = { sizeof(fan->fps[i]), &fan->fps[i] }; in acpi_fan_get_fps() local
306 &format, &fps); in acpi_fan_get_fps()
314 sort(fan->fps, fan->fps_count, sizeof(*fan->fps), in acpi_fan_get_fps()
/drivers/staging/lustre/lnet/klnds/o2iblnd/
Do2iblnd.c1416 kiblnd_create_fmr_pool(kib_fmr_poolset_t *fps, kib_fmr_pool_t **pp_fpo) in kiblnd_create_fmr_pool() argument
1419 kib_dev_t *dev = fps->fps_net->ibn_dev; in kiblnd_create_fmr_pool()
1426 .pool_size = fps->fps_pool_size, in kiblnd_create_fmr_pool()
1427 .dirty_watermark = fps->fps_flush_trigger, in kiblnd_create_fmr_pool()
1433 LIBCFS_CPT_ALLOC(fpo, lnet_cpt_table(), fps->fps_cpt, sizeof(*fpo)); in kiblnd_create_fmr_pool()
1450 fpo->fpo_owner = fps; in kiblnd_create_fmr_pool()
1457 kiblnd_fail_fmr_poolset(kib_fmr_poolset_t *fps, struct list_head *zombies) in kiblnd_fail_fmr_poolset() argument
1459 if (fps->fps_net == NULL) /* intialized? */ in kiblnd_fail_fmr_poolset()
1462 spin_lock(&fps->fps_lock); in kiblnd_fail_fmr_poolset()
1464 while (!list_empty(&fps->fps_pool_list)) { in kiblnd_fail_fmr_poolset()
[all …]
/drivers/media/usb/pwc/
Dpwc-ctrl.c156 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 …]
Dphilips.txt53 fps
221 # modprobe pwc size=cif fps=15 power_save=1
226 size and fps only specify defaults when you open() the device; this is to
229 defaults is QCIF size at 10 fps.
Dpwc-v4l.c1004 int ret, fps; in pwc_s_parm() local
1014 fps = 30; in pwc_s_parm()
1016 fps = parm->parm.capture.timeperframe.denominator / in pwc_s_parm()
1023 fps, &compression, 0); in pwc_s_parm()
/drivers/media/pci/solo6x10/
Dsolo6x10-v4l2-enc.c155 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()
1052 fintv->stepwise.min.denominator = solo_dev->fps; in solo_enum_frameintervals()
1055 fintv->stepwise.max.denominator = solo_dev->fps; in solo_enum_frameintervals()
1058 fintv->stepwise.step.denominator = solo_dev->fps; in solo_enum_frameintervals()
1071 cp->timeperframe.denominator = solo_enc->solo_dev->fps; in solo_g_parm()
1079 static inline int calc_interval(u8 fps, u32 n, u32 d) in calc_interval() argument
1083 if (d == fps) in calc_interval()
[all …]
Dsolo6x10-disp.c275 solo_dev->fps = 30; in solo_disp_init()
278 solo_dev->fps = 25; in solo_disp_init()
Dsolo6x10-core.c326 int fps = solo_dev->fps; in intervals_show() local
331 i, solo_dev->v4l2_enc[i]->interval, fps, in intervals_show()
Dsolo6x10.h245 u8 fps; member
/drivers/scsi/fcoe/
Dfcoe_transport.c456 struct fcoe_percpu_s *fps) in fcoe_get_paged_crc_eof() argument
460 page = fps->crc_eof_page; in fcoe_get_paged_crc_eof()
466 fps->crc_eof_page = page; in fcoe_get_paged_crc_eof()
467 fps->crc_eof_offset = 0; in fcoe_get_paged_crc_eof()
472 fps->crc_eof_offset, tlen); in fcoe_get_paged_crc_eof()
476 fps->crc_eof_offset += sizeof(struct fcoe_crc_eof); in fcoe_get_paged_crc_eof()
478 if (fps->crc_eof_offset >= PAGE_SIZE) { in fcoe_get_paged_crc_eof()
479 fps->crc_eof_page = NULL; in fcoe_get_paged_crc_eof()
480 fps->crc_eof_offset = 0; in fcoe_get_paged_crc_eof()
Dfcoe.c1436 struct fcoe_percpu_s *fps; in fcoe_rcv() local
1510 fps = &per_cpu(fcoe_percpu, cpu); in fcoe_rcv()
1511 spin_lock(&fps->fcoe_rx_list.lock); in fcoe_rcv()
1512 if (unlikely(!fps->thread)) { in fcoe_rcv()
1522 spin_unlock(&fps->fcoe_rx_list.lock); in fcoe_rcv()
1524 fps = &per_cpu(fcoe_percpu, cpu); in fcoe_rcv()
1525 spin_lock(&fps->fcoe_rx_list.lock); in fcoe_rcv()
1526 if (!fps->thread) { in fcoe_rcv()
1527 spin_unlock(&fps->fcoe_rx_list.lock); in fcoe_rcv()
1545 __skb_queue_tail(&fps->fcoe_rx_list, skb); in fcoe_rcv()
[all …]
/drivers/media/usb/go7007/
Dgo7007-fw.c786 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 …]
/drivers/media/usb/hdpvr/
Dhdpvr-video.c301 vidinf.height, vidinf.fps); in hdpvr_start_streaming()
686 interlaced = vid_info.fps <= 30; in vidioc_query_dv_timings()
691 unsigned fps; in vidioc_query_dv_timings() local
695 fps = (unsigned)bt->pixelclock / (hsize * vsize); in vidioc_query_dv_timings()
699 (fps != vid_info.fps && fps + 1 != vid_info.fps)) in vidioc_query_dv_timings()
Dhdpvr-control.c74 vidinf->fps = dev->usbc_buf[4]; in get_video_info()
75 vidinf->valid = vidinf->width && vidinf->height && vidinf->fps; in get_video_info()
Dhdpvr.h156 u8 fps; member
/drivers/media/platform/
Dvino.c280 unsigned int fps; member
1529 unsigned int fps) in vino_set_framerate() argument
1536 fps = (unsigned int)(fps / 6) * 6; // FIXME: round! in vino_set_framerate()
1538 if (fps < vino_data_norms[vcs->data_norm].fps_min) in vino_set_framerate()
1539 fps = vino_data_norms[vcs->data_norm].fps_min; in vino_set_framerate()
1540 if (fps > vino_data_norms[vcs->data_norm].fps_max) in vino_set_framerate()
1541 fps = vino_data_norms[vcs->data_norm].fps_max; in vino_set_framerate()
1543 switch (fps) { in vino_set_framerate()
1566 fps = (unsigned int)(fps / 5) * 5; // FIXME: round! in vino_set_framerate()
1568 if (fps < vino_data_norms[vcs->data_norm].fps_min) in vino_set_framerate()
[all …]
Dtimblogiw.c61 u8 fps; member
86 .fps = 25
92 .fps = 30
279 cp->timeperframe.denominator = fh->cur_norm->fps; in timblogiw_g_parm()
/drivers/media/parport/
Dpms.c488 int fps = (dev->std & V4L2_STD_525_60) ? 30 : 25; in pms_framerate() local
492 fps = fps/frr; in pms_framerate()
493 mvv_write(dev, 0x14, 0x80 | fps); in pms_framerate()
/drivers/scsi/bnx2fc/
Dbnx2fc_hwi.c1046 struct bnx2fc_percpu_s *fps = NULL; in bnx2fc_process_new_cqes() local
1049 fps = &per_cpu(bnx2fc_percpu, cpu); in bnx2fc_process_new_cqes()
1050 spin_lock_bh(&fps->fp_work_lock); in bnx2fc_process_new_cqes()
1051 if (unlikely(!fps->iothread)) in bnx2fc_process_new_cqes()
1057 &fps->work_list); in bnx2fc_process_new_cqes()
1059 spin_unlock_bh(&fps->fp_work_lock); in bnx2fc_process_new_cqes()
1062 if (fps->iothread && work) in bnx2fc_process_new_cqes()
1063 wake_up_process(fps->iothread); in bnx2fc_process_new_cqes()
/drivers/media/platform/vivid/
Dvivid-vid-cap.c208 unsigned fps = 25; in vid_cap_buf_finish() local
220 fps = 30; in vid_cap_buf_finish()
221 tc->type = (fps == 30) ? V4L2_TC_TYPE_30FPS : V4L2_TC_TYPE_25FPS; in vid_cap_buf_finish()
223 tc->frames = seq % fps; in vid_cap_buf_finish()
224 tc->seconds = (seq / fps) % 60; in vid_cap_buf_finish()
225 tc->minutes = (seq / (60 * fps)) % 60; in vid_cap_buf_finish()
226 tc->hours = (seq / (60 * 60 * fps)) % 24; in vid_cap_buf_finish()
/drivers/media/platform/exynos4-is/
Dfimc-is-param.c266 void __is_set_sensor(struct fimc_is *is, int fps) in __is_set_sensor() argument
275 if (fps == 0) { in __is_set_sensor()
281 sensor->frame_rate.frame_rate = fps; in __is_set_sensor()
283 isp->otf_input.frametime_max = (u32)1000000 / fps; in __is_set_sensor()
/drivers/media/usb/gspca/
Dov534.c758 u8 fps; in set_frame_rate() member
791 if (sd->frame_rate >= r->fps) in set_frame_rate()
800 PDEBUG(D_PROBE, "frame_rate: %d", r->fps); in set_frame_rate()
Dcpia1.c369 atomic_t fps; member
1277 framerate = atomic_read(&sd->fps); in monitor_exposure()
1620 atomic_set(&sd->fps, 0); in sd_start()
1707 atomic_set(&sd->fps, data[41]); in sd_pkt_scan()
Dxirlink_cit.c1465 int fps[8] = { 30, 25, 20, 15, 12, 8, 6, 3 }; in cit_get_clock_div() local
1475 fps[clock_div - 1] * 3 / 2) in cit_get_clock_div()
1481 clock_div, fps[clock_div]); in cit_get_clock_div()
/drivers/video/fbdev/
Dauo_k190x.c1091 dev_dbg(info->device, "targeting %d frames per second\n", board->fps); in auok190x_common_probe()
1092 info->fbdefio->delay = HZ / board->fps; in auok190x_common_probe()

12