/openbmc/linux/drivers/s390/char/ |
H A D | hmcdrv_cache.c | 39 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 D | diag_ftp.c | 61 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 D | sclp_ftp.c | 76 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 D | pcm_timer.c | 21 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 D | capture.c | 84 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 D | playback.c | 169 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/staging/media/imx/ |
H A D | imx-media-capture.c | 102 struct v4l2_frmsizeenum *fsize) in capture_enum_framesizes() argument 106 if (fsize->index > 0) in capture_enum_framesizes() 109 cc = imx_media_find_pixel_format(fsize->pixel_format, PIXFMT_SEL_ANY); in capture_enum_framesizes() 118 fsize->type = V4L2_FRMSIZE_TYPE_CONTINUOUS; 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() [all …]
|
/openbmc/linux/drivers/media/platform/verisilicon/ |
H A D | hantro_postproc.c | 158 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/media/test-drivers/vimc/ |
H A D | vimc-capture.c | 173 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/usb/gspca/ |
H A D | stk1135.c | 619 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/platform/ti/cal/ |
H A D | cal-video.c | 303 struct v4l2_frmsizeenum *fsize) in cal_legacy_enum_framesizes() argument 308 .index = fsize->index, in cal_legacy_enum_framesizes() 315 fmtinfo = find_format_by_pix(ctx, fsize->pixel_format); 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() 556 fmtinfo = cal_format_by_fourcc(fsize->pixel_format); in cal_mc_enum_framesizes() [all …]
|
/openbmc/linux/arch/x86/kernel/ |
H A D | signal.c | 391 unsigned long fsize = max_frame_size - fpu_default_state_size; in sigaltstack_size_valid() local 399 fsize += current->group_leader->thread.fpu.perm.__user_state_size; in sigaltstack_size_valid() 400 if (likely(ss_size > fsize)) in sigaltstack_size_valid() 404 return ss_size > fsize; in sigaltstack_size_valid() 408 return ss_size > fsize; in sigaltstack_size_valid()
|
/openbmc/linux/drivers/media/i2c/ |
H A D | imx334.c | 774 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 D | ov7740.c | 762 const struct ov7740_framesize *fsize = &ov7740_framesizes[0]; in ov7740_try_fmt_internal() local 778 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() [all …]
|
H A D | imx335.c | 527 struct v4l2_subdev_frame_size_enum *fsize) in imx335_enum_frame_size() argument 529 if (fsize->index > 0) in imx335_enum_frame_size() 532 if (fsize->code != supported_mode.code) in imx335_enum_frame_size() 535 fsize->min_width = supported_mode.width; in imx335_enum_frame_size() 536 fsize->max_width = fsize->min_width; in imx335_enum_frame_size() 537 fsize->min_height = supported_mode.height; in imx335_enum_frame_size() 538 fsize->max_height = fsize->min_height; in imx335_enum_frame_size()
|
H A D | imx412.c | 669 struct v4l2_subdev_frame_size_enum *fsize) in imx412_enum_frame_size() argument 671 if (fsize->index > 0) in imx412_enum_frame_size() 674 if (fsize->code != supported_mode.code) in imx412_enum_frame_size() 677 fsize->min_width = supported_mode.width; in imx412_enum_frame_size() 678 fsize->max_width = fsize->min_width; in imx412_enum_frame_size() 679 fsize->min_height = supported_mode.height; in imx412_enum_frame_size() 680 fsize->max_height = fsize->min_height; in imx412_enum_frame_size()
|
H A D | ov9282.c | 760 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/qemu/audio/ |
H A D | spiceaudio.c | 51 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/arch/m68k/kernel/ |
H A D | signal.c | 879 int fsize = frame_extra_sizes(tregs->format); in setup_frame() local 883 if (fsize < 0) { in setup_frame() 889 frame = get_sigframe(ksig, tregs, sizeof(*frame) + fsize); 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() [all …]
|
/openbmc/linux/arch/powerpc/platforms/cell/ |
H A D | iommu.c | 300 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 886 ptab = cell_iommu_alloc_ptab(iommu, fbase, fsize, dbase, dsize, 24); in cell_iommu_setup_fixed_ptab() 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() [all …]
|
/openbmc/openbmc/meta-openembedded/meta-networking/recipes-connectivity/rdist/rdist-6.1.5/ |
H A D | rdist-6.1.5-stat64.patch | 64 - 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 D | deploy.py | 203 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/qcom/camss/ |
H A D | camss-video.c | 653 struct v4l2_frmsizeenum *fsize) in video_enum_framesizes() argument 658 if (fsize->index) in video_enum_framesizes() 663 if (video->formats[i].pixelformat == fsize->pixel_format) in video_enum_framesizes() 670 fsize->type = V4L2_FRMSIZE_TYPE_CONTINUOUS; in video_enum_framesizes() 671 fsize->stepwise.min_width = CAMSS_FRAME_MIN_WIDTH; in video_enum_framesizes() 672 fsize->stepwise.max_width = CAMSS_FRAME_MAX_WIDTH; in video_enum_framesizes() 673 fsize->stepwise.min_height = CAMSS_FRAME_MIN_HEIGHT; in video_enum_framesizes() 674 fsize->stepwise.max_height = (video->line_based) ? in video_enum_framesizes() 676 fsize->stepwise.step_width = 1; in video_enum_framesizes() 677 fsize->stepwise.step_height = 1; in video_enum_framesizes()
|
/openbmc/linux/drivers/media/platform/sunxi/sun8i-rotate/ |
H A D | sun8i_rotate.c | 236 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/sunxi/sun8i-di/ |
H A D | sun8i-di.c | 374 struct v4l2_frmsizeenum *fsize) in deinterlace_enum_framesizes() argument 376 if (fsize->index != 0) in deinterlace_enum_framesizes() 379 if (!deinterlace_check_format(fsize->pixel_format)) in deinterlace_enum_framesizes() 382 fsize->type = V4L2_FRMSIZE_TYPE_STEPWISE; in deinterlace_enum_framesizes() 383 fsize->stepwise.min_width = DEINTERLACE_MIN_WIDTH; in deinterlace_enum_framesizes() 384 fsize->stepwise.min_height = DEINTERLACE_MIN_HEIGHT; in deinterlace_enum_framesizes() 385 fsize->stepwise.max_width = DEINTERLACE_MAX_WIDTH; in deinterlace_enum_framesizes() 386 fsize->stepwise.max_height = DEINTERLACE_MAX_HEIGHT; in deinterlace_enum_framesizes() 387 fsize->stepwise.step_width = 2; in deinterlace_enum_framesizes() 388 fsize->stepwise.step_height = 1; in deinterlace_enum_framesizes()
|