Searched defs:field (Results 101 - 125 of 190) sorted by relevance

12345678

/drivers/input/touchscreen/
H A Dedt-ft5x06.c352 u8 *field = (u8 *)tsdata + attr->field_offset; local
389 val = *field;
392 if (val != *field) {
395 dattr->attr.name, val, *field);
396 *field = val;
413 u8 *field = (u8 *)tsdata + attr->field_offset; local
457 *field = val;
/drivers/media/common/saa7146/
H A Dsaa7146_hlp.c212 static int calculate_v_scale_registers(struct saa7146_dev *dev, enum v4l2_field field, argument
232 or scaling is between 1/2 and 1/4 (if only one field is used) */
234 if (V4L2_FIELD_HAS_BOTH(field)) {
238 } else if (field == V4L2_FIELD_TOP
239 || field == V4L2_FIELD_ALTERNATE
240 || field == V4L2_FIELD_BOTTOM) {
341 struct saa7146_video_dma *vdma2, u32* clip_format, u32* arbtr_ctrl, enum v4l2_field field)
460 /* set clipping-mode. this depends on the field(s) used */
462 if (V4L2_FIELD_HAS_BOTH(field)) {
489 enum v4l2_field field local
340 calculate_clipping_registers_rect(struct saa7146_dev *dev, struct saa7146_fh *fh, struct saa7146_video_dma *vdma2, u32* clip_format, u32* arbtr_ctrl, enum v4l2_field field) argument
526 saa7146_set_window(struct saa7146_dev *dev, int width, int height, enum v4l2_field field) argument
562 saa7146_set_position(struct saa7146_dev *dev, int w_x, int w_y, int w_height, enum v4l2_field field, u32 pixelformat) argument
714 enum v4l2_field field = buf->fmt->field; local
838 enum v4l2_field field = buf->fmt->field; local
[all...]
/drivers/media/pci/cx23885/
H A Dcx23885-video.c349 switch (dev->field) {
372 /* cx25840 transmits NTSC bottom field first */
378 /* All other formats are top field first */
529 f->fmt.pix.field = dev->field;
545 enum v4l2_field field; local
552 field = f->fmt.pix.field;
556 if (V4L2_FIELD_ANY == field) {
557 field
[all...]
/drivers/media/pci/cx88/
H A Dcx88-dvb.c99 struct videobuf_buffer *vb, enum v4l2_field field)
102 return cx8802_buf_prepare(q, dev, (struct cx88_buffer*)vb,field);
98 dvb_buf_prepare(struct videobuf_queue *q, struct videobuf_buffer *vb, enum v4l2_field field) argument
H A Dcx88-video.c422 cx88_set_scale(core, buf->vb.width, buf->vb.height, buf->vb.field);
534 enum v4l2_field field)
554 buf->vb.field != field) {
558 buf->vb.field = field;
570 switch (buf->vb.field) {
1007 f->fmt.pix.field = fh->vidq.field;
1022 enum v4l2_field field; local
533 buffer_prepare(struct videobuf_queue *q, struct videobuf_buffer *vb, enum v4l2_field field) argument
[all...]
/drivers/media/pci/ivtv/
H A Divtv-ioctl.c56 static int valid_service_line(int field, int line, int is_pal) argument
58 return (is_pal && line >= 6 && (line != 23 || field == 0)) ||
62 static u16 select_service_from_set(int field, int line, u16 set, int is_pal) argument
68 if (set == 0 || !valid_service_line(field, line, is_pal)) {
76 if (line == 16 && field == 0 && (set & V4L2_SLICED_VPS))
78 if (line == 23 && field == 0 && (set & V4L2_SLICED_WSS_625))
353 pixfmt->field = V4L2_FIELD_INTERLACED;
419 pixfmt->field = V4L2_FIELD_INTERLACED;
423 pixfmt->field = (itv->yuv_info.lace_mode & IVTV_YUV_SYNC_MASK) ?
427 pixfmt->field
526 int field = fmt->fmt.pix.field; local
[all...]
/drivers/media/platform/davinci/
H A Dvpfe_capture.c310 f->fmt.pix.field = V4L2_FIELD_NONE;
313 f->fmt.pix.field = V4L2_FIELD_INTERLACED;
315 f->fmt.pix.field = V4L2_FIELD_SEQ_TB;
345 switch (vpfe_dev->fmt.fmt.pix.field) {
411 /* first field and frame format based on standard frame format */
413 pix->field = V4L2_FIELD_INTERLACED;
419 pix->field = V4L2_FIELD_NONE;
573 enum v4l2_field field; local
577 field = vpfe_dev->fmt.fmt.pix.field;
1262 vpfe_videobuf_prepare(struct videobuf_queue *vq, struct videobuf_buffer *vb, enum v4l2_field field) argument
[all...]
H A Dvpif_capture.c88 vb->v4l2_buf.field = common->fmt.fmt.pix.field;
353 /* Set top and bottom field addresses in VPIF registers */
385 /* Check the field format */
415 /* Get field id from VPIF registers */
419 * If field id does not match stored
420 * field id, make them in sync
427 /* device field id and local field id are in sync */
429 /* this is even field */
534 enum v4l2_field field = common->fmt.fmt.pix.field; local
[all...]
H A Dvpif_display.c80 vb->v4l2_buf.field = common->fmt.fmt.pix.field;
308 /* Set top and bottom field addrs in VPIF registers */
318 /* device field id and local field id are in sync */
319 /* If this is even field */
334 } else if (1 == fid) { /* odd field */
342 /* one field is displayed configure the next
404 /* Get field id from VPIF registers */
406 /* If fid does not match with stored field i
497 enum v4l2_field field = common->fmt.fmt.pix.field; local
[all...]
/drivers/media/platform/
H A Dm2m-deinterlace.c71 enum v4l2_field field; member in struct:deinterlace_q_data
384 * 4 possible field conversions are possible at the moment:
387 * in the output buffer using weaving. Top field comes first.
389 * top field from the input buffer is copied to the output buffer
390 * using line doubling. Bottom field from the input buffer is discarded.
393 * in the output buffer using weaving. Bottom field comes first.
395 * bottom field from the input buffer is copied to the output buffer
396 * using line doubling. Top field from the input buffer is discarded.
400 switch (dst_q_data->field) {
427 switch (dst_q_data->field) {
[all...]
/drivers/media/platform/omap/
H A Domap_vout.c167 pix->field = V4L2_FIELD_ANY;
775 enum v4l2_field field)
784 vb->field = field;
1249 win->field = vout->win.field;
1891 pix->field = V4L2_FIELD_ANY;
773 omap_vout_buffer_prepare(struct videobuf_queue *q, struct videobuf_buffer *vb, enum v4l2_field field) argument
/drivers/media/platform/soc_camera/
H A Dmx3_camera.c112 enum v4l2_field field; member in struct:mx3_camera_dev
159 vb->v4l2_buf.field = mx3_cam->field;
871 mf.field = pix->field;
890 pix->field = mf.field;
891 mx3_cam->field = mf.field;
925 mf.field
[all...]
/drivers/media/platform/vivid/
H A Dvivid-tpg.c109 tpg->field = V4L2_FIELD_NONE;
252 u32 field)
258 tpg->field = field;
260 if (V4L2_FIELD_HAS_T_OR_B(field))
984 unsigned step = V4L2_FIELD_HAS_T_OR_B(tpg->field) ? 2 : 1;
1005 if (tpg->field == V4L2_FIELD_BOTTOM)
1007 else if (tpg->field == V4L2_FIELD_SEQ_TB || tpg->field == V4L2_FIELD_SEQ_BT)
1116 unsigned field)
251 tpg_reset_source(struct tpg_data *tpg, unsigned width, unsigned height, u32 field) argument
1115 tpg_calc_frameline(struct tpg_data *tpg, unsigned src_y, unsigned field) argument
1132 tpg_calc_buffer_line(struct tpg_data *tpg, unsigned y, unsigned field) argument
[all...]
H A Dvivid-tpg.h101 u32 field; member in struct:tpg_data
169 u32 field);
314 static inline void tpg_s_field(struct tpg_data *tpg, unsigned field) argument
316 tpg->field = field;
H A Dvivid-vid-cap.c103 * You cannot use read() with FIELD_ALTERNATE since the field
470 /* Map the field to something that is valid for the current input */
471 static enum v4l2_field vivid_field_cap(struct vivid_dev *dev, enum v4l2_field field) argument
474 switch (field) {
482 return field;
510 mp->field = dev->field_cap;
543 mp->field = vivid_field_cap(dev, mp->field);
557 if (V4L2_FIELD_HAS_T_OR_B(mp->field))
628 if (V4L2_FIELD_HAS_T_OR_B(mp->field))
[all...]
/drivers/media/usb/au0828/
H A Dau0828-video.c482 /* Make sure the bottom field populates the second half of the frame */
704 enum v4l2_field field)
718 buf->vb.field = field;
1244 format->fmt.pix.field = V4L2_FIELD_INTERLACED;
1324 f->fmt.pix.field = V4L2_FIELD_INTERLACED;
703 buffer_prepare(struct videobuf_queue *vq, struct videobuf_buffer *vb, enum v4l2_field field) argument
H A Dau0828.h130 /* must be the first field of this struct! */
158 /* Last field: ODD or EVEN? */
159 int field; member in struct:au0828_usb_isoc_ctl
/drivers/media/usb/tm6000/
H A Dtm6000-video.c140 unsigned int cmd, cpysize, pktsize, size, field, block, line, pos = 0; local
194 field = (header >> 11) & 0x1;
207 if ((dev->isoc_ctl.vfield != field) &&
208 (field == 1)) {
225 pos = ((line << 1) - field - 1) *
230 dev->isoc_ctl.vfield = field;
246 field = dev->isoc_ctl.field;
272 dprintk(dev, V4L2_DEBUG_ISOC, "field %d, PTS %x",
273 field, pt
739 buffer_prepare(struct videobuf_queue *vq, struct videobuf_buffer *vb, enum v4l2_field field) argument
940 enum v4l2_field field; local
[all...]
/drivers/net/ethernet/icplus/
H A Dipg.c232 * Transmission order is 'Preamble' field first, bits transmitted
236 u32 field; member in struct:__anon3084
254 /* Create the Preamble, ST, OP, PHYAD, and REGAD field. */
257 /* For each variable length field, the MSB must be
258 * transmitted first. Rotate through the field bits,
271 * [field length - 1 - #ST bits already written]
274 data = (p[j].field >> (p[j].len - 1 - i)) << 1;
291 p[6].field |=
300 /* Return the value of the DATA field. */
301 return p[6].field;
327 u32 field; member in struct:__anon3085
[all...]
/drivers/net/ethernet/sfc/
H A Dethtool.c30 u64(*get_stat) (void *field); /* Reader function */
34 #define EFX_ETHTOOL_STAT(stat_name, source_name, field, field_type, \
39 &((struct efx_##source_name *)0)->field) ? \
40 offsetof(struct efx_##source_name, field) : \
41 offsetof(struct efx_##source_name, field)), \
45 static u64 efx_get_uint_stat(void *field) argument
47 return *(unsigned int *)field;
50 static u64 efx_get_atomic_stat(void *field) argument
52 return atomic_read((atomic_t *) field);
55 #define EFX_ETHTOOL_ATOMIC_NIC_ERROR_STAT(field) \
[all...]
/drivers/net/wireless/ath/ath5k/
H A Drfbuffer.h65 * struct ath5k_rfb_field - An RF Buffer field (register/value)
70 * Struct to hold RF Buffer field
84 * @field: The &struct ath5k_rfb_field
96 struct ath5k_rfb_field field; member in struct:ath5k_rf_reg
/drivers/net/wireless/b43/
H A Dtables_nphy.c3103 { 0x78, 0x78, 0x0038, 3 }, /* for field == 0x0002 (fls == 2) */
3104 { 0x7A, 0x7D, 0x0001, 0 }, /* for field == 0x0004 (fls == 3) */
3105 { 0x7A, 0x7D, 0x0002, 1 }, /* for field == 0x0008 (fls == 4) */
3106 { 0x7A, 0x7D, 0x0004, 2 }, /* for field == 0x0010 (fls == 5) */
3107 { 0x7A, 0x7D, 0x0030, 4 }, /* for field == 0x0020 (fls == 6) */
3108 { 0x7A, 0x7D, 0x00C0, 6 }, /* for field == 0x0040 (fls == 7) */
3109 { 0x7A, 0x7D, 0x0100, 8 }, /* for field == 0x0080 (fls == 8) */
3110 { 0x7A, 0x7D, 0x0200, 9 }, /* for field == 0x0100 (fls == 9) */
3111 { 0x78, 0x78, 0x0004, 2 }, /* for field == 0x0200 (fls == 10) */
3112 { 0x7B, 0x7E, 0x01FF, 0 }, /* for field
3848 b43_nphy_get_rf_ctl_over_rev7( struct b43_wldev *dev, u16 field, u8 override) argument
[all...]
H A Dtables_nphy.h39 u16 field; member in struct:nphy_rf_control_override_rev7
220 struct b43_wldev *dev, u16 field, u8 override);
/drivers/net/wireless/rt2x00/
H A Drt2500usb.c122 struct rt2x00_field16 field,
129 if (!rt2x00_get_field16(*reg, field))
1188 * the 'flags' field we are not using for beacons.
120 rt2500usb_regbusy_read(struct rt2x00_dev *rt2x00dev, const unsigned int offset, struct rt2x00_field16 field, u16 *reg) argument
H A Drt73usb.c269 struct rt2x00_field32 field; local
316 field.bit_offset = (3 * key->hw_key_idx);
317 field.bit_mask = 0x7 << field.bit_offset;
320 rt2x00_set_field32(&reg, field, crypto->cipher);
323 field.bit_offset = (3 * (key->hw_key_idx - 8));
324 field.bit_mask = 0x7 << field.bit_offset;
327 rt2x00_set_field32(&reg, field, crypto->cipher);
2238 struct rt2x00_field32 field; local
[all...]

Completed in 826 milliseconds

12345678