Searched refs:rot (Results 1 - 25 of 36) sorted by last modified time

12

/linux-master/drivers/gpu/drm/exynos/
H A Dexynos_drm_rotator.c35 #define rot_read(offset) readl(rot->regs + (offset))
36 #define rot_write(cfg, offset) writel(cfg, rot->regs + (offset))
68 static void rotator_reg_set_irq(struct rot_context *rot, bool enable) argument
80 static enum rot_irq_status rotator_reg_get_irq_status(struct rot_context *rot) argument
94 struct rot_context *rot = arg; local
99 irq_status = rotator_reg_get_irq_status(rot);
106 if (rot->task) {
107 struct exynos_drm_ipp_task *task = rot->task;
109 rot->task = NULL;
110 pm_runtime_mark_last_busy(rot
119 rotator_src_set_fmt(struct rot_context *rot, u32 fmt) argument
138 rotator_src_set_buf(struct rot_context *rot, struct exynos_drm_ipp_buffer *buf) argument
160 rotator_dst_set_transf(struct rot_context *rot, unsigned int rotation) argument
186 rotator_dst_set_buf(struct rot_context *rot, struct exynos_drm_ipp_buffer *buf) argument
205 rotator_start(struct rot_context *rot) argument
220 struct rot_context *rot = local
246 struct rot_context *rot = dev_get_drvdata(dev); local
266 struct rot_context *rot = dev_get_drvdata(dev); local
281 struct rot_context *rot; local
343 struct rot_context *rot = dev_get_drvdata(dev); local
351 struct rot_context *rot = dev_get_drvdata(dev); local
[all...]
/linux-master/drivers/gpu/drm/arm/display/komeda/d71/
H A Dd71_component.c128 static u32 to_rot_ctrl(u32 rot) argument
132 switch (rot & DRM_MODE_ROTATE_MASK) {
147 if (rot & DRM_MODE_REFLECT_X)
149 if (rot & DRM_MODE_REFLECT_Y)
225 u32 ctrl = L_EN | to_rot_ctrl(st->rot);
368 if (drm_rotation_90_or_270(st->rot))
H A Dd71_dev.c534 u32 layer_type, u64 modifier, u32 rot)
539 drm_rotation_90_or_270(rot)) {
533 d71_format_mod_supported(const struct komeda_format_caps *caps, u32 layer_type, u64 modifier, u32 rot) argument
/linux-master/drivers/scsi/
H A Dsd.c3275 u16 rot; local
3285 rot = get_unaligned_be16(&vpd->data[4]);
3289 if (rot == 1) {
/linux-master/arch/arm/net/
H A Dbpf_jit_32.c341 u32 rot; local
343 for (rot = 0; rot < 16; rot++)
344 if ((x & ~ror32(0xff, 2 * rot)) == 0)
345 return rol32(x, 2 * rot) | (rot << 8);
/linux-master/fs/btrfs/
H A Dscrub.c1308 u32 rot; local
1315 rot = stripe_nr % map->num_stripes;
1317 rot += i;
1318 stripe_index = rot % map->num_stripes;
1957 int rot; local
1961 rot = div_u64(full_stripe_start - bg->start,
1963 stripe_index = (i + rot) % map->num_stripes;
1965 btrfs_stripe_nr_to_offset(rot);
/linux-master/drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/
H A Dphy_n.c23040 s32 theta = 0, rot = 0; local
23063 rot = ((f_kHz * 36) / phy_bw) / 100;
23070 theta += rot;
H A Dphy_lcn.c3339 s32 theta = 0, rot = 0; local
3368 rot = ((f_kHz * 36) / phy_bw) / 100;
3375 theta += rot;
/linux-master/drivers/net/wireless/broadcom/b43/
H A Dphy_n.c1534 u16 bw, len, rot, angle; local
1557 rot = (((freq * 36) / bw) << 16) / 100;
1562 angle += rot;
/linux-master/drivers/video/fbdev/omap2/omapfb/
H A Domapfb-main.c150 static unsigned omapfb_get_vrfb_offset(const struct omapfb_info *ofbi, int rot) argument
155 switch (rot) {
178 static u32 omapfb_get_region_rot_paddr(const struct omapfb_info *ofbi, int rot) argument
181 return ofbi->region->vrfb.paddr[rot]
182 + omapfb_get_vrfb_offset(ofbi, rot);
H A Dvrfb.c31 #define SMS_ROT_VIRT_BASE(rot) (0x1000000 * (rot))
231 int omap_vrfb_map_angle(struct vrfb *vrfb, u16 height, u8 rot) argument
235 vrfb->vaddr[rot] = ioremap_wc(vrfb->paddr[rot], size);
237 if (!vrfb->vaddr[rot]) {
242 DBG("ioremapped vrfb area %d of size %lu into %p\n", rot, size,
243 vrfb->vaddr[rot]);
251 int rot; local
265 for (rot
280 int rot; local
[all...]
H A Domapfb-sysfs.c363 int rot; local
370 rot = simple_strtoul(p, &p, 0);
371 if (rot < 0 || rot > 3) {
376 if (ofbi->rotation[num_ovls] != rot)
379 rotation[num_ovls++] = rot;
/linux-master/drivers/media/platform/samsung/exynos-gsc/
H A Dgsc-core.h405 int dh, int rot, int out_path);
H A Dgsc-core.c606 int dh, int rot, int out_path)
615 if (rot == 90 || rot == 270) {
605 gsc_check_scaler_ratio(struct gsc_variant *var, int sw, int sh, int dw, int dh, int rot, int out_path) argument
/linux-master/scripts/gcc-plugins/
H A Drandomize_layout_plugin.c126 #define rot(x,k) (((x)<<(k))|((x)>>(64-(k)))) macro
128 u64 e = x->a - rot(x->b, 7);
129 x->a = x->b ^ rot(x->c, 13);
130 x->b = x->c + rot(x->d, 37);
/linux-master/drivers/gpu/drm/arm/display/komeda/
H A Dkomeda_pipeline_state.c274 komeda_rotate_data_flow(struct komeda_data_flow_cfg *dflow, u32 rot) argument
276 if (drm_rotation_90_or_270(rot)) {
290 if (!komeda_fb_is_layer_supported(kfb, layer->layer_type, dflow->rot))
318 if (drm_rotation_90_or_270(dflow->rot))
360 st->rot = dflow->rot;
393 komeda_rotate_data_flow(dflow, st->rot);
855 if (drm_rotation_90_or_270(dflow->rot))
950 bool r90 = drm_rotation_90_or_270(dflow->rot);
951 bool flip_h = has_flip_h(dflow->rot);
[all...]
H A Dkomeda_kms.h159 static inline bool has_flip_h(u32 rot) argument
161 u32 rotation = drm_rotation_simplify(rot,
H A Dkomeda_plane.c50 dflow->rot = drm_rotation_simplify(st->rotation, caps->supported_rots);
51 if (!has_bits(dflow->rot, caps->supported_rots)) {
53 dflow->rot, &caps->fourcc, fb->modifier);
H A Dkomeda_framebuffer.c268 u32 rot)
277 fourcc, modifier, rot);
267 komeda_fb_is_layer_supported(struct komeda_fb *kfb, u32 layer_type, u32 rot) argument
H A Dkomeda_wb_connector.c29 dflow->rot = DRM_MODE_ROTATE_0;
/linux-master/drivers/video/fbdev/
H A Dsh7760fb.c38 int rot; /* rotation enabled? */ member in struct:sh7760fb_par
208 par->rot = par->pd->rotate;
211 if (par->rot && (vm->xres > 320)) {
213 par->rot = 0;
233 par->rot ? "rotated" : "normal");
254 iowrite16((par->rot ? 1 << 13 : 0), par->base + LDSMR); /* rotate */
270 stride = (par->rot) ? vtln : hdcn;
284 if (par->rot) {
298 if (par->rot)
314 if (par->rot)
[all...]
/linux-master/drivers/media/dvb-frontends/cxd2880/
H A Dcxd2880_tnrdmd_dvbt2_mon.c685 plp_info->rot = data[index++] & 0x01;
/linux-master/drivers/video/fbdev/omap2/omapfb/dss/
H A Ddisplay-sysfs.c153 int rot, r; local
158 r = kstrtoint(buf, 0, &rot);
162 r = dssdev->driver->set_rotate(dssdev, rot);
/linux-master/drivers/gpu/drm/arm/
H A Dmalidp_planes.c561 if (mp->layer->rot == ROTATE_NONE)
563 if ((mp->layer->rot == ROTATE_COMPRESSED) && !(fb->modifier))
/linux-master/drivers/media/platform/mediatek/mdp/
H A Dmtk_mdp_m2m.c816 int src_h, int dst_w, int dst_h, int rot)
820 if (rot == 90 || rot == 270) {
815 mtk_mdp_check_scaler_ratio(struct mtk_mdp_variant *var, int src_w, int src_h, int dst_w, int dst_h, int rot) argument

Completed in 516 milliseconds

12