Home
last modified time | relevance | path

Searched refs:pad (Results 1 – 200 of 612) sorted by relevance

1234

/linux-4.1.27/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 …]
/linux-4.1.27/drivers/pinctrl/qcom/
Dpinctrl-spmi-gpio.c167 struct pmic_gpio_pad *pad, unsigned int addr) in pmic_gpio_read() argument
172 ret = regmap_read(state->map, pad->base + addr, &val); in pmic_gpio_read()
182 struct pmic_gpio_pad *pad, unsigned int addr, in pmic_gpio_write() argument
187 ret = regmap_write(state->map, pad->base + addr, val); in pmic_gpio_write()
247 struct pmic_gpio_pad *pad; in pmic_gpio_set_mux() local
251 pad = pctldev->desc->pins[pin].drv_data; in pmic_gpio_set_mux()
253 pad->function = function; in pmic_gpio_set_mux()
256 if (pad->output_enabled) { in pmic_gpio_set_mux()
257 if (pad->input_enabled) in pmic_gpio_set_mux()
264 val |= pad->function << PMIC_GPIO_REG_MODE_FUNCTION_SHIFT; in pmic_gpio_set_mux()
[all …]
Dpinctrl-spmi-mpp.c159 struct pmic_mpp_pad *pad, unsigned int addr) in pmic_mpp_read() argument
164 ret = regmap_read(state->map, pad->base + addr, &val); in pmic_mpp_read()
174 struct pmic_mpp_pad *pad, unsigned int addr, in pmic_mpp_write() argument
179 ret = regmap_write(state->map, pad->base + addr, val); in pmic_mpp_write()
347 struct pmic_mpp_pad *pad; in pmic_mpp_set_mux() local
351 pad = pctldev->desc->pins[pin].drv_data; in pmic_mpp_set_mux()
353 pad->function = function; in pmic_mpp_set_mux()
355 if (!pad->analog_mode) { in pmic_mpp_set_mux()
357 if (pad->output_enabled) { in pmic_mpp_set_mux()
358 if (pad->input_enabled) in pmic_mpp_set_mux()
[all …]
/linux-4.1.27/drivers/gpu/drm/nouveau/nvkm/subdev/i2c/
Dpad.c29 struct nvkm_i2c_pad *pad = (void *)object; in _nvkm_i2c_pad_fini() local
31 pad->port = NULL; in _nvkm_i2c_pad_fini()
32 return nvkm_object_fini(&pad->base, suspend); in _nvkm_i2c_pad_fini()
38 struct nvkm_i2c_pad *pad = (void *)object; in _nvkm_i2c_pad_init() local
39 DBG("-> PORT:%02x\n", pad->next->index); in _nvkm_i2c_pad_init()
40 pad->port = pad->next; in _nvkm_i2c_pad_init()
41 return nvkm_object_init(&pad->base); in _nvkm_i2c_pad_init()
52 struct nvkm_i2c_pad *pad; in nvkm_i2c_pad_create_() local
56 pad = nvkm_i2c_pad(port); in nvkm_i2c_pad_create_()
57 if (pad->index == index) { in nvkm_i2c_pad_create_()
[all …]
Dpadgm204.c35 struct gm204_i2c_pad *pad = (void *)object; in gm204_i2c_pad_fini() local
36 nv_mask(i2c, 0x00d97c + pad->addr, 0x00000001, 0x00000001); in gm204_i2c_pad_fini()
37 return nvkm_i2c_pad_fini(&pad->base, suspend); in gm204_i2c_pad_fini()
44 struct gm204_i2c_pad *pad = (void *)object; in gm204_i2c_pad_init() local
46 switch (nv_oclass(pad->base.next)->handle) { in gm204_i2c_pad_init()
48 nv_mask(i2c, 0x00d970 + pad->addr, 0x0000c003, 0x00000002); in gm204_i2c_pad_init()
52 nv_mask(i2c, 0x00d970 + pad->addr, 0x0000c003, 0x0000c001); in gm204_i2c_pad_init()
56 nv_mask(i2c, 0x00d97c + pad->addr, 0x00000001, 0x00000000); in gm204_i2c_pad_init()
57 return nvkm_i2c_pad_init(&pad->base); in gm204_i2c_pad_init()
65 struct gm204_i2c_pad *pad; in gm204_i2c_pad_ctor() local
[all …]
Dpadg94.c35 struct g94_i2c_pad *pad = (void *)object; in g94_i2c_pad_fini() local
36 nv_mask(i2c, 0x00e50c + pad->addr, 0x00000001, 0x00000001); in g94_i2c_pad_fini()
37 return nvkm_i2c_pad_fini(&pad->base, suspend); in g94_i2c_pad_fini()
44 struct g94_i2c_pad *pad = (void *)object; in g94_i2c_pad_init() local
46 switch (nv_oclass(pad->base.next)->handle) { in g94_i2c_pad_init()
48 nv_mask(i2c, 0x00e500 + pad->addr, 0x0000c003, 0x00000002); in g94_i2c_pad_init()
52 nv_mask(i2c, 0x00e500 + pad->addr, 0x0000c003, 0x0000c001); in g94_i2c_pad_init()
56 nv_mask(i2c, 0x00e50c + pad->addr, 0x00000001, 0x00000000); in g94_i2c_pad_init()
57 return nvkm_i2c_pad_init(&pad->base); in g94_i2c_pad_init()
65 struct g94_i2c_pad *pad; in g94_i2c_pad_ctor() local
[all …]
Dpad.h15 struct nvkm_object *pad = nv_object(port); in nvkm_i2c_pad() local
16 while (!nv_iclass(pad->parent, NV_SUBDEV_CLASS)) in nvkm_i2c_pad()
17 pad = pad->parent; in nvkm_i2c_pad()
18 return (void *)pad; in nvkm_i2c_pad()
48 struct nvkm_i2c_pad *_pad = (void *)pad; \
Dbase.c95 struct nvkm_i2c_pad *pad = nvkm_i2c_pad(port); in _nvkm_i2c_port_fini() local
96 nv_ofuncs(pad)->fini(nv_object(pad), suspend); in _nvkm_i2c_port_fini()
214 struct nvkm_i2c_pad *pad = nvkm_i2c_pad(port); in nvkm_i2c_release_pad() local
217 if (atomic_dec_and_test(&nv_object(pad)->usecount)) { in nvkm_i2c_release_pad()
218 nv_ofuncs(pad)->fini(nv_object(pad), false); in nvkm_i2c_release_pad()
226 struct nvkm_i2c_pad *pad = nvkm_i2c_pad(port); in nvkm_i2c_try_acquire_pad() local
228 if (atomic_add_return(1, &nv_object(pad)->usecount) != 1) { in nvkm_i2c_try_acquire_pad()
229 struct nvkm_object *owner = (void *)pad->port; in nvkm_i2c_try_acquire_pad()
239 pad->next = port; in nvkm_i2c_try_acquire_pad()
240 nv_ofuncs(pad)->init(nv_object(pad)); in nvkm_i2c_try_acquire_pad()
[all …]
/linux-4.1.27/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()
136 if (format->pad >= sd->entity.num_pads) in check_format()
148 if (crop->pad >= sd->entity.num_pads) in check_crop()
161 if (sel->pad >= sd->entity.num_pads) in check_selection()
169 if (edid->pad >= sd->entity.num_pads) in check_edid()
264 return v4l2_subdev_call(sd, pad, get_fmt, subdev_fh->pad, format); in subdev_do_ioctl()
274 return v4l2_subdev_call(sd, pad, set_fmt, subdev_fh->pad, format); in subdev_do_ioctl()
[all …]
/linux-4.1.27/Documentation/devicetree/bindings/net/
Dmicrel-ksz90x1.txt19 - rxc-skew-ps : Skew control of RXC pad
20 - rxdv-skew-ps : Skew control of RX CTL pad
21 - txc-skew-ps : Skew control of TXC pad
22 - txen-skew-ps : Skew control of TX CTL pad
23 - rxd0-skew-ps : Skew control of RX data 0 pad
24 - rxd1-skew-ps : Skew control of RX data 1 pad
25 - rxd2-skew-ps : Skew control of RX data 2 pad
26 - rxd3-skew-ps : Skew control of RX data 3 pad
27 - txd0-skew-ps : Skew control of TX data 0 pad
28 - txd1-skew-ps : Skew control of TX data 1 pad
[all …]
/linux-4.1.27/net/mac80211/
Daes_cmac.c26 static void gf_mulx(u8 *pad) in gf_mulx() argument
30 carry = pad[0] & 0x80; in gf_mulx()
32 pad[i] = (pad[i] << 1) | (pad[i + 1] >> 7); in gf_mulx()
33 pad[AES_BLOCK_SIZE - 1] <<= 1; in gf_mulx()
35 pad[AES_BLOCK_SIZE - 1] ^= 0x87; in gf_mulx()
42 u8 cbc[AES_BLOCK_SIZE], pad[AES_BLOCK_SIZE]; in aes_cmac_vector() local
71 memset(pad, 0, AES_BLOCK_SIZE); in aes_cmac_vector()
72 crypto_cipher_encrypt_one(tfm, pad, pad); in aes_cmac_vector()
73 gf_mulx(pad); in aes_cmac_vector()
85 gf_mulx(pad); in aes_cmac_vector()
[all …]
/linux-4.1.27/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_get_platdata(&dev->dev); 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_get_platdata(&dev->dev); 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 …]
Dadi.c117 signed char pad; member
233 if (i == adi->pad) { in adi_decode()
388 adi->pad = 4; in adi_id_decode()
392 adi->pad = 0; in adi_id_decode()
396 adi->pad = -1; in adi_id_decode()
435 for (i = 0; i < adi->axes10 + adi->axes8 + (adi->hats + (adi->pad != -1)) * 2; i++) in adi_init_input()
451 for (i = 0; i < adi->axes10 + adi->axes8 + (adi->hats + (adi->pad != -1)) * 2; i++) { in adi_init_center()
/linux-4.1.27/fs/ext4/
Dhash.c71 __u32 pad, val; in str2hashbuf_signed() local
75 pad = (__u32)len | ((__u32)len << 8); in str2hashbuf_signed()
76 pad |= pad << 16; in str2hashbuf_signed()
78 val = pad; in str2hashbuf_signed()
83 val = pad; in str2hashbuf_signed()
87 val = pad; in str2hashbuf_signed()
94 *buf++ = pad; in str2hashbuf_signed()
99 __u32 pad, val; in str2hashbuf_unsigned() local
103 pad = (__u32)len | ((__u32)len << 8); in str2hashbuf_unsigned()
104 pad |= pad << 16; in str2hashbuf_unsigned()
[all …]
/linux-4.1.27/fs/ext3/
Dhash.c70 __u32 pad, val; in str2hashbuf_signed() local
74 pad = (__u32)len | ((__u32)len << 8); in str2hashbuf_signed()
75 pad |= pad << 16; in str2hashbuf_signed()
77 val = pad; in str2hashbuf_signed()
82 val = pad; in str2hashbuf_signed()
86 val = pad; in str2hashbuf_signed()
93 *buf++ = pad; in str2hashbuf_signed()
98 __u32 pad, val; in str2hashbuf_unsigned() local
102 pad = (__u32)len | ((__u32)len << 8); in str2hashbuf_unsigned()
103 pad |= pad << 16; in str2hashbuf_unsigned()
[all …]
/linux-4.1.27/drivers/media/platform/exynos4-is/
Dcommon.c19 struct media_pad *pad = &entity->pads[0]; in fimc_find_remote_sensor() local
22 while (pad->flags & MEDIA_PAD_FL_SINK) { in fimc_find_remote_sensor()
24 pad = media_entity_remote_pad(pad); in fimc_find_remote_sensor()
25 if (pad == NULL || in fimc_find_remote_sensor()
26 media_entity_type(pad->entity) != MEDIA_ENT_T_V4L2_SUBDEV) in fimc_find_remote_sensor()
29 sd = media_entity_to_v4l2_subdev(pad->entity); in fimc_find_remote_sensor()
35 pad = &sd->entity.pads[0]; in fimc_find_remote_sensor()
Dfimc-isp.c135 *mf = *v4l2_subdev_get_try_format(sd, cfg, fmt->pad); in fimc_isp_subdev_get_fmt()
143 if (fmt->pad == FIMC_ISP_SD_PAD_SINK) { in fimc_isp_subdev_get_fmt()
150 if (fmt->pad == FIMC_ISP_SD_PAD_SRC_FIFO) { in fimc_isp_subdev_get_fmt()
159 fmt->pad, mf->code, mf->width, mf->height); in fimc_isp_subdev_get_fmt()
173 if (fmt->pad == FIMC_ISP_SD_PAD_SINK) { in __isp_subdev_try_format()
190 if (fmt->pad == FIMC_ISP_SD_PAD_SRC_FIFO) { in __isp_subdev_try_format()
209 __func__, fmt->pad, mf->code, mf->width, mf->height); in fimc_isp_subdev_set_fmt()
215 mf = v4l2_subdev_get_try_format(sd, cfg, fmt->pad); in fimc_isp_subdev_set_fmt()
219 if (fmt->pad == FIMC_ISP_SD_PAD_SINK) { in fimc_isp_subdev_set_fmt()
221 unsigned int pad; in fimc_isp_subdev_set_fmt() local
[all …]
Dfimc-capture.c585 u32 *code, u32 *fourcc, int pad) in fimc_capture_try_format() argument
597 if (code && ctx->s_frame.fmt && pad == FIMC_SD_PAD_SOURCE && in fimc_capture_try_format()
601 if (fourcc && *fourcc != V4L2_PIX_FMT_JPEG && pad == FIMC_SD_PAD_SOURCE) in fimc_capture_try_format()
604 if (pad == FIMC_SD_PAD_SINK_FIFO) in fimc_capture_try_format()
616 if (pad != FIMC_SD_PAD_SOURCE) { in fimc_capture_try_format()
654 pad, code ? *code : 0, *width, *height, in fimc_capture_try_format()
759 struct media_pad *pad = &me->pads[0]; in fimc_pipeline_get_head() local
761 while (!(pad->flags & MEDIA_PAD_FL_SOURCE)) { in fimc_pipeline_get_head()
762 pad = media_entity_remote_pad(pad); in fimc_pipeline_get_head()
763 if (!pad) in fimc_pipeline_get_head()
[all …]
Dfimc-isp-video.c454 struct media_pad *pad; in isp_video_pipeline_validate() local
459 pad = &sd->entity.pads[0]; in isp_video_pipeline_validate()
460 if (!(pad->flags & MEDIA_PAD_FL_SINK)) in isp_video_pipeline_validate()
462 sink_fmt.pad = pad->index; in isp_video_pipeline_validate()
464 ret = v4l2_subdev_call(sd, pad, get_fmt, NULL, &sink_fmt); in isp_video_pipeline_validate()
469 pad = media_entity_remote_pad(pad); in isp_video_pipeline_validate()
470 if (pad == NULL || in isp_video_pipeline_validate()
471 media_entity_type(pad->entity) != MEDIA_ENT_T_V4L2_SUBDEV) in isp_video_pipeline_validate()
474 sd = media_entity_to_v4l2_subdev(pad->entity); in isp_video_pipeline_validate()
475 src_fmt.pad = pad->index; in isp_video_pipeline_validate()
[all …]
Dfimc-lite.c578 if (format->pad == FLITE_SD_PAD_SINK) { in fimc_lite_subdev_try_fmt()
793 struct media_pad *pad; in fimc_pipeline_validate() local
798 pad = &sd->entity.pads[0]; in fimc_pipeline_validate()
799 if (!(pad->flags & MEDIA_PAD_FL_SINK)) in fimc_pipeline_validate()
808 sink_fmt.pad = pad->index; in fimc_pipeline_validate()
810 ret = v4l2_subdev_call(sd, pad, get_fmt, NULL, in fimc_pipeline_validate()
816 pad = media_entity_remote_pad(pad); in fimc_pipeline_validate()
817 if (pad == NULL || in fimc_pipeline_validate()
818 media_entity_type(pad->entity) != MEDIA_ENT_T_V4L2_SUBDEV) in fimc_pipeline_validate()
821 sd = media_entity_to_v4l2_subdev(pad->entity); in fimc_pipeline_validate()
[all …]
Dmedia-dev.c79 struct media_pad *pad = NULL; in fimc_pipeline_prepare() local
86 pad = media_entity_remote_pad(spad); in fimc_pipeline_prepare()
87 if (pad) in fimc_pipeline_prepare()
91 if (pad == NULL || in fimc_pipeline_prepare()
92 media_entity_type(pad->entity) != MEDIA_ENT_T_V4L2_SUBDEV) in fimc_pipeline_prepare()
94 sd = media_entity_to_v4l2_subdev(pad->entity); in fimc_pipeline_prepare()
705 int pad, int link_mask) in __fimc_md_create_fimc_sink_links() argument
732 ret = media_entity_create_link(source, pad, sink, in __fimc_md_create_fimc_sink_links()
739 &source->pads[pad], flags); in __fimc_md_create_fimc_sink_links()
752 ret = media_entity_create_link(source, pad, sink, in __fimc_md_create_fimc_sink_links()
[all …]
/linux-4.1.27/arch/arm/mach-imx/
Diomux-v3.c38 int mxc_iomux_v3_setup_pad(iomux_v3_cfg_t pad) in mxc_iomux_v3_setup_pad() argument
40 u32 mux_ctrl_ofs = (pad & MUX_CTRL_OFS_MASK) >> MUX_CTRL_OFS_SHIFT; in mxc_iomux_v3_setup_pad()
41 u32 mux_mode = (pad & MUX_MODE_MASK) >> MUX_MODE_SHIFT; in mxc_iomux_v3_setup_pad()
42 u32 sel_input_ofs = (pad & MUX_SEL_INPUT_OFS_MASK) >> MUX_SEL_INPUT_OFS_SHIFT; in mxc_iomux_v3_setup_pad()
43 u32 sel_input = (pad & MUX_SEL_INPUT_MASK) >> MUX_SEL_INPUT_SHIFT; in mxc_iomux_v3_setup_pad()
44 u32 pad_ctrl_ofs = (pad & MUX_PAD_CTRL_OFS_MASK) >> MUX_PAD_CTRL_OFS_SHIFT; in mxc_iomux_v3_setup_pad()
45 u32 pad_ctrl = (pad & MUX_PAD_CTRL_MASK) >> MUX_PAD_CTRL_SHIFT; in mxc_iomux_v3_setup_pad()
Diomux-imx31.c100 unsigned pad = pin & IOMUX_PADNUM_MASK; in mxc_iomux_alloc_pin() local
102 if (pad >= (PIN_MAX + 1)) { in mxc_iomux_alloc_pin()
104 pad, label ? label : "?"); in mxc_iomux_alloc_pin()
108 if (test_and_set_bit(pad, mxc_pin_alloc_map)) { in mxc_iomux_alloc_pin()
110 pad, label ? label : "?"); in mxc_iomux_alloc_pin()
140 unsigned pad = pin & IOMUX_PADNUM_MASK; in mxc_iomux_release_pin() local
142 if (pad < (PIN_MAX + 1)) in mxc_iomux_release_pin()
143 clear_bit(pad, mxc_pin_alloc_map); in mxc_iomux_release_pin()
Diomux-v3.h83 #define NEW_PAD_CTRL(cfg, pad) (((cfg) & ~MUX_PAD_CTRL_MASK) | MUX_PAD_CTRL(pad)) argument
128 int mxc_iomux_v3_setup_pad(iomux_v3_cfg_t pad);
/linux-4.1.27/fs/f2fs/
Dhash.c48 unsigned pad, val; in str2hashbuf() local
51 pad = (__u32)len | ((__u32)len << 8); in str2hashbuf()
52 pad |= pad << 16; in str2hashbuf()
54 val = pad; in str2hashbuf()
59 val = pad; in str2hashbuf()
63 val = pad; in str2hashbuf()
70 *buf++ = pad; in str2hashbuf()
/linux-4.1.27/arch/arm/mach-omap2/
Dmux.c284 struct omap_device_pad *bpad = &bpads[i], *pad = &hmux->pads[i]; in omap_hwmod_mux_init() local
291 if (!pad->partition) in omap_hwmod_mux_init()
292 pad->partition = partition; in omap_hwmod_mux_init()
293 if (!pad->mux) in omap_hwmod_mux_init()
294 pad->mux = mux; in omap_hwmod_mux_init()
296 pad->name = kzalloc(strlen(bpad->name) + 1, GFP_KERNEL); in omap_hwmod_mux_init()
297 if (!pad->name) { in omap_hwmod_mux_init()
304 strcpy(pad->name, bpad->name); in omap_hwmod_mux_init()
306 pad->flags = bpad->flags; in omap_hwmod_mux_init()
307 pad->enable = bpad->enable; in omap_hwmod_mux_init()
[all …]
/linux-4.1.27/drivers/media/platform/vsp1/
Dvsp1_bru.c196 if (code->pad == BRU_PAD_SINK(0)) { in bru_enum_mbus_code()
234 unsigned int pad, u32 which) in bru_get_compose() argument
238 return v4l2_subdev_get_try_crop(&bru->entity.subdev, cfg, pad); in bru_get_compose()
240 return &bru->inputs[pad].compose; in bru_get_compose()
251 fmt->format = *vsp1_entity_get_pad_format(&bru->entity, cfg, fmt->pad, in bru_get_format()
258 unsigned int pad, struct v4l2_mbus_framefmt *fmt, in bru_try_format() argument
263 switch (pad) { in bru_try_format()
291 bru_try_format(bru, cfg, fmt->pad, &fmt->format, fmt->which); in bru_set_format()
293 format = vsp1_entity_get_pad_format(&bru->entity, cfg, fmt->pad, in bru_set_format()
298 if (fmt->pad != BRU_PAD_SOURCE) { in bru_set_format()
[all …]
Dvsp1_entity.c67 unsigned int pad, u32 which) in vsp1_entity_get_pad_format() argument
71 return v4l2_subdev_get_try_format(&entity->subdev, cfg, pad); in vsp1_entity_get_pad_format()
73 return &entity->formats[pad]; in vsp1_entity_get_pad_format()
92 unsigned int pad; in vsp1_entity_init_formats() local
94 for (pad = 0; pad < subdev->entity.num_pads - 1; ++pad) { in vsp1_entity_init_formats()
97 format.pad = pad; in vsp1_entity_init_formats()
101 v4l2_subdev_call(subdev, pad, set_fmt, cfg, &format); in vsp1_entity_init_formats()
108 vsp1_entity_init_formats(subdev, fh->pad); in vsp1_entity_open()
Dvsp1_hsit.c66 if ((code->pad == HSIT_PAD_SINK && !hsit->inverse) | in hsit_enum_mbus_code()
67 (code->pad == HSIT_PAD_SOURCE && hsit->inverse)) in hsit_enum_mbus_code()
82 format = vsp1_entity_get_pad_format(&hsit->entity, cfg, fse->pad, in hsit_enum_frame_size()
88 if (fse->pad == HSIT_PAD_SINK) { in hsit_enum_frame_size()
112 fmt->format = *vsp1_entity_get_pad_format(&hsit->entity, cfg, fmt->pad, in hsit_get_format()
125 format = vsp1_entity_get_pad_format(&hsit->entity, cfg, fmt->pad, in hsit_set_format()
128 if (fmt->pad == HSIT_PAD_SOURCE) { in hsit_set_format()
174 .pad = &hsit_pad_ops,
Dvsp1_lut.c96 if (code->pad == LUT_PAD_SINK) { in lut_enum_mbus_code()
124 fse->pad, fse->which); in lut_enum_frame_size()
129 if (fse->pad == LUT_PAD_SINK) { in lut_enum_frame_size()
152 fmt->format = *vsp1_entity_get_pad_format(&lut->entity, cfg, fmt->pad, in lut_get_format()
170 format = vsp1_entity_get_pad_format(&lut->entity, cfg, fmt->pad, in lut_set_format()
173 if (fmt->pad == LUT_PAD_SOURCE) { in lut_set_format()
218 .pad = &lut_pad_ops,
Dvsp1_uds.c181 if (code->pad == UDS_PAD_SINK) { in uds_enum_mbus_code()
216 if (fse->pad == UDS_PAD_SINK) { in uds_enum_frame_size()
236 fmt->format = *vsp1_entity_get_pad_format(&uds->entity, cfg, fmt->pad, in uds_get_format()
243 unsigned int pad, struct v4l2_mbus_framefmt *fmt, in uds_try_format() argument
250 switch (pad) { in uds_try_format()
284 uds_try_format(uds, cfg, fmt->pad, &fmt->format, fmt->which); in uds_set_format()
286 format = vsp1_entity_get_pad_format(&uds->entity, cfg, fmt->pad, in uds_set_format()
290 if (fmt->pad == UDS_PAD_SINK) { in uds_set_format()
319 .pad = &uds_pad_ops,
Dvsp1_video.c158 vsp1_video_remote_subdev(struct media_pad *local, u32 *pad) in vsp1_video_remote_subdev() argument
167 if (pad) in vsp1_video_remote_subdev()
168 *pad = remote->index; in vsp1_video_remote_subdev()
179 subdev = vsp1_video_remote_subdev(&video->pad, &fmt.pad); in vsp1_video_verify_format()
184 ret = v4l2_subdev_call(subdev, pad, get_fmt, NULL, &fmt); in vsp1_video_verify_format()
316 struct media_pad *pad; in vsp1_pipeline_validate_branch() local
322 pad = media_entity_remote_pad(&input->entity.pads[RWPF_PAD_SOURCE]); in vsp1_pipeline_validate_branch()
325 if (pad == NULL) in vsp1_pipeline_validate_branch()
329 if (media_entity_type(pad->entity) != MEDIA_ENT_T_V4L2_SUBDEV) in vsp1_pipeline_validate_branch()
332 entity = to_vsp1_entity(media_entity_to_v4l2_subdev(pad->entity)); in vsp1_pipeline_validate_branch()
[all …]
Dvsp1_rwpf.c51 format = vsp1_entity_get_pad_format(&rwpf->entity, cfg, fse->pad, in vsp1_rwpf_enum_frame_size()
57 if (fse->pad == RWPF_PAD_SINK) { in vsp1_rwpf_enum_frame_size()
93 fmt->format = *vsp1_entity_get_pad_format(&rwpf->entity, cfg, fmt->pad, in vsp1_rwpf_get_format()
111 format = vsp1_entity_get_pad_format(&rwpf->entity, cfg, fmt->pad, in vsp1_rwpf_set_format()
114 if (fmt->pad == RWPF_PAD_SOURCE) { in vsp1_rwpf_set_format()
156 if (sel->pad != RWPF_PAD_SINK) in vsp1_rwpf_get_selection()
189 if (sel->pad != RWPF_PAD_SINK) in vsp1_rwpf_set_selection()
Dvsp1_sru.c179 if (code->pad == SRU_PAD_SINK) { in sru_enum_mbus_code()
212 if (fse->pad == SRU_PAD_SINK) { in sru_enum_frame_size()
238 fmt->format = *vsp1_entity_get_pad_format(&sru->entity, cfg, fmt->pad, in sru_get_format()
245 unsigned int pad, struct v4l2_mbus_framefmt *fmt, in sru_try_format() argument
252 switch (pad) { in sru_try_format()
301 sru_try_format(sru, cfg, fmt->pad, &fmt->format, fmt->which); in sru_set_format()
303 format = vsp1_entity_get_pad_format(&sru->entity, cfg, fmt->pad, in sru_set_format()
307 if (fmt->pad == SRU_PAD_SINK) { in sru_set_format()
336 .pad = &sru_pad_ops,
Dvsp1_lif.c86 if (code->pad == LIF_PAD_SINK) { in lif_enum_mbus_code()
121 if (fse->pad == LIF_PAD_SINK) { in lif_enum_frame_size()
141 fmt->format = *vsp1_entity_get_pad_format(&lif->entity, cfg, fmt->pad, in lif_get_format()
158 format = vsp1_entity_get_pad_format(&lif->entity, cfg, fmt->pad, in lif_set_format()
161 if (fmt->pad == LIF_PAD_SOURCE) { in lif_set_format()
204 .pad = &lif_pad_ops,
Dvsp1_drv.c82 unsigned int pad; in vsp1_create_links() local
100 for (pad = 0; pad < entity->num_pads; ++pad) { in vsp1_create_links()
101 if (!(entity->pads[pad].flags & MEDIA_PAD_FL_SINK)) in vsp1_create_links()
106 entity, pad, flags); in vsp1_create_links()
/linux-4.1.27/drivers/net/wireless/mwifiex/
D11n_aggr.c48 struct sk_buff *skb_src, int *pad) in mwifiex_11n_form_amsdu_pkt() argument
87 *pad = (4 - ((unsigned long)skb_aggr->tail & 0x3)) % 4; in mwifiex_11n_form_amsdu_pkt()
89 return skb_aggr->len + *pad; in mwifiex_11n_form_amsdu_pkt()
104 unsigned int pad; in mwifiex_11n_form_amsdu_txpd() local
108 pad = ((void *)skb->data - sizeof(*local_tx_pd) - in mwifiex_11n_form_amsdu_txpd()
110 skb_push(skb, pad); in mwifiex_11n_form_amsdu_txpd()
125 pad); in mwifiex_11n_form_amsdu_txpd()
129 pad); in mwifiex_11n_form_amsdu_txpd()
173 int pad = 0, aggr_num = 0, ret; in mwifiex_11n_aggregate_pkt() local
221 mwifiex_11n_form_amsdu_pkt(skb_aggr, skb_src, &pad); in mwifiex_11n_aggregate_pkt()
[all …]
Dsta_tx.c50 unsigned int pad; in mwifiex_process_sta_txpd() local
65 pad = ((void *)skb->data - (sizeof(*local_tx_pd) + hroom)- in mwifiex_process_sta_txpd()
67 skb_push(skb, sizeof(*local_tx_pd) + pad); in mwifiex_process_sta_txpd()
75 pad))); in mwifiex_process_sta_txpd()
109 pkt_offset = sizeof(struct txpd) + pad; in mwifiex_process_sta_txpd()
Duap_txrx.c351 int pad; in mwifiex_process_uap_txpd() local
366 pad = ((void *)skb->data - (sizeof(*txpd) + hroom) - NULL) & in mwifiex_process_uap_txpd()
369 skb_push(skb, sizeof(*txpd) + pad); in mwifiex_process_uap_txpd()
376 pad))); in mwifiex_process_uap_txpd()
396 pkt_offset = sizeof(*txpd) + pad; in mwifiex_process_uap_txpd()
/linux-4.1.27/arch/arc/include/asm/
Darcregs.h215 unsigned int pad:8, x1616:8, dsp:4, cycles:2, type:2, ver:8; member
217 unsigned int ver:8, type:2, cycles:2, dsp:4, x1616:8, pad:8;
231 unsigned int start:8, pad2:8, sz:8, pad:8; member
233 unsigned int pad:8, sz:8, pad2:8, start:8;
239 unsigned int base:16, pad:5, sz:3, ver:8; member
241 unsigned int ver:8, sz:3, pad:5, base:16;
282 unsigned int pad2:19, fam:1, pad:2, ent:2, ver:8; member
284 unsigned int ver:8, ent:2, pad:2, fam:1, pad2:19;
290 unsigned int pad:24, ver:8; member
292 unsigned int ver:8, pad:24;
[all …]
/linux-4.1.27/include/uapi/linux/
Dv4l2-subdev.h49 __u32 pad; member
62 __u32 pad; member
75 __u32 pad; member
91 __u32 pad; member
107 __u32 pad; member
124 __u32 pad; member
150 __u32 pad; member
Dkfd_ioctl.h66 uint32_t pad; member
89 uint32_t pad; member
106 uint32_t pad; member
119 uint32_t pad; member
128 uint32_t pad; member
Dkvm.h77 __u32 pad; member
130 __u32 pad; member
145 __u32 pad[15]; member
256 __u32 pad; member
262 __u32 pad; member
356 __u32 pad; member
362 __u32 pad; member
385 __u8 pad[5]; member
501 __u32 pad; member
517 __u8 pad[3]; member
[all …]
Dunix_diag.h9 __u16 pad; member
27 __u8 pad; member
Dbcache.h172 __u64 pad[8]; member
286 __u16 pad[3]; member
303 __u32 pad; member
329 __u8 pad[128]; member
371 __u32 pad; member
Dpg.h59 char pad[12]; /* not used */ member
Dhyperv.h137 __u32 pad; member
334 __u16 pad; member
Dsysinfo.h17 __u16 pad; /* Explicit padding for m68k */ member
Dv4l2-common.h76 __u32 pad; member
/linux-4.1.27/include/uapi/drm/
Dqxl_drm.h58 uint32_t pad; member
76 uint32_t pad; member
85 uint32_t pad; member
101 uint32_t pad; member
114 uint32_t pad; member
123 uint32_t pad; member
Dtegra_drm.h39 __u32 pad; member
50 __u32 pad; member
64 __u32 pad; member
93 __u32 pad; member
106 __u32 pad; member
142 __u32 pad; member
151 __u32 pad; member
Di915_drm.h447 __u32 pad; member
453 __u32 pad; member
469 __u32 pad; member
485 __u32 pad; member
513 __u32 pad; member
774 __u32 pad; member
786 __u32 pad; member
1056 __u32 pad; member
1061 __u32 pad; member
1090 __u32 pad; member
Dmsm_drm.h87 uint32_t pad; member
146 uint32_t pad; member
195 uint32_t pad; member
Dradeon_drm.h866 uint32_t pad; member
880 uint32_t pad; member
891 uint32_t pad; member
904 uint32_t pad; member
1045 uint32_t pad; member
/linux-4.1.27/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 …]
/linux-4.1.27/drivers/staging/media/omap4iss/
Diss_ipipe.c28 unsigned int pad, enum v4l2_subdev_format_whence which);
180 unsigned int pad, enum v4l2_subdev_format_whence which) in __ipipe_get_format() argument
183 return v4l2_subdev_get_try_format(&ipipe->subdev, cfg, pad); in __ipipe_get_format()
185 return &ipipe->formats[pad]; in __ipipe_get_format()
197 unsigned int pad, struct v4l2_mbus_framefmt *fmt, in ipipe_try_format() argument
205 switch (pad) { in ipipe_try_format()
247 switch (code->pad) { in ipipe_enum_mbus_code()
283 ipipe_try_format(ipipe, cfg, fse->pad, &format, fse->which); in ipipe_enum_frame_size()
293 ipipe_try_format(ipipe, cfg, fse->pad, &format, fse->which); in ipipe_enum_frame_size()
315 format = __ipipe_get_format(ipipe, cfg, fmt->pad, fmt->which); in ipipe_get_format()
[all …]
Diss.c143 fmt.pad = link->source->index; in omap4iss_get_external_info()
146 pad, get_fmt, NULL, &fmt); in omap4iss_get_external_info()
581 struct media_pad *pad; in iss_pipeline_disable() local
588 pad = &entity->pads[0]; in iss_pipeline_disable()
589 if (!(pad->flags & MEDIA_PAD_FL_SINK)) in iss_pipeline_disable()
592 pad = media_entity_remote_pad(pad); in iss_pipeline_disable()
593 if (pad == NULL || in iss_pipeline_disable()
594 media_entity_type(pad->entity) != MEDIA_ENT_T_V4L2_SUBDEV) in iss_pipeline_disable()
597 entity = pad->entity; in iss_pipeline_disable()
634 struct media_pad *pad; in iss_pipeline_enable() local
[all …]
Diss_ipipeif.c364 struct v4l2_subdev_pad_config *cfg, unsigned int pad, in __ipipeif_get_format() argument
368 return v4l2_subdev_get_try_format(&ipipeif->subdev, cfg, pad); in __ipipeif_get_format()
369 return &ipipeif->formats[pad]; in __ipipeif_get_format()
381 struct v4l2_subdev_pad_config *cfg, unsigned int pad, in ipipeif_try_format() argument
390 switch (pad) { in ipipeif_try_format()
455 switch (code->pad) { in ipipeif_enum_mbus_code()
495 ipipeif_try_format(ipipeif, cfg, fse->pad, &format, fse->which); in ipipeif_enum_frame_size()
505 ipipeif_try_format(ipipeif, cfg, fse->pad, &format, fse->which); in ipipeif_enum_frame_size()
527 format = __ipipeif_get_format(ipipeif, cfg, fmt->pad, fmt->which); in ipipeif_get_format()
550 format = __ipipeif_get_format(ipipeif, cfg, fmt->pad, fmt->which); in ipipeif_set_format()
[all …]
Diss_resizer.c423 struct v4l2_subdev_pad_config *cfg, unsigned int pad, in __resizer_get_format() argument
427 return v4l2_subdev_get_try_format(&resizer->subdev, cfg, pad); in __resizer_get_format()
428 return &resizer->formats[pad]; in __resizer_get_format()
440 struct v4l2_subdev_pad_config *cfg, unsigned int pad, in resizer_try_format() argument
450 switch (pad) { in resizer_try_format()
506 switch (code->pad) { in resizer_enum_mbus_code()
557 resizer_try_format(resizer, cfg, fse->pad, &format, fse->which); in resizer_enum_frame_size()
567 resizer_try_format(resizer, cfg, fse->pad, &format, fse->which); in resizer_enum_frame_size()
589 format = __resizer_get_format(resizer, cfg, fmt->pad, fmt->which); in resizer_get_format()
612 format = __resizer_get_format(resizer, cfg, fmt->pad, fmt->which); in resizer_set_format()
[all …]
Diss_video.c188 iss_video_remote_subdev(struct iss_video *video, u32 *pad) in iss_video_remote_subdev() argument
192 remote = media_entity_remote_pad(&video->pad); in iss_video_remote_subdev()
198 if (pad) in iss_video_remote_subdev()
199 *pad = remote->index; in iss_video_remote_subdev()
240 u32 pad; in __iss_video_get_format() local
243 subdev = iss_video_remote_subdev(video, &pad); in __iss_video_get_format()
248 fmt.pad = pad; in __iss_video_get_format()
252 ret = v4l2_subdev_call(subdev, pad, get_fmt, NULL, &fmt); in __iss_video_get_format()
620 u32 pad; in iss_video_try_format() local
626 subdev = iss_video_remote_subdev(video, &pad); in iss_video_try_format()
[all …]
Diss_csi2.c534 struct media_pad *pad; in csi2_configure() local
545 pad = media_entity_remote_pad(&csi2->pads[CSI2_PAD_SINK]); in csi2_configure()
546 sensor = media_entity_to_v4l2_subdev(pad->entity); in csi2_configure()
832 unsigned int pad, enum v4l2_subdev_format_whence which) in __csi2_get_format() argument
835 return v4l2_subdev_get_try_format(&csi2->subdev, cfg, pad); in __csi2_get_format()
837 return &csi2->formats[pad]; in __csi2_get_format()
842 unsigned int pad, struct v4l2_mbus_framefmt *fmt, in csi2_try_format() argument
850 switch (pad) { in csi2_try_format()
904 if (code->pad == CSI2_PAD_SINK) { in csi2_enum_mbus_code()
946 csi2_try_format(csi2, cfg, fse->pad, &format, fse->which); in csi2_enum_frame_size()
[all …]
/linux-4.1.27/fs/reiserfs/
Dhashes.c50 u32 pad; in keyed_hash() local
55 pad = (u32) len | ((u32) len << 8); in keyed_hash()
56 pad |= pad << 16; in keyed_hash()
85 d = pad; in keyed_hash()
96 c = d = pad; in keyed_hash()
105 b = c = d = pad; in keyed_hash()
111 a = b = c = d = pad; in keyed_hash()
/linux-4.1.27/arch/s390/include/uapi/asm/
Dkvm.h43 __u8 pad; member
79 __u8 pad[6]; member
88 __u8 pad[4]; member
126 __u8 pad[7]; /* Should be set to 0 */ member
134 __u8 pad[7]; /* Should be set to 0 */ member
140 __u32 pad; /* Should be set to 0 */ member
/linux-4.1.27/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()
/linux-4.1.27/lib/reed_solomon/
Dencode_rs.c21 int i, j, pad; variable
31 pad = nn - nroots - len;
32 if (pad < 0 || pad >= nn)
Ddecode_rs.c21 int i, j, r, k, pad; variable
41 pad = nn - nroots - len;
42 BUG_ON(pad < 0 || pad >= nn);
246 if (num1 != 0 && loc[j] >= pad) {
259 data[loc[j] - pad] ^= cor;
267 eras_pos[i] = loc[i] - pad;
/linux-4.1.27/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 …]
/linux-4.1.27/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 …]
/linux-4.1.27/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 …]
/linux-4.1.27/arch/alpha/boot/tools/
Dobjstrip.c54 size_t nwritten, tocopy, n, mem_size, fil_size, pad = 0; in main() local
75 pad = BLOCK_SIZE; in main()
258 if (pad) { in main()
259 mem_size = ((mem_size + pad - 1) / pad) * pad; in main()
266 prog_name, pad, (unsigned long) tocopy); in main()
/linux-4.1.27/drivers/staging/media/davinci_vpfe/
Ddm365_resizer.c1298 unsigned int pad, enum v4l2_subdev_format_whence which) in __resizer_get_format() argument
1303 return v4l2_subdev_get_try_format(sd, cfg, pad); in __resizer_get_format()
1305 return &resizer->crop_resizer.formats[pad]; in __resizer_get_format()
1307 return &resizer->resizer_a.formats[pad]; in __resizer_get_format()
1309 return &resizer->resizer_b.formats[pad]; in __resizer_get_format()
1323 unsigned int pad, struct v4l2_mbus_framefmt *fmt, in resizer_try_format() argument
1331 if ((&resizer->resizer_a.subdev == sd && pad == RESIZER_PAD_SINK) || in resizer_try_format()
1332 (&resizer->resizer_b.subdev == sd && pad == RESIZER_PAD_SINK) || in resizer_try_format()
1334 (pad == RESIZER_CROP_PAD_SOURCE || in resizer_try_format()
1335 pad == RESIZER_CROP_PAD_SOURCE2 || pad == RESIZER_CROP_PAD_SINK))) { in resizer_try_format()
[all …]
Ddm365_ipipeif.c555 switch (code->pad) { in ipipeif_enum_mbus_code()
590 fmt->format = ipipeif->formats[fmt->pad]; in ipipeif_get_format()
592 fmt->format = *(v4l2_subdev_get_try_format(sd, cfg, fmt->pad)); in ipipeif_get_format()
610 struct v4l2_subdev_pad_config *cfg, unsigned int pad, in ipipeif_try_format() argument
621 if (pad == IPIPEIF_PAD_SINK) { in ipipeif_try_format()
629 } else if (pad == IPIPEIF_PAD_SOURCE) { in ipipeif_try_format()
656 ipipeif_try_format(ipipeif, cfg, fse->pad, &format, fse->which); in ipipeif_enum_frame_size()
666 ipipeif_try_format(ipipeif, cfg, fse->pad, &format, fse->which); in ipipeif_enum_frame_size()
683 struct v4l2_subdev_pad_config *cfg, unsigned int pad, in __ipipeif_get_format() argument
687 return v4l2_subdev_get_try_format(&ipipeif->subdev, cfg, pad); in __ipipeif_get_format()
[all …]
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_pad(&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_pad(&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_isif.c227 isif_config_format(struct vpfe_device *vpfe_dev, unsigned int pad) in isif_config_format() argument
234 v4l2_fill_pix_format(&format, &vpfe_dev->vpfe_isif.formats[pad]); in isif_config_format()
235 mbus_to_pix(&vpfe_dev->vpfe_isif.formats[pad], &format); in isif_config_format()
252 switch (vpfe_dev->vpfe_isif.formats[pad].field) { in isif_config_format()
310 if (fmt->pad == ISIF_PAD_SOURCE) in isif_try_format()
1402 unsigned int pad, enum v4l2_subdev_format_whence which) in __isif_get_format() argument
1407 fmt.pad = pad; in __isif_get_format()
1410 return v4l2_subdev_get_try_format(&isif->subdev, cfg, pad); in __isif_get_format()
1412 return &isif->formats[pad]; in __isif_get_format()
1431 format = __isif_get_format(isif, cfg, fmt->pad, fmt->which); in isif_set_format()
[all …]
Ddm365_ipipe.c1423 struct v4l2_subdev_pad_config *cfg, unsigned int pad, in __ipipe_get_format() argument
1427 return v4l2_subdev_get_try_format(&ipipe->subdev, cfg, pad); in __ipipe_get_format()
1429 return &ipipe->formats[pad]; in __ipipe_get_format()
1442 struct v4l2_subdev_pad_config *cfg, unsigned int pad, in ipipe_try_format() argument
1453 if (pad == IPIPE_PAD_SINK) { in ipipe_try_format()
1461 } else if (pad == IPIPE_PAD_SOURCE) { in ipipe_try_format()
1489 format = __ipipe_get_format(ipipe, cfg, fmt->pad, fmt->which); in ipipe_set_format()
1493 ipipe_try_format(ipipe, cfg, fmt->pad, &fmt->format, fmt->which); in ipipe_set_format()
1499 if (fmt->pad == IPIPE_PAD_SINK && in ipipe_set_format()
1502 ipipe->formats[fmt->pad] = fmt->format; in ipipe_set_format()
[all …]
/linux-4.1.27/drivers/media/i2c/s5c73m3/
Ds5c73m3-core.c834 switch (fmt->pad) { in s5c73m3_oif_try_format()
870 if (fmt->pad == S5C73M3_ISP_PAD) { in s5c73m3_try_format()
886 if (fi->pad != OIF_SOURCE_PAD) in s5c73m3_oif_g_frame_interval()
936 if (fi->pad != OIF_SOURCE_PAD) in s5c73m3_oif_s_frame_interval()
963 if (fie->pad != OIF_SOURCE_PAD) in s5c73m3_oif_enum_frame_interval()
979 static int s5c73m3_oif_get_pad_code(int pad, int index) in s5c73m3_oif_get_pad_code() argument
981 if (pad == OIF_SOURCE_PAD) { in s5c73m3_oif_get_pad_code()
990 return (pad == OIF_ISP_PAD) ? S5C73M3_ISP_FMT : S5C73M3_JPEG_FMT; in s5c73m3_oif_get_pad_code()
1002 fmt->format = *v4l2_subdev_get_try_format(sd, cfg, fmt->pad); in s5c73m3_get_fmt()
1008 switch (fmt->pad) { in s5c73m3_get_fmt()
[all …]
/linux-4.1.27/net/ceph/
Dcrypto.c175 char pad[16]; in ceph_aes_encrypt() local
180 memset(pad, zero_padding, zero_padding); in ceph_aes_encrypt()
186 sg_set_buf(&sg_in[1], pad, zero_padding); in ceph_aes_encrypt()
235 char pad[16]; in ceph_aes_encrypt2() local
240 memset(pad, zero_padding, zero_padding); in ceph_aes_encrypt2()
247 sg_set_buf(&sg_in[2], pad, zero_padding); in ceph_aes_encrypt2()
293 char pad[16]; in ceph_aes_decrypt() local
304 sg_set_buf(&sg_out[1], pad, sizeof(pad)); in ceph_aes_decrypt()
329 last_byte = pad[src_len - *dst_len - 1]; in ceph_aes_decrypt()
358 char pad[16]; in ceph_aes_decrypt2() local
[all …]
/linux-4.1.27/drivers/media/platform/xilinx/
Dxilinx-dma.c47 xvip_dma_remote_subdev(struct media_pad *local, u32 *pad) in xvip_dma_remote_subdev() argument
56 if (pad) in xvip_dma_remote_subdev()
57 *pad = remote->index; in xvip_dma_remote_subdev()
68 subdev = xvip_dma_remote_subdev(&dma->pad, &fmt.pad); in xvip_dma_verify_format()
73 ret = v4l2_subdev_call(subdev, pad, get_fmt, NULL, &fmt); in xvip_dma_verify_format()
105 struct media_pad *pad; in xvip_pipeline_start_stop() local
111 pad = &entity->pads[0]; in xvip_pipeline_start_stop()
112 if (!(pad->flags & MEDIA_PAD_FL_SINK)) in xvip_pipeline_start_stop()
115 pad = media_entity_remote_pad(pad); in xvip_pipeline_start_stop()
116 if (pad == NULL || in xvip_pipeline_start_stop()
[all …]
Dxilinx-tpg.c258 unsigned int pad, u32 which) in __xtpg_get_pad_format() argument
262 return v4l2_subdev_get_try_format(&xtpg->xvip.subdev, cfg, pad); in __xtpg_get_pad_format()
264 return &xtpg->formats[pad]; in __xtpg_get_pad_format()
276 fmt->format = *__xtpg_get_pad_format(xtpg, cfg, fmt->pad, fmt->which); in xtpg_get_format()
289 __format = __xtpg_get_pad_format(xtpg, cfg, fmt->pad, fmt->which); in xtpg_set_format()
294 if (xtpg->npads == 2 && fmt->pad == 1) { in xtpg_set_format()
329 format = v4l2_subdev_get_try_format(subdev, cfg, fse->pad); in xtpg_enum_frame_size()
337 if (fse->pad == 0) { in xtpg_enum_frame_size()
357 format = v4l2_subdev_get_try_format(subdev, fh->pad, 0); in xtpg_open()
361 format = v4l2_subdev_get_try_format(subdev, fh->pad, 1); in xtpg_open()
[all …]
Dxilinx-vip.c266 format = v4l2_subdev_get_try_format(subdev, cfg, code->pad); in xvip_enum_mbus_code()
301 format = v4l2_subdev_get_try_format(subdev, cfg, fse->pad); in xvip_enum_frame_size()
306 if (fse->pad == XVIP_PAD_SINK) { in xvip_enum_frame_size()
/linux-4.1.27/drivers/media/i2c/
Ds5k6a3.c60 struct media_pad pad; member
127 u32 pad, enum v4l2_subdev_format_whence which) in __s5k6a3_get_format() argument
130 return cfg ? v4l2_subdev_get_try_format(&sensor->subdev, cfg, pad) : NULL; in __s5k6a3_get_format()
144 mf = __s5k6a3_get_format(sensor, cfg, fmt->pad, fmt->which); in s5k6a3_set_fmt()
161 mf = __s5k6a3_get_format(sensor, cfg, fmt->pad, fmt->which); in s5k6a3_get_fmt()
177 struct v4l2_mbus_framefmt *format = v4l2_subdev_get_try_format(sd, fh->pad, 0); in s5k6a3_open()
276 .pad = &s5k6a3_pad_ops,
335 sensor->pad.flags = MEDIA_PAD_FL_SOURCE; in s5k6a3_probe()
336 ret = media_entity_init(&sd->entity, 1, &sensor->pad, 0); in s5k6a3_probe()
Dmt9t001.c120 struct media_pad pad; member
248 unsigned int pad, enum v4l2_subdev_format_whence which) in __mt9t001_get_pad_format() argument
252 return v4l2_subdev_get_try_format(&mt9t001->subdev, cfg, pad); in __mt9t001_get_pad_format()
262 unsigned int pad, enum v4l2_subdev_format_whence which) in __mt9t001_get_pad_crop() argument
266 return v4l2_subdev_get_try_crop(&mt9t001->subdev, cfg, pad); in __mt9t001_get_pad_crop()
361 format->format = *__mt9t001_get_pad_format(mt9t001, cfg, format->pad, in mt9t001_get_format()
378 __crop = __mt9t001_get_pad_crop(mt9t001, cfg, format->pad, in mt9t001_set_format()
394 __format = __mt9t001_get_pad_format(mt9t001, cfg, format->pad, in mt9t001_set_format()
413 sel->r = *__mt9t001_get_pad_crop(mt9t001, cfg, sel->pad, sel->which); in mt9t001_get_selection()
450 __crop = __mt9t001_get_pad_crop(mt9t001, cfg, sel->pad, sel->which); in mt9t001_set_selection()
[all …]
Dmt9v032.c236 struct media_pad pad; member
378 unsigned int pad, enum v4l2_subdev_format_whence which) in __mt9v032_get_pad_format() argument
382 return v4l2_subdev_get_try_format(&mt9v032->subdev, cfg, pad); in __mt9v032_get_pad_format()
392 unsigned int pad, enum v4l2_subdev_format_whence which) in __mt9v032_get_pad_crop() argument
396 return v4l2_subdev_get_try_crop(&mt9v032->subdev, cfg, pad); in __mt9v032_get_pad_crop()
485 format->format = *__mt9v032_get_pad_format(mt9v032, cfg, format->pad, in mt9v032_get_format()
526 __crop = __mt9v032_get_pad_crop(mt9v032, cfg, format->pad, in mt9v032_set_format()
542 __format = __mt9v032_get_pad_format(mt9v032, cfg, format->pad, in mt9v032_set_format()
567 sel->r = *__mt9v032_get_pad_crop(mt9v032, cfg, sel->pad, sel->which); in mt9v032_get_selection()
604 __crop = __mt9v032_get_pad_crop(mt9v032, cfg, sel->pad, sel->which); in mt9v032_set_selection()
[all …]
Dmt9p031.c124 struct media_pad pad; member
482 if (code->pad || code->index) in mt9p031_enum_mbus_code()
509 unsigned int pad, u32 which) in __mt9p031_get_pad_format() argument
513 return v4l2_subdev_get_try_format(&mt9p031->subdev, cfg, pad); in __mt9p031_get_pad_format()
523 unsigned int pad, u32 which) in __mt9p031_get_pad_crop() argument
527 return v4l2_subdev_get_try_crop(&mt9p031->subdev, cfg, pad); in __mt9p031_get_pad_crop()
541 fmt->format = *__mt9p031_get_pad_format(mt9p031, cfg, fmt->pad, in mt9p031_get_format()
558 __crop = __mt9p031_get_pad_crop(mt9p031, cfg, format->pad, in mt9p031_set_format()
574 __format = __mt9p031_get_pad_format(mt9p031, cfg, format->pad, in mt9p031_set_format()
593 sel->r = *__mt9p031_get_pad_crop(mt9p031, cfg, sel->pad, sel->which); in mt9p031_get_selection()
[all …]
Ds5k5baf.c1191 fie->pad != PAD_CIS) in s5k5baf_enum_frame_interval()
1209 if (code->pad == PAD_CIS) { in s5k5baf_enum_mbus_code()
1232 if (fse->pad == PAD_CIS) { in s5k5baf_enum_frame_size()
1289 mf = v4l2_subdev_get_try_format(sd, cfg, fmt->pad); in s5k5baf_get_fmt()
1295 if (fmt->pad == PAD_CIS) { in s5k5baf_get_fmt()
1322 *v4l2_subdev_get_try_format(sd, cfg, fmt->pad) = *mf; in s5k5baf_set_fmt()
1326 if (fmt->pad == PAD_CIS) { in s5k5baf_set_fmt()
1351 static enum selection_rect s5k5baf_get_sel_rect(u32 pad, u32 target) in s5k5baf_get_sel_rect() argument
1355 return pad ? R_COMPOSE : R_CIS; in s5k5baf_get_sel_rect()
1357 return pad ? R_CROP_SOURCE : R_CROP_SINK; in s5k5baf_get_sel_rect()
[all …]
Dadv7511.c89 struct media_pad pad; member
680 if (timings->pad != 0) in adv7511_enum_dv_timings()
689 if (cap->pad != 0) in adv7511_dv_timings_cap()
789 if (edid->pad != 0) in adv7511_get_edid()
816 if (code->pad != 0) in adv7511_enum_mbus_code()
851 if (format->pad != 0) in adv7511_get_fmt()
859 fmt = v4l2_subdev_get_try_format(sd, cfg, format->pad); in adv7511_get_fmt()
895 if (format->pad != 0) in adv7511_set_fmt()
910 fmt = v4l2_subdev_get_try_format(sd, cfg, format->pad); in adv7511_set_fmt()
1025 .pad = &adv7511_pad_ops,
[all …]
Dtvp514x.c127 struct media_pad pad; member
935 u32 pad = code->pad; in tvp514x_enum_mbus_code() local
940 code->pad = pad; in tvp514x_enum_mbus_code()
1037 .pad = &tvp514x_pad_ops,
1156 decoder->pad.flags = MEDIA_PAD_FL_SOURCE; in tvp514x_probe()
1160 ret = media_entity_init(&decoder->sd.entity, 1, &decoder->pad, 0); in tvp514x_probe()
/linux-4.1.27/drivers/staging/unisys/common-spar/include/
Dvbusdeviceinfo.h157 int nsrc, x, i, pad; in vbuschannel_devinfo_to_string() local
184 pad = 15 - x; /* pad device type to be exactly 15 chars */ in vbuschannel_devinfo_to_string()
185 for (i = 0; i < pad; i++) in vbuschannel_devinfo_to_string()
196 pad = 15 - x; /* pad driver name to be exactly 15 chars */ in vbuschannel_devinfo_to_string()
197 for (i = 0; i < pad; i++) in vbuschannel_devinfo_to_string()
/linux-4.1.27/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 …]
/linux-4.1.27/include/uapi/xen/
Dgntdev.h54 uint32_t pad; member
76 uint32_t pad; member
102 uint32_t pad; member
/linux-4.1.27/arch/x86/include/uapi/asm/
Dkvm_para.h48 __u32 pad[12]; member
68 __u32 pad; member
91 __u8 pad[60]; member
Dkvm.h85 __u32 pad; member
178 __u32 pad; member
247 __u32 pad; member
295 __u8 pad; member
308 __u8 pad; member
Dmce.h18 __u16 pad; member
/linux-4.1.27/Documentation/input/
Dxpad.txt22 - if you are using a known dance pad
28 the driver will map the directional pad to axes (X/Y).
29 If you said Y it will map the d-pad to buttons, which is needed for dance
40 With a normal controller, the directional pad is mapped to its own X/Y axes.
55 play first person shooters with a pad. Your mileage may vary.
60 When using a known dance pad, jstest will report 6 axes and 14 buttons.
62 For dance style pads (like the redoctane pad) several changes
63 have been made. The old driver would map the d-pad to axes, resulting
67 Known dance pads automatically map the d-pad to buttons and will work
70 If your dance pad is recognized by the driver but is using axes instead
[all …]
Dsentelic.txt143 => 11, Normal data packet with on-pad click
168 => 11, Normal data packet with on-pad click
193 => 11, Normal data packet with on-pad click
196 0: left button is generated by the on-pad command
233 => 11, Normal data packet with on-pad click
260 => 11, Normal data packet with on-pad click
287 => 11, Normal data packet with on-pad click
290 0: left button is generated by the on-pad command
330 Bit4 => 0: The LEFT button is generated by on-pad command (OPC)
358 Bit4 => 0: The LEFT button is generated by on-pad command (OPC)
[all …]
Djoystick-parport.txt88 each pad needs its own data pin. The parallel port pins are:
441 And 'pad1' to 'pad5' are pad types connected to different data input pins
449 1 | SNES pad
450 2 | NES pad
453 6 | N64 pad
485 'Type' is the type of joystick or pad attached:
492 3 | Genesis pad (3+1 buttons)
493 5 | Genesis pad (5+1 buttons)
494 6 | Genesis pad (6+2 buttons)
495 7 | Saturn pad (8 buttons)
[all …]
/linux-4.1.27/drivers/media/platform/omap3isp/
Dispccp2.c352 struct media_pad *pad; in ccp2_if_configure() local
359 pad = media_entity_remote_pad(&ccp2->pads[CCP2_PAD_SINK]); in ccp2_if_configure()
360 sensor = media_entity_to_v4l2_subdev(pad->entity); in ccp2_if_configure()
621 unsigned int pad, enum v4l2_subdev_format_whence which) in __ccp2_get_format() argument
624 return v4l2_subdev_get_try_format(&ccp2->subdev, cfg, pad); in __ccp2_get_format()
626 return &ccp2->formats[pad]; in __ccp2_get_format()
638 struct v4l2_subdev_pad_config *cfg, unsigned int pad, in ccp2_try_format() argument
644 switch (pad) { in ccp2_try_format()
696 if (code->pad == CCP2_PAD_SINK) { in ccp2_enum_mbus_code()
726 ccp2_try_format(ccp2, cfg, fse->pad, &format, fse->which); in ccp2_enum_frame_size()
[all …]
Dispvideo.c207 isp_video_remote_subdev(struct isp_video *video, u32 *pad) in isp_video_remote_subdev() argument
211 remote = media_entity_remote_pad(&video->pad); in isp_video_remote_subdev()
217 if (pad) in isp_video_remote_subdev()
218 *pad = remote->index; in isp_video_remote_subdev()
275 u32 pad; in __isp_video_get_format() local
278 subdev = isp_video_remote_subdev(video, &pad); in __isp_video_get_format()
282 fmt.pad = pad; in __isp_video_get_format()
286 ret = v4l2_subdev_call(subdev, pad, get_fmt, NULL, &fmt); in __isp_video_get_format()
692 u32 pad; in isp_video_try_format() local
698 subdev = isp_video_remote_subdev(video, &pad); in isp_video_try_format()
[all …]
Dispcsi2.c556 struct media_pad *pad; in csi2_configure() local
567 pad = media_entity_remote_pad(&csi2->pads[CSI2_PAD_SINK]); in csi2_configure()
568 sensor = media_entity_to_v4l2_subdev(pad->entity); in csi2_configure()
839 unsigned int pad, enum v4l2_subdev_format_whence which) in __csi2_get_format() argument
842 return v4l2_subdev_get_try_format(&csi2->subdev, cfg, pad); in __csi2_get_format()
844 return &csi2->formats[pad]; in __csi2_get_format()
849 unsigned int pad, struct v4l2_mbus_framefmt *fmt, in csi2_try_format() argument
857 switch (pad) { in csi2_try_format()
911 if (code->pad == CSI2_PAD_SINK) { in csi2_enum_mbus_code()
953 csi2_try_format(csi2, cfg, fse->pad, &format, fse->which); in csi2_enum_frame_size()
[all …]
Dispresizer.c121 unsigned int pad, enum v4l2_subdev_format_whence which) in __resizer_get_format() argument
124 return v4l2_subdev_get_try_format(&res->subdev, cfg, pad); in __resizer_get_format()
126 return &res->formats[pad]; in __resizer_get_format()
1234 if (sel->pad != RESZ_PAD_SINK) in resizer_get_selection()
1290 sel->pad != RESZ_PAD_SINK) in resizer_set_selection()
1377 struct v4l2_subdev_pad_config *cfg, unsigned int pad, in resizer_try_format() argument
1385 switch (pad) { in resizer_try_format()
1424 if (code->pad == RESZ_PAD_SINK) { in resizer_enum_mbus_code()
1454 resizer_try_format(res, cfg, fse->pad, &format, fse->which); in resizer_enum_frame_size()
1464 resizer_try_format(res, cfg, fse->pad, &format, fse->which); in resizer_enum_frame_size()
[all …]
Disp.c876 struct media_pad *pad; in isp_pipeline_enable() local
897 pad = &entity->pads[0]; in isp_pipeline_enable()
898 if (!(pad->flags & MEDIA_PAD_FL_SINK)) in isp_pipeline_enable()
901 pad = media_entity_remote_pad(pad); in isp_pipeline_enable()
902 if (pad == NULL || in isp_pipeline_enable()
903 media_entity_type(pad->entity) != MEDIA_ENT_T_V4L2_SUBDEV) in isp_pipeline_enable()
906 entity = pad->entity; in isp_pipeline_enable()
976 struct media_pad *pad; in isp_pipeline_disable() local
987 pad = &entity->pads[0]; in isp_pipeline_disable()
988 if (!(pad->flags & MEDIA_PAD_FL_SINK)) in isp_pipeline_disable()
[all …]
Dispccdc.c36 unsigned int pad, enum v4l2_subdev_format_whence which);
1126 struct media_pad *pad; in ccdc_configure() local
1138 pad = media_entity_remote_pad(&ccdc->pads[CCDC_PAD_SINK]); in ccdc_configure()
1139 sensor = media_entity_to_v4l2_subdev(pad->entity); in ccdc_configure()
1158 fmt_src.pad = pad->index; in ccdc_configure()
1160 if (!v4l2_subdev_call(sensor, pad, get_fmt, NULL, &fmt_src)) { in ccdc_configure()
1939 unsigned int pad, enum v4l2_subdev_format_whence which) in __ccdc_get_format() argument
1942 return v4l2_subdev_get_try_format(&ccdc->subdev, cfg, pad); in __ccdc_get_format()
1944 return &ccdc->formats[pad]; in __ccdc_get_format()
1966 unsigned int pad, struct v4l2_mbus_framefmt *fmt, in ccdc_try_format() argument
[all …]
Disp.h360 isp_pad_buffer_type(const struct v4l2_subdev *subdev, int pad) in isp_pad_buffer_type() argument
362 if (pad >= subdev->entity.num_pads) in isp_pad_buffer_type()
365 if (subdev->entity.pads[pad].flags & MEDIA_PAD_FL_SINK) in isp_pad_buffer_type()
Disppreview.c1690 unsigned int pad, enum v4l2_subdev_format_whence which) in __preview_get_format() argument
1693 return v4l2_subdev_get_try_format(&prev->subdev, cfg, pad); in __preview_get_format()
1695 return &prev->formats[pad]; in __preview_get_format()
1739 struct v4l2_subdev_pad_config *cfg, unsigned int pad, in preview_try_format() argument
1747 switch (pad) { in preview_try_format()
1875 switch (code->pad) { in preview_enum_mbus_code()
1908 preview_try_format(prev, cfg, fse->pad, &format, fse->which); in preview_enum_frame_size()
1918 preview_try_format(prev, cfg, fse->pad, &format, fse->which); in preview_enum_frame_size()
1942 if (sel->pad != PREV_PAD_SINK) in preview_get_selection()
1986 sel->pad != PREV_PAD_SINK) in preview_set_selection()
[all …]
/linux-4.1.27/arch/x86/kernel/cpu/
Dperf_event_intel_bts.c81 int pg, nbuf, pad; in bts_buffer_setup_aux() local
108 for (pg = 0, nbuf = 0, offset = 0, pad = 0; nbuf < buf->nr_bufs; nbuf++) { in bts_buffer_setup_aux()
115 buf->buf[nbuf].displacement = (pad ? BTS_RECORD_SIZE - pad : 0); in bts_buffer_setup_aux()
117 pad = buf->buf[nbuf].size % BTS_RECORD_SIZE; in bts_buffer_setup_aux()
118 buf->buf[nbuf].size -= pad; in bts_buffer_setup_aux()
304 unsigned long head, space, next_space, pad, gap, skip, wakeup; in bts_buffer_reset() local
318 pad = space; in bts_buffer_reset()
331 skip = pad + gap; in bts_buffer_reset()
339 if (pad) in bts_buffer_reset()
/linux-4.1.27/drivers/media/
Dmedia-entity.c258 struct media_pad *pad = link->sink->entity == entity in media_entity_pipeline_start() local
262 bitmap_clear(has_no_links, pad->index, 1); in media_entity_pipeline_start()
269 if (!(pad->flags & MEDIA_PAD_FL_MUST_CONNECT) || in media_entity_pipeline_start()
271 bitmap_set(active, pad->index, 1); in media_entity_pipeline_start()
277 if (link->sink != pad || in media_entity_pipeline_start()
660 struct media_pad *media_entity_remote_pad(struct media_pad *pad) in media_entity_remote_pad() argument
664 for (i = 0; i < pad->entity->num_links; i++) { in media_entity_remote_pad()
665 struct media_link *link = &pad->entity->links[i]; in media_entity_remote_pad()
670 if (link->source == pad) in media_entity_remote_pad()
673 if (link->sink == pad) in media_entity_remote_pad()
Dmedia-device.c141 struct media_pad_desc pad; in __media_device_enum_links() local
143 memset(&pad, 0, sizeof(pad)); in __media_device_enum_links()
144 media_device_kpad_to_upad(&entity->pads[p], &pad); in __media_device_enum_links()
145 if (copy_to_user(&links->pads[p], &pad, sizeof(pad))) in __media_device_enum_links()
/linux-4.1.27/drivers/infiniband/hw/ipath/
Dipath_uc.c247 u32 pad; in ipath_uc_rcv() local
394 pad = (be32_to_cpu(ohdr->bth[0]) >> 20) & 3; in ipath_uc_rcv()
397 if (unlikely(tlen < (hdrsize + pad + 4))) { in ipath_uc_rcv()
403 tlen -= (hdrsize + pad + 4); in ipath_uc_rcv()
496 pad = (be32_to_cpu(ohdr->bth[0]) >> 20) & 3; in ipath_uc_rcv()
499 if (unlikely(tlen < (hdrsize + pad + 4))) { in ipath_uc_rcv()
504 tlen -= (hdrsize + pad + 4); in ipath_uc_rcv()
522 pad = (be32_to_cpu(ohdr->bth[0]) >> 20) & 3; in ipath_uc_rcv()
525 if (unlikely(tlen < (hdrsize + pad + 4))) { in ipath_uc_rcv()
530 tlen -= (hdrsize + pad + 4); in ipath_uc_rcv()
/linux-4.1.27/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()
/linux-4.1.27/tools/power/cpupower/utils/
Dcpufreq-set.c69 int power = 0, match_count = 0, i, cp, pad; in string_to_frequency() local
106 pad = power + 1; in string_to_frequency()
108 pad = 0, cp += power + 1; in string_to_frequency()
110 if (cp <= 0 || cp + pad > NORM_FREQ_LEN - 1) in string_to_frequency()
120 for (; i < cp + pad; i++) in string_to_frequency()
/linux-4.1.27/drivers/block/drbd/
Ddrbd_protocol.h106 u32 pad; member
151 u32 pad; /* to multiple of 8 Byte */ member
180 u32 pad; /* to multiple of 8 Byte */ member
273 u32 pad; /* to multiple of 8 Byte */ member
/linux-4.1.27/net/sunrpc/auth_gss/
Dgss_krb5_wrap.c69 u8 pad; in gss_krb5_remove_padding() local
73 pad = *(u8 *)(buf->head[0].iov_base + len - 1); in gss_krb5_remove_padding()
74 if (pad > buf->head[0].iov_len) in gss_krb5_remove_padding()
76 buf->head[0].iov_len -= pad; in gss_krb5_remove_padding()
86 pad = *(ptr + offset); in gss_krb5_remove_padding()
92 pad = *(u8 *)(buf->tail[0].iov_base + len - 1); in gss_krb5_remove_padding()
107 if (pad > blocksize) in gss_krb5_remove_padding()
109 if (buf->len > pad) in gss_krb5_remove_padding()
110 buf->len -= pad; in gss_krb5_remove_padding()
Dsvcauth_gss.c875 fix_priv_head(struct xdr_buf *buf, int pad) in fix_priv_head() argument
881 buf->head[0].iov_len -= pad; in fix_priv_head()
889 int pad, saved_len, remaining_len, offset; in unwrap_priv_data() local
905 pad = remaining_len - priv_len; in unwrap_priv_data()
906 buf->len -= pad; in unwrap_priv_data()
907 fix_priv_head(buf, pad); in unwrap_priv_data()
913 pad = priv_len - buf->len; in unwrap_priv_data()
915 buf->len -= pad; in unwrap_priv_data()
926 fix_priv_head(buf, pad); in unwrap_priv_data()
1633 int pad; in svcauth_gss_wrap_resp_priv() local
[all …]
/linux-4.1.27/drivers/scsi/megaraid/
Dmegaraid_mm.h77 uint8_t pad[4]; member
91 char pad[4]; member
/linux-4.1.27/arch/arm64/include/uapi/asm/
Dptrace.h82 __u32 pad; member
86 __u32 pad; member
/linux-4.1.27/drivers/net/ethernet/intel/i40e/
Di40e_virtchnl.h92 u8 pad[8]; /* AQ flags/opcode/len/retval fields */ member
248 u16 pad; member
267 u8 pad[2]; member
/linux-4.1.27/drivers/xen/
DMakefile16 dom0-$(CONFIG_XEN_ACPI) += acpi.o $(xen-pad-y)
17 xen-pad-$(CONFIG_X86) += xen-acpi-pad.o
/linux-4.1.27/drivers/net/ethernet/intel/i40evf/
Di40e_virtchnl.h92 u8 pad[8]; /* AQ flags/opcode/len/retval fields */ member
248 u16 pad; member
267 u8 pad[2]; member
/linux-4.1.27/include/linux/
Dif_frad.h37 unsigned char pad; member
43 #define IP_NLPID pad
/linux-4.1.27/drivers/net/wireless/brcm80211/brcmfmac/
Dfirmware.c203 u32 pad; in brcmf_fw_nvram_strip() local
215 pad = nvp.nvram_len; in brcmf_fw_nvram_strip()
217 while (pad != *new_length) { in brcmf_fw_nvram_strip()
218 nvp.nvram[pad] = 0; in brcmf_fw_nvram_strip()
219 pad++; in brcmf_fw_nvram_strip()
/linux-4.1.27/arch/tile/include/uapi/asm/
Dptrace.h73 pt_reg_t pad[3]; member
76 pt_reg_t pad[2]; member
Dsigcontext.h40 __uint_reg_t pad[5]; member
/linux-4.1.27/net/rxrpc/
Dar-output.c639 size_t pad; in rxrpc_send_data() local
643 pad = conn->security_size + skb->mark; in rxrpc_send_data()
644 pad = conn->size_align - pad; in rxrpc_send_data()
645 pad &= conn->size_align - 1; in rxrpc_send_data()
646 _debug("pad %zu", pad); in rxrpc_send_data()
647 if (pad) in rxrpc_send_data()
648 memset(skb_put(skb, pad), 0, pad); in rxrpc_send_data()
/linux-4.1.27/drivers/video/fbdev/
Dsticore.h124 u32 pad : 14; /* pad to word boundary */ member
130 u8 pad[1]; /* pad to word boundary */ member
153 u32 pad : 31; /* pad to word boundary */ member
272 u32 pad : 30; /* pad to word boundary */ member
288 u32 pad : 28; /* pad to word boundary */ member
/linux-4.1.27/include/media/
Dv4l2-subdev.h534 int (*get_frame_desc)(struct v4l2_subdev *sd, unsigned int pad,
536 int (*set_frame_desc)(struct v4l2_subdev *sd, unsigned int pad,
548 const struct v4l2_subdev_pad_ops *pad; member
643 struct v4l2_subdev_pad_config *pad; member
655 unsigned int pad) \
657 BUG_ON(pad >= sd->entity.num_pads); \
658 return &cfg[pad].field_name; \
/linux-4.1.27/Documentation/
Dmedia-framework.txt30 A pad is a connection endpoint through which an entity can interact with
37 pad to a sink pad.
118 Drivers must set the direction of every pad in the pads array before calling
185 Pads have flags that describe the pad capabilities and state.
187 MEDIA_PAD_FL_SINK indicates that the pad supports sinking data.
188 MEDIA_PAD_FL_SOURCE indicates that the pad supports sourcing data.
191 each pad.
213 to transfer media data. When two or more links target a sink pad, only
262 Helper functions can be used to find a link between two given pads, or a pad
263 connected to another pad through an enabled link
[all …]
/linux-4.1.27/include/xen/interface/io/
Dkbdif.h75 char pad[XENKBD_IN_EVENT_SIZE]; member
90 char pad[XENKBD_OUT_EVENT_SIZE]; member
Dnetif.h194 uint8_t pad; member
204 uint16_t pad[3]; member
Dfbif.h73 char pad[XENFB_OUT_EVENT_SIZE]; member
87 char pad[XENFB_IN_EVENT_SIZE]; member
Dring.h83 uint8_t pad[48]; \
122 memset((_s)->pad, 0, sizeof((_s)->pad)); \
Dtpmif.h46 uint8_t pad; member
/linux-4.1.27/drivers/net/wireless/libertas_tf/
Dif_usb.h31 uint8_t pad[11]; member
41 uint8_t pad[2]; member
/linux-4.1.27/fs/logfs/
Dlogfs_abi.h186 __be16 pad; member
499 __be32 pad; member
518 u8 pad[7]; member
579 u8 pad[5]; member
/linux-4.1.27/net/wireless/
Dradiotap.c216 int pad, align, size, subns; in ieee80211_radiotap_iterator_next() local
270 pad = ((unsigned long)iterator->_arg - in ieee80211_radiotap_iterator_next()
273 if (pad) in ieee80211_radiotap_iterator_next()
274 iterator->_arg += align - pad; in ieee80211_radiotap_iterator_next()
/linux-4.1.27/fs/ubifs/
Dio.c318 void ubifs_pad(const struct ubifs_info *c, void *buf, int pad) in ubifs_pad() argument
322 ubifs_assert(pad >= 0 && !(pad & 7)); in ubifs_pad()
324 if (pad >= UBIFS_PAD_NODE_SZ) { in ubifs_pad()
334 pad -= UBIFS_PAD_NODE_SZ; in ubifs_pad()
335 pad_node->pad_len = cpu_to_le32(pad); in ubifs_pad()
338 memset(buf + UBIFS_PAD_NODE_SZ, 0, pad); in ubifs_pad()
339 } else if (pad > 0) in ubifs_pad()
341 memset(buf, UBIFS_PADDING_BYTE, pad); in ubifs_pad()
379 void ubifs_prepare_node(struct ubifs_info *c, void *node, int len, int pad) in ubifs_prepare_node() argument
395 if (pad) { in ubifs_prepare_node()
[all …]
Dscan.c95 struct ubifs_pad_node *pad = buf; in ubifs_scan_a_node() local
96 int pad_len = le32_to_cpu(pad->pad_len); in ubifs_scan_a_node()
105 ubifs_dump_node(c, pad); in ubifs_scan_a_node()
/linux-4.1.27/Documentation/devicetree/bindings/pinctrl/
Dnvidia,tegra124-xusb-padctl.txt1 Device tree binding for NVIDIA Tegra XUSB pad controller
4 The Tegra XUSB pad controller manages a set of lanes, each of which can be
6 associated PHY that must be powered up before the pad can be used.
8 This document defines the device-specific binding for the XUSB pad controller.
51 - nvidia,function: A string that is the name of the function (pad) that the
Dfsl,imx51-pinctrl.txt10 pin working on a specific function, CONFIG is the pad setting value like
11 pull-up for this pin. Please refer to imx51 datasheet for the valid pad
Dfsl,imx6q-pinctrl.txt10 pin working on a specific function, CONFIG is the pad setting value like
11 pull-up for this pin. Please refer to imx6q datasheet for the valid pad
Dfsl,imx53-pinctrl.txt10 pin working on a specific function, CONFIG is the pad setting value like
11 pull-up for this pin. Please refer to imx53 datasheet for the valid pad
Dfsl,imx35-pinctrl.txt10 pin working on a specific function, CONFIG is the pad setting value like
11 pull-up for this pin. Please refer to imx35 datasheet for the valid pad
Dfsl,imx6dl-pinctrl.txt10 pin working on a specific function, CONFIG is the pad setting value like
11 pull-up for this pin. Please refer to imx6dl datasheet for the valid pad
Dfsl,imx6sl-pinctrl.txt10 pin working on a specific function, CONFIG is the pad setting value like
11 pull-up for this pin. Please refer to imx6sl datasheet for the valid pad
Dfsl,vf610-pinctrl.txt10 a pin working on a specific function, CONFIG is the pad setting value
12 datasheet for the valid pad config settings.
/linux-4.1.27/Documentation/devicetree/bindings/usb/
Dnvidia,tegra20-usb-phy.txt13 - The register set of the PHY containing the UTMI pad control registers.
22 - utmi-pads: The clock needed to access the UTMI pad control registers.
30 - utmi-pads: The reset of the PHY containing the chip-wide UTMI pad control
68 - nvidia,has-utmi-pad-registers : boolean indicates whether this controller
69 contains the UTMI pad control registers common to all USB controllers.
/linux-4.1.27/drivers/net/wireless/libertas/
Dif_usb.h28 uint8_t pad[11]; member
40 uint8_t pad[2]; member
/linux-4.1.27/ipc/
Dcompat.c238 static long do_compat_semctl(int first, int second, int third, u32 pad) in do_compat_semctl() argument
250 fourth = (unsigned long)pad << 32; in do_compat_semctl()
252 fourth = pad; in do_compat_semctl()
255 fourth = (unsigned long)compat_ptr(pad); in do_compat_semctl()
280 err2 = put_compat_semid64_ds(&sem64, compat_ptr(pad)); in do_compat_semctl()
282 err2 = put_compat_semid_ds(&sem64, compat_ptr(pad)); in do_compat_semctl()
289 err = get_compat_semid64_ds(&sem64, compat_ptr(pad)); in do_compat_semctl()
291 err = get_compat_semid_ds(&sem64, compat_ptr(pad)); in do_compat_semctl()
333 u32 pad; in COMPAT_SYSCALL_DEFINE6() local
350 if (get_user(pad, (u32 __user *) compat_ptr(ptr))) in COMPAT_SYSCALL_DEFINE6()
[all …]
/linux-4.1.27/drivers/media/platform/s3c-camif/
Dcamif-capture.c832 struct media_pad *pad; in camif_pipeline_validate() local
836 pad = media_entity_remote_pad(&camif->pads[0]); in camif_pipeline_validate()
837 if (!pad || media_entity_type(pad->entity) != MEDIA_ENT_T_V4L2_SUBDEV) in camif_pipeline_validate()
840 src_fmt.pad = pad->index; in camif_pipeline_validate()
842 ret = v4l2_subdev_call(camif->sensor.sd, pad, get_fmt, NULL, &src_fmt); in camif_pipeline_validate()
1158 vp->pad.flags = MEDIA_PAD_FL_SINK; in s3c_camif_register_video_node()
1159 ret = media_entity_init(&vfd->entity, 1, &vp->pad, 0); in s3c_camif_register_video_node()
1240 mf = v4l2_subdev_get_try_format(sd, cfg, fmt->pad); in s3c_camif_subdev_get_fmt()
1247 switch (fmt->pad) { in s3c_camif_subdev_get_fmt()
1268 struct v4l2_mbus_framefmt *mf, int pad) in __camif_subdev_try_format() argument
[all …]
/linux-4.1.27/drivers/net/ethernet/amd/
Dau1000_eth.h60 u32 pad; member
66 u32 pad[2]; member
/linux-4.1.27/fs/jfs/
Djfs_dmap.h154 u8 pad[2]; /* 2: pad to word boundary */ member
165 u8 pad[1672]; /* 1672: pad to 2048 bytes */ member
182 u8 pad[2714]; /* 2714: pad to 4096 */ member
220 u8 pad[3007]; /* 3007: pad to 4096 */ member
Djfs_imap.h85 u8 pad[1976]; /* 1976: pad to 2048 bytes */ member
121 u8 pad[2016]; /* 2016: pad to 2048 */ member
/linux-4.1.27/arch/parisc/include/asm/
Deisa_eeprom.h31 u_int8_t pad[10]; member
76 u_int8_t pad[24]; member
Dcompat_ucontext.h12 compat_uint_t pad[1]; member
/linux-4.1.27/arch/arc/plat-arcfpga/include/plat/
Dsmp.h35 unsigned int mp_arch:16, pad:5, sdu:1, idu:1, scu:1, ver:8; member
37 unsigned int ver:8, scu:1, idu:1, sdu:1, pad:5, mp_arch:16;
/linux-4.1.27/drivers/net/usb/
Ddm9601.c475 int len, pad; in dm9601_tx_fixup() local
494 pad = len - skb->len; in dm9601_tx_fixup()
496 if (skb_headroom(skb) < DM_TX_OVERHEAD || skb_tailroom(skb) < pad) { in dm9601_tx_fixup()
499 skb2 = skb_copy_expand(skb, DM_TX_OVERHEAD, pad, flags); in dm9601_tx_fixup()
508 if (pad) { in dm9601_tx_fixup()
509 memset(skb->data + skb->len, 0, pad); in dm9601_tx_fixup()
510 __skb_put(skb, pad); in dm9601_tx_fixup()
/linux-4.1.27/drivers/net/hippi/
Drrunner.h562 u8 pad; member
566 u8 pad; member
584 u8 pad; member
588 u8 pad; member
767 u8 pad; member
773 u8 pad; member
788 u8 pad[464]; member
/linux-4.1.27/arch/tile/gxio/
Dmpipe.c276 unsigned int pad = 0; in gxio_mpipe_rules_begin() local
277 while (((head + pad) % __alignof__(gxio_mpipe_rules_rule_t)) != 0) in gxio_mpipe_rules_begin()
278 pad++; in gxio_mpipe_rules_begin()
284 if (head + pad + sizeof(*rule) >= sizeof(list->rules)) in gxio_mpipe_rules_begin()
292 rule->size += pad; in gxio_mpipe_rules_begin()
295 list->head = head + pad; in gxio_mpipe_rules_begin()
/linux-4.1.27/net/sunrpc/xprtrdma/
Drpc_rdma.c304 rpcrdma_inline_pullup(struct rpc_rqst *rqst, int pad) in rpcrdma_inline_pullup() argument
320 pad -= (curlen + 36/*sizeof(struct rpcrdma_msg_padded)*/); in rpcrdma_inline_pullup()
321 if (pad < 0 || rqst->rq_slen - curlen < RPCRDMA_INLINE_PAD_THRESH) in rpcrdma_inline_pullup()
322 pad = 0; /* don't pad this request */ in rpcrdma_inline_pullup()
325 __func__, pad, destp, rqst->rq_slen, curlen); in rpcrdma_inline_pullup()
361 return pad; in rpcrdma_inline_pullup()
611 rpcrdma_inline_fixup(struct rpc_rqst *rqst, char *srcp, int copy_len, int pad) in rpcrdma_inline_fixup() argument
674 if (pad) { in rpcrdma_inline_fixup()
677 while (pad--) in rpcrdma_inline_fixup()
/linux-4.1.27/drivers/net/wireless/ti/wlcore/
Dacx.h204 u8 pad[1]; member
239 u8 pad[1]; member
280 u8 pad[2]; member
297 u8 pad[3]; member
322 u8 pad; member
337 u8 pad[1]; member
379 u8 pad[1]; member
939 u8 pad[2]; member
961 u8 pad[3]; member
/linux-4.1.27/drivers/infiniband/hw/amso1100/
Dc2_wr.h290 u32 pad; member
726 u16 pad; member
766 u8 pad; member
816 u8 pad[3]; member
836 u8 pad[3]; member
868 u8 pad; member
898 u8 pad; member
1028 u8 pad[3]; member
1044 u8 pad[3]; member
1062 u8 pad[3]; member
[all …]
/linux-4.1.27/drivers/net/wireless/ath/ath9k/
Dhtc_hst.h71 u8 pad; member
181 u8 pad; member
198 u8 pad; member
Dhtc.h82 u8 pad; member
93 u8 pad; member
110 u8 pad; member
119 u8 pad; member
131 u8 pad; member
170 u16 pad; member
/linux-4.1.27/arch/mips/boot/
Delf2ecoff.c100 static void combine(struct sect *base, struct sect *new, int pad) in combine() argument
106 if (pad) in combine()
271 int i, pad; in main() local
546 pad = (sizeof(efh) + sizeof(eah) + nosecs * sizeof(struct scnhdr)) & 15; in main()
547 if (pad) { in main()
548 pad = 16 - pad; in main()
549 i = write(outfile, "\0\0\0\0\0\0\0\0\0\0\0\0\0\0", pad); in main()
/linux-4.1.27/drivers/staging/fbtft/
Dfbtft-bus.c81 int pad = 0; in define_fbtft_write_reg() local
98 pad = (len % 4) ? 4 - (len % 4) : 0; in define_fbtft_write_reg()
99 for (i = 0; i < pad; i++) in define_fbtft_write_reg()
111 ret = par->fbtftops.write(par, par->buf, (len + pad) * sizeof(u16)); in define_fbtft_write_reg()
/linux-4.1.27/security/keys/encrypted-keys/
Dencrypted.c473 char pad[16]; in derived_key_encrypt() local
485 memset(pad, 0, sizeof pad); in derived_key_encrypt()
489 sg_set_buf(&sg_in[1], pad, padlen); in derived_key_encrypt()
570 char pad[16]; in derived_key_decrypt() local
580 memset(pad, 0, sizeof pad); in derived_key_decrypt()
586 sg_set_buf(&sg_out[1], pad, sizeof pad); in derived_key_decrypt()
/linux-4.1.27/drivers/ata/
Dpata_legacy.c331 __le32 pad; in pdc_data_xfer_vlb() local
333 pad = cpu_to_le32(ioread32(ap->ioaddr.data_addr)); in pdc_data_xfer_vlb()
334 memcpy(buf + buflen - slop, &pad, slop); in pdc_data_xfer_vlb()
336 memcpy(&pad, buf + buflen - slop, slop); in pdc_data_xfer_vlb()
337 iowrite32(le32_to_cpu(pad), ap->ioaddr.data_addr); in pdc_data_xfer_vlb()
719 __le32 pad; in vlb32_data_xfer() local
721 memcpy(&pad, buf + buflen - slop, slop); in vlb32_data_xfer()
722 iowrite32(le32_to_cpu(pad), ap->ioaddr.data_addr); in vlb32_data_xfer()
724 pad = cpu_to_le32(ioread32(ap->ioaddr.data_addr)); in vlb32_data_xfer()
725 memcpy(buf + buflen - slop, &pad, slop); in vlb32_data_xfer()
/linux-4.1.27/net/dsa/
Dtag_trailer.c50 u8 *pad = skb_put(nskb, padlen); in trailer_xmit() local
51 memset(pad, 0, padlen); in trailer_xmit()
/linux-4.1.27/drivers/staging/slicoss/
Dslichw.h655 u8 pad[3]; member
665 u8 pad[13]; member
673 u8 pad[7]; member
680 u8 pad[3]; member
687 u8 pad[3]; member
736 struct slic_config_mac pad[SLIC_NBR_MACS - 1]; member
/linux-4.1.27/drivers/media/i2c/smiapp/
Dsmiapp-core.c1572 subdev->name, code->pad, code->index); in smiapp_enum_mbus_code()
1574 if (subdev != &sensor->src->sd || code->pad != SMIAPP_PAD_SRC) { in smiapp_enum_mbus_code()
1603 unsigned int pad) in __smiapp_get_mbus_code() argument
1607 if (subdev == &sensor->src->sd && pad == SMIAPP_PAD_SRC) in __smiapp_get_mbus_code()
1620 fmt->format = *v4l2_subdev_get_try_format(subdev, cfg, fmt->pad); in __smiapp_get_format()
1624 if (fmt->pad == ssd->source_pad) in __smiapp_get_format()
1629 fmt->format.code = __smiapp_get_mbus_code(subdev, fmt->pad); in __smiapp_get_format()
1795 if (fmt->pad == ssd->source_pad) { in smiapp_set_format()
1806 fmt->format.code = __smiapp_get_mbus_code(subdev, fmt->pad); in smiapp_set_format()
2083 && sel->pad == SMIAPP_PA_PAD_SRC) in __smiapp_sel_supported()
[all …]
/linux-4.1.27/fs/xfs/libxfs/
Dxfs_da_format.h37 __be16 pad; /* unused */ member
367 __be32 pad; /* 64 bit alignment */ member
465 __be32 pad; /* 64 bit alignment */ member
543 __be32 pad; /* 64 bit alignment */ member
/linux-4.1.27/Documentation/devicetree/bindings/video/
Darm,pl11x.txt48 contains index of the "CLD" external pin (pad) used
50 index of the pad used as G0, third value index of the
51 pad used as B0, see also "LCD panel signal multiplexing
/linux-4.1.27/net/netfilter/
Dnft_compat.c168 int pad; in target_compat_from_user() local
171 pad = XT_ALIGN(t->targetsize) - t->targetsize; in target_compat_from_user()
172 if (pad > 0) in target_compat_from_user()
173 memset(out + t->targetsize, 0, pad); in target_compat_from_user()
384 int pad; in match_compat_from_user() local
387 pad = XT_ALIGN(m->matchsize) - m->matchsize; in match_compat_from_user()
388 if (pad > 0) in match_compat_from_user()
389 memset(out + m->matchsize, 0, pad); in match_compat_from_user()
/linux-4.1.27/drivers/media/i2c/m5mols/
Dm5mols_core.c597 static int m5mols_get_frame_desc(struct v4l2_subdev *sd, unsigned int pad, in m5mols_get_frame_desc() argument
602 if (pad != 0 || fd == NULL) in m5mols_get_frame_desc()
620 static int m5mols_set_frame_desc(struct v4l2_subdev *sd, unsigned int pad, in m5mols_set_frame_desc() argument
626 if (pad != 0 || fd == NULL) in m5mols_set_frame_desc()
898 struct v4l2_mbus_framefmt *format = v4l2_subdev_get_try_format(sd, fh->pad, 0); in m5mols_open()
910 .pad = &m5mols_pad_ops,
977 info->pad.flags = MEDIA_PAD_FL_SOURCE; in m5mols_probe()
978 ret = media_entity_init(&sd->entity, 1, &info->pad, 0); in m5mols_probe()
/linux-4.1.27/arch/sh/include/uapi/asm/
Dptrace_64.h10 unsigned long long pad[2]; member
/linux-4.1.27/drivers/net/wireless/ath/ath10k/
Dhtt.h62 u8 pad[sizeof(u32) - sizeof(struct htt_cmd_hdr)]; member
258 u8 pad[sizeof(u32) - sizeof(struct htt_cmd_hdr)]; member
792 u8 pad[3]; member
1080 u8 pad; member
1086 u8 pad[3]; member
1365 u32 pad; member
/linux-4.1.27/lib/
Dbch.c138 uint8_t pad[4] = {0, 0, 0, 0}; in load_ecc8() local
144 memcpy(pad, src, BCH_ECC_BYTES(bch)-4*nwords); in load_ecc8()
145 dst[nwords] = (pad[0] << 24)|(pad[1] << 16)|(pad[2] << 8)|pad[3]; in load_ecc8()
154 uint8_t pad[4]; in store_ecc8() local
163 pad[0] = (src[nwords] >> 24); in store_ecc8()
164 pad[1] = (src[nwords] >> 16) & 0xff; in store_ecc8()
165 pad[2] = (src[nwords] >> 8) & 0xff; in store_ecc8()
166 pad[3] = (src[nwords] >> 0) & 0xff; in store_ecc8()
167 memcpy(dst, pad, BCH_ECC_BYTES(bch)-4*nwords); in store_ecc8()
/linux-4.1.27/include/uapi/sound/
Dasequencer.h252 unsigned char pad[3]; /* reserved */ member
327 unsigned char pad; /* reserved */ member
549 unsigned char pad[3]; /* reserved */ member
/linux-4.1.27/include/uapi/linux/netfilter/
Dxt_quota.h15 __u32 pad; member
Dxt_NFLOG.h16 __u16 pad; member
/linux-4.1.27/drivers/net/ethernet/myricom/myri10ge/
Dmyri10ge_mcp.h29 u8 pad[40]; member
80 u8 pad; member
/linux-4.1.27/drivers/scsi/dpt/
Dsys_info.h156 uCHAR pad[2]; /* For alignment */ member
160 uCHAR pad[3]; /* For alignment */ member
/linux-4.1.27/include/uapi/linux/tc_ematch/
Dtc_em_text.h16 __u8 pad; member
/linux-4.1.27/include/xen/interface/
Dnmi.h41 unsigned long pad; member
/linux-4.1.27/include/uapi/linux/netfilter_bridge/
Debt_nflog.h19 __u16 pad; member
/linux-4.1.27/fs/nilfs2/
Ddirect.h38 __u8 pad[7]; member
/linux-4.1.27/fs/notify/
Dfdinfo.c44 u8 pad[MAX_HANDLE_SZ]; in show_mark_fhandle() member
48 f.handle.handle_bytes = sizeof(f.pad); in show_mark_fhandle()
/linux-4.1.27/drivers/gpu/drm/nouveau/nvkm/subdev/bar/
Dnv50.c36 struct nvkm_gpuobj *pad; member
130 0, 0, &priv->pad); in nv50_bar_ctor()
223 nvkm_gpuobj_ref(NULL, &priv->pad); in nv50_bar_dtor()
/linux-4.1.27/arch/x86/include/asm/
Dpvclock-abi.h33 u8 pad[2]; member
/linux-4.1.27/arch/powerpc/include/asm/
Dsmu.h565 __u8 pad; member
690 __u8 pad[3]; /* padding */ member
/linux-4.1.27/arch/arc/kernel/
Dptrace.c49 REG_O_ZERO(pad); in genregs_get()
99 REG_IGNORE_ONE(pad); in genregs_set()
/linux-4.1.27/drivers/infiniband/core/
Dmad_rmpp.c433 int hdr_size, data_size, pad; in get_mad_len() local
439 pad = IB_MGMT_RMPP_DATA - be32_to_cpu(rmpp_mad->rmpp_hdr.paylen_newwin); in get_mad_len()
440 if (pad > IB_MGMT_RMPP_DATA || pad < 0) in get_mad_len()
441 pad = 0; in get_mad_len()
443 return hdr_size + rmpp_recv->seg_num * data_size - pad; in get_mad_len()
574 mad_send_wr->pad; in send_next_seg()
579 paylen = IB_MGMT_RMPP_DATA - mad_send_wr->pad; in send_next_seg()
/linux-4.1.27/scripts/kconfig/
Dnconf.gui.c556 WINDOW *pad; in show_scroll_win() local
570 pad = newpad(total_lines+10, total_cols+10); in show_scroll_win()
571 (void) wattrset(pad, attributes[SCROLLWIN_TEXT]); in show_scroll_win()
572 fill_window(pad, text); in show_scroll_win()
595 copywin(pad, win, start_y, start_x, 2, 2, text_lines, in show_scroll_win()
/linux-4.1.27/arch/mips/include/uapi/asm/
Dfcntl.h70 long pad[4]; member
/linux-4.1.27/include/xen/interface/hvm/
Dhvm_op.h59 uint16_t pad[2]; /* align next field on 8-byte boundary */ member
/linux-4.1.27/drivers/scsi/fnic/
Dvnic_resource.h56 u8 pad[2]; member
/linux-4.1.27/drivers/gpu/host1x/
Djob.h34 u32 pad; member
/linux-4.1.27/drivers/media/platform/s5p-tv/
Dhdmiphy_drv.c228 if (cap->pad != 0) in hdmiphy_dv_timings_cap()
275 .pad = &hdmiphy_pad_ops,
/linux-4.1.27/arch/mips/include/asm/
Dm48t37.h12 volatile u8 pad[0x7ff0]; /* NVRAM */ member
/linux-4.1.27/drivers/net/wireless/brcm80211/brcmsmac/phy/
Dphytbl_lcn.h45 unsigned char pad; member

1234