Home
last modified time | relevance | path

Searched refs:swidth (Results 1 – 12 of 12) sorted by relevance

/drivers/staging/lustre/lustre/lov/
Dlov_offset.c46 u64 swidth; in lov_stripe_size() local
53 lsm_op_find(magic)->lsm_stripe_by_index(lsm, &stripeno, NULL, &swidth); in lov_stripe_size()
58 lov_size = ost_size * swidth + stripeno * ssize + stripe_size; in lov_stripe_size()
60 lov_size = (ost_size - 1) * swidth + (stripeno + 1) * ssize; in lov_stripe_size()
130 u64 stripe_off, this_stripe, swidth; in lov_stripe_offset() local
140 &swidth); in lov_stripe_offset()
143 stripe_off = lov_do_div64(lov_off, swidth); in lov_stripe_offset()
185 u64 stripe_off, this_stripe, swidth; in lov_size_to_stripe() local
192 &swidth); in lov_size_to_stripe()
195 stripe_off = lov_do_div64(file_size, swidth); in lov_size_to_stripe()
[all …]
Dlov_ea.c136 u64 *lov_off, u64 *swidth) in lsm_stripe_by_index_plain() argument
138 if (swidth) in lsm_stripe_by_index_plain()
139 *swidth = (u64)lsm->lsm_stripe_size * lsm->lsm_stripe_count; in lsm_stripe_by_index_plain()
144 u64 *lov_off, u64 *swidth) in lsm_stripe_by_offset_plain() argument
146 if (swidth) in lsm_stripe_by_offset_plain()
147 *swidth = (u64)lsm->lsm_stripe_size * lsm->lsm_stripe_count; in lsm_stripe_by_offset_plain()
/drivers/media/pci/bt8xx/
Dbtcx-risc.c88 btcx_screen_clips(int swidth, int sheight, struct v4l2_rect *win, in btcx_screen_clips() argument
99 if (win->left + win->width > swidth) { in btcx_screen_clips()
101 clips[n].c.left = swidth - win->left; in btcx_screen_clips()
Dbttv-risc.c343 int swidth = tvnorm->swidth; in bttv_calc_geo_old() local
348 swidth = 720; in bttv_calc_geo_old()
355 xsf = (width*scaledtwidth)/swidth; in bttv_calc_geo_old()
358 geo->hdelay = (geo->hdelay*width)/swidth; in bttv_calc_geo_old()
396 && width <= tvnorm->swidth /* see PAL-Nc et al */) in bttv_calc_geo()
848 bttv_calc_geo(btv,&buf->geo,tvnorm->swidth,tvnorm->sheight, in bttv_buffer_risc()
Dbtcx-risc.h19 int btcx_screen_clips(int swidth, int sheight, struct v4l2_rect *win,
Dbttv-driver.c268 #define CROPCAP(minhdelayx1, hdelayx1, swidth, totalwidth, sqwidth, \ argument
280 .cropcap.defrect.width = swidth, \
293 .swidth = 924,
327 .swidth = 768,
354 .swidth = 924,
380 .swidth = 640,
406 .swidth = 640,
432 .swidth = 768,
458 .swidth = 640,
487 .swidth = 924,
Dbttvp.h93 u16 swidth, sheight; /* scaled standard width, height */ member
/drivers/dma/
Dmpc512x_dma.c218 u8 swidth; member
766 if (!IS_ALIGNED(sg_dma_address(sg), mchan->swidth)) in mpc_dma_prep_slave_sg()
769 tcd->soff = mchan->swidth; in mpc_dma_prep_slave_sg()
773 tcd->ssize = buswidth_to_dmatsize(mchan->swidth); in mpc_dma_prep_slave_sg()
778 if (!IS_ALIGNED(tcd->nbytes, mchan->swidth)) in mpc_dma_prep_slave_sg()
874 mchan->swidth = cfg->src_addr_width; in mpc_dma_device_config()
/drivers/media/common/
Dbtcx-risc.h21 int btcx_screen_clips(int swidth, int sheight, struct v4l2_rect *win,
/drivers/media/pci/cx88/
Dcx88-core.c662 unsigned int swidth = norm_swidth(core->tvnorm); in cx88_set_scale() local
674 value = (width * norm_hdelay(core->tvnorm)) / swidth; in cx88_set_scale()
678 dprintk(1,"set_scale: hdelay 0x%04x (width %d)\n", value,swidth); in cx88_set_scale()
680 value = (swidth * 4096 / width) - 4096; in cx88_set_scale()
/drivers/gpu/drm/i915/
Dintel_overlay.c773 u32 swidth, swidthsw, sheight, ostride; in intel_overlay_do_put_image() local
827 swidth = params->src_w; in intel_overlay_do_put_image()
837 swidth |= (params->src_w/uv_hscale) << 16; in intel_overlay_do_put_image()
851 iowrite32(swidth, &regs->SWIDTH); in intel_overlay_do_put_image()
/drivers/media/pci/ngene/
Dngene.h610 u16 swidth, sheight; /* scaled standard width, height */ member