/Linux-v6.6/drivers/gpu/drm/omapdrm/ |
D | omap_fb.c | 106 u32 orient; in drm_rotation_to_tiler() local 111 orient = 0; in drm_rotation_to_tiler() 114 orient = MASK_XY_FLIP | MASK_X_INVERT; in drm_rotation_to_tiler() 117 orient = MASK_X_INVERT | MASK_Y_INVERT; in drm_rotation_to_tiler() 120 orient = MASK_XY_FLIP | MASK_Y_INVERT; in drm_rotation_to_tiler() 125 orient ^= MASK_X_INVERT; in drm_rotation_to_tiler() 128 orient ^= MASK_Y_INVERT; in drm_rotation_to_tiler() 130 return orient; in drm_rotation_to_tiler() 142 u32 x, y, orient = 0; in omap_framebuffer_update_scanout() local 164 orient = drm_rotation_to_tiler(state->rotation); in omap_framebuffer_update_scanout() [all …]
|
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);
|
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);
|
D | omap_dmm_tiler.c | 634 static u32 tiler_get_address(enum tiler_fmt fmt, u32 orient, u32 x, u32 y) in tiler_get_address() argument 653 if (orient & MASK_X_INVERT) in tiler_get_address() 655 if (orient & MASK_Y_INVERT) in tiler_get_address() 659 if (orient & MASK_XY_FLIP) in tiler_get_address() 664 return TIL_ADDR((tmp << alignment), orient, fmt); in tiler_get_address() 676 dma_addr_t tiler_tsptr(struct tiler_block *block, u32 orient, in tiler_tsptr() argument 682 return tiler_get_address(block->fmt, orient, in tiler_tsptr() 694 u32 tiler_stride(enum tiler_fmt fmt, u32 orient) in tiler_stride() argument 698 if (orient & MASK_XY_FLIP) in tiler_stride()
|
D | omap_gem.c | 892 int omap_gem_rotated_dma_addr(struct drm_gem_object *obj, u32 orient, in omap_gem_rotated_dma_addr() argument 902 *dma_addr = tiler_tsptr(omap_obj->block, orient, x, y); in omap_gem_rotated_dma_addr() 912 int omap_gem_tiled_stride(struct drm_gem_object *obj, u32 orient) in omap_gem_tiled_stride() argument 917 ret = tiler_stride(gem2fmt(omap_obj->flags), orient); in omap_gem_tiled_stride()
|
/Linux-v6.6/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()
|
/Linux-v6.6/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()
|
/Linux-v6.6/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()
|
/Linux-v6.6/Documentation/devicetree/bindings/iio/ |
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
|
/Linux-v6.6/drivers/input/touchscreen/ |
D | atmel_mxt_ts.c | 1947 unsigned char orient; in mxt_read_t9_resolution() local 1977 1, &orient); in mxt_read_t9_resolution() 1981 data->xy_switch = orient & MXT_T9_ORIENT_SWITCH; in mxt_read_t9_resolution() 1982 data->invertx = orient & MXT_T9_ORIENT_INVERTX; in mxt_read_t9_resolution() 1983 data->inverty = orient & MXT_T9_ORIENT_INVERTY; in mxt_read_t9_resolution()
|
/Linux-v6.6/drivers/gpu/drm/sti/ |
D | sti_hqvdp.c | 667 static void sti_hqvdp_update_hvsrc(enum sti_hvsrc_orient orient, int scale, in sti_hqvdp_update_hvsrc() argument 702 if (orient == HVSRC_HORI) { in sti_hqvdp_update_hvsrc()
|
/Linux-v6.6/drivers/media/i2c/ccs/ |
D | ccs-core.c | 616 u32 orient = 0; in ccs_set_ctrl() local 628 orient |= CCS_IMAGE_ORIENTATION_HORIZONTAL_MIRROR; in ccs_set_ctrl() 631 orient |= CCS_IMAGE_ORIENTATION_VERTICAL_FLIP; in ccs_set_ctrl() 726 rval = ccs_write(sensor, IMAGE_ORIENTATION, orient); in ccs_set_ctrl()
|