Home
last modified time | relevance | path

Searched refs:fsize (Results 1 – 25 of 115) sorted by relevance

12345

/openbmc/linux/drivers/s390/char/
H A Dhmcdrv_cache.c39 size_t fsize; member
49 .fsize = SIZE_MAX,
71 if (ftp->ofs >= hmcdrv_cache_file.fsize) /* EOF ? */ in hmcdrv_cache_get()
81 len = hmcdrv_cache_file.fsize - ftp->ofs; in hmcdrv_cache_get()
99 hmcdrv_cache_file.fsize); in hmcdrv_cache_get()
134 len = func(&cftp, &hmcdrv_cache_file.fsize); /* now do */ in hmcdrv_cache_do()
149 len = func(ftp, &hmcdrv_cache_file.fsize); in hmcdrv_cache_do()
161 ftp->id, hmcdrv_cache_file.fsize, ftp->fname); in hmcdrv_cache_do()
204 hmcdrv_cache_file.fsize = LLONG_MAX; in hmcdrv_cache_cmd()
250 hmcdrv_cache_file.fsize = LLONG_MAX; in hmcdrv_cache_shutdown()
H A Ddiag_ftp.c61 u64 fsize; member
143 ssize_t diag_ftp_cmd(const struct hmcdrv_ftp_cmdspec *ftp, size_t *fsize) in diag_ftp_cmd() argument
169 ldfpl->fsize = 0; in diag_ftp_cmd()
188 diag_ftp_subcode, ldfpl->transferred, ldfpl->fsize); in diag_ftp_cmd()
194 if (fsize) in diag_ftp_cmd()
195 *fsize = ldfpl->fsize; in diag_ftp_cmd()
H A Dsclp_ftp.c76 sclp_ftp_fsize = diag->mdd.ftp.fsize; in sclp_ftp_rxcb()
114 sccb->evbuf.mdd.ftp.fsize = 0; in sclp_ftp_et7()
174 ssize_t sclp_ftp_cmd(const struct hmcdrv_ftp_cmdspec *ftp, size_t *fsize) in sclp_ftp_cmd() argument
208 if (fsize) in sclp_ftp_cmd()
209 *fsize = sclp_ftp_fsize; in sclp_ftp_cmd()
/openbmc/linux/sound/core/
H A Dpcm_timer.c21 unsigned long rate, mult, fsize, l, post; in snd_pcm_timer_resolution_change() local
31 fsize = runtime->period_size; in snd_pcm_timer_resolution_change()
32 if (snd_BUG_ON(!fsize)) in snd_pcm_timer_resolution_change()
34 l = gcd(rate, fsize); in snd_pcm_timer_resolution_change()
36 fsize /= l; in snd_pcm_timer_resolution_change()
38 while ((mult * fsize) / fsize != mult) { in snd_pcm_timer_resolution_change()
49 runtime->timer_resolution = (mult * fsize / rate) * post; in snd_pcm_timer_resolution_change()
/openbmc/linux/sound/usb/line6/
H A Dcapture.c84 void line6_capture_copy(struct snd_line6_pcm *line6pcm, char *fbuf, int fsize) in line6_capture_copy() argument
92 int frames = fsize / bytes_per_frame; in line6_capture_copy()
120 line6pcm->in.pos_done * bytes_per_frame, fbuf, fsize); in line6_capture_copy()
163 int fsize; in audio_in_callback() local
172 fsize = fin->actual_length; in audio_in_callback()
174 if (fsize > line6pcm->max_packet_size_in) { in audio_in_callback()
177 fsize, line6pcm->max_packet_size_in); in audio_in_callback()
180 length += fsize; in audio_in_callback()
192 line6pcm->prev_fsize = fsize / in audio_in_callback()
198 fsize > 0) in audio_in_callback()
[all …]
H A Dplayback.c169 int fsize = 0; in submit_audio_out_urb() local
173 fsize = line6pcm->prev_fsize; in submit_audio_out_urb()
174 if (fsize == 0) { in submit_audio_out_urb()
180 fsize = n; in submit_audio_out_urb()
183 fsize *= bytes_per_frame; in submit_audio_out_urb()
186 fout->length = fsize; in submit_audio_out_urb()
187 urb_size += fsize; in submit_audio_out_urb()
/openbmc/linux/drivers/media/platform/verisilicon/
H A Dhantro_postproc.c158 struct v4l2_frmsizeenum *fsize) in hantro_postproc_g2_enum_framesizes() argument
164 if (fsize->index > 3) in hantro_postproc_g2_enum_framesizes()
170 fsize->type = V4L2_FRMSIZE_TYPE_DISCRETE; in hantro_postproc_g2_enum_framesizes()
171 fsize->discrete.width = ctx->src_fmt.width >> fsize->index; in hantro_postproc_g2_enum_framesizes()
172 fsize->discrete.height = ctx->src_fmt.height >> fsize->index; in hantro_postproc_g2_enum_framesizes()
272 struct v4l2_frmsizeenum *fsize) in hanto_postproc_enum_framesizes() argument
277 return vpu->variant->postproc_ops->enum_framesizes(ctx, fsize); in hanto_postproc_enum_framesizes()
/openbmc/linux/drivers/staging/media/imx/
H A Dimx-media-capture.c102 struct v4l2_frmsizeenum *fsize) in capture_enum_framesizes() argument
106 if (fsize->index > 0) in capture_enum_framesizes()
119 fsize->stepwise.min_width = 1; in capture_enum_framesizes()
120 fsize->stepwise.max_width = 65535; in capture_enum_framesizes()
121 fsize->stepwise.min_height = 1; in capture_enum_framesizes()
122 fsize->stepwise.max_height = 65535; in capture_enum_framesizes()
123 fsize->stepwise.step_width = 1; in capture_enum_framesizes()
124 fsize->stepwise.step_height = 1; in capture_enum_framesizes()
285 .index = fsize->index, in capture_legacy_enum_framesizes()
312 fsize->stepwise.step_width = 1; in capture_legacy_enum_framesizes()
[all …]
/openbmc/linux/drivers/media/usb/gspca/
H A Dstk1135.c619 struct v4l2_frmsizeenum *fsize) in stk1135_enum_framesizes() argument
621 if (fsize->index != 0 || fsize->pixel_format != V4L2_PIX_FMT_SBGGR8) in stk1135_enum_framesizes()
624 fsize->type = V4L2_FRMSIZE_TYPE_STEPWISE; in stk1135_enum_framesizes()
625 fsize->stepwise.min_width = 32; in stk1135_enum_framesizes()
626 fsize->stepwise.min_height = 32; in stk1135_enum_framesizes()
627 fsize->stepwise.max_width = 1280; in stk1135_enum_framesizes()
628 fsize->stepwise.max_height = 1024; in stk1135_enum_framesizes()
629 fsize->stepwise.step_width = 2; in stk1135_enum_framesizes()
630 fsize->stepwise.step_height = 2; in stk1135_enum_framesizes()
/openbmc/linux/drivers/media/test-drivers/vimc/
H A Dvimc-capture.c173 struct v4l2_frmsizeenum *fsize) in vimc_capture_enum_framesizes() argument
177 if (fsize->index) in vimc_capture_enum_framesizes()
181 vpix = vimc_pix_map_by_code(fsize->pixel_format); in vimc_capture_enum_framesizes()
185 fsize->type = V4L2_FRMSIZE_TYPE_CONTINUOUS; in vimc_capture_enum_framesizes()
186 fsize->stepwise.min_width = VIMC_FRAME_MIN_WIDTH; in vimc_capture_enum_framesizes()
187 fsize->stepwise.max_width = VIMC_FRAME_MAX_WIDTH; in vimc_capture_enum_framesizes()
188 fsize->stepwise.min_height = VIMC_FRAME_MIN_HEIGHT; in vimc_capture_enum_framesizes()
189 fsize->stepwise.max_height = VIMC_FRAME_MAX_HEIGHT; in vimc_capture_enum_framesizes()
190 fsize->stepwise.step_width = 1; in vimc_capture_enum_framesizes()
191 fsize->stepwise.step_height = 1; in vimc_capture_enum_framesizes()
/openbmc/linux/drivers/media/platform/ti/cal/
H A Dcal-video.c303 struct v4l2_frmsizeenum *fsize) in cal_legacy_enum_framesizes() argument
308 .index = fsize->index, in cal_legacy_enum_framesizes()
318 fsize->pixel_format); in cal_legacy_enum_framesizes()
333 fsize->type = V4L2_FRMSIZE_TYPE_DISCRETE; in cal_legacy_enum_framesizes()
334 fsize->discrete.width = fse.max_width; in cal_legacy_enum_framesizes()
335 fsize->discrete.height = fse.max_height; in cal_legacy_enum_framesizes()
547 struct v4l2_frmsizeenum *fsize) in cal_mc_enum_framesizes() argument
553 if (fsize->index > 0) in cal_mc_enum_framesizes()
559 fsize->pixel_format); in cal_mc_enum_framesizes()
568 fsize->stepwise.step_width = 64 / bpp; in cal_mc_enum_framesizes()
[all …]
/openbmc/linux/arch/x86/kernel/
H A Dsignal.c390 unsigned long fsize = max_frame_size - fpu_default_state_size; in sigaltstack_size_valid() local
398 fsize += current->group_leader->thread.fpu.perm.__user_state_size; in sigaltstack_size_valid()
399 if (likely(ss_size > fsize)) in sigaltstack_size_valid()
403 return ss_size > fsize; in sigaltstack_size_valid()
407 return ss_size > fsize; in sigaltstack_size_valid()
/openbmc/qemu/audio/
H A Dspiceaudio.c51 uint32_t fsize; member
138 spice_server_playback_get_buffer(&out->sin, &out->frame, &out->fsize); in line_out_get_buffer()
143 *size = MIN((out->fsize - out->fpos) << 2, *size); in line_out_get_buffer()
156 assert(buf == out->frame + out->fpos && out->fpos <= out->fsize); in line_out_put_buffer()
159 if (out->fpos == out->fsize) { /* buffer full */ in line_out_put_buffer()
185 memset(out->frame + out->fpos, 0, (out->fsize - out->fpos) << 2); in line_out_enable()
/openbmc/linux/drivers/media/i2c/
H A Dimx334.c774 struct v4l2_subdev_frame_size_enum *fsize) in imx334_enum_frame_size() argument
779 if (fsize->index >= ARRAY_SIZE(supported_modes)) in imx334_enum_frame_size()
782 code = imx334_get_format_code(imx334, fsize->code); in imx334_enum_frame_size()
784 if (fsize->code != code) in imx334_enum_frame_size()
787 fsize->min_width = supported_modes[fsize->index].width; in imx334_enum_frame_size()
788 fsize->max_width = fsize->min_width; in imx334_enum_frame_size()
789 fsize->min_height = supported_modes[fsize->index].height; in imx334_enum_frame_size()
790 fsize->max_height = fsize->min_height; in imx334_enum_frame_size()
H A Dov7740.c778 if ((fsize->width >= fmt->width) && in ov7740_try_fmt_internal()
779 (fsize->height >= fmt->height)) { in ov7740_try_fmt_internal()
780 fmt->width = fsize->width; in ov7740_try_fmt_internal()
781 fmt->height = fsize->height; in ov7740_try_fmt_internal()
785 fsize++; in ov7740_try_fmt_internal()
788 fsize = &ov7740_framesizes[0]; in ov7740_try_fmt_internal()
789 fmt->width = fsize->width; in ov7740_try_fmt_internal()
790 fmt->height = fsize->height; in ov7740_try_fmt_internal()
793 *ret_frmsize = fsize; in ov7740_try_fmt_internal()
809 const struct ov7740_framesize *fsize; in ov7740_set_fmt() local
[all …]
H A Dimx335.c518 struct v4l2_subdev_frame_size_enum *fsize) in imx335_enum_frame_size() argument
520 if (fsize->index > 0) in imx335_enum_frame_size()
523 if (fsize->code != supported_mode.code) in imx335_enum_frame_size()
526 fsize->min_width = supported_mode.width; in imx335_enum_frame_size()
527 fsize->max_width = fsize->min_width; in imx335_enum_frame_size()
528 fsize->min_height = supported_mode.height; in imx335_enum_frame_size()
529 fsize->max_height = fsize->min_height; in imx335_enum_frame_size()
H A Dimx412.c670 struct v4l2_subdev_frame_size_enum *fsize) in imx412_enum_frame_size() argument
672 if (fsize->index > 0) in imx412_enum_frame_size()
675 if (fsize->code != supported_mode.code) in imx412_enum_frame_size()
678 fsize->min_width = supported_mode.width; in imx412_enum_frame_size()
679 fsize->max_width = fsize->min_width; in imx412_enum_frame_size()
680 fsize->min_height = supported_mode.height; in imx412_enum_frame_size()
681 fsize->max_height = fsize->min_height; in imx412_enum_frame_size()
H A Dov9282.c760 struct v4l2_subdev_frame_size_enum *fsize) in ov9282_enum_frame_size() argument
762 if (fsize->index >= ARRAY_SIZE(supported_modes)) in ov9282_enum_frame_size()
765 if (fsize->code != MEDIA_BUS_FMT_Y10_1X10 && in ov9282_enum_frame_size()
766 fsize->code != MEDIA_BUS_FMT_Y8_1X8) in ov9282_enum_frame_size()
769 fsize->min_width = supported_modes[fsize->index].width; in ov9282_enum_frame_size()
770 fsize->max_width = fsize->min_width; in ov9282_enum_frame_size()
771 fsize->min_height = supported_modes[fsize->index].height; in ov9282_enum_frame_size()
772 fsize->max_height = fsize->min_height; in ov9282_enum_frame_size()
/openbmc/linux/arch/m68k/kernel/
H A Dsignal.c879 int fsize = frame_extra_sizes(tregs->format); in setup_frame() local
883 if (fsize < 0) { in setup_frame()
891 if (fsize) in setup_frame()
892 err |= copy_to_user (frame + 1, regs + 1, fsize); in setup_frame()
927 if (fsize) { in setup_frame()
928 regs->stkadj = fsize; in setup_frame()
952 int fsize = frame_extra_sizes(tregs->format); in setup_rt_frame() local
955 if (fsize < 0) { in setup_rt_frame()
963 if (fsize) in setup_rt_frame()
1007 if (fsize) { in setup_rt_frame()
[all …]
/openbmc/linux/arch/powerpc/platforms/cell/
H A Diommu.c300 unsigned long fbase, unsigned long fsize) in cell_iommu_setup_stab() argument
305 segments = max(dbase + dsize, fbase + fsize) >> IO_SEGMENT_SHIFT; in cell_iommu_setup_stab()
882 unsigned long fbase, unsigned long fsize) in cell_iommu_setup_fixed_ptab() argument
890 pr_debug("iommu: mapping 0x%lx pages from 0x%lx\n", fsize, fbase); in cell_iommu_setup_fixed_ptab()
902 for (uaddr = 0; uaddr < fsize; uaddr += (1 << 24)) { in cell_iommu_setup_fixed_ptab()
918 unsigned long dbase, dsize, fbase, fsize, hbase, hend; in cell_iommu_fixed_mapping_init() local
952 fsize = memblock_phys_mem_size(); in cell_iommu_fixed_mapping_init()
954 if ((fbase + fsize) <= 0x800000000ul) in cell_iommu_fixed_mapping_init()
1006 dbase + dsize, fbase, fbase + fsize); in cell_iommu_fixed_mapping_init()
1008 cell_iommu_setup_stab(iommu, dbase, dsize, fbase, fsize); in cell_iommu_fixed_mapping_init()
[all …]
/openbmc/openbmc/meta-openembedded/meta-networking/recipes-connectivity/rdist/rdist-6.1.5/
H A Drdist-6.1.5-stat64.patch64 - long fsize = (long) (size / 1024);
65 + fsblkcnt_t fsize = (fsblkcnt_t) (size / 1024);
71 (freespace - fsize < min_freespace)) {
/openbmc/openbmc/poky/scripts/lib/devtool/
H A Ddeploy.py203 fsize = 0
205 fsize = int(math.ceil(float(fstat.st_size)/1024))
207 ftotalsize += fsize
210 filelist.append((fpath, fsize))
256 for fpath, fsize in filelist:
257 f.write('%s %d\n' % (fpath, fsize))
/openbmc/linux/drivers/media/platform/sunxi/sun8i-rotate/
H A Dsun8i_rotate.c236 struct v4l2_frmsizeenum *fsize) in rotate_enum_framesizes() argument
240 if (fsize->index != 0) in rotate_enum_framesizes()
243 fmt = rotate_find_format(fsize->pixel_format); in rotate_enum_framesizes()
247 fsize->type = V4L2_FRMSIZE_TYPE_STEPWISE; in rotate_enum_framesizes()
248 fsize->stepwise.min_width = ROTATE_MIN_WIDTH; in rotate_enum_framesizes()
249 fsize->stepwise.min_height = ROTATE_MIN_HEIGHT; in rotate_enum_framesizes()
250 fsize->stepwise.max_width = ROTATE_MAX_WIDTH; in rotate_enum_framesizes()
251 fsize->stepwise.max_height = ROTATE_MAX_HEIGHT; in rotate_enum_framesizes()
252 fsize->stepwise.step_width = fmt->hsub; in rotate_enum_framesizes()
253 fsize->stepwise.step_height = fmt->vsub; in rotate_enum_framesizes()
/openbmc/linux/drivers/media/platform/qcom/camss/
H A Dcamss-video.c659 struct v4l2_frmsizeenum *fsize) in video_enum_framesizes() argument
664 if (fsize->index) in video_enum_framesizes()
669 if (video->formats[i].pixelformat == fsize->pixel_format) in video_enum_framesizes()
676 fsize->type = V4L2_FRMSIZE_TYPE_CONTINUOUS; in video_enum_framesizes()
677 fsize->stepwise.min_width = CAMSS_FRAME_MIN_WIDTH; in video_enum_framesizes()
678 fsize->stepwise.max_width = CAMSS_FRAME_MAX_WIDTH; in video_enum_framesizes()
679 fsize->stepwise.min_height = CAMSS_FRAME_MIN_HEIGHT; in video_enum_framesizes()
680 fsize->stepwise.max_height = (video->line_based) ? in video_enum_framesizes()
682 fsize->stepwise.step_width = 1; in video_enum_framesizes()
683 fsize->stepwise.step_height = 1; in video_enum_framesizes()
/openbmc/openbmc/poky/meta/lib/oe/
H A Dsdk.py152 fsize = int(math.ceil(float(os.path.getsize(os.path.join(root, fn))) / 1024))
155 extra_info['tasksizes'][task] = origtotal + fsize
156 extra_info['filesizes'][fn] = fsize

12345