Home
last modified time | relevance | path

Searched refs:pad (Results 1 – 25 of 253) sorted by relevance

1234567891011

/drivers/net/wireless/b43/
Dtables_lpphy.c1083 { .gm = 7, .pga = 15, .pad = 14, .dac = 0, .bb_mult = 152, },
1084 { .gm = 7, .pga = 15, .pad = 14, .dac = 0, .bb_mult = 147, },
1085 { .gm = 7, .pga = 15, .pad = 14, .dac = 0, .bb_mult = 143, },
1086 { .gm = 7, .pga = 15, .pad = 14, .dac = 0, .bb_mult = 139, },
1087 { .gm = 7, .pga = 15, .pad = 14, .dac = 0, .bb_mult = 135, },
1088 { .gm = 7, .pga = 15, .pad = 14, .dac = 0, .bb_mult = 131, },
1089 { .gm = 7, .pga = 15, .pad = 14, .dac = 0, .bb_mult = 128, },
1090 { .gm = 7, .pga = 15, .pad = 14, .dac = 0, .bb_mult = 124, },
1091 { .gm = 7, .pga = 15, .pad = 14, .dac = 0, .bb_mult = 121, },
1092 { .gm = 7, .pga = 15, .pad = 14, .dac = 0, .bb_mult = 117, },
[all …]
/drivers/media/v4l2-core/
Dv4l2-subdev.c38 fh->pad = kzalloc(sizeof(*fh->pad) * sd->entity.num_pads, GFP_KERNEL); in subdev_fh_init()
39 if (fh->pad == NULL) in subdev_fh_init()
48 kfree(fh->pad); in subdev_fh_free()
49 fh->pad = NULL; in subdev_fh_free()
210 if (format->pad >= sd->entity.num_pads) in subdev_do_ioctl()
213 return v4l2_subdev_call(sd, pad, get_fmt, subdev_fh, format); in subdev_do_ioctl()
223 if (format->pad >= sd->entity.num_pads) in subdev_do_ioctl()
226 return v4l2_subdev_call(sd, pad, set_fmt, subdev_fh, format); in subdev_do_ioctl()
238 if (crop->pad >= sd->entity.num_pads) in subdev_do_ioctl()
241 rval = v4l2_subdev_call(sd, pad, get_crop, subdev_fh, crop); in subdev_do_ioctl()
[all …]
/drivers/input/joystick/
Dmaplecontrol.c30 struct dc_pad *pad = maple_get_drvdata(mapledev); in dc_pad_callback() local
31 struct input_dev *dev = pad->dev; in dc_pad_callback()
64 struct dc_pad *pad = dev->dev.platform_data; in dc_pad_open() local
66 maple_getcond_callback(pad->mdev, dc_pad_callback, HZ/20, in dc_pad_open()
74 struct dc_pad *pad = dev->dev.platform_data; in dc_pad_close() local
76 maple_getcond_callback(pad->mdev, dc_pad_callback, 0, in dc_pad_close()
100 struct dc_pad *pad; in probe_maple_controller() local
104 pad = kzalloc(sizeof(struct dc_pad), GFP_KERNEL); in probe_maple_controller()
106 if (!pad || !idev) { in probe_maple_controller()
111 pad->dev = idev; in probe_maple_controller()
[all …]
Dgamecon.c376 struct gc_pad *pad; in gc_nes_process_packet() local
388 pad = &gc->pads[i]; in gc_nes_process_packet()
389 dev = pad->dev; in gc_nes_process_packet()
392 switch (pad->type) { in gc_nes_process_packet()
489 struct gc_pad *pad; in gc_multi_process_packet() local
496 pad = &gc->pads[i]; in gc_multi_process_packet()
497 dev = pad->dev; in gc_multi_process_packet()
500 switch (pad->type) { in gc_multi_process_packet()
580 struct gc_pad *pad = &gc->pads[j]; in gc_psx_command() local
582 if (pad->type == GC_PSX || pad->type == GC_DDR) in gc_psx_command()
[all …]
/drivers/input/mouse/
Dsentelic.c377 struct fsp_data *pad = psmouse->private; in fsp_onpad_vscr() local
383 pad->vscroll = enable; in fsp_onpad_vscr()
398 struct fsp_data *pad = psmouse->private; in fsp_onpad_hscr() local
407 pad->hscroll = enable; in fsp_onpad_hscr()
465 struct fsp_data *pad = psmouse->private; in fsp_attr_show_getreg() local
467 return sprintf(buf, "%02x%02x\n", pad->last_reg, pad->last_val); in fsp_attr_show_getreg()
478 struct fsp_data *pad = psmouse->private; in fsp_attr_set_getreg() local
491 pad->last_reg = reg; in fsp_attr_set_getreg()
492 pad->last_val = val; in fsp_attr_set_getreg()
535 struct fsp_data *pad = psmouse->private; in fsp_attr_show_vscroll() local
[all …]
/drivers/media/platform/omap3isp/
Dispvideo.c218 isp_video_remote_subdev(struct isp_video *video, u32 *pad) in isp_video_remote_subdev() argument
222 remote = media_entity_remote_source(&video->pad); in isp_video_remote_subdev()
228 if (pad) in isp_video_remote_subdev()
229 *pad = remote->index; in isp_video_remote_subdev()
295 struct media_pad *pad; in isp_video_validate_pipeline() local
304 pad = &subdev->entity.pads[0]; in isp_video_validate_pipeline()
305 if (!(pad->flags & MEDIA_PAD_FL_SINK)) in isp_video_validate_pipeline()
317 pad = media_entity_remote_source(pad); in isp_video_validate_pipeline()
318 if (pad == NULL) in isp_video_validate_pipeline()
321 if (media_entity_type(pad->entity) != MEDIA_ENT_T_V4L2_SUBDEV) in isp_video_validate_pipeline()
[all …]
Dispccp2.c356 struct media_pad *pad; in ccp2_if_configure() local
363 pad = media_entity_remote_source(&ccp2->pads[CCP2_PAD_SINK]); in ccp2_if_configure()
364 sensor = media_entity_to_v4l2_subdev(pad->entity); in ccp2_if_configure()
625 unsigned int pad, enum v4l2_subdev_format_whence which) in __ccp2_get_format() argument
628 return v4l2_subdev_get_try_format(fh, pad); in __ccp2_get_format()
630 return &ccp2->formats[pad]; in __ccp2_get_format()
642 struct v4l2_subdev_fh *fh, unsigned int pad, in ccp2_try_format() argument
648 switch (pad) { in ccp2_try_format()
700 if (code->pad == CCP2_PAD_SINK) { in ccp2_enum_mbus_code()
730 ccp2_try_format(ccp2, fh, fse->pad, &format, V4L2_SUBDEV_FORMAT_TRY); in ccp2_enum_frame_size()
[all …]
Disp.c852 struct media_pad *pad; in isp_pipeline_enable() local
876 pad = &entity->pads[0]; in isp_pipeline_enable()
877 if (!(pad->flags & MEDIA_PAD_FL_SINK)) in isp_pipeline_enable()
880 pad = media_entity_remote_source(pad); in isp_pipeline_enable()
881 if (pad == NULL || in isp_pipeline_enable()
882 media_entity_type(pad->entity) != MEDIA_ENT_T_V4L2_SUBDEV) in isp_pipeline_enable()
885 entity = pad->entity; in isp_pipeline_enable()
955 struct media_pad *pad; in isp_pipeline_disable() local
966 pad = &entity->pads[0]; in isp_pipeline_disable()
967 if (!(pad->flags & MEDIA_PAD_FL_SINK)) in isp_pipeline_disable()
[all …]
/drivers/net/wireless/mwifiex/
D11n_aggr.c48 struct sk_buff *skb_src, int *pad) in mwifiex_11n_form_amsdu_pkt() argument
86 *pad = (4 - ((unsigned long)skb_aggr->tail & 0x3)) % 4; in mwifiex_11n_form_amsdu_pkt()
88 return skb_aggr->len + *pad; in mwifiex_11n_form_amsdu_pkt()
159 int pad = 0, ret; in mwifiex_11n_aggregate_pkt() local
198 mwifiex_11n_form_amsdu_pkt(skb_aggr, skb_src, &pad); in mwifiex_11n_aggregate_pkt()
210 if (skb_tailroom(skb_aggr) < pad) { in mwifiex_11n_aggregate_pkt()
211 pad = 0; in mwifiex_11n_aggregate_pkt()
214 skb_put(skb_aggr, pad); in mwifiex_11n_aggregate_pkt()
223 skb_trim(skb_aggr, skb_aggr->len - pad); in mwifiex_11n_aggregate_pkt()
Dsta_tx.c50 u8 pad; in mwifiex_process_sta_txpd() local
62 pad = (4 - (((void *)skb->data - NULL) & 0x3)) % 4; in mwifiex_process_sta_txpd()
65 + pad)); in mwifiex_process_sta_txpd()
66 skb_push(skb, sizeof(*local_tx_pd) + pad); in mwifiex_process_sta_txpd()
74 + pad))); in mwifiex_process_sta_txpd()
99 pkt_offset = sizeof(struct txpd) + pad; in mwifiex_process_sta_txpd()
/drivers/atm/
Dfore200e.h145 u32 pad; /* reserved */ member
205 u32 pad : 1, /* reserved */
272 u32 pad : 8 /* reserved */
284 u32 pad : 8 /* reserved */
304 u32 pad : 24 /* reserved */
353 __be32 pad[ 2 ]; /* i960 padding */ member
367 __be32 pad[ 1 ]; /* i960 padding */ member
380 __be32 pad[ 2 ]; /* i960 padding */ member
389 __be32 pad[ 1 ]; /* i960 padding */ member
405 __be32 pad[ 3 ]; /* i960 padding */ member
[all …]
/drivers/media/platform/exynos4-is/
Dfimc-capture.c599 u32 *code, u32 *fourcc, int pad) in fimc_capture_try_format() argument
611 if (code && ctx->s_frame.fmt && pad == FIMC_SD_PAD_SOURCE && in fimc_capture_try_format()
615 if (fourcc && *fourcc != V4L2_PIX_FMT_JPEG && pad == FIMC_SD_PAD_SOURCE) in fimc_capture_try_format()
618 if (pad == FIMC_SD_PAD_SINK_FIFO) in fimc_capture_try_format()
630 if (pad != FIMC_SD_PAD_SOURCE) { in fimc_capture_try_format()
668 pad, code ? *code : 0, *width, *height, in fimc_capture_try_format()
773 struct media_pad *pad = &me->pads[0]; in fimc_pipeline_get_head() local
775 while (!(pad->flags & MEDIA_PAD_FL_SOURCE)) { in fimc_pipeline_get_head()
776 pad = media_entity_remote_source(pad); in fimc_pipeline_get_head()
777 if (!pad) in fimc_pipeline_get_head()
[all …]
Dfimc-lite.c137 struct media_pad *pad = &me->pads[0]; in __find_remote_sensor() local
140 while (pad->flags & MEDIA_PAD_FL_SINK) { in __find_remote_sensor()
142 pad = media_entity_remote_source(pad); in __find_remote_sensor()
143 if (pad == NULL || in __find_remote_sensor()
144 media_entity_type(pad->entity) != MEDIA_ENT_T_V4L2_SUBDEV) in __find_remote_sensor()
147 sd = media_entity_to_v4l2_subdev(pad->entity); in __find_remote_sensor()
153 pad = &sd->entity.pads[0]; in __find_remote_sensor()
567 u32 *code, u32 *fourcc, int pad) in fimc_lite_try_format() argument
573 if (pad == FLITE_SD_PAD_SINK) { in fimc_lite_try_format()
766 struct media_pad *pad; in fimc_pipeline_validate() local
[all …]
Dfimc-is-sensor.c80 u32 pad, enum v4l2_subdev_format_whence which) in __fimc_is_sensor_get_format() argument
83 return fh ? v4l2_subdev_get_try_format(fh, pad) : NULL; in __fimc_is_sensor_get_format()
97 mf = __fimc_is_sensor_get_format(sensor, fh, fmt->pad, fmt->which); in fimc_is_sensor_set_fmt()
114 mf = __fimc_is_sensor_get_format(sensor, fh, fmt->pad, fmt->which); in fimc_is_sensor_get_fmt()
191 .pad = &fimc_is_sensor_pad_ops,
245 sensor->pad.flags = MEDIA_PAD_FL_SOURCE; in fimc_is_sensor_probe()
246 ret = media_entity_init(&sd->entity, 1, &sensor->pad, 0); in fimc_is_sensor_probe()
/drivers/net/wan/
Dhdlc_raw_eth.c30 int pad = ETH_ZLEN - skb->len; in eth_tx() local
31 if (pad > 0) { /* Pad the frame with zeros */ in eth_tx()
33 if (skb_tailroom(skb) < pad) in eth_tx()
34 if (pskb_expand_head(skb, 0, pad, GFP_ATOMIC)) { in eth_tx()
39 skb_put(skb, pad); in eth_tx()
40 memset(skb->data + len, 0, pad); in eth_tx()
/drivers/gpu/drm/i915/
Dintel_sdvo_regs.h60 unsigned int pad:1; member
110 u8 pad:6; member
164 unsigned int pad:6; member
221 unsigned int pad:6; member
234 unsigned int pad:7; member
372 unsigned int pad:3; member
403 unsigned int pad:5; member
428 unsigned int pad:5; member
465 unsigned int pad:6; member
559 unsigned int pad:6; member
[all …]
/drivers/gpu/drm/gma500/
Dpsb_intel_sdvo_regs.h60 unsigned int pad:1; member
105 u8 pad:6; member
159 unsigned int pad:6; member
216 unsigned int pad:6; member
229 unsigned int pad:7; member
367 unsigned int pad:3; member
398 unsigned int pad:5; member
423 unsigned int pad:5; member
460 unsigned int pad:6; member
554 unsigned int pad:6; member
[all …]
/drivers/staging/media/davinci_vpfe/
Dvpfe_video.c90 vpfe_video_remote_subdev(struct vpfe_video_device *video, u32 *pad) in vpfe_video_remote_subdev() argument
92 struct media_pad *remote = media_entity_remote_source(&video->pad); in vpfe_video_remote_subdev()
96 if (pad) in vpfe_video_remote_subdev()
97 *pad = remote->index; in vpfe_video_remote_subdev()
109 u32 pad; in __vpfe_video_get_format() local
112 subdev = vpfe_video_remote_subdev(video, &pad); in __vpfe_video_get_format()
117 remote = media_entity_remote_source(&video->pad); in __vpfe_video_get_format()
118 fmt.pad = remote->index; in __vpfe_video_get_format()
120 ret = v4l2_subdev_call(subdev, pad, get_fmt, NULL, &fmt); in __vpfe_video_get_format()
220 struct media_pad *pad; in vpfe_video_validate_pipeline() local
[all …]
Ddm365_ipipeif.c554 switch (code->pad) { in ipipeif_enum_mbus_code()
589 fmt->format = ipipeif->formats[fmt->pad]; in ipipeif_get_format()
591 fmt->format = *(v4l2_subdev_get_try_format(fh, fmt->pad)); in ipipeif_get_format()
609 struct v4l2_subdev_fh *fh, unsigned int pad, in ipipeif_try_format() argument
620 if (pad == IPIPEIF_PAD_SINK) { in ipipeif_try_format()
628 } else if (pad == IPIPEIF_PAD_SOURCE) { in ipipeif_try_format()
655 ipipeif_try_format(ipipeif, fh, fse->pad, &format, in ipipeif_enum_frame_size()
666 ipipeif_try_format(ipipeif, fh, fse->pad, &format, in ipipeif_enum_frame_size()
684 struct v4l2_subdev_fh *fh, unsigned int pad, in __ipipeif_get_format() argument
688 return v4l2_subdev_get_try_format(fh, pad); in __ipipeif_get_format()
[all …]
Ddm365_resizer.c1299 unsigned int pad, enum v4l2_subdev_format_whence which) in __resizer_get_format() argument
1304 return v4l2_subdev_get_try_format(fh, pad); in __resizer_get_format()
1306 return &resizer->crop_resizer.formats[pad]; in __resizer_get_format()
1308 return &resizer->resizer_a.formats[pad]; in __resizer_get_format()
1310 return &resizer->resizer_b.formats[pad]; in __resizer_get_format()
1324 unsigned int pad, struct v4l2_mbus_framefmt *fmt, in resizer_try_format() argument
1332 if ((&resizer->resizer_a.subdev == sd && pad == RESIZER_PAD_SINK) || in resizer_try_format()
1333 (&resizer->resizer_b.subdev == sd && pad == RESIZER_PAD_SINK) || in resizer_try_format()
1335 (pad == RESIZER_CROP_PAD_SOURCE || in resizer_try_format()
1336 pad == RESIZER_CROP_PAD_SOURCE2 || pad == RESIZER_CROP_PAD_SINK))) { in resizer_try_format()
[all …]
/drivers/net/wireless/ti/wl1251/
Dacx.h172 u8 pad[2]; member
319 u8 pad[3]; member
361 u8 pad[2]; member
399 u8 pad[2]; member
458 u8 pad[2]; member
503 u8 pad[3]; member
537 u8 pad[3]; member
703 u8 pad; member
722 u8 pad[2]; member
780 u8 pad[2]; member
[all …]
/drivers/media/i2c/s5c73m3/
Ds5c73m3-core.c828 switch (fmt->pad) { in s5c73m3_oif_try_format()
864 if (fmt->pad == S5C73M3_ISP_PAD) { in s5c73m3_try_format()
880 if (fi->pad != OIF_SOURCE_PAD) in s5c73m3_oif_g_frame_interval()
930 if (fi->pad != OIF_SOURCE_PAD) in s5c73m3_oif_s_frame_interval()
957 if (fie->pad != OIF_SOURCE_PAD) in s5c73m3_oif_enum_frame_interval()
973 static int s5c73m3_oif_get_pad_code(int pad, int index) in s5c73m3_oif_get_pad_code() argument
975 if (pad == OIF_SOURCE_PAD) { in s5c73m3_oif_get_pad_code()
984 return (pad == OIF_ISP_PAD) ? S5C73M3_ISP_FMT : S5C73M3_JPEG_FMT; in s5c73m3_oif_get_pad_code()
996 fmt->format = *v4l2_subdev_get_try_format(fh, fmt->pad); in s5c73m3_get_fmt()
1002 switch (fmt->pad) { in s5c73m3_get_fmt()
[all …]
/drivers/media/i2c/
Dmt9t001.c117 struct media_pad pad; member
168 unsigned int pad, enum v4l2_subdev_format_whence which) in __mt9t001_get_pad_format() argument
172 return v4l2_subdev_get_try_format(fh, pad); in __mt9t001_get_pad_format()
182 unsigned int pad, enum v4l2_subdev_format_whence which) in __mt9t001_get_pad_crop() argument
186 return v4l2_subdev_get_try_crop(fh, pad); in __mt9t001_get_pad_crop()
272 format->format = *__mt9t001_get_pad_format(mt9t001, fh, format->pad, in mt9t001_get_format()
289 __crop = __mt9t001_get_pad_crop(mt9t001, fh, format->pad, in mt9t001_set_format()
303 __format = __mt9t001_get_pad_format(mt9t001, fh, format->pad, in mt9t001_set_format()
319 crop->rect = *__mt9t001_get_pad_crop(mt9t001, fh, crop->pad, in mt9t001_get_crop()
352 __crop = __mt9t001_get_pad_crop(mt9t001, fh, crop->pad, crop->which); in mt9t001_set_crop()
[all …]
Dmt9v032.c124 struct media_pad pad; member
281 unsigned int pad, enum v4l2_subdev_format_whence which) in __mt9v032_get_pad_format() argument
285 return v4l2_subdev_get_try_format(fh, pad); in __mt9v032_get_pad_format()
295 unsigned int pad, enum v4l2_subdev_format_whence which) in __mt9v032_get_pad_crop() argument
299 return v4l2_subdev_get_try_crop(fh, pad); in __mt9v032_get_pad_crop()
389 format->format = *__mt9v032_get_pad_format(mt9v032, fh, format->pad, in mt9v032_get_format()
418 __crop = __mt9v032_get_pad_crop(mt9v032, fh, format->pad, in mt9v032_set_format()
432 __format = __mt9v032_get_pad_format(mt9v032, fh, format->pad, in mt9v032_set_format()
450 crop->rect = *__mt9v032_get_pad_crop(mt9v032, fh, crop->pad, in mt9v032_get_crop()
483 __crop = __mt9v032_get_pad_crop(mt9v032, fh, crop->pad, crop->which); in mt9v032_set_crop()
[all …]
/drivers/infiniband/hw/qib/
Dqib_uc.c249 u32 pad; in qib_uc_rcv() local
391 pad = (be32_to_cpu(ohdr->bth[0]) >> 20) & 3; in qib_uc_rcv()
394 if (unlikely(tlen < (hdrsize + pad + 4))) in qib_uc_rcv()
397 tlen -= (hdrsize + pad + 4); in qib_uc_rcv()
477 pad = (be32_to_cpu(ohdr->bth[0]) >> 20) & 3; in qib_uc_rcv()
480 if (unlikely(tlen < (hdrsize + pad + 4))) in qib_uc_rcv()
483 tlen -= (hdrsize + pad + 4); in qib_uc_rcv()
504 pad = (be32_to_cpu(ohdr->bth[0]) >> 20) & 3; in qib_uc_rcv()
507 if (unlikely(tlen < (hdrsize + pad + 4))) in qib_uc_rcv()
510 tlen -= (hdrsize + pad + 4); in qib_uc_rcv()

1234567891011