/linux-master/drivers/s390/char/ |
H A D | sclp_ftp.h | 20 ssize_t sclp_ftp_cmd(const struct hmcdrv_ftp_cmdspec *ftp, size_t *fsize);
|
H A D | diag_ftp.h | 20 ssize_t diag_ftp_cmd(const struct hmcdrv_ftp_cmdspec *ftp, size_t *fsize);
|
H A D | hmcdrv_cache.h | 18 size_t *fsize);
|
H A D | hmcdrv_cache.c | 29 * @fsize: file size 32 * Notice that the first three members (id, fname, fsize) are cached on all 39 size_t fsize; member in struct:hmcdrv_cache_entry 49 .fsize = SIZE_MAX, 71 if (ftp->ofs >= hmcdrv_cache_file.fsize) /* EOF ? */ 81 len = hmcdrv_cache_file.fsize - ftp->ofs; 99 hmcdrv_cache_file.fsize); 134 len = func(&cftp, &hmcdrv_cache_file.fsize); /* now do */ 149 len = func(ftp, &hmcdrv_cache_file.fsize); 161 ftp->id, hmcdrv_cache_file.fsize, ft [all...] |
H A D | diag_ftp.c | 50 * @fsize: file size, filled on GET 61 u64 fsize; member in struct:diag_ftp_ldfpl 136 * @fsize: return of file size (or NULL if undesirable) 143 ssize_t diag_ftp_cmd(const struct hmcdrv_ftp_cmdspec *ftp, size_t *fsize) argument 169 ldfpl->fsize = 0; 188 diag_ftp_subcode, ldfpl->transferred, ldfpl->fsize); 194 if (fsize) 195 *fsize = ldfpl->fsize;
|
H A D | sclp_diag.h | 40 * @fsize: file size 55 u64 fsize; member in struct:sclp_diag_ftp
|
H A D | sclp_ftp.c | 76 sclp_ftp_fsize = diag->mdd.ftp.fsize; 114 sccb->evbuf.mdd.ftp.fsize = 0; 167 * @fsize: return of file size (or NULL if undesirable) 174 ssize_t sclp_ftp_cmd(const struct hmcdrv_ftp_cmdspec *ftp, size_t *fsize) argument 208 if (fsize) 209 *fsize = sclp_ftp_fsize;
|
/linux-master/sound/core/ |
H A D | pcm_timer.c | 21 unsigned long rate, mult, fsize, l, post; local 31 fsize = runtime->period_size; 32 if (snd_BUG_ON(!fsize)) 34 l = gcd(rate, fsize); 36 fsize /= l; 38 while ((mult * fsize) / fsize != mult) { 49 runtime->timer_resolution = (mult * fsize / rate) * post;
|
/linux-master/sound/usb/line6/ |
H A D | capture.h | 19 int fsize);
|
H A D | capture.c | 84 void line6_capture_copy(struct snd_line6_pcm *line6pcm, char *fbuf, int fsize) argument 92 int frames = fsize / bytes_per_frame; 120 line6pcm->in.pos_done * bytes_per_frame, fbuf, fsize); 163 int fsize; local 172 fsize = fin->actual_length; 174 if (fsize > line6pcm->max_packet_size_in) { 177 fsize, line6pcm->max_packet_size_in); 180 length += fsize; 192 line6pcm->prev_fsize = fsize / 198 fsize > [all...] |
H A D | playback.c | 169 int fsize = 0; local 173 fsize = line6pcm->prev_fsize; 174 if (fsize == 0) { 180 fsize = n; 183 fsize *= bytes_per_frame; 186 fout->length = fsize; 187 urb_size += fsize;
|
/linux-master/drivers/staging/media/imx/ |
H A D | imx-media-capture.c | 102 struct v4l2_frmsizeenum *fsize) 106 if (fsize->index > 0) 109 cc = imx_media_find_pixel_format(fsize->pixel_format, PIXFMT_SEL_ANY); 118 fsize->type = V4L2_FRMSIZE_TYPE_CONTINUOUS; 119 fsize->stepwise.min_width = 1; 120 fsize->stepwise.max_width = 65535; 121 fsize->stepwise.min_height = 1; 122 fsize->stepwise.max_height = 65535; 123 fsize->stepwise.step_width = 1; 124 fsize 101 capture_enum_framesizes(struct file *file, void *fh, struct v4l2_frmsizeenum *fsize) argument 279 capture_legacy_enum_framesizes(struct file *file, void *fh, struct v4l2_frmsizeenum *fsize) argument [all...] |
/linux-master/drivers/media/test-drivers/vimc/ |
H A D | vimc-capture.c | 173 struct v4l2_frmsizeenum *fsize) 177 if (fsize->index) 181 vpix = vimc_pix_map_by_code(fsize->pixel_format); 185 fsize->type = V4L2_FRMSIZE_TYPE_CONTINUOUS; 186 fsize->stepwise.min_width = VIMC_FRAME_MIN_WIDTH; 187 fsize->stepwise.max_width = VIMC_FRAME_MAX_WIDTH; 188 fsize->stepwise.min_height = VIMC_FRAME_MIN_HEIGHT; 189 fsize->stepwise.max_height = VIMC_FRAME_MAX_HEIGHT; 190 fsize->stepwise.step_width = 1; 191 fsize 172 vimc_capture_enum_framesizes(struct file *file, void *fh, struct v4l2_frmsizeenum *fsize) argument [all...] |
/linux-master/drivers/media/platform/verisilicon/ |
H A D | hantro_postproc.c | 158 struct v4l2_frmsizeenum *fsize) 162 * use fsize->index has power of 2 diviser 164 if (fsize->index > 3) 170 fsize->type = V4L2_FRMSIZE_TYPE_DISCRETE; 171 fsize->discrete.width = ctx->src_fmt.width >> fsize->index; 172 fsize->discrete.height = ctx->src_fmt.height >> fsize->index; 325 struct v4l2_frmsizeenum *fsize) 330 return vpu->variant->postproc_ops->enum_framesizes(ctx, fsize); 157 hantro_postproc_g2_enum_framesizes(struct hantro_ctx *ctx, struct v4l2_frmsizeenum *fsize) argument 324 hanto_postproc_enum_framesizes(struct hantro_ctx *ctx, struct v4l2_frmsizeenum *fsize) argument [all...] |
/linux-master/arch/x86/kernel/ |
H A D | signal.c | 391 unsigned long fsize = max_frame_size - fpu_default_state_size; local 399 fsize += current->group_leader->thread.fpu.perm.__user_state_size; 400 if (likely(ss_size > fsize)) 404 return ss_size > fsize; 408 return ss_size > fsize;
|
/linux-master/drivers/media/platform/ti/cal/ |
H A D | cal-video.c | 303 struct v4l2_frmsizeenum *fsize) 308 .index = fsize->index, 315 fmtinfo = find_format_by_pix(ctx, fsize->pixel_format); 318 fsize->pixel_format); 333 fsize->type = V4L2_FRMSIZE_TYPE_DISCRETE; 334 fsize->discrete.width = fse.max_width; 335 fsize->discrete.height = fse.max_height; 547 struct v4l2_frmsizeenum *fsize) 553 if (fsize->index > 0) 556 fmtinfo = cal_format_by_fourcc(fsize 302 cal_legacy_enum_framesizes(struct file *file, void *fh, struct v4l2_frmsizeenum *fsize) argument 546 cal_mc_enum_framesizes(struct file *file, void *fh, struct v4l2_frmsizeenum *fsize) argument [all...] |
/linux-master/drivers/media/usb/gspca/ |
H A D | stk1135.c | 619 struct v4l2_frmsizeenum *fsize) 621 if (fsize->index != 0 || fsize->pixel_format != V4L2_PIX_FMT_SBGGR8) 624 fsize->type = V4L2_FRMSIZE_TYPE_STEPWISE; 625 fsize->stepwise.min_width = 32; 626 fsize->stepwise.min_height = 32; 627 fsize->stepwise.max_width = 1280; 628 fsize->stepwise.max_height = 1024; 629 fsize->stepwise.step_width = 2; 630 fsize 618 stk1135_enum_framesizes(struct gspca_dev *gspca_dev, struct v4l2_frmsizeenum *fsize) argument [all...] |
/linux-master/drivers/staging/media/starfive/camss/ |
H A D | stf-video.c | 373 struct v4l2_frmsizeenum *fsize) 378 if (fsize->index) 382 if (video->formats[i].pixelformat == fsize->pixel_format) 389 fsize->type = V4L2_FRMSIZE_TYPE_CONTINUOUS; 390 fsize->stepwise.min_width = STFCAMSS_FRAME_MIN_WIDTH; 391 fsize->stepwise.max_width = STFCAMSS_FRAME_MAX_WIDTH; 392 fsize->stepwise.min_height = STFCAMSS_FRAME_MIN_HEIGHT; 393 fsize->stepwise.max_height = STFCAMSS_FRAME_MAX_HEIGHT; 394 fsize->stepwise.step_width = 1; 395 fsize 372 video_enum_framesizes(struct file *file, void *fh, struct v4l2_frmsizeenum *fsize) argument [all...] |
/linux-master/arch/m68k/kernel/ |
H A D | signal.c | 881 int fsize = frame_extra_sizes(tregs->format); local 885 if (fsize < 0) { 891 frame = get_sigframe(ksig, tregs, sizeof(*frame) + fsize); 893 if (fsize) 894 err |= copy_to_user (frame + 1, regs + 1, fsize); 926 * first one will see frame format 0 and have fsize == 0, so we won't 929 if (fsize) { 930 regs->stkadj = fsize; 954 int fsize = frame_extra_sizes(tregs->format); local 957 if (fsize < [all...] |
/linux-master/drivers/platform/x86/amd/pmc/ |
H A D | pmc.c | 245 u32 fsize; local 247 fsize = dev->dram_size - S2D_RSVD_RAM_SPACE; 248 stb_data_arr = kmalloc(struct_size(stb_data_arr, data, fsize), GFP_KERNEL); 252 stb_data_arr->size = fsize; 253 memcpy_fromio(stb_data_arr->data, dev->stb_virt_addr, fsize); 262 u32 fsize, num_samples, val, stb_rdptr_offset = 0; local 295 fsize = min(num_samples, S2D_TELEMETRY_BYTES_MAX); 296 stb_data_arr = kmalloc(struct_size(stb_data_arr, data, fsize), GFP_KERNEL); 300 stb_data_arr->size = fsize; 310 fsize [all...] |
/linux-master/drivers/media/i2c/ |
H A D | ov7740.c | 727 const struct ov7740_framesize *fsize = &ov7740_framesizes[0]; local 743 if ((fsize->width >= fmt->width) && 744 (fsize->height >= fmt->height)) { 745 fmt->width = fsize->width; 746 fmt->height = fsize->height; 750 fsize++; 753 fsize = &ov7740_framesizes[0]; 754 fmt->width = fsize->width; 755 fmt->height = fsize->height; 758 *ret_frmsize = fsize; 774 const struct ov7740_framesize *fsize; local [all...] |
H A D | ov9282.c | 752 * @fsize: V4L2 sub-device size enumeration need to be filled 758 struct v4l2_subdev_frame_size_enum *fsize) 760 if (fsize->index >= ARRAY_SIZE(supported_modes)) 763 if (fsize->code != MEDIA_BUS_FMT_Y10_1X10 && 764 fsize->code != MEDIA_BUS_FMT_Y8_1X8) 767 fsize->min_width = supported_modes[fsize->index].width; 768 fsize->max_width = fsize->min_width; 769 fsize 756 ov9282_enum_frame_size(struct v4l2_subdev *sd, struct v4l2_subdev_state *sd_state, struct v4l2_subdev_frame_size_enum *fsize) argument [all...] |
/linux-master/lib/842/ |
H A D | 842_decompress.c | 163 static int __do_index(struct sw842_param *p, u8 size, u8 bits, u64 fsize) argument 174 /* a ring buffer of fsize is used; correct the offset */ 175 if (total > fsize) { 177 u64 section = round_down(total, fsize); 185 section -= fsize;
|
/linux-master/arch/powerpc/platforms/cell/ |
H A D | iommu.c | 300 unsigned long fbase, unsigned long fsize) 305 segments = max(dbase + dsize, fbase + fsize) >> IO_SEGMENT_SHIFT; 882 unsigned long fbase, unsigned long fsize) 886 ptab = cell_iommu_alloc_ptab(iommu, fbase, fsize, dbase, dsize, 24); 890 pr_debug("iommu: mapping 0x%lx pages from 0x%lx\n", fsize, fbase); 902 for (uaddr = 0; uaddr < fsize; uaddr += (1 << 24)) { 918 unsigned long dbase, dsize, fbase, fsize, hbase, hend; local 952 fsize = memblock_phys_mem_size(); 954 if ((fbase + fsize) <= 0x800000000ul) 1006 dbase + dsize, fbase, fbase + fsize); 298 cell_iommu_setup_stab(struct cbe_iommu *iommu, unsigned long dbase, unsigned long dsize, unsigned long fbase, unsigned long fsize) argument 880 cell_iommu_setup_fixed_ptab(struct cbe_iommu *iommu, struct device_node *np, unsigned long dbase, unsigned long dsize, unsigned long fbase, unsigned long fsize) argument [all...] |
/linux-master/drivers/media/platform/mediatek/vcodec/decoder/ |
H A D | mtk_vcodec_dec.c | 546 struct v4l2_frmsizeenum *fsize) 552 if (fsize->index != 0) 556 if (fsize->pixel_format != dec_pdata->vdec_formats[i].fourcc) 563 fsize->type = V4L2_FRMSIZE_TYPE_STEPWISE; 564 fsize->stepwise = dec_pdata->vdec_formats[i].frmsize; 567 ctx->dev->dec_capability, fsize->stepwise.min_width, 568 fsize->stepwise.max_width, fsize->stepwise.step_width, 569 fsize->stepwise.min_height, fsize 545 vidioc_enum_framesizes(struct file *file, void *priv, struct v4l2_frmsizeenum *fsize) argument [all...] |