Searched refs:orient (Results 1 – 8 of 8) sorted by relevance
| /linux/drivers/gpu/drm/omapdrm/ |
| H A D | omap_fb.c | 108 u32 orient; in drm_rotation_to_tiler() local 113 orient = 0; in drm_rotation_to_tiler() 116 orient = MASK_XY_FLIP | MASK_X_INVERT; in drm_rotation_to_tiler() 119 orient = MASK_X_INVERT | MASK_Y_INVERT; in drm_rotation_to_tiler() 122 orient = MASK_XY_FLIP | MASK_Y_INVERT; in drm_rotation_to_tiler() 127 orient ^= MASK_X_INVERT; in drm_rotation_to_tiler() 130 orient ^= MASK_Y_INVERT; in drm_rotation_to_tiler() 132 return orient; in drm_rotation_to_tiler() 144 u32 x, y, orient = 0; in omap_framebuffer_update_scanout() local 166 orient = drm_rotation_to_tiler(state->rotation); in omap_framebuffer_update_scanout() [all …]
|
| H A D | omap_dmm_tiler.h | 74 #define TIL_ADDR(x, orient, a)\ argument 75 ((u32) (x) | (orient) | ((a) << SHIFT_ACC_MODE)) 94 dma_addr_t tiler_tsptr(struct tiler_block *block, u32 orient, 96 u32 tiler_stride(enum tiler_fmt fmt, u32 orient);
|
| H A D | omap_gem.h | 79 int omap_gem_rotated_dma_addr(struct drm_gem_object *obj, u32 orient, 81 int omap_gem_tiled_stride(struct drm_gem_object *obj, u32 orient);
|
| H A D | omap_dmm_tiler.c | 636 static u32 tiler_get_address(enum tiler_fmt fmt, u32 orient, u32 x, u32 y) in tiler_get_address() argument 655 if (orient & MASK_X_INVERT) in tiler_get_address() 657 if (orient & MASK_Y_INVERT) in tiler_get_address() 661 if (orient & MASK_XY_FLIP) in tiler_get_address() 666 return TIL_ADDR((tmp << alignment), orient, fmt); in tiler_get_address() 678 dma_addr_t tiler_tsptr(struct tiler_block *block, u32 orient, in tiler_tsptr() argument 684 return tiler_get_address(block->fmt, orient, in tiler_tsptr() 696 u32 tiler_stride(enum tiler_fmt fmt, u32 orient) in tiler_stride() argument 700 if (orient & MASK_XY_FLIP) in tiler_stride()
|
| H A D | omap_gem.c | 896 int omap_gem_rotated_dma_addr(struct drm_gem_object *obj, u32 orient, in omap_gem_rotated_dma_addr() argument 906 *dma_addr = tiler_tsptr(omap_obj->block, orient, x, y); in omap_gem_rotated_dma_addr() 916 int omap_gem_tiled_stride(struct drm_gem_object *obj, u32 orient) in omap_gem_tiled_stride() argument 921 ret = tiler_stride(gem2fmt(omap_obj->flags), orient); in omap_gem_tiled_stride()
|
| /linux/drivers/iio/imu/inv_mpu6050/ |
| H A 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()
|
| /linux/drivers/macintosh/ams/ |
| H A 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()
|
| /linux/Documentation/devicetree/bindings/iio/ |
| H A D | mount-matrix.txt | 12 The mounting matrix is a device tree property used to orient any device 157 to orient the senor axes relative to a desired point of reference. This means
|