/linux-master/drivers/media/platform/renesas/ |
H A D | rcar-isp.c | 175 const struct rcar_isp_format *format; local 180 format = risp_code_to_fmt(isp->mf.code); 181 if (!format) { 182 dev_err(isp->dev, "Unsupported bus format\n"); 202 u8 dt = format->datatype; 213 risp_write(isp, ISPPROCMODE_DT_REG(format->datatype), 214 ISPPROCMODE_DT_PROC_MODE_VC3(format->procmode) | 215 ISPPROCMODE_DT_PROC_MODE_VC2(format->procmode) | 216 ISPPROCMODE_DT_PROC_MODE_VC1(format->procmode) | 217 ISPPROCMODE_DT_PROC_MODE_VC0(format 270 risp_set_pad_format(struct v4l2_subdev *sd, struct v4l2_subdev_state *sd_state, struct v4l2_subdev_format *format) argument 294 risp_get_pad_format(struct v4l2_subdev *sd, struct v4l2_subdev_state *sd_state, struct v4l2_subdev_format *format) argument [all...] |
/linux-master/drivers/hwmon/pmbus/ |
H A D | mp5990.c | 31 * The VOUT format used by the chip is linear11, 44 * format when the chip is configured for it. 67 * Because the VOUT format used by the chip is linear11 and not 85 .format[PSC_VOLTAGE_IN] = direct, 86 .format[PSC_VOLTAGE_OUT] = direct, 87 .format[PSC_CURRENT_OUT] = direct, 88 .format[PSC_POWER] = direct, 89 .format[PSC_TEMPERATURE] = direct, 139 data->info.format[PSC_VOLTAGE_IN] = linear; 140 data->info.format[PSC_VOLTAGE_OU [all...] |
H A D | pxe1610.c | 63 .format[PSC_VOLTAGE_IN] = linear, 64 .format[PSC_VOLTAGE_OUT] = vid, 65 .format[PSC_CURRENT_IN] = linear, 66 .format[PSC_CURRENT_OUT] = linear, 67 .format[PSC_TEMPERATURE] = linear, 68 .format[PSC_POWER] = linear,
|
H A D | pli1209bc.c | 31 /* PMBUS_READ_POUT uses a direct format with R=0 */ 95 .format[PSC_VOLTAGE_IN] = direct, 96 .format[PSC_VOLTAGE_OUT] = direct, 97 .format[PSC_CURRENT_IN] = direct, 98 .format[PSC_CURRENT_OUT] = direct, 99 .format[PSC_POWER] = direct, 100 .format[PSC_TEMPERATURE] = direct,
|
/linux-master/drivers/infiniband/ulp/opa_vnic/ |
H A D | opa_vnic_internal.h | 245 #define v_dbg(format, arg...) \ 246 netdev_dbg(adapter->netdev, format, ## arg) 247 #define v_err(format, arg...) \ 248 netdev_err(adapter->netdev, format, ## arg) 249 #define v_info(format, arg...) \ 250 netdev_info(adapter->netdev, format, ## arg) 251 #define v_warn(format, arg...) \ 252 netdev_warn(adapter->netdev, format, ## arg) 254 #define c_err(format, arg...) \ 255 dev_err(&cport->ibdev->dev, format, ## ar [all...] |
/linux-master/sound/core/oss/ |
H A D | mulaw.c | 149 unsigned int native_ofs; /* byte offset in native format */ 150 unsigned int copy_ofs; /* byte offset in s16 format */ 151 unsigned int native_bytes; /* byte size of the native format */ 183 snd_pcm_area_silence(&dst_channels[channel].area, 0, frames, plugin->dst_format.format); 229 snd_pcm_area_silence(&dst_channels[channel].area, 0, frames, plugin->dst_format.format); 279 static void init_data(struct mulaw_priv *data, snd_pcm_format_t format) argument 282 data->cvt_endian = snd_pcm_format_big_endian(format) > 0; 284 data->cvt_endian = snd_pcm_format_little_endian(format) > 0; 286 if (!snd_pcm_format_signed(format)) 288 data->native_bytes = snd_pcm_format_physical_width(format) / 308 struct snd_pcm_plugin_format *format; local [all...] |
H A D | io.c | 113 struct snd_pcm_plugin_format format; local 121 format.format = params_format(params); 122 format.rate = params_rate(params); 123 format.channels = params_channels(params); 125 &format, &format, 126 sizeof(void *) * format.channels,
|
/linux-master/tools/power/x86/amd_pstate_tracer/ |
H A D | amd_pstate_trace.py | 67 file_name = 'cpu{:0>3}.csv'.format(cpu_index) 75 g_plot('set title "{} : frequency : CPU {:0>3} : {:%F %H:%M}"'.format(test_name, cpu_index, datetime.now())) 79 g_plot('plot "' + file_name + '" using {:d}:{:d} with linespoints linestyle 1 axis x1y1'.format(C_ELAPSED, C_FREQ)) 84 file_name = 'cpu{:0>3}.csv'.format(cpu_index) 91 g_plot('set title "{} : cpu des perf : CPU {:0>3} : {:%F %H:%M}"'.format(test_name, cpu_index, datetime.now())) 94 g_plot('plot "' + file_name + '" using {:d}:{:d} with linespoints linestyle 1 axis x1y1'.format(C_ELAPSED, C_DES_PERF)) 99 file_name = 'cpu{:0>3}.csv'.format(cpu_index) 107 g_plot('set title "{} : cpu load : CPU {:0>3} : {:%F %H:%M}"'.format(test_name, cpu_index, datetime.now())) 110 g_plot('plot "' + file_name + '" using {:d}:{:d} with linespoints linestyle 1 axis x1y1'.format(C_ELAPSED, C_LOAD)) 119 g_plot('set title "{} : cpu frequencies : {:%F %H:%M}"'.format(test_nam [all...] |
/linux-master/drivers/base/regmap/ |
H A D | regmap.c | 135 if (map->format.format_write) 149 if (!map->format.format_write && !regmap_readable(map, reg)) 761 map->format.reg_bytes = DIV_ROUND_UP(config->reg_bits, 8); 762 map->format.pad_bytes = config->pad_bits / 8; 763 map->format.reg_shift = config->reg_shift; 764 map->format.val_bytes = DIV_ROUND_UP(config->val_bits, 8); 765 map->format.buf_size = DIV_ROUND_UP(config->reg_bits + 859 map->format.format_write = regmap_format_2_6_write; 869 map->format.format_write = regmap_format_4_12_write; 879 map->format [all...] |
/linux-master/drivers/net/wireless/ath/ar5523/ |
H A D | ar5523.h | 137 #define ar5523_dbg(ar, format, arg...) \ 138 dev_dbg(&(ar)->dev->dev, format, ## arg) 144 #define ar5523_err(ar, format, arg...) \ 147 dev_err(&(ar)->dev->dev, format, ## arg); \ 150 #define ar5523_info(ar, format, arg...) \ 151 dev_info(&(ar)->dev->dev, format, ## arg)
|
/linux-master/tools/testing/selftests/tc-testing/ |
H A D | tdc_batch.py | 76 " flower {} src_mac {} dst_mac {} action drop {}".format( 83 " flower {} src_mac {} dst_mac {} action drop {}".format( 90 "flower".format(device, prio, handle)) 103 mac = ("{:02x}:{:02x}:{:02x}".format(i, j, k)) 104 src_mac = "e4:11:{:02x}:{}".format(mac_prefix, mac) 108 file.write("{}\n".format(cmd))
|
/linux-master/drivers/gpu/drm/ |
H A D | drm_fb_dma_helper.c | 77 u32 block_w = drm_format_info_block_width(fb->format, plane); 78 u32 block_h = drm_format_info_block_height(fb->format, plane); 79 u32 block_size = fb->format->char_per_block[plane]; 92 h_div = fb->format->hsub; 93 v_div = fb->format->vsub; 124 const struct drm_format_info *finfo = state->fb->format;
|
/linux-master/drivers/staging/media/atomisp/pci/ |
H A D | atomisp_tpg.c | 33 struct v4l2_subdev_format *format) 41 struct v4l2_subdev_format *format) 43 struct v4l2_mbus_framefmt *fmt = &format->format; 45 if (format->pad) 49 if (format->which == V4L2_SUBDEV_FORMAT_TRY) { 31 tpg_get_fmt(struct v4l2_subdev *sd, struct v4l2_subdev_state *sd_state, struct v4l2_subdev_format *format) argument 39 tpg_set_fmt(struct v4l2_subdev *sd, struct v4l2_subdev_state *sd_state, struct v4l2_subdev_format *format) argument
|
/linux-master/drivers/staging/media/omap4iss/ |
H A D | iss_resizer.c | 428 * resizer_try_format - Try video format on a pad 441 struct v4l2_mbus_framefmt *format; local 464 format = __resizer_get_format(resizer, sd_state, 467 memcpy(fmt, format, sizeof(*fmt)); 489 * resizer_enum_mbus_code - Handle pixel format enumeration 500 struct v4l2_mbus_framefmt *format; local 511 format = __resizer_get_format(resizer, sd_state, 516 code->code = format->code; 520 switch (format->code) { 546 struct v4l2_mbus_framefmt format; local 585 struct v4l2_mbus_framefmt *format; local 609 struct v4l2_mbus_framefmt *format; local 661 struct v4l2_subdev_format format; local [all...] |
/linux-master/drivers/media/platform/renesas/vsp1/ |
H A D | vsp1_entity.c | 131 * vsp1_entity_get_pad_format - Get a pad format from storage for an entity 136 * Return the format stored in the given configuration for an entity's pad. The 177 * @fmt: V4L2 subdev format 194 fmt->format = *vsp1_entity_get_pad_format(entity, state, fmt->pad); 209 * that do not support format conversion. It enumerates the given supported 210 * media bus codes on the sink pad and reports a source pad format identical to 227 struct v4l2_mbus_framefmt *format; local 230 * The entity can't perform format conversion, the sink format 231 * is always identical to the source format 272 struct v4l2_mbus_framefmt *format; local 336 struct v4l2_mbus_framefmt *format; local 407 struct v4l2_subdev_format format = { local [all...] |
/linux-master/drivers/gpu/drm/arm/display/komeda/ |
H A D | komeda_framebuffer.c | 21 for (i = 0; i < fb->format->num_planes; i++) 44 const struct drm_format_info *info = fb->format; 116 const struct drm_format_info *info = fb->format; 148 if (fb->format->num_planes == 3) { 201 for (i = 0; i < kfb->base.format->num_planes; i++) 212 const struct drm_format_info *info = fb->format; 213 u32 block_w = drm_format_info_block_width(fb->format, 0); 214 u32 block_h = drm_format_info_block_height(fb->format, 0); 223 DRM_DEBUG_ATOMIC("Wrong subsampling dimension x:%d, y:%d, w:%d, h:%d for format: %x.\n", 224 src_x, src_y, src_w, src_h, info->format); [all...] |
/linux-master/drivers/media/platform/xilinx/ |
H A D | xilinx-dma.c | 73 if (dma->fmtinfo->code != fmt.format.code || 74 dma->format.height != fmt.format.height || 75 dma->format.width != fmt.format.width || 76 dma->format.colorspace != fmt.format.colorspace) 295 vb2_set_plane_payload(&buf->buf.vb2_buf, 0, dma->format.sizeimage); 308 return sizes[0] < dma->format.sizeimage ? -EINVAL : 0; 311 sizes[0] = dma->format 508 xvip_dma_get_format(struct file *file, void *fh, struct v4l2_format *format) argument 568 xvip_dma_try_format(struct file *file, void *fh, struct v4l2_format *format) argument 578 xvip_dma_set_format(struct file *file, void *fh, struct v4l2_format *format) argument [all...] |
/linux-master/drivers/media/platform/mediatek/mdp3/ |
H A D | mtk-mdp3-regs.c | 23 if (!(mdp_data->format[i].flags & flag)) 25 if (mdp_data->format[i].pixelformat == pixelformat) 26 return &mdp_data->format[i]; 39 if (!(mdp_data->format[i].flags & flag)) 42 return &mdp_data->format[i]; 246 framew = frame->format.fmt.pix_mp.width; 247 frameh = frame->format.fmt.pix_mp.height; 344 /* Stride that is accepted by MDP HW of format with contiguous planes */ 385 struct v4l2_pix_format_mplane *pix_mp = &frame->format.fmt.pix_mp; 388 b->format [all...] |
/linux-master/drivers/pci/hotplug/ |
H A D | cpcihp_generic.c | 35 #define dbg(format, arg...) \ 38 printk(KERN_DEBUG "%s: " format "\n", \ 41 #define err(format, arg...) printk(KERN_ERR "%s: " format "\n", MY_NAME, ## arg) 42 #define info(format, arg...) printk(KERN_INFO "%s: " format "\n", MY_NAME, ## arg) 43 #define warn(format, arg...) printk(KERN_WARNING "%s: " format "\n", MY_NAME, ## arg)
|
H A D | pciehp.h | 35 #define ctrl_dbg(ctrl, format, arg...) \ 36 pci_dbg(ctrl->pcie->port, format, ## arg) 37 #define ctrl_err(ctrl, format, arg...) \ 38 pci_err(ctrl->pcie->port, format, ## arg) 39 #define ctrl_info(ctrl, format, arg...) \ 40 pci_info(ctrl->pcie->port, format, ## arg) 41 #define ctrl_warn(ctrl, format, arg...) \ 42 pci_warn(ctrl->pcie->port, format, ## arg)
|
/linux-master/fs/bfs/ |
H A D | bfs.h | 52 #define printf(format, args...) \ 53 printk(KERN_ERR "BFS-fs: %s(): " format, __func__, ## args)
|
/linux-master/drivers/media/pci/ivtv/ |
H A D | ivtv-controls.c | 55 struct v4l2_subdev_format format = { local 60 format.format.width = cxhdl->width / (is_mpeg1 ? 2 : 1); 61 format.format.height = cxhdl->height; 62 format.format.code = MEDIA_BUS_FMT_FIXED; 63 v4l2_subdev_call(itv->sd_video, pad, set_fmt, NULL, &format);
|
/linux-master/drivers/media/rc/ |
H A D | ene_ir.h | 171 #define __dbg(level, format, ...) \ 174 pr_info(format "\n", ## __VA_ARGS__); \ 177 #define dbg(format, ...) __dbg(1, format, ## __VA_ARGS__) 178 #define dbg_verbose(format, ...) __dbg(2, format, ## __VA_ARGS__) 179 #define dbg_regs(format, ...) __dbg(3, format, ## __VA_ARGS__)
|
/linux-master/drivers/gpu/drm/nouveau/include/nvif/ |
H A D | cl9097.h | 29 __u8 format; member in struct:fermi_a_zbc_color_v0 39 __u8 format; member in struct:fermi_a_zbc_depth_v0
|
/linux-master/drivers/staging/media/atomisp/pci/isp/kernels/qplane/qplane_2/ |
H A D | ia_css_qplane.host.c | 49 to->format = from->info->format;
|