/linux-master/tools/testing/selftests/powerpc/dexcr/ |
H A D | lsdexcr.c | 53 static void print_aspect(const struct dexcr_aspect *aspect) argument 59 mask = DEXCR_PR_BIT(aspect->index); 67 printf("%12s %c (%d): ", aspect->name, effective & mask ? '*' : ' ', aspect->index); 69 printf(" \t(%s)\n", aspect->desc); 72 static void print_aspect_config(const struct dexcr_aspect *aspect) argument 77 bool actual = effective & DEXCR_PR_BIT(aspect->index); 85 if (aspect->prctl != -1) { 86 int ctrl = pr_get_dexcr(aspect->prctl); 105 if (hdexcr & DEXCR_PR_BIT(aspect [all...] |
H A D | dexcr.h | 17 #define DEXCR_PR_BIT(aspect) __MASK(63 - (32 + (aspect))) 33 const char *desc; /* Expanded aspect meaning */
|
H A D | dexcr_test.c | 19 unsigned long aspect = pr_which_to_aspect(which); local 24 "setting aspect across exec not applied"); 27 "setting aspect across exec not inherited"); 29 FAIL_IF_EXIT_MSG(!(aspect & dexcr), "setting aspect across exec did not take effect"); 32 "clearing aspect across exec not applied"); 35 "clearing aspect across exec not inherited"); 37 FAIL_IF_EXIT_MSG(aspect & dexcr, "clearing aspect across exec did not take effect"); 50 unsigned long aspect local [all...] |
H A D | chdexcr.c | 25 "Each configurable DEXCR aspect is exposed as an option.\n" 27 "The normal option sets the aspect in the DEXCR. The --no- variant\n" 28 "clears that aspect. For example, --ibrtpd sets the IBRTPD aspect bit,\n" 30 "Conversely, --no-ibrtpd clears the aspect bit, so indirect branch\n" 36 const struct dexcr_aspect *aspect = &aspects[i]; local 38 if (aspect->prctl == -1) 41 printf(" --%-6s / --no-%-6s : %s\n", aspect->opt, aspect->opt, aspect 56 const struct dexcr_aspect *aspect; local [all...] |
/linux-master/include/media/ |
H A D | v4l2-subdev.h | 484 int (*g_pixelaspect)(struct v4l2_subdev *sd, struct v4l2_fract *aspect);
|
H A D | v4l2-ioctl.h | 502 int buf_type, struct v4l2_fract *aspect);
|
H A D | v4l2-dv-timings.h | 168 * @aspect: preferred aspect ratio. GTF has no method of determining the 169 * aspect ratio in order to derive the image width from the 171 * the native screen aspect ratio is used for this. If it 180 u32 polarities, bool interlaced, struct v4l2_fract aspect, 184 * v4l2_calc_aspect_ratio - calculate the aspect ratio based on bytes 190 * Determines the aspect ratio from the EDID. 197 * v4l2_dv_timings_aspect_ratio - calculate the aspect ratio based on the
|
/linux-master/drivers/media/i2c/adv748x/ |
H A D | adv748x-hdmi.c | 386 struct v4l2_fract *aspect) 388 aspect->numerator = 1; 389 aspect->denominator = 1; 535 /* Fall back to a 16:9 aspect ratio */ 739 /* Initialise a default 16:9 aspect ratio */ 385 adv748x_hdmi_g_pixelaspect(struct v4l2_subdev *sd, struct v4l2_fract *aspect) argument
|
H A D | adv748x-afe.c | 165 struct v4l2_fract *aspect) 170 aspect->numerator = 11; 171 aspect->denominator = 10; 173 aspect->numerator = 54; 174 aspect->denominator = 59; 164 adv748x_afe_g_pixelaspect(struct v4l2_subdev *sd, struct v4l2_fract *aspect) argument
|
/linux-master/drivers/media/i2c/ |
H A D | adv7180.c | 866 static int adv7180_g_pixelaspect(struct v4l2_subdev *sd, struct v4l2_fract *aspect) argument 871 aspect->numerator = 11; 872 aspect->denominator = 10; 874 aspect->numerator = 54; 875 aspect->denominator = 59;
|
/linux-master/drivers/gpu/drm/amd/display/dc/core/ |
H A D | dc_resource.c | 4004 enum dc_aspect_ratio aspect = ASPECT_RATIO_NO_DATA; local 4098 /* TODO: un-hardcode aspect ratio */ 4099 aspect = stream->timing.aspect_ratio; 4101 switch (aspect) { 4104 hdmi_info.bits.M0_M1 = aspect;
|
/linux-master/arch/powerpc/kernel/ |
H A D | dexcr.c | 31 static int prctl_to_aspect(unsigned long which, unsigned int *aspect) argument 35 *aspect = DEXCR_PR_SBHE; 38 *aspect = DEXCR_PR_IBRTPD; 41 *aspect = DEXCR_PR_SRAPD; 44 *aspect = DEXCR_PR_NPHIE; 55 unsigned int aspect; local 58 ret = prctl_to_aspect(which, &aspect); 62 if (aspect & DEXCR_PRCTL_EDITABLE) 65 if (aspect & mfspr(SPRN_DEXCR)) 70 if (aspect 81 unsigned int aspect; local [all...] |
/linux-master/drivers/media/platform/st/sti/hva/ |
H A D | hva-v4l2.c | 633 ctx->ctrls.aspect = ctrl->val;
|
H A D | hva.h | 73 * @aspect: video aspect 81 * @vui_sar: pixel aspect ratio enable 82 * @vui_sar_idc: pixel aspect ratio identifier 91 enum v4l2_mpeg_video_aspect aspect; member in struct:hva_controls
|
H A D | hva-debugfs.c | 19 u32 bitrate_mode, aspect, entropy, vui_sar, sei_fp; local 45 aspect = V4L2_CID_MPEG_VIDEO_ASPECT; 50 " | |- video aspect=%s\n" 55 v4l2_ctrl_get_menu(aspect)[ctrls->aspect],
|
/linux-master/drivers/ps3/ |
H A D | ps3av.c | 58 /* aspect */ 65 u32 aspect; member in struct:avset_video_mode 516 video_mode->aspect, id);
|
H A D | ps3av_cmd.c | 328 int aspect, u32 id) 337 if (aspect == -1) 338 aspect = 0; 354 av_video_cs->aspect = aspect; 327 ps3av_cmd_set_av_video_cs(void *p, u32 avport, int video_vid, int cs_out, int aspect, u32 id) argument
|
/linux-master/drivers/media/v4l2-core/ |
H A D | v4l2-dv-timings.c | 368 pr_info("%s: picture aspect (hor:vert): %u:%u\n", dev_prefix, 697 * @aspect - preferred aspect ratio. GTF has no method of determining the 698 * aspect ratio in order to derive the image width from the 700 * the native screen aspect ratio is used for this. If it 713 struct v4l2_fract aspect, 746 if (aspect.numerator == 0 || aspect.denominator == 0) { 747 aspect.numerator = 16; 748 aspect 708 v4l2_detect_gtf(unsigned frame_height, unsigned hfreq, unsigned vsync, u32 polarities, bool interlaced, struct v4l2_fract aspect, struct v4l2_dv_timings *fmt) argument 831 struct v4l2_fract aspect = { 16, 9 }; local [all...] |
/linux-master/arch/powerpc/include/asm/ |
H A D | ps3av.h | 266 /* aspect */ 455 u8 aspect; /* in: aspect ratio */ member in struct:ps3av_pkt_av_video_cs
|
/linux-master/drivers/video/fbdev/core/ |
H A D | fbcvt.c | 192 u32 aspect = -1; local 195 aspect = 0; 197 aspect = 1; 199 aspect = 2; 201 aspect = 3; 203 aspect = 4; 207 aspect = 7; 211 return aspect;
|
/linux-master/drivers/gpu/drm/i2c/ |
H A D | ch7006_mode.c | 335 uint64_t scale, aspect; local 348 aspect = ch_mode->enc_hdisp*fixed1; 349 do_div(aspect, ch_mode->enc_vdisp); 351 hpos = round_fixed((norm->hvirtual * aspect - mode->hdisplay * scale)
|
/linux-master/arch/m68k/fpsp040/ |
H A D | bugfix.S | 185 | Test the register conflict aspect. If opclass0, check for
|