/drivers/gpu/drm/omapdrm/ |
D | omap_fb.c | 104 u32 orient; in drm_rotation_to_tiler() local 109 orient = 0; in drm_rotation_to_tiler() 112 orient = MASK_XY_FLIP | MASK_X_INVERT; in drm_rotation_to_tiler() 115 orient = MASK_X_INVERT | MASK_Y_INVERT; in drm_rotation_to_tiler() 118 orient = MASK_XY_FLIP | MASK_Y_INVERT; in drm_rotation_to_tiler() 123 orient ^= MASK_X_INVERT; in drm_rotation_to_tiler() 126 orient ^= MASK_Y_INVERT; in drm_rotation_to_tiler() 128 return orient; in drm_rotation_to_tiler() 138 u32 x, y, orient = 0; in omap_framebuffer_update_scanout() local 160 orient = drm_rotation_to_tiler(state->rotation); in omap_framebuffer_update_scanout() [all …]
|
D | omap_dmm_tiler.h | 82 #define TIL_ADDR(x, orient, a)\ argument 83 ((u32) (x) | (orient) | ((a) << SHIFT_ACC_MODE)) 102 dma_addr_t tiler_tsptr(struct tiler_block *block, u32 orient, 104 u32 tiler_stride(enum tiler_fmt fmt, u32 orient);
|
D | omap_gem.h | 82 int omap_gem_rotated_dma_addr(struct drm_gem_object *obj, u32 orient, 84 int omap_gem_tiled_stride(struct drm_gem_object *obj, u32 orient);
|
D | omap_dmm_tiler.c | 641 static u32 tiler_get_address(enum tiler_fmt fmt, u32 orient, u32 x, u32 y) in tiler_get_address() argument 660 if (orient & MASK_X_INVERT) in tiler_get_address() 662 if (orient & MASK_Y_INVERT) in tiler_get_address() 666 if (orient & MASK_XY_FLIP) in tiler_get_address() 671 return TIL_ADDR((tmp << alignment), orient, fmt); in tiler_get_address() 683 dma_addr_t tiler_tsptr(struct tiler_block *block, u32 orient, in tiler_tsptr() argument 689 return tiler_get_address(block->fmt, orient, in tiler_tsptr() 701 u32 tiler_stride(enum tiler_fmt fmt, u32 orient) in tiler_stride() argument 705 if (orient & MASK_XY_FLIP) in tiler_stride()
|
D | omap_gem.c | 890 int omap_gem_rotated_dma_addr(struct drm_gem_object *obj, u32 orient, in omap_gem_rotated_dma_addr() argument 900 *dma_addr = tiler_tsptr(omap_obj->block, orient, x, y); in omap_gem_rotated_dma_addr() 910 int omap_gem_tiled_stride(struct drm_gem_object *obj, u32 orient) in omap_gem_tiled_stride() argument 915 ret = tiler_stride(gem2fmt(omap_obj->flags), orient); in omap_gem_tiled_stride()
|
/drivers/iio/imu/inv_mpu6050/ |
D | inv_mpu_magn.c | 265 const char *orient; in inv_mpu_magn_set_orient() local 284 orient = st->orientation.rotation[i]; in inv_mpu_magn_set_orient() 294 if (orient[0] == '-') in inv_mpu_magn_set_orient() 295 str = devm_kstrdup(dev, orient + 1, GFP_KERNEL); in inv_mpu_magn_set_orient() 296 else if (!strcmp(orient, "0")) in inv_mpu_magn_set_orient() 297 str = devm_kstrdup(dev, orient, GFP_KERNEL); in inv_mpu_magn_set_orient() 299 str = devm_kasprintf(dev, GFP_KERNEL, "-%s", orient); in inv_mpu_magn_set_orient()
|
/drivers/macintosh/ams/ |
D | ams-core.c | 28 u32 orient = ams_info.vflag? ams_info.orient1 : ams_info.orient2; in ams_sensors() local 30 if (orient & 0x80) in ams_sensors() 36 if (orient & 0x04) in ams_sensors() 38 if (orient & 0x02) in ams_sensors() 40 if (orient & 0x01) in ams_sensors()
|
/drivers/input/misc/ |
D | adxl34x.c | 302 int int_stat, tap_stat, samples, orient, orient_code; in adxl34x_irq() local 342 orient = AC_READ(ac, ORIENT); in adxl34x_irq() 344 (orient & ADXL346_2D_VALID)) { in adxl34x_irq() 346 orient_code = ADXL346_2D_ORIENT(orient); in adxl34x_irq() 356 (orient & ADXL346_3D_VALID)) { in adxl34x_irq() 358 orient_code = ADXL346_3D_ORIENT(orient) - 1; in adxl34x_irq()
|
/drivers/input/touchscreen/ |
D | atmel_mxt_ts.c | 1902 unsigned char orient; in mxt_read_t9_resolution() local 1932 1, &orient); in mxt_read_t9_resolution() 1936 data->xy_switch = orient & MXT_T9_ORIENT_SWITCH; in mxt_read_t9_resolution() 1937 data->invertx = orient & MXT_T9_ORIENT_INVERTX; in mxt_read_t9_resolution() 1938 data->inverty = orient & MXT_T9_ORIENT_INVERTY; in mxt_read_t9_resolution()
|
/drivers/gpu/drm/sti/ |
D | sti_hqvdp.c | 665 static void sti_hqvdp_update_hvsrc(enum sti_hvsrc_orient orient, int scale, in sti_hqvdp_update_hvsrc() argument 700 if (orient == HVSRC_HORI) { in sti_hqvdp_update_hvsrc()
|
/drivers/media/i2c/ccs/ |
D | ccs-core.c | 619 u32 orient = 0; in ccs_set_ctrl() local 631 orient |= CCS_IMAGE_ORIENTATION_HORIZONTAL_MIRROR; in ccs_set_ctrl() 634 orient |= CCS_IMAGE_ORIENTATION_VERTICAL_FLIP; in ccs_set_ctrl() 636 orient ^= sensor->hvflip_inv_mask; in ccs_set_ctrl() 731 rval = ccs_write(sensor, IMAGE_ORIENTATION, orient); in ccs_set_ctrl()
|