Searched refs:format (Results 176 - 200 of 1968) sorted by relevance

1234567891011>>

/linux-master/drivers/input/mouse/
H A Dpsmouse.h200 #define psmouse_dbg(psmouse, format, ...) \
202 psmouse_fmt(format), ##__VA_ARGS__)
203 #define psmouse_info(psmouse, format, ...) \
205 psmouse_fmt(format), ##__VA_ARGS__)
206 #define psmouse_warn(psmouse, format, ...) \
208 psmouse_fmt(format), ##__VA_ARGS__)
209 #define psmouse_err(psmouse, format, ...) \
211 psmouse_fmt(format), ##__VA_ARGS__)
212 #define psmouse_notice(psmouse, format, ...) \
214 psmouse_fmt(format), ##__VA_ARGS_
[all...]
/linux-master/drivers/gpu/drm/msm/disp/mdp4/
H A Dmdp4_plane.c32 /* MDP format helper functions */
41 if (fb->format->format == DRM_FORMAT_NV12 && is_tile)
221 const struct mdp_format *format; local
244 format = to_mdp_format(msm_framebuffer_format(fb));
270 if (MDP_FORMAT_IS_YUV(format)) {
286 if (MDP_FORMAT_IS_YUV(format)) {
318 MDP4_PIPE_SRC_FORMAT_A_BPC(format->bpc_a) |
319 MDP4_PIPE_SRC_FORMAT_R_BPC(format->bpc_r) |
320 MDP4_PIPE_SRC_FORMAT_G_BPC(format
[all...]
/linux-master/drivers/gpu/drm/imx/dcss/
H A Ddcss-dpr.c96 struct drm_format_info format; member in struct:dcss_dpr_ch
220 u32 pix_format = ch->format.format;
273 const struct drm_format_info *format)
277 switch (format->format) {
416 const struct drm_format_info *format)
421 switch (format->format) {
448 if (!format
272 dcss_dpr_pix_size_set(struct dcss_dpr_ch *ch, const struct drm_format_info *format) argument
415 dcss_dpr_setup_components(struct dcss_dpr_ch *ch, const struct drm_format_info *format) argument
492 dcss_dpr_format_set(struct dcss_dpr *dpr, int ch_num, const struct drm_format_info *format, u64 modifier) argument
[all...]
/linux-master/drivers/gpu/drm/kmb/
H A Dkmb_plane.c67 static unsigned int check_pixel_format(struct drm_plane *plane, u32 format) argument
77 /* Due to HW limitations, changing pixel format after initial
80 if (init_disp_cfg.format && init_disp_cfg.format != format) {
81 drm_dbg(&kmb->drm, "Cannot change format after initial plane configuration");
85 if (plane->format_types[i] == format)
111 ret = check_pixel_format(plane, fb->format->format);
165 static unsigned int get_pixel_format(u32 format) argument
255 get_bits_per_pixel(const struct drm_format_info *format) argument
[all...]
/linux-master/tools/hv/
H A Dvmbus_testing31 print("{} doesn't exist/check permissions".format(debugfs_hyperv_path))
134 print("Error, path '{}' not a valid vmbus device".format(path))
169 .format(device.split("/")[5]))
172 .format(device.split("/")[5]))
184 .format(errno, strerror, path))
187 print ("Element to int conversion error in: \n{}".format(path))
195 f.write("{}".format(value))
199 .format(errno, strerror, path))
209 .format(state_path.split("/")[5]))
213 .format(state_pat
[all...]
/linux-master/sound/soc/codecs/
H A Dframer-codec.c66 * The constraints for format/channel is to match with the number of 8bit
74 snd_pcm_format_t format = params_format(params); local
78 width = snd_pcm_format_physical_width(format);
82 dev_err(dai->dev, "format physical width %d not supported\n", width);
116 snd_pcm_format_t format; local
127 pcm_for_each_format(format) {
128 if (snd_mask_test_format(f_old, format)) {
129 if (snd_pcm_format_physical_width(format) <= slot_width)
130 snd_mask_set_format(&f_new, format);
159 snd_pcm_format_t format; local
192 u64 format; local
[all...]
/linux-master/drivers/media/platform/microchip/
H A Dmicrochip-csi2dc.c110 * struct csi2dc_format - CSI2DC format type struct
111 * @mbus_code: Media bus code for the format
112 * @dt: Data type constant for this format
168 * @format: Current saved format used in g/s fmt
169 * @cur_fmt: Current state format
170 * @try_fmt: Try format that is being tried
190 struct v4l2_mbus_framefmt format; member in struct:csi2dc_device
229 struct v4l2_subdev_format *format)
234 if (format
227 csi2dc_get_fmt(struct v4l2_subdev *csi2dc_sd, struct v4l2_subdev_state *sd_state, struct v4l2_subdev_format *format) argument
[all...]
/linux-master/drivers/media/platform/renesas/vsp1/
H A Dvsp1_lif.c90 const struct v4l2_mbus_framefmt *format; local
96 format = vsp1_entity_get_pad_format(&lif->entity, lif->entity.state,
103 obth = min(128U, (format->width + 1) / 2 * format->height - 4);
130 (format->code == 0 ? VI6_LIF_CTRL_CFMT : 0) |
/linux-master/tools/testing/selftests/tc-testing/plugin-lib/
H A DvalgrindPlugin.py33 print('{}.pre_suite'.format(self.sub_class))
35 self._add_to_tap('1..{}\n'.format(self.testcount))
41 print('{}.post_suite'.format(self.sub_class))
42 #print('{}'.format(self.tap))
44 res = TestResult('{}-mem'.format(self.testidlist[xx]), 'Test skipped')
72 print('{}.adjust_command'.format(self.sub_class))
83 format(stage, command, cmdlist))
87 cmdlist.insert(0, '--log-file=vgnd-{}.log'.format(self.args.testid))
99 print('adjust_command: return command [{}]'.format(command))
106 res = TestResult('{}-mem'.format(sel
[all...]
/linux-master/tools/perf/util/
H A Dpmu.c92 * struct perf_pmu_format - Values from a format file read from
93 * <sysfs>/devices/cpu/format/ held in struct perf_pmu.
95 * For example, the contents of <sysfs>/devices/cpu/format/event may be
102 /** @bits: Which config bits are set by this format value. */
107 * @value : Which config value the format relates to. Supported values
120 struct perf_pmu_format *format; local
122 format = zalloc(sizeof(*format));
123 if (!format)
126 format
138 struct perf_pmu_format *format = vformat; local
144 __perf_pmu_format__load(struct perf_pmu_format *format, FILE *file) argument
159 perf_pmu_format__load(const struct perf_pmu *pmu, struct perf_pmu_format *format) argument
196 struct perf_pmu_format *format; local
1077 struct perf_pmu_format *format; local
1138 struct perf_pmu_format *format; local
1149 struct perf_pmu_format *format = pmu_find_format(&pmu->format, name); local
1164 struct perf_pmu_format *format = pmu_find_format(&pmu->format, name); local
1177 pmu_format_value(unsigned long *format, __u64 value, __u64 *v, bool zero) argument
1194 pmu_format_max_value(const unsigned long *format) argument
1236 struct perf_pmu_format *format; local
1266 struct perf_pmu_format *format; local
1596 struct perf_pmu_format *format; local
1959 struct perf_pmu_format *format; local
[all...]
H A Dhist.h329 struct perf_hpp_fmt *format);
331 struct perf_hpp_fmt *format);
333 struct perf_hpp_fmt *format);
335 static inline void perf_hpp__column_register(struct perf_hpp_fmt *format) argument
337 perf_hpp_list__column_register(&perf_hpp_list, format);
340 static inline void perf_hpp__register_sort_field(struct perf_hpp_fmt *format) argument
342 perf_hpp_list__register_sort_field(&perf_hpp_list, format);
345 static inline void perf_hpp__prepend_sort_field(struct perf_hpp_fmt *format) argument
347 perf_hpp_list__prepend_sort_field(&perf_hpp_list, format);
350 #define perf_hpp_list__for_each_format(_list, format) \
408 perf_hpp__should_skip(struct perf_hpp_fmt *format, struct hists *hists) argument
[all...]
/linux-master/drivers/media/pci/mantis/
H A Dmantis_common.h27 #define dprintk(y, z, format, arg...) do { \
30 printk(KERN_ERR "%s (%d): " format "\n" , __func__ , mantis->num , ##arg); \
32 printk(KERN_NOTICE "%s (%d): " format "\n" , __func__ , mantis->num , ##arg); \
34 printk(KERN_INFO "%s (%d): " format "\n" , __func__ , mantis->num , ##arg); \
36 printk(KERN_DEBUG "%s (%d): " format "\n" , __func__ , mantis->num , ##arg); \
38 printk(KERN_DEBUG "%s (%d): " format "\n" , __func__ , mantis->num , ##arg); \
41 printk(format , ##arg); \
/linux-master/drivers/media/radio/wl128x/
H A Dfmdrv.h43 #define fmerr(format, ...) \
44 printk(KERN_ERR "fmdrv: " format, ## __VA_ARGS__)
45 #define fmwarn(format, ...) \
46 printk(KERN_WARNING "fmdrv: " format, ##__VA_ARGS__)
48 #define fmdbg(format, ...) \
49 printk(KERN_DEBUG "fmdrv: " format, ## __VA_ARGS__)
51 #define fmdbg(format, ...) do {} while(0)
62 /* RX RDS data format */
/linux-master/drivers/hwmon/pmbus/
H A Dbpa-rs600.c130 .format[PSC_VOLTAGE_IN] = linear,
131 .format[PSC_VOLTAGE_OUT] = linear,
132 .format[PSC_CURRENT_IN] = linear,
133 .format[PSC_CURRENT_OUT] = linear,
134 .format[PSC_POWER] = linear,
135 .format[PSC_TEMPERATURE] = linear,
136 .format[PSC_FAN] = linear,
H A Dxdpe12284.c87 info->format[PSC_VOLTAGE_OUT] = linear;
90 info->format[PSC_VOLTAGE_OUT] = vid;
134 .format[PSC_VOLTAGE_IN] = linear,
135 .format[PSC_TEMPERATURE] = linear,
136 .format[PSC_CURRENT_IN] = linear,
137 .format[PSC_CURRENT_OUT] = linear,
138 .format[PSC_POWER] = linear,
H A Ddps920ab.c71 .format[PSC_VOLTAGE_IN] = linear,
72 .format[PSC_VOLTAGE_OUT] = linear,
73 .format[PSC_CURRENT_IN] = linear,
74 .format[PSC_CURRENT_OUT] = linear,
75 .format[PSC_POWER] = linear,
76 .format[PSC_FAN] = linear,
77 .format[PSC_TEMPERATURE] = linear,
/linux-master/drivers/media/platform/ti/omap3isp/
H A Dispvideo.c130 * @mbus: v4l2_mbus_framefmt format (input)
131 * @pix: v4l2_pix_format format (output)
133 * Fill the output pix structure with information from the input mbus format.
135 * per line value in the pix format and information from the video instance.
191 /* Skip the last format in the loop so that it will be selected if no
269 __isp_video_get_format(struct isp_video *video, struct v4l2_format *format) argument
291 format->type = video->type;
292 return isp_video_mbus_to_pix(video, &fmt.format, &format->fmt.pix);
298 struct v4l2_format format; local
658 isp_video_get_format(struct file *file, void *fh, struct v4l2_format *format) argument
674 isp_video_set_format(struct file *file, void *fh, struct v4l2_format *format) argument
732 isp_video_try_format(struct file *file, void *fh, struct v4l2_format *format) argument
764 struct v4l2_subdev_format format = { local
[all...]
/linux-master/security/keys/encrypted-keys/
H A Dencrypted.c105 * The description of a encrypted key with format 'ecryptfs' must contain
165 * datablob format:
166 * new [<format>] <master-key name> <decrypted data length> [<decrypted data>]
167 * load [<format>] <master-key name> <decrypted data length>
176 static int datablob_parse(char *datablob, const char **format, argument
193 /* Get optional format: default | ecryptfs */
205 *format = p;
274 * datablob_format - format as an ascii string, before copying to userspace
291 len = sprintf(ascii_buf, "%s %s %s ", epayload->format,
505 digest = epayload->format
516 datablob_hmac_verify(struct encrypted_key_payload *epayload, const u8 *format, const u8 *master_key, size_t master_keylen) argument
601 encrypted_key_alloc(struct key *key, const char *format, const char *master_desc, const char *datalen, const char *decrypted_data) argument
681 encrypted_key_decrypt(struct encrypted_key_payload *epayload, const char *format, const char *hex_encoded_iv) argument
738 __ekey_init(struct encrypted_key_payload *epayload, const char *format, const char *master_desc, const char *datalen) argument
773 encrypted_init(struct encrypted_key_payload *epayload, const char *key_desc, const char *format, const char *master_desc, const char *datalen, const char *hex_encoded_iv, const char *decrypted_data) argument
818 const char *format = NULL; local
881 const char *format = NULL; local
[all...]
/linux-master/scripts/
H A Dbloat-o-meter28 def getsizes(file, format):
32 nm = "{}nm".format(args.prefix)
34 with os.popen("{} --size-sort {}".format(nm, file)) as f:
39 if type in format:
52 def calc(oldfile, newfile, format):
53 old = getsizes(oldfile, format)
54 new = getsizes(newfile, format)
/linux-master/drivers/staging/media/atomisp/pci/
H A Dsh_css_mipi.c39 * - Each line has format header and optionally SOL and EOL (each 1 word).
40 * - Odd and even lines of YUV420 format are different in bites per pixel size.
50 const enum atomisp_input_format format,
77 IA_CSS_ENTER("padded_width=%d, height=%d, format=%d, hasSOLandEOL=%d, embedded_data_size_words=%d\n",
78 width_padded, height, format, hasSOLandEOL, embedded_data_size_words);
80 switch (format) {
133 if (format == ATOMISP_INPUT_FORMAT_YUV420_8
134 || format == ATOMISP_INPUT_FORMAT_YUV420_10
135 || format == ATOMISP_INPUT_FORMAT_YUV420_16) {
165 /* each non-first line has format heade
48 ia_css_mipi_frame_calculate_size(const unsigned int width, const unsigned int height, const enum atomisp_input_format format, const bool hasSOLandEOL, const unsigned int embedded_data_size_words, unsigned int *size_mem_words) argument
223 enum atomisp_input_format format; local
[all...]
/linux-master/drivers/gpu/drm/msm/
H A Dmsm_fb.c21 const struct msm_format *format; member in struct:msm_framebuffer
62 int i, n = fb->format->num_planes;
65 fb->width, fb->height, (char *)&fb->format->format,
83 int ret, i, n = fb->format->num_planes;
106 int i, n = fb->format->num_planes;
133 return msm_fb->format;
176 const struct msm_format *format; local
184 format = kms->funcs->get_format(kms, mode_cmd->pixel_format,
186 if (!format) {
246 msm_alloc_stolen_fb(struct drm_device *dev, int w, int h, int p, uint32_t format) argument
[all...]
/linux-master/drivers/media/platform/samsung/exynos4-is/
H A Dfimc-isp.c57 * fimc_isp_find_format - lookup color format by fourcc or media bus code
126 struct v4l2_mbus_framefmt *mf = &fmt->format;
138 /* ISP OTF input image format */
141 /* ISP OTF output image format */
162 struct v4l2_mbus_framefmt *mf = &fmt->format;
163 struct v4l2_mbus_framefmt *format; local
175 format = v4l2_subdev_state_get_format(sd_state,
178 format = &isp->sink_fmt;
180 /* Allow changing format only on sink pad */
181 mf->width = format
214 struct v4l2_subdev_format format = *fmt; local
230 struct v4l2_subdev_format format = *fmt; local
367 struct v4l2_mbus_framefmt *format; local
[all...]
/linux-master/drivers/media/i2c/
H A Dadv7511-v4l2.c359 /* CE format, RGB limited range (16-235) */
362 /* not CE format, RGB full range (0-255) */
1012 if the format is one of the CEA or DMT timings. */
1219 struct v4l2_mbus_framefmt *format)
1221 format->width = state->dv_timings.bt.width;
1222 format->height = state->dv_timings.bt.height;
1223 format->field = V4L2_FIELD_NONE;
1228 struct v4l2_subdev_format *format)
1232 if (format->pad != 0)
1235 memset(&format
1218 adv7511_fill_format(struct adv7511_state *state, struct v4l2_mbus_framefmt *format) argument
1226 adv7511_get_fmt(struct v4l2_subdev *sd, struct v4l2_subdev_state *sd_state, struct v4l2_subdev_format *format) argument
1258 adv7511_set_fmt(struct v4l2_subdev *sd, struct v4l2_subdev_state *sd_state, struct v4l2_subdev_format *format) argument
[all...]
/linux-master/drivers/media/platform/renesas/rcar-vin/
H A Drcar-v4l2.c182 /* Hardware limits width alignment based on format. */
227 v4l2_fill_pix_format(&vin->format, &fmt.format);
231 vin->crop.width = vin->format.width;
232 vin->crop.height = vin->format.height;
235 if (vin->format.field == V4L2_FIELD_ALTERNATE) {
236 vin->format.field = V4L2_FIELD_INTERLACED;
237 vin->format.height *= 2;
240 rvin_format_align(vin, &vin->format);
244 vin->compose.width = vin->format
257 struct v4l2_subdev_format format = { local
[all...]
/linux-master/drivers/gpu/drm/tiny/
H A Dcirrus.c77 const struct drm_format_info *format; member in struct:cirrus_primary_plane_state
149 if (fb->format->format == DRM_FORMAT_XRGB8888 && fb->pitches[0] > CIRRUS_MAX_PITCH) {
162 const struct drm_format_info *format = cirrus_convert_to(fb); local
164 if (format)
165 return format;
166 return fb->format;
171 const struct drm_format_info *format = cirrus_convert_to(fb); local
173 if (format)
174 return drm_format_info_min_pitch(format,
270 cirrus_format_set(struct cirrus_device *cirrus, const struct drm_format_info *format) argument
388 const struct drm_format_info *format = primary_plane_state->format; local
614 const struct drm_format_info *format = drm_format_info(DRM_FORMAT_XRGB8888); local
[all...]

Completed in 465 milliseconds

1234567891011>>